• Home
  • Raw
  • Download

Lines Matching refs:where

99 			 unsigned int dev_fn, unsigned char where, u32 *data)  in config_access()  argument
134 offset = (function << 8) | (where & ~0x3); in config_access()
160 access_type, bus->number, device, where, *data, offset); in config_access()
188 int where, u8 *val) in read_config_byte() argument
191 int ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_byte()
193 if (where & 1) in read_config_byte()
195 if (where & 2) in read_config_byte()
202 int where, u16 *val) in read_config_word() argument
205 int ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_word()
207 if (where & 2) in read_config_word()
214 int where, u32 *val) in read_config_dword() argument
216 return config_access(PCI_ACCESS_READ, bus, devfn, where, val); in read_config_dword()
220 int where, u8 val) in write_config_byte() argument
224 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) in write_config_byte()
227 data = (data & ~(0xff << ((where & 3) << 3))) | in write_config_byte()
228 (val << ((where & 3) << 3)); in write_config_byte()
230 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) in write_config_byte()
237 int where, u16 val) in write_config_word() argument
241 if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) in write_config_word()
244 data = (data & ~(0xffff << ((where & 3) << 3))) | in write_config_word()
245 (val << ((where & 3) << 3)); in write_config_word()
247 if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) in write_config_word()
254 int where, u32 val) in write_config_dword() argument
256 return config_access(PCI_ACCESS_WRITE, bus, devfn, where, &val); in write_config_dword()
260 int where, int size, u32 *val) in alchemy_pci_read() argument
265 int rc = read_config_byte(bus, devfn, where, &_val); in alchemy_pci_read()
272 int rc = read_config_word(bus, devfn, where, &_val); in alchemy_pci_read()
278 return read_config_dword(bus, devfn, where, val); in alchemy_pci_read()
283 int where, int size, u32 val) in alchemy_pci_write() argument
287 return write_config_byte(bus, devfn, where, (u8) val); in alchemy_pci_write()
289 return write_config_word(bus, devfn, where, (u16) val); in alchemy_pci_write()
291 return write_config_dword(bus, devfn, where, val); in alchemy_pci_write()