Searched refs:ata66 (Results 1 – 11 of 11) sorted by relevance
/drivers/ata/ |
D | pata_hpt37x.c | 315 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()
|
D | pata_hpt366.c | 195 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()
|
D | pata_sil680.c | 87 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()
|
D | pata_hpt3x2n.c | 126 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()
|
D | pata_via.c | 182 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()
|
D | pata_ali.c | 92 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()
|
D | pata_amd.c | 159 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/ |
D | aec62xx.c | 165 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()
|
D | sis5513.c | 524 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()
|
D | siimage.c | 688 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()
|
D | hpt366.c | 1248 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()
|