Searched refs:prg_left (Results 1 – 1 of 1) sorted by relevance
210 int tx_len, rx_len, prg_len, prg_left; in mtk_nor_match_prg() local237 prg_left = MTK_NOR_PRG_CNT_MAX / 8 - tx_len - op->dummy.nbytes; in mtk_nor_match_prg()238 if (prg_left > MTK_NOR_REG_SHIFT_MAX + 1) in mtk_nor_match_prg()239 prg_left = MTK_NOR_REG_SHIFT_MAX + 1; in mtk_nor_match_prg()240 if (rx_len > prg_left) { in mtk_nor_match_prg()243 rx_len = prg_left; in mtk_nor_match_prg()259 int tx_len, tx_left, prg_left; in mtk_nor_adj_prg_size() local268 prg_left = MTK_NOR_PRG_CNT_MAX / 8 - tx_len - op->dummy.nbytes; in mtk_nor_adj_prg_size()269 if (prg_left > MTK_NOR_REG_SHIFT_MAX + 1) in mtk_nor_adj_prg_size()270 prg_left = MTK_NOR_REG_SHIFT_MAX + 1; in mtk_nor_adj_prg_size()[all …]