Home
last modified time | relevance | path

Searched refs:curr_step (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/spi/
Dspi-bcm63xx-hsspi.c188 int curr_step = min_t(int, step_size, pending); in bcm63xx_hsspi_do_txrx() local
192 memcpy_toio(bs->fifo + HSSPI_OPCODE_LEN, tx, curr_step); in bcm63xx_hsspi_do_txrx()
193 tx += curr_step; in bcm63xx_hsspi_do_txrx()
196 __raw_writew(opcode | curr_step, bs->fifo); in bcm63xx_hsspi_do_txrx()
214 memcpy_fromio(rx, bs->fifo, curr_step); in bcm63xx_hsspi_do_txrx()
215 rx += curr_step; in bcm63xx_hsspi_do_txrx()
218 pending -= curr_step; in bcm63xx_hsspi_do_txrx()
/Linux-v5.10/drivers/power/supply/
Dabx500_chargalg.c82 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()