Searched refs:GET_BITS (Results 1 – 2 of 2) sorted by relevance
/arch/mips/lantiq/xway/ |
D | clk-xway.c | 28 #define GET_BITS(x, msb, lsb) \ macro 62 #define CGU_PLL0_CFG_PLLK GET_BITS(ltq_cgu_r32(LTQ_CGU_PLL0_CFG), 26, 17) 63 #define CGU_PLL0_CFG_PLLN GET_BITS(ltq_cgu_r32(LTQ_CGU_PLL0_CFG), 12, 6) 64 #define CGU_PLL0_CFG_PLLM GET_BITS(ltq_cgu_r32(LTQ_CGU_PLL0_CFG), 5, 2) 65 #define CGU_PLL2_SRC GET_BITS(ltq_cgu_r32(LTQ_CGU_PLL2_CFG), 18, 17) 66 #define CGU_PLL2_CFG_INPUT_DIV GET_BITS(ltq_cgu_r32(LTQ_CGU_PLL2_CFG), 16, 13)
|
/arch/ia64/kernel/ |
D | ptrace.c | 76 # define GET_BITS(first, last, unat) \ in ia64_get_scratch_nat_bits() macro 95 val = GET_BITS( 1, 1, scratch_unat); in ia64_get_scratch_nat_bits() 96 val |= GET_BITS( 2, 3, scratch_unat); in ia64_get_scratch_nat_bits() 97 val |= GET_BITS(12, 13, scratch_unat); in ia64_get_scratch_nat_bits() 98 val |= GET_BITS(14, 14, scratch_unat); in ia64_get_scratch_nat_bits() 99 val |= GET_BITS(15, 15, scratch_unat); in ia64_get_scratch_nat_bits() 100 val |= GET_BITS( 8, 11, scratch_unat); in ia64_get_scratch_nat_bits() 101 val |= GET_BITS(16, 31, scratch_unat); in ia64_get_scratch_nat_bits() 104 # undef GET_BITS in ia64_get_scratch_nat_bits()
|