Lines Matching refs:err_addr
880 u64 err_addr; in brcmnand_get_uncorrecc_addr() local
882 err_addr = brcmnand_read_reg(ctrl, BRCMNAND_UNCORR_ADDR); in brcmnand_get_uncorrecc_addr()
883 err_addr |= ((u64)(brcmnand_read_reg(ctrl, in brcmnand_get_uncorrecc_addr()
887 return err_addr; in brcmnand_get_uncorrecc_addr()
892 u64 err_addr; in brcmnand_get_correcc_addr() local
894 err_addr = brcmnand_read_reg(ctrl, BRCMNAND_CORR_ADDR); in brcmnand_get_correcc_addr()
895 err_addr |= ((u64)(brcmnand_read_reg(ctrl, in brcmnand_get_correcc_addr()
899 return err_addr; in brcmnand_get_correcc_addr()
1926 u64 err_addr = 0; in brcmnand_edu_trans() local
1932 err_addr = brcmnand_get_uncorrecc_addr(ctrl); in brcmnand_edu_trans()
1933 if (!err_addr) { in brcmnand_edu_trans()
1934 err_addr = brcmnand_get_correcc_addr(ctrl); in brcmnand_edu_trans()
1935 if (err_addr) in brcmnand_edu_trans()
2041 u8 *oob, u64 *err_addr) in brcmnand_read_by_pio() argument
2070 *err_addr = brcmnand_get_uncorrecc_addr(ctrl); in brcmnand_read_by_pio()
2072 if (*err_addr) in brcmnand_read_by_pio()
2077 *err_addr = brcmnand_get_correcc_addr(ctrl); in brcmnand_read_by_pio()
2079 if (*err_addr) in brcmnand_read_by_pio()
2144 u64 err_addr = 0; in brcmnand_read() local
2162 err_addr = addr; in brcmnand_read()
2167 if (has_edu(ctrl) && err_addr) in brcmnand_read()
2175 oob, &err_addr); in brcmnand_read()
2208 (unsigned long long)err_addr); in brcmnand_read()
2220 oob, &err_addr); in brcmnand_read()
2223 (unsigned long long)err_addr); in brcmnand_read()