Lines Matching refs:buswidth
162 if (op->dummy.buswidth) in mtk_nor_match_read()
163 dummy = op->dummy.nbytes * BITS_PER_BYTE / op->dummy.buswidth; in mtk_nor_match_read()
165 if ((op->data.buswidth == 2) || (op->data.buswidth == 4)) { in mtk_nor_match_read()
166 if (op->addr.buswidth == 1) in mtk_nor_match_read()
168 else if (op->addr.buswidth == 2) in mtk_nor_match_read()
170 else if (op->addr.buswidth == 4) in mtk_nor_match_read()
172 } else if ((op->addr.buswidth == 1) && (op->data.buswidth == 1)) { in mtk_nor_match_read()
186 if ((op->cmd.buswidth > 1) || (op->addr.buswidth > 1) || in mtk_nor_match_prg()
187 (op->dummy.buswidth > 1) || (op->data.buswidth > 1)) in mtk_nor_match_prg()
290 if (op->cmd.buswidth != 1) in mtk_nor_supports_op()
300 if ((op->addr.buswidth == 1) && in mtk_nor_supports_op()
302 (op->data.buswidth == 1)) in mtk_nor_supports_op()
320 if (op->data.buswidth == 4) { in mtk_nor_setup_bus()
323 if (op->addr.buswidth == 4) in mtk_nor_setup_bus()
325 } else if (op->data.buswidth == 2) { in mtk_nor_setup_bus()
328 if (op->addr.buswidth == 2) in mtk_nor_setup_bus()