Searched refs:sc_reg_in (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/ata/ |
D | sata_mv.c | 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); 1321 static unsigned int mv_scr_offset(unsigned int sc_reg_in) in mv_scr_offset() argument 1325 switch (sc_reg_in) { in mv_scr_offset() 1329 ofs = SATA_STATUS + (sc_reg_in * sizeof(u32)); in mv_scr_offset() 1341 static int mv_scr_read(struct ata_link *link, unsigned int sc_reg_in, u32 *val) in mv_scr_read() argument 1343 unsigned int ofs = mv_scr_offset(sc_reg_in); in mv_scr_read() 1352 static int mv_scr_write(struct ata_link *link, unsigned int sc_reg_in, u32 val) in mv_scr_write() argument [all …]
|
D | sata_fsl.c | 583 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()
|