Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/ata/
Dsata_mv.c588 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);
1290 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()
1310 static int mv_scr_read(struct ata_link *link, unsigned int sc_reg_in, u32 *val) in mv_scr_read() argument
1312 unsigned int ofs = mv_scr_offset(sc_reg_in); in mv_scr_read()
1321 static int mv_scr_write(struct ata_link *link, unsigned int sc_reg_in, u32 val) in mv_scr_write() argument
[all …]
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()