• Home
  • Raw
  • Download

Lines Matching refs:err_mask

43 	unsigned int err_mask;  in sata_pmp_read()  local
52 err_mask = ata_exec_internal(pmp_dev, &tf, NULL, DMA_NONE, NULL, 0, in sata_pmp_read()
54 if (err_mask) in sata_pmp_read()
55 return err_mask; in sata_pmp_read()
143 unsigned int err_mask; in sata_pmp_scr_read() local
148 err_mask = sata_pmp_read(link, reg, r_val); in sata_pmp_scr_read()
149 if (err_mask) { in sata_pmp_scr_read()
151 reg, err_mask); in sata_pmp_scr_read()
174 unsigned int err_mask; in sata_pmp_scr_write() local
179 err_mask = sata_pmp_write(link, reg, val); in sata_pmp_scr_write()
180 if (err_mask) { in sata_pmp_scr_write()
182 reg, err_mask); in sata_pmp_scr_write()
230 unsigned int err_mask; in sata_pmp_read_gscr() local
232 err_mask = sata_pmp_read(dev->link, reg, &gscr[reg]); in sata_pmp_read_gscr()
233 if (err_mask) { in sata_pmp_read_gscr()
235 reg, err_mask); in sata_pmp_read_gscr()
264 unsigned int err_mask = 0; in sata_pmp_configure() local
281 err_mask = sata_pmp_write(dev->link, SATA_PMP_GSCR_ERROR_EN, in sata_pmp_configure()
283 if (err_mask) { in sata_pmp_configure()
298 err_mask = sata_pmp_read(&ap->link, PMP_GSCR_SII_POL, &reg); in sata_pmp_configure()
299 if (err_mask) { in sata_pmp_configure()
305 err_mask = sata_pmp_write(&ap->link, PMP_GSCR_SII_POL, reg); in sata_pmp_configure()
306 if (err_mask) { in sata_pmp_configure()
332 reason, err_mask); in sata_pmp_configure()
712 unsigned int err_mask; in sata_pmp_revalidate_quick() local
715 err_mask = sata_pmp_read(dev->link, SATA_PMP_GSCR_PROD_ID, &prod_id); in sata_pmp_revalidate_quick()
716 if (err_mask) { in sata_pmp_revalidate_quick()
719 err_mask); in sata_pmp_revalidate_quick()
933 unsigned int err_mask; in sata_pmp_eh_recover() local
974 err_mask = sata_pmp_write(pmp_link, SATA_PMP_GSCR_FEAT_EN, in sata_pmp_eh_recover()
976 if (err_mask) { in sata_pmp_eh_recover()
979 err_mask); in sata_pmp_eh_recover()
1018 err_mask = sata_pmp_write(pmp_link, SATA_PMP_GSCR_FEAT_EN, in sata_pmp_eh_recover()
1020 if (err_mask) { in sata_pmp_eh_recover()
1023 err_mask); in sata_pmp_eh_recover()
1030 err_mask = sata_pmp_read(pmp_link, SATA_PMP_GSCR_ERROR, &gscr_error); in sata_pmp_eh_recover()
1031 if (err_mask) { in sata_pmp_eh_recover()
1034 err_mask); in sata_pmp_eh_recover()