Lines Matching refs:value
203 static int local_read_config(int where, int size, u32 *value)
209 *value = (data >> (8*n)) & bytemask[size];
210 pr_debug("local_read_config read %#x\n", *value);
214 static int local_write_config(int where, int size, u32 value)
217 pr_debug("local_write_config %#x to %d size %d\n", value, where, size);
222 data = value << (8*n);
238 static int ixp4xx_pci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value)
246 *value = 0xffffffff;
256 *value = (data >> (8*n)) & bytemask[size];
257 pr_debug("read_config_byte read %#x\n", *value);
261 static int ixp4xx_pci_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value)
266 pr_debug("write_config_byte %#x to %d size %d dev %d:%d:%d\n", value, where,
275 data = value << (8*n);