Lines Matching defs:where
49 static inline int config_access_valid(struct pci_dn *dn, int where)
51 if (where < 256)
53 if (where < 4096 && dn->pci_ext_config_space)
59 int rtas_read_config(struct pci_dn *pdn, int where, int size, u32 *val)
67 if (!config_access_valid(pdn, where))
70 addr = rtas_config_addr(pdn->busno, pdn->devfn, where);
92 int where, int size, u32 *val)
103 return rtas_read_config(pdn, where, size, val);
109 int rtas_write_config(struct pci_dn *pdn, int where, int size, u32 val)
116 if (!config_access_valid(pdn, where))
119 addr = rtas_config_addr(pdn->busno, pdn->devfn, where);
136 int where, int size, u32 val)
147 return rtas_write_config(pdn, where, size, val);