Lines Matching refs:val
34 #define MPC10X_CFG_read(val, addr, type, op) *val = op((type)(addr)) argument
35 #define MPC10X_CFG_write(val, addr, type, op) op((type *)(addr), (val)) argument
41 type val) \
46 MPC10X_CFG_##rw(val, cfg_data + (offset & mask), type, op); \
61 unsigned int *config_addr, *config_data, val; in mpc10x_get_mem_size() local
88 PCI_DEVFN(0,0), offset, &val); in mpc10x_get_mem_size()
89 start = (val >> ((i & 3) << 3)) & 0xff; in mpc10x_get_mem_size()
93 PCI_DEVFN(0,0), offset, &val); in mpc10x_get_mem_size()
94 val = (val >> ((i & 3) << 3)) & 0x03; in mpc10x_get_mem_size()
95 start = (val << 28) | (start << 20); in mpc10x_get_mem_size()
99 PCI_DEVFN(0,0), offset, &val); in mpc10x_get_mem_size()
100 end = (val >> ((i & 3) << 3)) & 0xff; in mpc10x_get_mem_size()
104 PCI_DEVFN(0,0), offset, &val); in mpc10x_get_mem_size()
105 val = (val >> ((i & 3) << 3)) & 0x03; in mpc10x_get_mem_size()
106 end = (val << 28) | (end << 20) | 0xfffff; in mpc10x_get_mem_size()