Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/v3/
Dgicv3_helpers.c42 unsigned bit_num = id & ((1 << IGRPMODR_SHIFT) - 1); in gicd_get_igrpmodr() local
45 return (reg_val >> bit_num) & 0x1; in gicd_get_igrpmodr()
54 unsigned bit_num = id & ((1 << IGRPMODR_SHIFT) - 1); in gicd_set_igrpmodr() local
57 gicd_write_igrpmodr(base, id, reg_val | (1 << bit_num)); in gicd_set_igrpmodr()
66 unsigned bit_num = id & ((1 << IGRPMODR_SHIFT) - 1); in gicd_clr_igrpmodr() local
69 gicd_write_igrpmodr(base, id, reg_val & ~(1 << bit_num)); in gicd_clr_igrpmodr()
98 unsigned bit_num = id & ((1 << IGROUPR_SHIFT) - 1); in gicr_get_igroupr0() local
101 return (reg_val >> bit_num) & 0x1; in gicr_get_igroupr0()
110 unsigned bit_num = id & ((1 << IGROUPR_SHIFT) - 1); in gicr_set_igroupr0() local
113 gicr_write_igroupr0(base, reg_val | (1 << bit_num)); in gicr_set_igroupr0()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/common/
Dgic_common.c226 unsigned bit_num = id & ((1 << IGROUPR_SHIFT) - 1); in gicd_get_igroupr() local
229 return (reg_val >> bit_num) & 0x1; in gicd_get_igroupr()
234 unsigned bit_num = id & ((1 << IGROUPR_SHIFT) - 1); in gicd_set_igroupr() local
237 gicd_write_igroupr(base, id, reg_val | (1 << bit_num)); in gicd_set_igroupr()
242 unsigned bit_num = id & ((1 << IGROUPR_SHIFT) - 1); in gicd_clr_igroupr() local
245 gicd_write_igroupr(base, id, reg_val & ~(1 << bit_num)); in gicd_clr_igroupr()
250 unsigned bit_num = id & ((1 << ISENABLER_SHIFT) - 1); in gicd_set_isenabler() local
252 gicd_write_isenabler(base, id, (1 << bit_num)); in gicd_set_isenabler()
257 unsigned bit_num = id & ((1 << ICENABLER_SHIFT) - 1); in gicd_set_icenabler() local
259 gicd_write_icenabler(base, id, (1 << bit_num)); in gicd_set_icenabler()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/
Dgic_v2.c170 unsigned bit_num = id & ((1 << IGROUPR_SHIFT) - 1); in gicd_get_igroupr() local
173 return (reg_val >> bit_num) & 0x1; in gicd_get_igroupr()
178 unsigned bit_num = id & ((1 << IGROUPR_SHIFT) - 1); in gicd_set_igroupr() local
181 gicd_write_igroupr(base, id, reg_val | (1 << bit_num)); in gicd_set_igroupr()
186 unsigned bit_num = id & ((1 << IGROUPR_SHIFT) - 1); in gicd_clr_igroupr() local
189 gicd_write_igroupr(base, id, reg_val & ~(1 << bit_num)); in gicd_clr_igroupr()
194 unsigned bit_num = id & ((1 << ISENABLER_SHIFT) - 1); in gicd_set_isenabler() local
196 gicd_write_isenabler(base, id, (1 << bit_num)); in gicd_set_isenabler()
201 unsigned bit_num = id & ((1 << ICENABLER_SHIFT) - 1); in gicd_set_icenabler() local
203 gicd_write_icenabler(base, id, (1 << bit_num)); in gicd_set_icenabler()
[all …]