Home
last modified time | relevance | path

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

/linux-2.6.39/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.c483 unsigned int sc_reg_in, u32 val) in sata_fsl_scr_write() argument
489 switch (sc_reg_in) { in sata_fsl_scr_write()
494 sc_reg = sc_reg_in; in sata_fsl_scr_write()
507 unsigned int sc_reg_in, u32 *val) in sata_fsl_scr_read() argument
513 switch (sc_reg_in) { in sata_fsl_scr_read()
518 sc_reg = sc_reg_in; in sata_fsl_scr_read()