Home
last modified time | relevance | path

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

/trusted-firmware-a/drivers/arm/gic/common/
A Dgic_common.c253 return (reg_val >> bit_num) & 0x1U; in gicd_get_igroupr()
261 gicd_write_igroupr(base, id, reg_val | (1U << bit_num)); in gicd_set_igroupr()
276 gicd_write_isenabler(base, id, (1U << bit_num)); in gicd_set_isenabler()
283 gicd_write_icenabler(base, id, (1U << bit_num)); in gicd_set_icenabler()
290 gicd_write_ispendr(base, id, (1U << bit_num)); in gicd_set_ispendr()
297 gicd_write_icpendr(base, id, (1U << bit_num)); in gicd_set_icpendr()
305 return (reg_val >> bit_num) & 0x1U; in gicd_get_isactiver()
312 gicd_write_isactiver(base, id, (1U << bit_num)); in gicd_set_isactiver()
319 gicd_write_icactiver(base, id, (1U << bit_num)); in gicd_set_icactiver()
332 unsigned int bit_num = id & ((1U << ICFGR_SHIFT) - 1U); in gicd_set_icfgr() local
[all …]
/trusted-firmware-a/drivers/arm/gic/v2/
A Dgicdv2_helpers.c251 return (reg_val >> bit_num) & 0x1U; in gicd_get_igroupr()
259 gicd_write_igroupr(base, id, reg_val | (1U << bit_num)); in gicd_set_igroupr()
274 gicd_write_isenabler(base, id, (1U << bit_num)); in gicd_set_isenabler()
281 gicd_write_icenabler(base, id, (1U << bit_num)); in gicd_set_icenabler()
288 gicd_write_ispendr(base, id, (1U << bit_num)); in gicd_set_ispendr()
295 gicd_write_icpendr(base, id, (1U << bit_num)); in gicd_set_icpendr()
303 return (reg_val >> bit_num) & 0x1U; in gicd_get_isactiver()
310 gicd_write_isactiver(base, id, (1U << bit_num)); in gicd_set_isactiver()
317 gicd_write_icactiver(base, id, (1U << bit_num)); in gicd_set_icactiver()
330 unsigned int bit_num = id & ((1U << ICFGR_SHIFT) - 1U); in gicd_set_icfgr() local
[all …]
/trusted-firmware-a/drivers/nxp/gpio/
A Dnxp_gpio.c21 uint32_t bit_num) in set_gpio_bit() argument
40 val = val | bit_num; in set_gpio_bit()
45 val = val | bit_num; in set_gpio_bit()
50 if ((val & bit_num) == 0U) { in set_gpio_bit()
58 int clr_gpio_bit(uint32_t *gpio_base_addr, uint32_t bit_num) in clr_gpio_bit() argument
78 val = val & ~(bit_num); in clr_gpio_bit()
84 val = val & ~(bit_num); in clr_gpio_bit()
89 if ((val & bit_num) != 0U) { in clr_gpio_bit()
96 uint32_t *select_gpio_n_bitnum(uint32_t povdd_gpio, uint32_t *bit_num) in select_gpio_n_bitnum() argument
118 *bit_num = 1U << (GPIO_BITS_PER_BASE_REG in select_gpio_n_bitnum()
/trusted-firmware-a/include/drivers/nxp/gpio/
A Dnxp_gpio.h49 uint32_t *select_gpio_n_bitnum(uint32_t povdd_gpio, uint32_t *bit_num);
50 int clr_gpio_bit(uint32_t *gpio_base_addr, uint32_t bit_num);
51 int set_gpio_bit(uint32_t *gpio_base_addr, uint32_t bit_num);
/trusted-firmware-a/plat/nxp/common/fip_handler/fuse_fip/
A Dfuse_io_storage.c163 uint32_t bit_num; in fip_fuse_provisioning() local
188 &bit_num); in fip_fuse_provisioning()
193 ret = set_gpio_bit(gpio_base_addr, bit_num); in fip_fuse_provisioning()
211 &bit_num); in fip_fuse_provisioning()
213 ret = clr_gpio_bit(gpio_base_addr, bit_num); in fip_fuse_provisioning()

Completed in 7 milliseconds