Home | History | Annotate | Download | only in bktr

Lines Matching refs:fun

334 	u_int		fun;
412 fun = pci_read_config(dev, 0x40, 2);
413 fun = fun | 1; /* Enable writes to the sub-system vendor ID */
417 fun = fun | 2; /* Enable Intel 430 FX compatibility mode */
422 fun = fun | 4; /* Enable SiS/VIA compatibility mode (useful for
425 pci_write_config(dev, 0x40, fun, 2);
460 fun = pci_get_devid(dev);
464 if (common_bktr_attach(bktr, unit, fun, rev) == 0)
941 u_int fun;
961 fun = pci_conf_read(tag, PCI_COMMAND_STATUS_REG);
962 pci_conf_write(tag, PCI_COMMAND_STATUS_REG, fun | 2);
965 fun = pci_conf_read(tag, PCI_COMMAND_STATUS_REG);
966 pci_conf_write(tag, PCI_COMMAND_STATUS_REG, fun | 4);
1003 fun = pci_conf_read(tag, 0x40);
1004 fun = fun | 1; /* Enable writes to the sub-system vendor ID */
1008 fun = fun | 2; /* Enable Intel 430 FX compatibility mode */
1013 fun = fun | 4; /* Enable SiS/VIA compatibility mode (useful for
1016 pci_conf_write(tag, 0x40, fun);
1052 fun = pci_conf_read(tag, PCI_ID_REG);
1056 common_bktr_attach(bktr, unit, fun, rev);
1398 u_int fun;