Server IP : 104.21.38.3 / Your IP : 162.158.189.178 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-143/arch/m68k/include/asm/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Definitions for Freescale Coldfire QSPI module * * Copyright 2010 Steven King <[email protected]> */ #ifndef mcfqspi_h #define mcfqspi_h /** * struct mcfqspi_cs_control - chip select control for the coldfire qspi driver * @setup: setup the control; allocate gpio's, etc. May be NULL. * @teardown: finish with the control; free gpio's, etc. May be NULL. * @select: output the signals to select the device. Can not be NULL. * @deselect: output the signals to deselect the device. Can not be NULL. * * The QSPI module has 4 hardware chip selects. We don't use them. Instead * platforms are required to supply a mcfqspi_cs_control as a part of the * platform data for each QSPI master controller. Only the select and * deselect functions are required. */ struct mcfqspi_cs_control { int (*setup)(struct mcfqspi_cs_control *); void (*teardown)(struct mcfqspi_cs_control *); void (*select)(struct mcfqspi_cs_control *, u8, bool); void (*deselect)(struct mcfqspi_cs_control *, u8, bool); }; /** * struct mcfqspi_platform_data - platform data for the coldfire qspi driver * @bus_num: board specific identifier for this qspi driver. * @num_chipselects: number of chip selects supported by this qspi driver. * @cs_control: platform dependent chip select control. */ struct mcfqspi_platform_data { s16 bus_num; u16 num_chipselect; struct mcfqspi_cs_control *cs_control; }; #endif /* mcfqspi_h */