Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/spi/
Dspi-bcm63xx-hsspi.c180 int curr_step = min_t(int, step_size, pending); in bcm63xx_hsspi_do_txrx() local
184 memcpy_toio(bs->fifo + HSSPI_OPCODE_LEN, tx, curr_step); in bcm63xx_hsspi_do_txrx()
185 tx += curr_step; in bcm63xx_hsspi_do_txrx()
188 __raw_writew(opcode | curr_step, bs->fifo); in bcm63xx_hsspi_do_txrx()
206 memcpy_fromio(rx, bs->fifo, curr_step); in bcm63xx_hsspi_do_txrx()
207 rx += curr_step; in bcm63xx_hsspi_do_txrx()
210 pending -= curr_step; in bcm63xx_hsspi_do_txrx()
/linux-4.1.27/drivers/power/
Dabx500_chargalg.c85 int curr_step; member
1559 if (di->curr_status.curr_step == CHARGALG_CURR_STEP_LOW) in abx500_chargalg_algorithm()
1564 * di->curr_status.curr_step in abx500_chargalg_algorithm()
1813 return sprintf(buf, "%d\n", di->curr_status.curr_step); in abx500_chargalg_curr_step_show()
1826 di->curr_status.curr_step = param; in abx500_chargalg_curr_step_store()
1827 if (di->curr_status.curr_step >= CHARGALG_CURR_STEP_LOW && in abx500_chargalg_curr_step_store()
1828 di->curr_status.curr_step <= CHARGALG_CURR_STEP_HIGH) { in abx500_chargalg_curr_step_store()
2134 di->curr_status.curr_step = CHARGALG_CURR_STEP_HIGH; in abx500_chargalg_probe()