aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
ModeNameSize
-rw-r--r--Kconfig20536logstatsplainblame
-rw-r--r--Makefile3890logstatsplainblame
-rw-r--r--spi-adi-v3.c25475logstatsplainblame
-rw-r--r--spi-altera.c7226logstatsplainblame
-rw-r--r--spi-ath79.c7290logstatsplainblame
-rw-r--r--spi-atmel.c38844logstatsplainblame
-rw-r--r--spi-au1550.c26309logstatsplainblame
-rw-r--r--spi-bcm2835.c10786logstatsplainblame
-rw-r--r--spi-bcm53xx.c7262logstatsplainblame
-rw-r--r--spi-bcm53xx.h2705logstatsplainblame
-rw-r--r--spi-bcm63xx-hsspi.c12643logstatsplainblame
-rw-r--r--spi-bcm63xx.c11830logstatsplainblame
-rw-r--r--spi-bfin-sport.c23330logstatsplainblame
-rw-r--r--spi-bfin5xx.c40839logstatsplainblame
-rw-r--r--spi-bitbang-txrx.h3093logstatsplainblame
-rw-r--r--spi-bitbang.c12424logstatsplainblame
-rw-r--r--spi-butterfly.c8445logstatsplainblame
-rw-r--r--spi-cadence.c20763logstatsplainblame
-rw-r--r--spi-clps711x.c5344logstatsplainblame
-rw-r--r--spi-coldfire-qspi.c13385logstatsplainblame
-rw-r--r--spi-davinci.c29044logstatsplainblame
-rw-r--r--spi-dln2.c21169logstatsplainblame
-rw-r--r--spi-dw-mid.c6904logstatsplainblame
-rw-r--r--spi-dw-mmio.c3237logstatsplainblame
-rw-r--r--spi-dw-pci.c3758logstatsplainblame
-rw-r--r--spi-dw.c18596logstatsplainblame
-rw-r--r--spi-dw.h6038logstatsplainblame
-rw-r--r--spi-efm32.c12081logstatsplainblame
-rw-r--r--spi-ep93xx.c24868logstatsplainblame
-rw-r--r--spi-falcon.c10715logstatsplainblame
-rw-r--r--spi-fsl-cpm.c10207logstatsplainblame
-rw-r--r--spi-fsl-cpm.h1649logstatsplainblame
-rw-r--r--spi-fsl-dspi.c14225logstatsplainblame
-rw-r--r--spi-fsl-espi.c21012logstatsplainblame
-rw-r--r--spi-fsl-lib.c4776logstatsplainblame
-rw-r--r--spi-fsl-lib.h3546logstatsplainblame
-rw-r--r--spi-fsl-spi.c23242logstatsplainblame
-rw-r--r--spi-fsl-spi.h2099logstatsplainblame
-rw-r--r--spi-gpio.c15053logstatsplainblame
-rw-r--r--spi-img-spfi.c19286logstatsplainblame
-rw-r--r--spi-imx.c33600logstatsplainblame
-rw-r--r--spi-lm70llp.c9130logstatsplainblame
-rw-r--r--spi-meson-spifc.c11476logstatsplainblame
-rw-r--r--spi-mpc512x-psc.c15850logstatsplainblame
-rw-r--r--spi-mpc52xx-psc.c13579logstatsplainblame
-rw-r--r--spi-mpc52xx.c14465logstatsplainblame
-rw-r--r--spi-mxs.c14584logstatsplainblame
-rw-r--r--spi-nuc900.c9082logstatsplainblame
-rw-r--r--spi-oc-tiny.c8924statsunsigned long maddr; /* dual-port memory address */ unsigned msize; /* dual-port memory size */ int irq; /* interrupt request level */ int dma; /* DMA request level */ char S514_CPU_no[1]; /* S514 PCI adapter CPU number ('A' or 'B') */ unsigned PCI_slot_no; /* S514 PCI adapter slot number */ char auto_pci_cfg; /* S515 PCI automatic slot detection */ char comm_port; /* Communication Port (PRI=0, SEC=1) */ unsigned bps; /* data transfer rate */ unsigned mtu; /* maximum transmit unit size */ unsigned udp_port; /* UDP port for management */ unsigned char ttl; /* Time To Live for UDP security */ unsigned char ft1; /* FT1 Configurator Option */ char interface; /* RS-232/V.35, etc. */ char clocking; /* external/internal */ char line_coding; /* NRZ/NRZI/FM0/FM1, etc. */ char station; /* DTE/DCE, primary/secondary, etc. */ char connection; /* permanent/switched/on-demand */ char read_mode; /* read mode: Polling or interrupt */ char receive_only; /* disable tx buffers */ char tty; /* Create a fake tty device */ unsigned tty_major; /* Major number for wanpipe tty device */ unsigned tty_minor; /* Minor number for wanpipe tty device */ unsigned tty_mode; /* TTY operation mode SYNC or ASYNC */ char backup; /* Backup Mode */ unsigned hw_opt[4]; /* other hardware options */ unsigned reserved[4]; /****** arbitrary data ***************/ unsigned data_size; /* data buffer size */ void* data; /* data buffer, e.g. firmware */ union /****** protocol-specific ************/ { wan_x25_conf_t x25; /* X.25 configuration */ wan_ppp_conf_t ppp; /* PPP configuration */ wan_fr_conf_t fr; /* frame relay configuration */ wan_chdlc_conf_t chdlc; /* Cisco HDLC configuration */ } u; } wandev_conf_t; /* 'config_id' definitions */ #define WANCONFIG_X25 101 /* X.25 link */ #define WANCONFIG_FR 102 /* frame relay link */ #define WANCONFIG_PPP 103 /* synchronous PPP link */ #define WANCONFIG_CHDLC 104 /* Cisco HDLC Link */ #define WANCONFIG_BSC 105 /* BiSync Streaming */ #define WANCONFIG_HDLC 106 /* HDLC Support */ #define WANCONFIG_MPPP 107 /* Multi Port PPP over RAW CHDLC */ /* * Configuration options defines. */ /* general options */ #define WANOPT_OFF 0 #define WANOPT_ON 1 #define WANOPT_NO 0 #define WANOPT_YES 1 /* intercace options */ #define WANOPT_RS232 0 #define WANOPT_V35 1 /* data encoding options */ #define WANOPT_NRZ 0 #define WANOPT_NRZI 1 #define WANOPT_FM0 2 #define WANOPT_FM1 3 /* link type options */ #define WANOPT_POINTTOPOINT 0 /* RTS always active */ #define WANOPT_MULTIDROP 1 /* RTS is active when transmitting */ /* clocking options */ #define WANOPT_EXTERNAL 0 #define WANOPT_INTERNAL 1 /* station options */ #define WANOPT_DTE 0 #define WANOPT_DCE 1 #define WANOPT_CPE 0 #define WANOPT_NODE 1 #define WANOPT_SECONDARY 0 #define WANOPT_PRIMARY 1 /* connection options */ #define WANOPT_PERMANENT 0 /* DTR always active */ #define WANOPT_SWITCHED 1 /* use DTR to setup link (dial-up) */ #define WANOPT_ONDEMAND 2 /* activate DTR only before sending */ /* frame relay in-channel signalling */ #define WANOPT_FR_ANSI 1 /* ANSI T1.617 Annex D */ #define WANOPT_FR_Q933 2 /* ITU Q.933A */ #define WANOPT_FR_LMI 3 /* LMI */ /* PPP IP Mode Options */ #define WANOPT_PPP_STATIC 0 #define WANOPT_PPP_HOST 1 #define WANOPT_PPP_PEER 2 /* ASY Mode Options */ #define WANOPT_ONE 1 #define WANOPT_TWO 2 #define WANOPT_ONE_AND_HALF 3 #define WANOPT_NONE 0 #define WANOPT_ODD 1 #define WANOPT_EVEN 2 /* CHDLC Protocol Options */ /* DF Commented out for now. #define WANOPT_CHDLC_NO_DCD IGNORE_DCD_FOR_LINK_STAT #define WANOPT_CHDLC_NO_CTS IGNORE_CTS_FOR_LINK_STAT #define WANOPT_CHDLC_NO_KEEPALIVE IGNORE_KPALV_FOR_LINK_STAT */ /* Port options */ #define WANOPT_PRI 0 #define WANOPT_SEC 1 /* read mode */ #define WANOPT_INTR 0 #define WANOPT_POLL 1 #define WANOPT_TTY_SYNC 0 #define WANOPT_TTY_ASYNC 1 /*---------------------------------------------------------------------------- * WAN Link Status Info (for ROUTER_STAT IOCTL). */ typedef struct wandev_stat { unsigned state; /* link state */ unsigned ndev; /* number of configured interfaces */ /* link/interface configuration */ unsigned connection; /* permanent/switched/on-demand */ unsigned media_type; /* Frame relay/PPP/X.25/SDLC, etc. */ unsigned mtu; /* max. transmit unit for this device */ /* physical level statistics */ unsigned modem_status; /* modem status */ unsigned rx_frames; /* received frames count */ unsigned rx_overruns; /* receiver overrun error count */ unsigned rx_crc_err; /* receive CRC error count */ unsigned rx_aborts; /* received aborted frames count */ unsigned rx_bad_length; /* unexpetedly long/short frames count */ unsigned rx_dropped; /* frames discarded at device level */ unsigned tx_frames; /* transmitted frames count */ unsigned tx_underruns; /* aborted transmissions (underruns) count */ unsigned tx_timeouts; /* transmission timeouts */ unsigned tx_rejects; /* other transmit errors */ /* media level statistics */ unsigned rx_bad_format; /* frames with invalid format */ unsigned rx_bad_addr; /* frames with invalid media address */ unsigned tx_retries; /* frames re-transmitted */ unsigned reserved[16]; /* reserved for future use */ } wandev_stat_t; /* 'state' defines */ enum wan_states { WAN_UNCONFIGURED, /* link/channel is not configured */ WAN_DISCONNECTED, /* link/channel is disconnected */ WAN_CONNECTING, /* connection is in progress */ WAN_CONNECTED, /* link/channel is operational */ WAN_LIMIT, /* for verification only */ WAN_DUALPORT, /* for Dual Port cards */ WAN_DISCONNECTING, WAN_FT1_READY /* FT1 Configurator Ready */ }; enum { WAN_LOCAL_IP, WAN_POINTOPOINT_IP, WAN_NETMASK_IP, WAN_BROADCAST_IP }; /* 'modem_status' masks */ #define WAN_MODEM_CTS 0x0001 /* CTS line active */ #define WAN_MODEM_DCD 0x0002 /* DCD line active */ #define WAN_MODEM_DTR 0x0010 /* DTR line active */ #define WAN_MODEM_RTS 0x0020 /* RTS line active */ /*---------------------------------------------------------------------------- * WAN interface (logical channel) configuration (for ROUTER_IFNEW IOCTL). */ typedef struct wanif_conf { unsigned magic; /* magic number */?id=2ff2acf1fb65f1c83c41b67aba990c6d49a2274c'>spi-sc18is602.c7921logstatsplainblame
-rw-r--r--spi-sh-hspi.c6671logstatsplainblame
-rw-r--r--spi-sh-msiof.c35348logstatsplainblame
-rw-r--r--spi-sh-sci.c4856logstatsplainblame
-rw-r--r--spi-sh.c12178logstatsplainblame
-rw-r--r--spi-sirf.c24306logstatsplainblame
-rw-r--r--spi-st-ssc4.c11768logstatsplainblame
-rw-r--r--spi-sun4i.c11717logstatsplainblame
-rw-r--r--spi-sun6i.c12091logstatsplainblame
-rw-r--r--spi-tegra114.c33872logstatsplainblame
-rw-r--r--spi-tegra20-sflash.c16725logstatsplainblame
-rw-r--r--spi-tegra20-slink.c34411logstatsplainblame
-rw-r--r--spi-ti-qspi.c14298logstatsplainblame
-rw-r--r--spi-tle62x0.c7357logstatsplainblame
-rw-r--r--spi-topcliff-pch.c47757logstatsplainblame
-rw-r--r--spi-txx9.c11331logstatsplainblame
-rw-r--r--spi-xcomm.c5918logstatsplainblame
-rw-r--r--spi-xilinx.c13995logstatsplainblame
-rw-r--r--spi-xtensa-xtfpga.c4120logstatsplainblame
-rw-r--r--spi.c66593logstatsplainblame
-rw-r--r--spidev.c20909logstatsplainblame