Lines Matching refs:bytes

87 		    int reg, int bytes);
89 static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes);
90 static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes);
93 unsigned slot, unsigned func, unsigned reg, unsigned bytes);
96 unsigned bytes);
175 pci_docfgregread(int domain, int bus, int slot, int func, int reg, int bytes) in pci_docfgregread() argument
178 return (pcireg_cfgread(bus, slot, func, reg, bytes)); in pci_docfgregread()
186 bytes)); in pci_docfgregread()
190 return (pcireg_cfgread(bus, slot, func, reg, bytes)); in pci_docfgregread()
199 pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes) in pci_cfgregread() argument
208 if (reg == PCIR_INTLINE && bytes == 1) { in pci_cfgregread()
213 return (pci_docfgregread(domain, bus, slot, func, reg, bytes)); in pci_cfgregread()
221 int bytes) in pci_cfgregwrite() argument
224 pcireg_cfgwrite(bus, slot, func, reg, data, bytes); in pci_cfgregwrite()
234 bytes); in pci_cfgregwrite()
240 pcireg_cfgwrite(bus, slot, func, reg, data, bytes); in pci_cfgregwrite()
249 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) in pci_cfgenable() argument
257 && bytes != 3 in pci_cfgenable()
258 && (unsigned)bytes <= 4 in pci_cfgenable()
259 && (reg & (bytes - 1)) == 0) { in pci_cfgenable()
299 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) in pcireg_cfgread() argument
305 port = pci_cfgenable(bus, slot, func, reg, bytes); in pcireg_cfgread()
307 switch (bytes) { in pcireg_cfgread()
325 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) in pcireg_cfgwrite() argument
330 port = pci_cfgenable(bus, slot, func, reg, bytes); in pcireg_cfgwrite()
332 switch (bytes) { in pcireg_cfgwrite()
651 unsigned func, unsigned reg, unsigned bytes) in pciereg_cfgread() argument
662 switch (bytes) { in pciereg_cfgread()
683 unsigned func, unsigned reg, int data, unsigned bytes) in pciereg_cfgwrite() argument
693 switch (bytes) { in pciereg_cfgwrite()