Lines Matching refs:sc_reg_in

579 static int mv_scr_read(struct ata_link *link, unsigned int sc_reg_in, u32 *val);
580 static int mv_scr_write(struct ata_link *link, unsigned int sc_reg_in, u32 val);
581 static int mv5_scr_read(struct ata_link *link, unsigned int sc_reg_in, u32 *val);
582 static int mv5_scr_write(struct ata_link *link, unsigned int sc_reg_in, u32 val);
1314 static unsigned int mv_scr_offset(unsigned int sc_reg_in) in mv_scr_offset() argument
1318 switch (sc_reg_in) { in mv_scr_offset()
1322 ofs = SATA_STATUS + (sc_reg_in * sizeof(u32)); in mv_scr_offset()
1334 static int mv_scr_read(struct ata_link *link, unsigned int sc_reg_in, u32 *val) in mv_scr_read() argument
1336 unsigned int ofs = mv_scr_offset(sc_reg_in); in mv_scr_read()
1345 static int mv_scr_write(struct ata_link *link, unsigned int sc_reg_in, u32 val) in mv_scr_write() argument
1347 unsigned int ofs = mv_scr_offset(sc_reg_in); in mv_scr_write()
1351 if (sc_reg_in == SCR_CONTROL) { in mv_scr_write()
3013 static unsigned int mv5_scr_offset(unsigned int sc_reg_in) in mv5_scr_offset() argument
3017 switch (sc_reg_in) { in mv5_scr_offset()
3021 ofs = sc_reg_in * sizeof(u32); in mv5_scr_offset()
3030 static int mv5_scr_read(struct ata_link *link, unsigned int sc_reg_in, u32 *val) in mv5_scr_read() argument
3035 unsigned int ofs = mv5_scr_offset(sc_reg_in); in mv5_scr_read()
3044 static int mv5_scr_write(struct ata_link *link, unsigned int sc_reg_in, u32 val) in mv5_scr_write() argument
3049 unsigned int ofs = mv5_scr_offset(sc_reg_in); in mv5_scr_write()