Searched refs:sc_reg_in (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/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 | 584 unsigned int sc_reg_in, u32 val) in sata_fsl_scr_write() argument 590 switch (sc_reg_in) { in sata_fsl_scr_write() 595 sc_reg = sc_reg_in; in sata_fsl_scr_write() 608 unsigned int sc_reg_in, u32 *val) in sata_fsl_scr_read() argument 614 switch (sc_reg_in) { in sata_fsl_scr_read() 619 sc_reg = sc_reg_in; in sata_fsl_scr_read()
|