Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-bcm63xx-hsspi.c195 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()
/drivers/power/supply/
Dab8500_chargalg.c84 int curr_step; member
1503 if (di->curr_status.curr_step == CHARGALG_CURR_STEP_LOW) in ab8500_chargalg_algorithm()
1508 * di->curr_status.curr_step in ab8500_chargalg_algorithm()
1747 return sprintf(buf, "%d\n", di->curr_status.curr_step); in ab8500_chargalg_curr_step_show()
1760 di->curr_status.curr_step = param; in ab8500_chargalg_curr_step_store()
1761 if (di->curr_status.curr_step >= CHARGALG_CURR_STEP_LOW && in ab8500_chargalg_curr_step_store()
1762 di->curr_status.curr_step <= CHARGALG_CURR_STEP_HIGH) { in ab8500_chargalg_curr_step_store()
2059 di->curr_status.curr_step = CHARGALG_CURR_STEP_HIGH; in ab8500_chargalg_probe()