Searched refs:curr_step (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-bcm63xx-hsspi.c | 195 int curr_step = min_t(int, step_size, pending); in bcm63xx_hsspi_do_txrx() local 199 memcpy_toio(bs->fifo + HSSPI_OPCODE_LEN, tx, curr_step); in bcm63xx_hsspi_do_txrx() 200 tx += curr_step; in bcm63xx_hsspi_do_txrx() 203 __raw_writew(opcode | curr_step, bs->fifo); in bcm63xx_hsspi_do_txrx() 221 memcpy_fromio(rx, bs->fifo, curr_step); in bcm63xx_hsspi_do_txrx() 222 rx += curr_step; in bcm63xx_hsspi_do_txrx() 225 pending -= curr_step; in bcm63xx_hsspi_do_txrx()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A 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()
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | abx500_chargalg.c | 82 int curr_step; member 1500 if (di->curr_status.curr_step == CHARGALG_CURR_STEP_LOW) in abx500_chargalg_algorithm() 1505 * di->curr_status.curr_step in abx500_chargalg_algorithm() 1747 return sprintf(buf, "%d\n", di->curr_status.curr_step); in abx500_chargalg_curr_step_show() 1760 di->curr_status.curr_step = param; in abx500_chargalg_curr_step_store() 1761 if (di->curr_status.curr_step >= CHARGALG_CURR_STEP_LOW && in abx500_chargalg_curr_step_store() 1762 di->curr_status.curr_step <= CHARGALG_CURR_STEP_HIGH) { in abx500_chargalg_curr_step_store() 2068 di->curr_status.curr_step = CHARGALG_CURR_STEP_HIGH; in abx500_chargalg_probe()
|
Completed in 7 milliseconds