Searched refs:FIFO_DEPTH (Results 1 – 2 of 2) sorted by relevance
94 #define FIFO_DEPTH 8 macro96 #define BCH_SEQ_READS (32 / FIFO_DEPTH)907 unsigned int last_len = len % FIFO_DEPTH; in marvell_nfc_xfer_data_in_pio()908 unsigned int last_full_offset = round_down(len, FIFO_DEPTH); in marvell_nfc_xfer_data_in_pio()911 for (i = 0; i < last_full_offset; i += FIFO_DEPTH) in marvell_nfc_xfer_data_in_pio()912 ioread32_rep(nfc->regs + NDDB, in + i, FIFO_REP(FIFO_DEPTH)); in marvell_nfc_xfer_data_in_pio()915 u8 tmp_buf[FIFO_DEPTH]; in marvell_nfc_xfer_data_in_pio()917 ioread32_rep(nfc->regs + NDDB, tmp_buf, FIFO_REP(FIFO_DEPTH)); in marvell_nfc_xfer_data_in_pio()927 unsigned int last_len = len % FIFO_DEPTH; in marvell_nfc_xfer_data_out_pio()928 unsigned int last_full_offset = round_down(len, FIFO_DEPTH); in marvell_nfc_xfer_data_out_pio()[all …]
26 #define FIFO_DEPTH (32) macro145 fifo_max = min(spi->rx_len, FIFO_DEPTH); in mchp_corespi_read_fifo()223 fifo_max = min(spi->tx_len, FIFO_DEPTH); in mchp_corespi_write_fifo()488 mchp_corespi_set_xfer_size(spi, (spi->tx_len > FIFO_DEPTH) in mchp_corespi_transfer_one()489 ? FIFO_DEPTH : spi->tx_len); in mchp_corespi_transfer_one()