Lines Matching refs:sc_reg_in

588 static int mv_scr_read(struct ata_link *link, unsigned int sc_reg_in, u32 *val);
589 static int mv_scr_write(struct ata_link *link, unsigned int sc_reg_in, u32 val);
590 static int mv5_scr_read(struct ata_link *link, unsigned int sc_reg_in, u32 *val);
591 static int mv5_scr_write(struct ata_link *link, unsigned int sc_reg_in, u32 val);
1290 static unsigned int mv_scr_offset(unsigned int sc_reg_in) in mv_scr_offset() argument
1294 switch (sc_reg_in) { in mv_scr_offset()
1298 ofs = SATA_STATUS + (sc_reg_in * sizeof(u32)); in mv_scr_offset()
1310 static int mv_scr_read(struct ata_link *link, unsigned int sc_reg_in, u32 *val) in mv_scr_read() argument
1312 unsigned int ofs = mv_scr_offset(sc_reg_in); in mv_scr_read()
1321 static int mv_scr_write(struct ata_link *link, unsigned int sc_reg_in, u32 val) in mv_scr_write() argument
1323 unsigned int ofs = mv_scr_offset(sc_reg_in); in mv_scr_write()
1328 if (sc_reg_in == SCR_CONTROL) { in mv_scr_write()
3004 static unsigned int mv5_scr_offset(unsigned int sc_reg_in) in mv5_scr_offset() argument
3008 switch (sc_reg_in) { in mv5_scr_offset()
3012 ofs = sc_reg_in * sizeof(u32); in mv5_scr_offset()
3021 static int mv5_scr_read(struct ata_link *link, unsigned int sc_reg_in, u32 *val) in mv5_scr_read() argument
3026 unsigned int ofs = mv5_scr_offset(sc_reg_in); in mv5_scr_read()
3035 static int mv5_scr_write(struct ata_link *link, unsigned int sc_reg_in, u32 val) in mv5_scr_write() argument
3040 unsigned int ofs = mv5_scr_offset(sc_reg_in); in mv5_scr_write()