Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/ata/
Dsata_mv.c579 static int mv_scr_read(struct ata_link *link, unsigned int sc_reg_in, u32 *val);
580 static int mv_scr_write(struct ata_link *link, unsigned int sc_reg_in, u32 val);
581 static int mv5_scr_read(struct ata_link *link, unsigned int sc_reg_in, u32 *val);
582 static int mv5_scr_write(struct ata_link *link, unsigned int sc_reg_in, u32 val);
1314 static unsigned int mv_scr_offset(unsigned int sc_reg_in) in mv_scr_offset() argument
1318 switch (sc_reg_in) { in mv_scr_offset()
1322 ofs = SATA_STATUS + (sc_reg_in * sizeof(u32)); in mv_scr_offset()
1334 static int mv_scr_read(struct ata_link *link, unsigned int sc_reg_in, u32 *val) in mv_scr_read() argument
1336 unsigned int ofs = mv_scr_offset(sc_reg_in); in mv_scr_read()
1345 static int mv_scr_write(struct ata_link *link, unsigned int sc_reg_in, u32 val) in mv_scr_write() argument
[all …]
Dsata_fsl.c559 unsigned int sc_reg_in, u32 val) in sata_fsl_scr_write() argument
565 switch (sc_reg_in) { in sata_fsl_scr_write()
570 sc_reg = sc_reg_in; in sata_fsl_scr_write()
583 unsigned int sc_reg_in, u32 *val) in sata_fsl_scr_read() argument
589 switch (sc_reg_in) { in sata_fsl_scr_read()
594 sc_reg = sc_reg_in; in sata_fsl_scr_read()