Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/parport/
Dparport_pc.c1098 int id, progif = 2; in decode_winbond() local
1125 progif = 1; in decode_winbond()
1128 progif = 1; in decode_winbond()
1131 progif = 1; in decode_winbond()
1134 progif = 1; in decode_winbond()
1136 progif = 0; in decode_winbond()
1142 if (progif == 2) in decode_winbond()
/linux-6.1.9/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-6.1.9/drivers/pci/
Dprobe.c1910 u8 progif; in pci_setup_device() local
1911 pci_read_config_byte(dev, PCI_CLASS_PROG, &progif); in pci_setup_device()
1912 if ((progif & 1) == 0) { in pci_setup_device()
1928 if ((progif & 4) == 0) { in pci_setup_device()