Searched refs:b_x (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/ppc/ |
H A D | spapr_pci.c | 838 #define b_x(x, p, l) (((x) & ((1<<(l))-1)) << (p)) macro 839 #define b_n(x) b_x((x), 31, 1) /* 0 if relocatable */ 840 #define b_p(x) b_x((x), 30, 1) /* 1 if prefetchable */ 841 #define b_t(x) b_x((x), 29, 1) /* 1 if the address is aliased */ 842 #define b_ss(x) b_x((x), 24, 2) /* the space code */ 843 #define b_bbbbbbbb(x) b_x((x), 16, 8) /* bus number */ 844 #define b_ddddd(x) b_x((x), 11, 5) /* device number */ 845 #define b_fff(x) b_x((x), 8, 3) /* function number */ 846 #define b_rrrrrrrr(x) b_x((x), 0, 8) /* register number */
|