Lines Matching refs:swap
270 u8 devfn, u8 offset, int *swap) in u3_ht_cfg_access() argument
272 *swap = 1; in u3_ht_cfg_access()
276 *swap = 0; in u3_ht_cfg_access()
287 int swap; in u3_ht_read_config() local
294 addr = u3_ht_cfg_access(hose, bus->number, devfn, offset, &swap); in u3_ht_read_config()
324 *val = swap ? in_le16(addr) : in_be16(addr); in u3_ht_read_config()
327 *val = swap ? in_le32(addr) : in_be32(addr); in u3_ht_read_config()
338 int swap; in u3_ht_write_config() local
345 addr = u3_ht_cfg_access(hose, bus->number, devfn, offset, &swap); in u3_ht_write_config()
367 swap ? out_le16(addr, val) : out_be16(addr, val); in u3_ht_write_config()
370 swap ? out_le32(addr, val) : out_be32(addr, val); in u3_ht_write_config()