Lines Matching refs:dev
33 /*$FreeBSD: releng/11.0/sys/dev/e1000/e1000_osdep.c 286833 2015-08-16 20:13:58Z sbruno $*/
46 pci_write_config(((struct e1000_osdep *)hw->back)->dev, reg, *value, 2);
52 *value = pci_read_config(((struct e1000_osdep *)hw->back)->dev, reg, 2);
58 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND,
65 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND,
75 device_t dev = ((struct e1000_osdep *)hw->back)->dev;
78 pci_find_cap(dev, PCIY_EXPRESS, &offset);
79 *value = pci_read_config(dev, offset + reg, 2);
89 device_t dev = ((struct e1000_osdep *)hw->back)->dev;
92 pci_find_cap(dev, PCIY_EXPRESS, &offset);
93 pci_write_config(dev, offset + reg, *value, 2);