/Zephyr-latest/drivers/serial/ |
D | uart_msp432p4xx.c | 228 unsigned int int_status; in uart_msp432p4xx_irq_tx_ready() local 230 int_status = MAP_UART_getInterruptStatus( in uart_msp432p4xx_irq_tx_ready() 233 return (int_status & EUSCI_A_IE_TXIE); in uart_msp432p4xx_irq_tx_ready() 261 unsigned int int_status; in uart_msp432p4xx_irq_rx_ready() local 263 int_status = MAP_UART_getInterruptStatus( in uart_msp432p4xx_irq_rx_ready() 266 return (int_status & EUSCI_A_IE_RXIE); in uart_msp432p4xx_irq_rx_ready() 282 unsigned int int_status; in uart_msp432p4xx_irq_is_pending() local 284 int_status = MAP_UART_getEnabledInterruptStatus(config->base); in uart_msp432p4xx_irq_is_pending() 286 return (int_status & (EUSCI_A_IE_TXIE | EUSCI_A_IE_RXIE)); in uart_msp432p4xx_irq_is_pending() 315 unsigned int int_status; in uart_msp432p4xx_isr() local [all …]
|
D | uart_cc32xx.c | 189 unsigned int int_status; in uart_cc32xx_irq_tx_ready() local 191 int_status = MAP_UARTIntStatus(config->base, 1); in uart_cc32xx_irq_tx_ready() 193 return (int_status & UART_INT_TX); in uart_cc32xx_irq_tx_ready() 221 unsigned int int_status; in uart_cc32xx_irq_rx_ready() local 223 int_status = MAP_UARTIntStatus(config->base, 1); in uart_cc32xx_irq_rx_ready() 225 return (int_status & UART_INT_RX); in uart_cc32xx_irq_rx_ready() 241 unsigned int int_status; in uart_cc32xx_irq_is_pending() local 243 int_status = MAP_UARTIntStatus(config->base, 1); in uart_cc32xx_irq_is_pending() 245 return (int_status & (UART_INT_TX | UART_INT_RX)); in uart_cc32xx_irq_is_pending()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_xilinx_axi.c | 136 struct i2c_xilinx_axi_data *data, uint32_t *int_status, in i2c_xilinx_axi_target_isr() argument 139 if (*int_status & ISR_ADDR_TARGET) { in i2c_xilinx_axi_target_isr() 141 *int_status &= ~ISR_ADDR_TARGET; in i2c_xilinx_axi_target_isr() 170 } else if (*int_status & ISR_NOT_ADDR_TARGET) { in i2c_xilinx_axi_target_isr() 178 *int_status &= ~ISR_NOT_ADDR_TARGET; in i2c_xilinx_axi_target_isr() 182 } else if (data->target_writing && (*int_status & ISR_RX_FIFO_FULL)) { in i2c_xilinx_axi_target_isr() 183 *int_status &= ~ISR_RX_FIFO_FULL; in i2c_xilinx_axi_target_isr() 195 } else if (data->target_reading && (*int_status & ISR_TX_ERR_TARGET_COMP)) { in i2c_xilinx_axi_target_isr() 200 *int_status &= ~ISR_TX_ERR_TARGET_COMP; in i2c_xilinx_axi_target_isr() 203 } else if (data->target_reading && (*int_status & ISR_TX_FIFO_EMPTY)) { in i2c_xilinx_axi_target_isr() [all …]
|
D | i2c_cc32xx.c | 268 uint32_t int_status; in i2c_cc32xx_isr() local 274 int_status = MAP_I2CMasterIntStatusEx(base, 0); in i2c_cc32xx_isr() 277 MAP_I2CMasterIntClearEx(base, int_status); in i2c_cc32xx_isr() 280 data->state, err_status, int_status); in i2c_cc32xx_isr() 284 (int_status & in i2c_cc32xx_isr() 305 } else if (int_status & I2C_MASTER_INT_STOP) { in i2c_cc32xx_isr() 310 } else if (int_status & (I2C_MASTER_INT_DATA | I2C_MASTER_INT_START)) { in i2c_cc32xx_isr()
|
/Zephyr-latest/drivers/sensor/tdk/icm42688/ |
D | icm42688_rtio_stream.c | 118 .int_status = drv_data->int_status, in icm42688_fifo_count_cb() 202 FIELD_GET(BIT_INT_STATUS_FIFO_THS, drv_data->int_status) != 0; in icm42688_int_status_cb() 207 FIELD_GET(BIT_INT_STATUS_FIFO_FULL, drv_data->int_status) != 0; in icm42688_int_status_cb() 253 data->int_status = drv_data->int_status; in icm42688_int_status_cb() 318 rtio_sqe_prep_read(read_int_reg, spi_iodev, RTIO_PRIO_NORM, &drv_data->int_status, 1, NULL); in icm42688_fifo_event()
|
D | icm42688_decoder.h | 23 uint8_t int_status; member
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_mcux.c | 317 uint32_t int_status; in gpio_mcux_port_isr() local 320 int_status = config->port_base->ISFR; in gpio_mcux_port_isr() 323 config->port_base->ISFR = int_status; in gpio_mcux_port_isr() 326 int_status = config->gpio_base->ISFR[0]; in gpio_mcux_port_isr() 329 config->gpio_base->ISFR[0] = int_status; in gpio_mcux_port_isr() 331 int_status = 0U; in gpio_mcux_port_isr() 335 gpio_fire_callbacks(&data->callbacks, dev, int_status); in gpio_mcux_port_isr()
|
D | gpio_xlnx_ps_bank.c | 373 uint32_t int_status; in gpio_xlnx_ps_bank_get_int_status() local 375 int_status = sys_read32(GPIO_XLNX_PS_BANK_INT_STAT_REG); in gpio_xlnx_ps_bank_get_int_status() 376 if (int_status != 0) { in gpio_xlnx_ps_bank_get_int_status() 377 sys_write32(int_status, GPIO_XLNX_PS_BANK_INT_STAT_REG); in gpio_xlnx_ps_bank_get_int_status() 380 return int_status; in gpio_xlnx_ps_bank_get_int_status()
|
D | gpio_cc32xx.c | 220 uint32_t int_status; in gpio_cc32xx_port_isr() local 223 int_status = (uint32_t)MAP_GPIOIntStatus(config->port_base, 1); in gpio_cc32xx_port_isr() 226 MAP_GPIOIntClear(config->port_base, int_status); in gpio_cc32xx_port_isr() 229 gpio_fire_callbacks(&data->callbacks, dev, int_status); in gpio_cc32xx_port_isr()
|
D | gpio_numicro.c | 230 uint32_t int_status; in gpio_numicro_isr() local 232 int_status = cfg->regs->INTSRC; in gpio_numicro_isr() 235 cfg->regs->INTSRC = int_status; in gpio_numicro_isr() 237 gpio_fire_callbacks(&data->callbacks, dev, int_status); in gpio_numicro_isr()
|
D | gpio_gecko.c | 339 uint32_t enabled_int, int_status; in gpio_gecko_common_isr() local 343 int_status = GPIO->IF; in gpio_gecko_common_isr() 345 for (unsigned int i = 0; int_status && (i < data->count); i++) { in gpio_gecko_common_isr() 348 enabled_int = int_status & port_data->int_enabled_mask; in gpio_gecko_common_isr() 350 int_status &= ~enabled_int; in gpio_gecko_common_isr()
|
D | gpio_ambiq.c | 391 uint32_t int_status; in ambiq_gpio_isr() 395 am_hal_gpio_interrupt_irq_status_get(dev_cfg->irq_num, false, &int_status); in ambiq_gpio_isr() 396 am_hal_gpio_interrupt_irq_clear(dev_cfg->irq_num, int_status); in ambiq_gpio_isr() 398 gpio_fire_callbacks(&data->cb, dev, int_status); in ambiq_gpio_isr() 458 uint32_t int_status; in ambiq_gpio_pin_interrupt_configure() local 468 ret = am_hal_gpio_interrupt_irq_status_get(dev_cfg->irq_num, false, &int_status); in ambiq_gpio_pin_interrupt_configure() 469 ret = am_hal_gpio_interrupt_irq_clear(dev_cfg->irq_num, int_status); in ambiq_gpio_pin_interrupt_configure() 501 ret = am_hal_gpio_interrupt_irq_status_get(dev_cfg->irq_num, false, &int_status); in ambiq_gpio_pin_interrupt_configure() 502 ret = am_hal_gpio_interrupt_irq_clear(dev_cfg->irq_num, int_status); in ambiq_gpio_pin_interrupt_configure()
|
D | gpio_numaker.c | 216 uint32_t int_status; in gpio_numaker_isr() local 219 int_status = gpio_base->INTSRC; in gpio_numaker_isr() 222 gpio_base->INTSRC = int_status; in gpio_numaker_isr() 224 gpio_fire_callbacks(&data->callbacks, dev, int_status); in gpio_numaker_isr()
|
D | gpio_rv32m1.c | 260 uint32_t int_status; in gpio_rv32m1_port_isr() local 262 int_status = config->port_base->ISFR; in gpio_rv32m1_port_isr() 265 config->port_base->ISFR = int_status; in gpio_rv32m1_port_isr() 267 gpio_fire_callbacks(&data->callbacks, dev, int_status); in gpio_rv32m1_port_isr()
|
D | gpio_imx.c | 247 uint32_t int_status; in imx_gpio_port_isr() local 249 int_status = config->base->ISR & config->base->IMR; in imx_gpio_port_isr() 251 config->base->ISR = int_status; in imx_gpio_port_isr() 253 gpio_fire_callbacks(&data->callbacks, port, int_status); in imx_gpio_port_isr()
|
D | gpio_dw.c | 392 uint32_t int_status; in gpio_dw_isr() local 394 int_status = dw_read(base_addr, INTSTATUS); in gpio_dw_isr() 396 dw_write(base_addr, PORTA_EOI, int_status); in gpio_dw_isr() 398 gpio_fire_callbacks(&context->callbacks, port, int_status); in gpio_dw_isr()
|
/Zephyr-latest/drivers/sensor/bosch/bmi160/ |
D | bmi160_trigger.c | 49 uint8_t int_status[4]; in bmi160_handle_interrupts() member 57 if ((buf.int_status[0] & BMI160_INT_STATUS0_ANYM) && in bmi160_handle_interrupts() 58 (buf.int_status[2] & (BMI160_INT_STATUS2_ANYM_FIRST_X | in bmi160_handle_interrupts() 64 if (buf.int_status[1] & BMI160_INT_STATUS1_DRDY) { in bmi160_handle_interrupts()
|
/Zephyr-latest/drivers/sensor/bosch/bmi270/ |
D | bmi270_trigger.c | 55 uint16_t int_status; in bmi270_thread_cb() local 58 (uint8_t *)&int_status, sizeof(int_status)); in bmi270_thread_cb() 67 if (int_status & BMI270_INT_STATUS_ANY_MOTION) { in bmi270_thread_cb()
|
/Zephyr-latest/drivers/sensor/bosch/bmp581/ |
D | bmp581.c | 28 static int get_interrupt_status(uint8_t *int_status, const struct device *dev); 187 static int get_interrupt_status(uint8_t *int_status, const struct device *dev) in get_interrupt_status() argument 191 CHECKIF(int_status == NULL || dev == NULL) { in get_interrupt_status() 195 return i2c_reg_read_byte_dt(&conf->i2c, BMP5_REG_INT_STATUS, int_status); in get_interrupt_status() 330 uint8_t int_status = 0; in soft_reset() local 340 ret = get_interrupt_status(&int_status, dev); in soft_reset() 342 if (int_status & BMP5_INT_ASSERTED_POR_SOFTRESET_COMPLETE) { in soft_reset()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_smsc911x.c | 599 uint32_t int_status = SMSC9220->INT_STS; in eth_smsc911x_isr() local 603 int_status, SMSC9220->INT_EN); in eth_smsc911x_isr() 605 if (int_status & BIT(SMSC9220_INTERRUPT_RXSTATUS_FIFO_LEVEL)) { in eth_smsc911x_isr() 627 int_status &= ~BIT(SMSC9220_INTERRUPT_RXSTATUS_FIFO_LEVEL); in eth_smsc911x_isr() 656 SMSC9220->INT_STS = int_status; in eth_smsc911x_isr()
|
/Zephyr-latest/drivers/counter/ |
D | counter_andes_atcpit100.c | 89 uint32_t int_status, int_enable, ch_enable, cur_ticks; in atcpit100_irq_handler() local 94 int_status = sys_read32(PIT_ISTA(dev)); in atcpit100_irq_handler() 96 if (int_status & TIMER0_CHANNEL(3)) { in atcpit100_irq_handler() 103 if (int_status & TIMER0_CHANNEL(i)) { in atcpit100_irq_handler() 114 sys_write32(int_status, PIT_ISTA(dev)); in atcpit100_irq_handler() 117 if (int_status & TIMER0_CHANNEL(i)) { in atcpit100_irq_handler()
|
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/ |
D | lsm6dsv16x_decoder.h | 25 uint8_t int_status; member
|
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_dw.c | 800 uint32_t int_status; in usb_dw_isr_handler() local 805 while ((int_status = (base->gintsts & base->gintmsk))) { in usb_dw_isr_handler() 807 LOG_DBG("USB GINTSTS 0x%x", int_status); in usb_dw_isr_handler() 809 if (int_status & USB_DWC2_GINTSTS_USBRST) { in usb_dw_isr_handler() 817 if (int_status & USB_DWC2_GINTSTS_ENUMDONE) { in usb_dw_isr_handler() 825 if (int_status & USB_DWC2_GINTSTS_USBSUSP) { in usb_dw_isr_handler() 834 if (int_status & USB_DWC2_GINTSTS_WKUPINT) { in usb_dw_isr_handler() 843 if (int_status & USB_DWC2_GINTSTS_RXFLVL) { in usb_dw_isr_handler() 848 if (int_status & USB_DWC2_GINTSTS_IEPINT) { in usb_dw_isr_handler() 853 if (int_status & USB_DWC2_GINTSTS_OEPINT) { in usb_dw_isr_handler()
|
/Zephyr-latest/drivers/virtualization/ |
D | virt_ivshmem.h | 69 uint32_t int_status; member
|
/Zephyr-latest/drivers/sensor/adi/adxl362/ |
D | adxl362_decoder.c | 345 return ADXL362_STATUS_CHECK_DATA_READY(data->int_status); in adxl362_decoder_has_trigger() 347 return ADXL362_STATUS_CHECK_FIFO_WTR(data->int_status); in adxl362_decoder_has_trigger() 349 return ADXL362_STATUS_CHECK_FIFO_OVR(data->int_status); in adxl362_decoder_has_trigger()
|