Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-mtk-nor.c197 int tx_len, rx_len, prg_len, prg_left; in mtk_nor_match_prg() local
233 prg_len = tx_len + op->dummy.nbytes + rx_len; in mtk_nor_match_prg()
234 if (prg_len > MTK_NOR_PRG_CNT_MAX / 8) in mtk_nor_match_prg()
237 prg_len = tx_len + op->dummy.nbytes; in mtk_nor_match_prg()
238 if (prg_len > MTK_NOR_PRG_CNT_MAX / 8) in mtk_nor_match_prg()
515 int tx_len, prg_len; in mtk_nor_spi_mem_prg() local
528 prg_len = op->cmd.nbytes + op->addr.nbytes + op->dummy.nbytes + in mtk_nor_spi_mem_prg()
536 (prg_len > MTK_NOR_PRG_CNT_MAX / 8)) in mtk_nor_spi_mem_prg()
571 writel(prg_len * BITS_PER_BYTE + sp->caps->extra_dummy_bit, in mtk_nor_spi_mem_prg()
574 writel(prg_len * BITS_PER_BYTE, sp->base + MTK_NOR_REG_PRG_CNT); in mtk_nor_spi_mem_prg()
[all …]