Searched refs:ata66 (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/ata/ |
D | pata_hpt366.c | 217 u8 ata66; in hpt36x_cable_detect() local 223 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt36x_cable_detect() 224 if (ata66 & 2) in hpt36x_cable_detect()
|
D | pata_hpt37x.c | 335 u8 scr2, ata66; in hpt37x_cable_detect() local 343 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt37x_cable_detect() 347 if (ata66 & (2 >> ap->port_no)) in hpt37x_cable_detect() 365 u8 ata66; in hpt374_fn1_cable_detect() local 371 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt374_fn1_cable_detect() 375 if (ata66 & (2 >> ap->port_no)) in hpt374_fn1_cable_detect()
|
D | pata_sil680.c | 88 u8 ata66; in sil680_cable_detect() local 89 pci_read_config_byte(pdev, addr, &ata66); in sil680_cable_detect() 90 if (ata66 & 1) in sil680_cable_detect()
|
D | pata_hpt3x2n.c | 142 u8 scr2, ata66; in hpt3x2n_cable_detect() local 151 pci_read_config_byte(pdev, 0x5A, &ata66); in hpt3x2n_cable_detect() 155 if (ata66 & (2 >> ap->port_no)) in hpt3x2n_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()
|
D | pata_via.c | 184 u32 ata66; in via_cable_detect() local 199 pci_read_config_dword(pdev, 0x50, &ata66); in via_cable_detect() 202 if (ata66 & (0x10100000 >> (16 * ap->port_no))) in via_cable_detect()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | aec62xx.c | 167 u8 ata66 = 0, mask = hwif->channel ? 0x02 : 0x01; in atp86x_cable_detect() local 169 pci_read_config_byte(dev, 0x49, &ata66); in atp86x_cable_detect() 171 return (ata66 & mask) ? ATA_CBL_PATA40 : ATA_CBL_PATA80; in atp86x_cable_detect()
|
D | sis5513.c | 529 u8 ata66 = 0; in sis_cable_detect() local 543 ata66 = (regw & 0x8000) ? 0 : 1; in sis_cable_detect() 548 ata66 = (reg48h & mask) ? 0 : 1; in sis_cable_detect() 551 return ata66 ? ATA_CBL_PATA80 : ATA_CBL_PATA40; in sis_cable_detect()
|
D | siimage.c | 673 u8 ata66 = sil_ioread8(dev, addr); in sil_cable_detect() local 675 return (ata66 & 0x01) ? ATA_CBL_PATA80 : ATA_CBL_PATA40; in sil_cable_detect()
|
D | hpt366.c | 1156 u8 scr1 = 0, ata66 = hwif->channel ? 0x01 : 0x02; in hpt3xx_cable_detect() local 1194 return (scr1 & ata66) ? ATA_CBL_PATA40 : ATA_CBL_PATA80; in hpt3xx_cable_detect()
|