Home
last modified time | relevance | path

Searched refs:__PPCBITS (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/arch/powerpc/include/booke/
H A De500reg.h41 #define __PPCBITS(m, n) (((1 << ((n) - (m) + 1)) - 1) << (31 - (m))) macro
44 #define __PPCBITS(m,n) __BITS(31-(n),31-(m)) macro
50 #define BPTR_BOOT_PAGE __PPCBITS(8,31) /* high 24 bits of phys addr */
58 #define BNDS_SA __PPCBITS(4,15)
60 #define BNDS_EA __PPCBITS(20,31)
72 #define SDRAM_CFG_TYPE __PPCBITS(5,7)
76 #define SDRAM_CFG_DBW __PPCBITS(11,12)
96 #define CATTR_BNUM __PPCBITS(1,3)
97 #define CATTR_TSIZ __PPCBITS(5,7)
98 #define CATTR_TSRC __PPCBITS(11,15)
[all …]
H A Detsecreg.h193 #define TCTRL_TXSCHED __PPCBITS(29,30) /* transmit ring scheduling algorithm */
208 #define TSTAT_THLT __PPCBITS(0,7)
217 #define TSTAT_TXF __PPCBITS(16,23)
225 #define TXIC_ICFT __PPCBITS(3,10)
227 #define TXIC_ICTT __PPCBITS(16,31)
238 #define TQUEUE_EN __PPCBITS(16,23)
272 #define RCTRL_L2OFF __PPCBITS(0,6)
276 #define RCTRL_PAL __PPCBITS(11,15)
283 #define RCTRL_PRSDEP __PPCBITS(24,25)
303 #define RSTAT_QHLT __PPCBITS(
[all...]
/netbsd-src/sys/arch/powerpc/booke/dev/
H A Dpq3gpio.c476 { __PPCBITS( 0, 1), __PPCBITS( 0, 1), 0 }, /* GPIO_1 */ in pq3gpio_p1023_attach()
477 { __PPCBIT(2), __PPCBITS( 2, 3), 0 }, /* GPUO_2 */ in pq3gpio_p1023_attach()
478 { __PPCBITS( 4, 5), __PPCBITS( 4, 5), 0 }, /* GPUO_3 */ in pq3gpio_p1023_attach()
479 { __PPCBITS( 6, 7), __PPCBITS( 6, 7), 0 }, /* GPUO_4 */ in pq3gpio_p1023_attach()
480 { __PPCBITS( 8, 9), __PPCBITS( 8, 9), 0 }, /* GPUO_5 */ in pq3gpio_p1023_attach()
481 { __PPCBITS(10,11), __PPCBITS(10,11), 0 }, /* GPUO_6 */ in pq3gpio_p1023_attach()
482 { __PPCBITS(12,13), __PPCBITS(12,13), 0 }, /* GPUO_7 */ in pq3gpio_p1023_attach()
483 { __PPCBITS(14,15), __PPCBITS(14,15), 0 }, /* GPUO_8 */ in pq3gpio_p1023_attach()
484 { __PPCBIT(3), __PPCBITS(18,19), 0 }, /* GPUO_9 */ in pq3gpio_p1023_attach()