Searched refs:cfspi (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/net/caif/ |
D | caif_spi_slave.c | 23 static inline int forward_to_spi_cmd(struct cfspi *cfspi) in forward_to_spi_cmd() argument 25 return cfspi->rx_cpck_len; in forward_to_spi_cmd() 29 static inline int forward_to_spi_cmd(struct cfspi *cfspi) in forward_to_spi_cmd() argument 47 static inline void debugfs_store_prev(struct cfspi *cfspi) in debugfs_store_prev() argument 50 cfspi->pcmd = cfspi->cmd; in debugfs_store_prev() 52 cfspi->tx_ppck_len = cfspi->tx_cpck_len; in debugfs_store_prev() 53 cfspi->rx_ppck_len = cfspi->rx_cpck_len; in debugfs_store_prev() 56 static inline void debugfs_store_prev(struct cfspi *cfspi) in debugfs_store_prev() argument 63 struct cfspi *cfspi; in cfspi_xfer() local 67 cfspi = container_of(work, struct cfspi, work); in cfspi_xfer() [all …]
|
D | caif_spi.c | 82 static inline void *dma_alloc(struct cfspi *cfspi, dma_addr_t *daddr) in dma_alloc() argument 87 static inline void dma_free(struct cfspi *cfspi, void *cpu_addr, in dma_free() argument 95 static inline void *dma_alloc(struct cfspi *cfspi, dma_addr_t *daddr) in dma_alloc() argument 97 return dma_alloc_coherent(&cfspi->pdev->dev, SPI_DMA_BUF_LEN, daddr, in dma_alloc() 101 static inline void dma_free(struct cfspi *cfspi, void *cpu_addr, in dma_free() argument 104 dma_free_coherent(&cfspi->pdev->dev, SPI_DMA_BUF_LEN, cpu_addr, handle); in dma_free() 124 static inline void dev_debugfs_rem(struct cfspi *cfspi) in dev_debugfs_rem() argument 126 debugfs_remove(cfspi->dbgfs_frame); in dev_debugfs_rem() 127 debugfs_remove(cfspi->dbgfs_state); in dev_debugfs_rem() 128 debugfs_remove(cfspi->dbgfs_dir); in dev_debugfs_rem() [all …]
|
/Linux-v5.4/include/net/caif/ |
D | caif_spi.h | 99 struct cfspi { struct 144 void cfspi_dbg_state(struct cfspi *cfspi, int state); argument 145 int cfspi_xmitfrm(struct cfspi *cfspi, u8 *buf, size_t len); 146 int cfspi_xmitlen(struct cfspi *cfspi); 147 int cfspi_rxfrm(struct cfspi *cfspi, u8 *buf, size_t len); 150 int cfspi_xmitfrm(struct cfspi *cfspi, u8 *buf, size_t len); 151 int cfspi_xmitlen(struct cfspi *cfspi); 152 int cfspi_rxfrm(struct cfspi *cfspi, u8 *buf, size_t len);
|