Searched refs:scontrol (Results 1 – 4 of 4) sorted by relevance
/drivers/ata/ |
D | libata-core.c | 3008 u32 sstatus, scontrol, tmp; in sata_print_link_status() local 3012 sata_scr_read(link, SCR_CONTROL, &scontrol); in sata_print_link_status() 3017 sata_spd_string(tmp), sstatus, scontrol); in sata_print_link_status() 3020 sstatus, scontrol); in sata_print_link_status() 3115 static int __sata_set_spd_needed(struct ata_link *link, u32 *scontrol) in __sata_set_spd_needed() argument 3134 spd = (*scontrol >> 4) & 0xf; in __sata_set_spd_needed() 3135 *scontrol = (*scontrol & ~0xf0) | ((target & 0xf) << 4); in __sata_set_spd_needed() 3157 u32 scontrol; in sata_set_spd_needed() local 3159 if (sata_scr_read(link, SCR_CONTROL, &scontrol)) in sata_set_spd_needed() 3162 return __sata_set_spd_needed(link, &scontrol); in sata_set_spd_needed() [all …]
|
D | ata_piix.c | 1456 u32 scontrol; in piix_init_sidpr() local 1484 piix_sidpr_scr_read(link0, SCR_CONTROL, &scontrol); in piix_init_sidpr() 1490 if ((scontrol & 0xf00) != 0x300) { in piix_init_sidpr() 1491 scontrol |= 0x300; in piix_init_sidpr() 1492 piix_sidpr_scr_write(link0, SCR_CONTROL, scontrol); in piix_init_sidpr() 1493 piix_sidpr_scr_read(link0, SCR_CONTROL, &scontrol); in piix_init_sidpr() 1495 if ((scontrol & 0xf00) != 0x300) { in piix_init_sidpr()
|
D | sata_via.c | 353 u32 sstatus, scontrol; in vt6420_prereset() local 362 svia_scr_read(link, SCR_CONTROL, &scontrol); /* flush */ in vt6420_prereset() 374 svia_scr_read(link, SCR_CONTROL, &scontrol); in vt6420_prereset() 380 online ? "up" : "down", sstatus, scontrol); in vt6420_prereset()
|
D | libahci.c | 825 u32 cmd, scontrol; in ahci_power_down() local 831 scontrol = readl(port_mmio + PORT_SCR_CTL); in ahci_power_down() 832 scontrol &= ~0xf; in ahci_power_down() 833 writel(scontrol, port_mmio + PORT_SCR_CTL); in ahci_power_down()
|