Searched refs:curr_step (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/spi/ |
D | spi-bcmbca-hsspi.c | 288 int curr_step = min_t(int, step_size, pending); in bcmbca_hsspi_do_txrx() local 292 memcpy_toio(bs->fifo + HSSPI_OPCODE_LEN, tx, curr_step); in bcmbca_hsspi_do_txrx() 293 tx += curr_step; in bcmbca_hsspi_do_txrx() 296 *(__be16 *)(&val) = cpu_to_be16(opcode | curr_step); in bcmbca_hsspi_do_txrx() 318 pending -= curr_step; in bcmbca_hsspi_do_txrx() 321 memcpy_fromio(rx, bs->fifo, curr_step); in bcmbca_hsspi_do_txrx() 322 rx += curr_step; in bcmbca_hsspi_do_txrx()
|
D | spi-bcm63xx-hsspi.c | 507 int curr_step = min_t(int, step_size, pending); in bcm63xx_hsspi_do_txrx() local 511 memcpy_toio(bs->fifo + HSSPI_OPCODE_LEN, tx, curr_step); in bcm63xx_hsspi_do_txrx() 512 tx += curr_step; in bcm63xx_hsspi_do_txrx() 515 *(__be16 *)(&val) = cpu_to_be16(opcode | curr_step); in bcm63xx_hsspi_do_txrx() 532 memcpy_fromio(rx, bs->fifo, curr_step); in bcm63xx_hsspi_do_txrx() 533 rx += curr_step; in bcm63xx_hsspi_do_txrx() 536 pending -= curr_step; in bcm63xx_hsspi_do_txrx()
|