Home
last modified time | relevance | path

Searched refs:sc_reg_in (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dsata_mv.c1290 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()
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() argument
3008 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 …]
H A Dsata_fsl.c583 unsigned int sc_reg_in, u32 val) in sata_fsl_scr_write() argument
589 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() argument
613 switch (sc_reg_in) { in sata_fsl_scr_read()
618 sc_reg = sc_reg_in; in sata_fsl_scr_read()