Lines Matching full:where
27 unsigned int devfn, unsigned int where, u32 *data) in ltq_pci_config_access() argument
43 LTQ_PCI_CFG_FUNNUM_SHF) | (where & ~0x3); in ltq_pci_config_access()
72 int where, int size, u32 *val) in ltq_pci_read_config_dword() argument
76 if (ltq_pci_config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) in ltq_pci_read_config_dword()
80 *val = (data >> ((where & 3) << 3)) & 0xff; in ltq_pci_read_config_dword()
82 *val = (data >> ((where & 3) << 3)) & 0xffff; in ltq_pci_read_config_dword()
90 int where, int size, u32 val) in ltq_pci_write_config_dword() argument
98 devfn, where, &data)) in ltq_pci_write_config_dword()
102 data = (data & ~(0xff << ((where & 3) << 3))) | in ltq_pci_write_config_dword()
103 (val << ((where & 3) << 3)); in ltq_pci_write_config_dword()
105 data = (data & ~(0xffff << ((where & 3) << 3))) | in ltq_pci_write_config_dword()
106 (val << ((where & 3) << 3)); in ltq_pci_write_config_dword()
109 if (ltq_pci_config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) in ltq_pci_write_config_dword()