Searched refs:progif (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/arch/powerpc/platforms/chrp/ |
H A D | pci.c | 336 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()
|
/openbmc/linux/arch/powerpc/platforms/powermac/ |
H A D | pci.c | 1093 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()
|
/openbmc/linux/drivers/pnp/ |
H A D | resource.c | 303 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()
|
/openbmc/linux/drivers/parport/ |
H A D | parport_pc.c | 1117 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()
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | fsl_pci.c | 528 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()
|
/openbmc/linux/drivers/pci/ |
H A D | probe.c | 1924 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()
|