Home
last modified time | relevance | path

Searched refs:progif (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/arch/powerpc/platforms/chrp/
Dpci.c336 u8 progif; in chrp_pci_fixup_winbond_ata() local
345 pci_read_config_byte(sl82c105, PCI_CLASS_PROG, &progif); in chrp_pci_fixup_winbond_ata()
346 pci_write_config_byte(sl82c105, PCI_CLASS_PROG, progif | 0x05); in chrp_pci_fixup_winbond_ata()
368 u8 progif; in chrp_pci_fixup_vt8231_ata() local
381 pci_read_config_byte(viaide, PCI_CLASS_PROG, &progif); in chrp_pci_fixup_vt8231_ata()
382 pci_write_config_byte(viaide, PCI_CLASS_PROG, progif & ~0x5); in chrp_pci_fixup_vt8231_ata()
/Linux-v6.6/arch/powerpc/platforms/powermac/
Dpci.c1093 u8 progif = 0; in pmac_pci_fixup_pciata() local
1123 pci_read_config_byte(dev, PCI_CLASS_PROG, &progif); in pmac_pci_fixup_pciata()
1124 if ((progif & 5) != 5) { in pmac_pci_fixup_pciata()
1127 (void) pci_write_config_byte(dev, PCI_CLASS_PROG, progif|5); in pmac_pci_fixup_pciata()
1128 if (pci_read_config_byte(dev, PCI_CLASS_PROG, &progif) || in pmac_pci_fixup_pciata()
1129 (progif & 5) != 5) in pmac_pci_fixup_pciata()
/Linux-v6.6/drivers/pnp/
Dresource.c303 u8 progif; in pci_dev_uses_irq() local
317 progif = class & 0xff; in pci_dev_uses_irq()
325 if ((progif & 0x5) != 0x5) in pci_dev_uses_irq()
/Linux-v6.6/drivers/parport/
Dparport_pc.c1117 int id, progif = 2; in decode_winbond() local
1144 progif = 1; in decode_winbond()
1147 progif = 1; in decode_winbond()
1150 progif = 1; in decode_winbond()
1153 progif = 1; in decode_winbond()
1155 progif = 0; in decode_winbond()
1161 if (progif == 2) in decode_winbond()
/Linux-v6.6/arch/powerpc/sysdev/
Dfsl_pci.c528 u8 hdr_type, progif; in fsl_add_bridge() local
589 early_read_config_byte(hose, 0, 0, PCI_CLASS_PROG, &progif); in fsl_add_bridge()
590 if ((progif & 1) && in fsl_add_bridge()
/Linux-v6.6/drivers/pci/
Dprobe.c1924 u8 progif; in pci_setup_device() local
1925 pci_read_config_byte(dev, PCI_CLASS_PROG, &progif); in pci_setup_device()
1926 if ((progif & 1) == 0) { in pci_setup_device()
1942 if ((progif & 4) == 0) { in pci_setup_device()