Lines Matching refs:max_oob
148 unsigned int max_oob; member
483 ctrl->max_oob = 64; in brcmnand_revision_init()
485 ctrl->max_oob = 32; in brcmnand_revision_init()
487 ctrl->max_oob = 16; in brcmnand_revision_init()
932 if (offs >= ctrl->max_oob) in oob_reg_read()
951 if (offs >= ctrl->max_oob) in oob_reg_write()
978 tbytes = max(0, tbytes - (int)ctrl->max_oob); in read_oob_from_regs()
979 tbytes = min_t(int, tbytes, ctrl->max_oob); in read_oob_from_regs()
1001 tbytes = max(0, tbytes - (int)ctrl->max_oob); in write_oob_to_regs()
1002 tbytes = min_t(int, tbytes, ctrl->max_oob); in write_oob_to_regs()
1608 for (i = 0; i < ctrl->max_oob; i += 4) in brcmnand_write()
1861 if (cfg->spare_area_size > ctrl->max_oob) in brcmnand_setup_dev()
1862 cfg->spare_area_size = ctrl->max_oob; in brcmnand_setup_dev()