Lines Matching defs:size
153 * dma transfers are used for the most common spi word size of 8-bits
279 static int au1550_spi_dma_rxtmp_alloc(struct au1550_spi *hw, unsigned size)
281 hw->dma_rx_tmpbuf = kmalloc(size, GFP_KERNEL);
284 hw->dma_rx_tmpbuf_size = size;
286 size, DMA_FROM_DEVICE);
469 #define AU1550_SPI_RX_WORD(size, mask) \
470 static void au1550_spi_rx_word_##size(struct au1550_spi *hw) \
475 *(u##size *)hw->rx = (u##size)fifoword; \
476 hw->rx += (size) / 8; \
478 hw->rx_count += (size) / 8; \
481 #define AU1550_SPI_TX_WORD(size, mask) \
482 static void au1550_spi_tx_word_##size(struct au1550_spi *hw) \
486 fifoword = *(u##size *)hw->tx & (u32)(mask); \
487 hw->tx += (size) / 8; \
489 hw->tx_count += (size) / 8; \