Searched refs:sc_reg_in (Results 1 – 2 of 2) sorted by relevance
1290 static unsigned int mv_scr_offset(unsigned int sc_reg_in) in mv_scr_offset() argument1294 switch (sc_reg_in) { in mv_scr_offset()1298 ofs = SATA_STATUS + (sc_reg_in * sizeof(u32)); in mv_scr_offset()1312 unsigned int ofs = mv_scr_offset(sc_reg_in); in mv_scr_read()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() argument3008 switch (sc_reg_in) { in mv5_scr_offset()3012 ofs = sc_reg_in * sizeof(u32); in mv5_scr_offset()3026 unsigned int ofs = mv5_scr_offset(sc_reg_in); in mv5_scr_read()[all …]
583 unsigned int sc_reg_in, u32 val) in sata_fsl_scr_write() argument589 switch (sc_reg_in) { in sata_fsl_scr_write()594 sc_reg = sc_reg_in; in sata_fsl_scr_write()607 unsigned int sc_reg_in, u32 *val) in sata_fsl_scr_read() argument613 switch (sc_reg_in) { in sata_fsl_scr_read()618 sc_reg = sc_reg_in; in sata_fsl_scr_read()