Home
last modified time | relevance | path

Searched refs:int_status (Results 1 – 25 of 31) sorted by relevance

12

/Zephyr-Core-3.6.0/drivers/serial/
Duart_msp432p4xx.c228 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 …]
Duart_cc32xx.c189 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-Core-3.6.0/drivers/i2c/
Di2c_xilinx_axi.c54 uint32_t int_status; in i2c_xilinx_axi_target_register() local
72 int_status = sys_read32(config->base + REG_ISR); in i2c_xilinx_axi_target_register()
73 if (int_status & I2C_XILINX_AXI_TARGET_INTERRUPTS) { in i2c_xilinx_axi_target_register()
74 sys_write32(int_status & I2C_XILINX_AXI_TARGET_INTERRUPTS, config->base + REG_ISR); in i2c_xilinx_axi_target_register()
133 struct i2c_xilinx_axi_data *data, uint32_t int_status, in i2c_xilinx_axi_target_isr() argument
136 if (int_status & ISR_ADDR_TARGET) { in i2c_xilinx_axi_target_isr()
166 } else if (int_status & ISR_NOT_ADDR_TARGET) { in i2c_xilinx_axi_target_isr()
177 } else if (int_status & ISR_RX_FIFO_FULL) { in i2c_xilinx_axi_target_isr()
189 } else if (int_status & ISR_TX_ERR_TARGET_COMP) { in i2c_xilinx_axi_target_isr()
200 } else if (int_status & ISR_TX_FIFO_EMPTY) { in i2c_xilinx_axi_target_isr()
[all …]
Di2c_cc32xx.c268 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-Core-3.6.0/drivers/gpio/
Dgpio_ambiq.c231 uint32_t int_status; in ambiq_gpio_isr() local
233 am_hal_gpio_interrupt_irq_status_get(dev_cfg->irq_num, false, &int_status); in ambiq_gpio_isr()
234 am_hal_gpio_interrupt_irq_clear(dev_cfg->irq_num, int_status); in ambiq_gpio_isr()
236 gpio_fire_callbacks(&data->cb, dev, int_status); in ambiq_gpio_isr()
247 uint32_t int_status; in ambiq_gpio_pin_interrupt_configure() local
258 ret = am_hal_gpio_interrupt_irq_status_get(dev_cfg->irq_num, false, &int_status); in ambiq_gpio_pin_interrupt_configure()
259 ret = am_hal_gpio_interrupt_irq_clear(dev_cfg->irq_num, int_status); in ambiq_gpio_pin_interrupt_configure()
289 ret = am_hal_gpio_interrupt_irq_status_get(dev_cfg->irq_num, false, &int_status); in ambiq_gpio_pin_interrupt_configure()
290 ret = am_hal_gpio_interrupt_irq_clear(dev_cfg->irq_num, int_status); in ambiq_gpio_pin_interrupt_configure()
Dgpio_xlnx_ps_bank.c362 uint32_t int_status; in gpio_xlnx_ps_bank_get_int_status() local
364 int_status = sys_read32(GPIO_XLNX_PS_BANK_INT_STAT_REG); in gpio_xlnx_ps_bank_get_int_status()
365 if (int_status != 0) { in gpio_xlnx_ps_bank_get_int_status()
366 sys_write32(int_status, GPIO_XLNX_PS_BANK_INT_STAT_REG); in gpio_xlnx_ps_bank_get_int_status()
369 return int_status; in gpio_xlnx_ps_bank_get_int_status()
Dgpio_cc32xx.c220 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()
Dgpio_numicro.c228 uint32_t int_status; in gpio_numicro_isr() local
230 int_status = cfg->regs->INTSRC; in gpio_numicro_isr()
233 cfg->regs->INTSRC = int_status; in gpio_numicro_isr()
235 gpio_fire_callbacks(&data->callbacks, dev, int_status); in gpio_numicro_isr()
Dgpio_gecko.c338 uint32_t enabled_int, int_status; in gpio_gecko_common_isr() local
342 int_status = GPIO->IF; in gpio_gecko_common_isr()
344 for (unsigned int i = 0; int_status && (i < data->count); i++) { in gpio_gecko_common_isr()
347 enabled_int = int_status & port_data->int_enabled_mask; in gpio_gecko_common_isr()
349 int_status &= ~enabled_int; in gpio_gecko_common_isr()
Dgpio_rv32m1.c258 uint32_t int_status; in gpio_rv32m1_port_isr() local
260 int_status = config->port_base->ISFR; in gpio_rv32m1_port_isr()
263 config->port_base->ISFR = int_status; in gpio_rv32m1_port_isr()
265 gpio_fire_callbacks(&data->callbacks, dev, int_status); in gpio_rv32m1_port_isr()
Dgpio_mcux.c259 uint32_t int_status; in gpio_mcux_port_isr() local
261 int_status = config->port_base->ISFR; in gpio_mcux_port_isr()
264 config->port_base->ISFR = int_status; in gpio_mcux_port_isr()
266 gpio_fire_callbacks(&data->callbacks, dev, int_status); in gpio_mcux_port_isr()
Dgpio_numaker.c232 uint32_t int_status; in gpio_numaker_isr() local
235 int_status = gpio_base->INTSRC; in gpio_numaker_isr()
238 gpio_base->INTSRC = int_status; in gpio_numaker_isr()
240 gpio_fire_callbacks(&data->callbacks, dev, int_status); in gpio_numaker_isr()
Dgpio_imx.c233 uint32_t int_status; in imx_gpio_port_isr() local
235 int_status = config->base->ISR; in imx_gpio_port_isr()
237 config->base->ISR = int_status; in imx_gpio_port_isr()
239 gpio_fire_callbacks(&data->callbacks, port, int_status); in imx_gpio_port_isr()
Dgpio_dw.c391 uint32_t int_status; in gpio_dw_isr() local
393 int_status = dw_read(base_addr, INTSTATUS); in gpio_dw_isr()
395 dw_write(base_addr, PORTA_EOI, int_status); in gpio_dw_isr()
397 gpio_fire_callbacks(&context->callbacks, port, int_status); in gpio_dw_isr()
/Zephyr-Core-3.6.0/drivers/sensor/icm42688/
Dicm42688_rtio_stream.c117 .int_status = drv_data->int_status, in icm42688_fifo_count_cb()
201 FIELD_GET(BIT_INT_STATUS_FIFO_THS, drv_data->int_status) != 0; in icm42688_int_status_cb()
206 FIELD_GET(BIT_INT_STATUS_FIFO_FULL, drv_data->int_status) != 0; in icm42688_int_status_cb()
252 data->int_status = drv_data->int_status; in icm42688_int_status_cb()
316 rtio_sqe_prep_read(read_int_reg, spi_iodev, RTIO_PRIO_NORM, &drv_data->int_status, 1, NULL); in icm42688_fifo_event()
Dicm42688_decoder.h23 uint8_t int_status; member
/Zephyr-Core-3.6.0/drivers/sensor/bmi160/
Dbmi160_trigger.c49 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-Core-3.6.0/drivers/sensor/bmi270/
Dbmi270_trigger.c55 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-Core-3.6.0/drivers/sensor/bmp581/
Dbmp581.c28 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-Core-3.6.0/drivers/ethernet/
Deth_smsc911x.c599 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-Core-3.6.0/drivers/spi/
Dspi_dw.c499 uint32_t int_status; in spi_dw_isr() local
502 int_status = read_isr(info); in spi_dw_isr()
504 LOG_DBG("SPI %p int_status 0x%x - (tx: %d, rx: %d)", dev, int_status, in spi_dw_isr()
507 if (int_status & DW_SPI_ISR_ERRORS_MASK) { in spi_dw_isr()
514 if (int_status & DW_SPI_ISR_RXFIS) { in spi_dw_isr()
518 if (int_status & DW_SPI_ISR_TXEIS) { in spi_dw_isr()
/Zephyr-Core-3.6.0/drivers/usb/device/
Dusb_dc_dw.c800 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()
Dusb_dc_smartbond.c827 uint32_t int_status = USB->USB_MAEV_REG & USB->USB_MAMSK_REG; in usb_dc_smartbond_isr() local
829 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_WARN)) { in usb_dc_smartbond_isr()
833 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_CH_EV)) { in usb_dc_smartbond_isr()
838 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_EP0_TX)) { in usb_dc_smartbond_isr()
842 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_EP0_RX)) { in usb_dc_smartbond_isr()
846 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_EP0_NAK)) { in usb_dc_smartbond_isr()
850 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_RX_EV)) { in usb_dc_smartbond_isr()
854 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_NAK)) { in usb_dc_smartbond_isr()
858 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_FRAME)) { in usb_dc_smartbond_isr()
886 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_TX_EV)) { in usb_dc_smartbond_isr()
[all …]
/Zephyr-Core-3.6.0/drivers/virtualization/
Dvirt_ivshmem.h69 uint32_t int_status; member
/Zephyr-Core-3.6.0/drivers/dma/
Ddma_andes_atcdmac300.c151 uint32_t int_status, int_ch_status, channel; in dma_atcdmac300_isr() local
157 int_status = sys_read32(DMA_INT_STATUS(dev)); in dma_atcdmac300_isr()
159 sys_write32(int_status, DMA_INT_STATUS(dev)); in dma_atcdmac300_isr()
164 int_ch_status = DMA_INT_STATUS_TC_VAL(int_status); in dma_atcdmac300_isr()
177 int_ch_status = DMA_INT_STATUS_ERROR_VAL(int_status); in dma_atcdmac300_isr()

12