Home
last modified time | relevance | path

Searched refs:int_mask (Results 1 – 15 of 15) sorted by relevance

/Zephyr-Core-3.7.0/drivers/gpio/
Dgpio_xlnx_ps.c72 uint32_t int_mask; in gpio_xlnx_ps_isr() local
76 int_mask = 0; in gpio_xlnx_ps_isr()
79 int_mask = api->get_pending_int(dev_conf->bank_devices[bank]); in gpio_xlnx_ps_isr()
81 if (int_mask) { in gpio_xlnx_ps_isr()
85 dev_conf->bank_devices[bank], int_mask); in gpio_xlnx_ps_isr()
Dgpio_pca95xx.c91 uint16_t int_mask; member
334 &drv_data->reg_cache.int_mask, value); in update_int_mask_reg()
684 reg_out = drv_data->reg_cache.int_mask; in gpio_pca95xx_pin_interrupt_configure()
861 .reg_cache.int_mask = 0xFFFF, \
/Zephyr-Core-3.7.0/drivers/sensor/adi/adxl362/
Dadxl362_trigger.c93 uint8_t int_mask, int_en, status_buf; in adxl362_trigger_set() local
105 int_mask = ADXL362_INTMAP1_ACT; in adxl362_trigger_set()
114 int_mask = ADXL362_INTMAP1_INACT; in adxl362_trigger_set()
123 int_mask = ADXL362_INTMAP1_DATA_READY; in adxl362_trigger_set()
132 int_en = int_mask; in adxl362_trigger_set()
137 return adxl362_reg_write_mask(dev, ADXL362_REG_INTMAP1, int_mask, int_en); in adxl362_trigger_set()
/Zephyr-Core-3.7.0/drivers/sensor/ti/fdc2x1x/
Dfdc2x1x_trigger.c92 uint16_t status, int_mask, int_en; in fdc2x1x_trigger_set() local
104 int_mask = FDC2X1X_ERROR_CONFIG_DRDY_2INT_MSK; in fdc2x1x_trigger_set()
113 int_en = int_mask; in fdc2x1x_trigger_set()
114 drv_data->int_config |= int_mask; in fdc2x1x_trigger_set()
120 FDC2X1X_ERROR_CONFIG, int_mask, int_en); in fdc2x1x_trigger_set()
/Zephyr-Core-3.7.0/drivers/sensor/adi/adxl367/
Dadxl367_trigger.c90 uint8_t int_mask, int_en, status; in adxl367_trigger_set() local
103 int_mask = ADXL367_ACT_INT | ADXL367_INACT_INT; in adxl367_trigger_set()
108 int_mask = ADXL367_DATA_RDY; in adxl367_trigger_set()
116 int_en = int_mask; in adxl367_trigger_set()
121 ret = drv_data->hw_tf->write_reg_mask(dev, ADXL367_INTMAP1_LOWER, int_mask, int_en); in adxl367_trigger_set()
/Zephyr-Core-3.7.0/drivers/sensor/adi/adxl372/
Dadxl372_trigger.c101 uint8_t int_mask, int_en, status1, status2; in adxl372_trigger_set() local
114 int_mask = ADXL372_INT1_MAP_ACT_MSK | in adxl372_trigger_set()
120 int_mask = ADXL372_INT1_MAP_DATA_RDY_MSK; in adxl372_trigger_set()
128 int_en = int_mask; in adxl372_trigger_set()
133 ret = drv_data->hw_tf->write_reg_mask(dev, ADXL372_INT1_MAP, int_mask, int_en); in adxl372_trigger_set()
/Zephyr-Core-3.7.0/drivers/sensor/mc3419/
Dmc3419_trigger.c105 uint8_t int_mask = MC3419_ANY_MOTION_MASK; in mc3419_configure_trigger() local
112 int_mask, handler ? int_mask : 0); in mc3419_configure_trigger()
/Zephyr-Core-3.7.0/drivers/i2c/
Di2c_xilinx_axi.c265 struct i2c_xilinx_axi_data *data, uint32_t int_mask) in i2c_xilinx_axi_wait_interrupt() argument
268 const uint32_t int_enable = sys_read32(config->base + REG_IER) | int_mask; in i2c_xilinx_axi_wait_interrupt()
273 k_event_clear(&data->irq_event, int_mask); in i2c_xilinx_axi_wait_interrupt()
276 events = k_event_wait(&data->irq_event, int_mask, false, K_MSEC(100)); in i2c_xilinx_axi_wait_interrupt()
280 LOG_ERR("Timeout waiting for ISR events 0x%02x, SR 0x%02x, ISR 0x%02x", int_mask, in i2c_xilinx_axi_wait_interrupt()
287 struct i2c_xilinx_axi_data *data, uint32_t int_mask) in i2c_xilinx_axi_clear_interrupt() argument
292 if (int_status & int_mask) { in i2c_xilinx_axi_clear_interrupt()
293 sys_write32(int_status & int_mask, config->base + REG_ISR); in i2c_xilinx_axi_clear_interrupt()
/Zephyr-Core-3.7.0/drivers/counter/
Dcounter_nrfx_timer.c234 uint32_t int_mask = nrf_timer_compare_int_get(ID_TO_CC(chan_id)); in cancel_alarm() local
236 nrf_timer_int_disable(config->timer, int_mask); in cancel_alarm()
354 uint32_t int_mask = nrf_timer_compare_int_get(cc); in alarm_irq_handle() local
357 nrf_timer_int_enable_check(reg, int_mask); in alarm_irq_handle()
366 nrf_timer_int_disable(reg, int_mask); in alarm_irq_handle()
Dcounter_nrfx_rtc.c240 uint32_t int_mask = NRF_RTC_CHANNEL_INT_MASK(chan); in set_cc() local
246 __ASSERT(nrf_rtc_int_enable_check(rtc, int_mask) == 0, in set_cc()
262 nrfy_rtc_event_enable(rtc, int_mask); in set_cc()
328 nrfy_rtc_int_enable(rtc, int_mask); in set_cc()
634 uint32_t int_mask = NRF_RTC_CHANNEL_INT_MASK(chan); in alarm_irq_handle() local
645 nrfy_rtc_int_disable(rtc, int_mask); in alarm_irq_handle()
/Zephyr-Core-3.7.0/drivers/virtualization/
Dvirt_ivshmem.h68 uint32_t int_mask; member
/Zephyr-Core-3.7.0/drivers/timer/
Dnrf_grtc_timer.c62 static atomic_t int_mask; variable
125 atomic_val_t prev = atomic_and(&int_mask, ~BIT(chan)); in compare_int_lock()
135 atomic_or(&int_mask, BIT(chan)); in compare_int_unlock()
494 int_mask = NRFX_GRTC_CONFIG_ALLOWED_CC_CHANNELS_MASK; in sys_clock_driver_init()
Dnrf_rtc_timer.c64 static atomic_t int_mask; variable
155 atomic_val_t prev = atomic_and(&int_mask, ~BIT(chan)); in compare_int_lock()
176 atomic_or(&int_mask, BIT(chan)); in compare_int_unlock()
756 int_mask = BIT_MASK(CHAN_COUNT); in sys_clock_driver_init()
/Zephyr-Core-3.7.0/drivers/pwm/
Dpwm_numaker.c359 uint32_t int_mask = (BIT(st_channel) | BIT(end_channel)); in pwm_numaker_isr() local
366 int_status = epwm->AINTSTS & int_mask; in pwm_numaker_isr()
/Zephyr-Core-3.7.0/drivers/usb/common/nrf_usbd_common/
Dnrf_usbd_common.c1246 uint32_t int_mask = USBD_INTEN_USBRESET_Msk | USBD_INTEN_ENDEPIN0_Msk | in nrf_usbd_common_start() local
1260 int_mask |= USBD_INTEN_SOF_Msk; in nrf_usbd_common_start()
1264 NRF_USBD->INTEN = int_mask; in nrf_usbd_common_start()