Home
last modified time | relevance | path

Searched refs:ata66 (Results 1 – 11 of 11) sorted by relevance

/drivers/ata/
Dpata_hpt37x.c315 u8 scr2, ata66; in hpt37x_pre_reset() local
328 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt37x_pre_reset()
332 if (ata66 & (2 >> ap->port_no)) in hpt37x_pre_reset()
351 u8 ata66; in hpt374_fn1_pre_reset() local
364 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt374_fn1_pre_reset()
368 if (ata66 & (2 >> ap->port_no)) in hpt374_fn1_pre_reset()
Dpata_hpt366.c195 u8 ata66; in hpt36x_cable_detect() local
201 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt36x_cable_detect()
202 if (ata66 & 2) in hpt36x_cable_detect()
Dpata_sil680.c87 u8 ata66; in sil680_cable_detect() local
88 pci_read_config_byte(pdev, addr, &ata66); in sil680_cable_detect()
89 if (ata66 & 1) in sil680_cable_detect()
Dpata_hpt3x2n.c126 u8 scr2, ata66; in hpt3x2n_cable_detect() local
132 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt3x2n_cable_detect()
136 if (ata66 & (1 << ap->port_no)) in hpt3x2n_cable_detect()
Dpata_via.c182 u32 ata66; in via_cable_detect() local
197 pci_read_config_dword(pdev, 0x50, &ata66); in via_cable_detect()
200 if (ata66 & (0x10100000 >> (16 * ap->port_no))) in via_cable_detect()
Dpata_ali.c92 u8 ata66; in ali_c2_cable_detect() local
102 pci_read_config_byte(pdev, 0x4A, &ata66); in ali_c2_cable_detect()
103 if (ata66 & (1 << ap->port_no)) in ali_c2_cable_detect()
Dpata_amd.c159 u8 ata66; in amd_cable_detect() local
161 pci_read_config_byte(pdev, 0x42, &ata66); in amd_cable_detect()
162 if (ata66 & bitmask[ap->port_no]) in amd_cable_detect()
/drivers/ide/
Daec62xx.c165 u8 ata66 = 0, mask = hwif->channel ? 0x02 : 0x01; in atp86x_cable_detect() local
167 pci_read_config_byte(dev, 0x49, &ata66); in atp86x_cable_detect()
169 return (ata66 & mask) ? ATA_CBL_PATA40 : ATA_CBL_PATA80; in atp86x_cable_detect()
Dsis5513.c524 u8 ata66 = 0; in sis_cable_detect() local
538 ata66 = (regw & 0x8000) ? 0 : 1; in sis_cable_detect()
543 ata66 = (reg48h & mask) ? 0 : 1; in sis_cable_detect()
546 return ata66 ? ATA_CBL_PATA80 : ATA_CBL_PATA40; in sis_cable_detect()
Dsiimage.c688 u8 ata66 = sil_ioread8(dev, addr); in sil_cable_detect() local
690 return (ata66 & 0x01) ? ATA_CBL_PATA80 : ATA_CBL_PATA40; in sil_cable_detect()
Dhpt366.c1248 u8 scr1 = 0, ata66 = hwif->channel ? 0x01 : 0x02; in hpt3xx_cable_detect() local
1284 return (scr1 & ata66) ? ATA_CBL_PATA40 : ATA_CBL_PATA80; in hpt3xx_cable_detect()