Searched refs:dev_ (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/include/zephyr/drivers/ |
D | can.h | 580 #define Z_CAN_GET_STATS(dev_) \ argument 581 CONTAINER_OF(dev_->state, struct can_device_state, devstate)->stats 601 #define CAN_STATS_BIT_ERROR_INC(dev_) \ argument 602 STATS_INC(Z_CAN_GET_STATS(dev_), bit_error) 615 #define CAN_STATS_BIT0_ERROR_INC(dev_) \ argument 617 STATS_INC(Z_CAN_GET_STATS(dev_), bit0_error); \ 618 CAN_STATS_BIT_ERROR_INC(dev_); \ 632 #define CAN_STATS_BIT1_ERROR_INC(dev_) \ argument 634 STATS_INC(Z_CAN_GET_STATS(dev_), bit1_error); \ 635 CAN_STATS_BIT_ERROR_INC(dev_); \ [all …]
|
D | spi.h | 502 #define Z_SPI_GET_STATS(dev_) \ argument 503 CONTAINER_OF(dev_->state, struct spi_device_state, devstate)->stats 510 #define SPI_STATS_RX_BYTES_INCN(dev_, n) \ argument 511 STATS_INCN(Z_SPI_GET_STATS(dev_), rx_bytes, n) 518 #define SPI_STATS_TX_BYTES_INCN(dev_, n) \ argument 519 STATS_INCN(Z_SPI_GET_STATS(dev_), tx_bytes, n) 528 #define SPI_STATS_TRANSFER_ERROR_INC(dev_) \ argument 529 STATS_INC(Z_SPI_GET_STATS(dev_), transfer_error) 622 #define SPI_STATS_RX_BYTES_INC(dev_) argument 623 #define SPI_STATS_TX_BYTES_INC(dev_) argument [all …]
|
/Zephyr-latest/drivers/counter/ |
D | counter_ambiq_timer.c | 244 static const struct device *const dev_##n = DEVICE_DT_INST_GET(n); \ 245 struct counter_ambiq_data *const data_##n = dev_##n->data; \ 250 counter_ambiq_get_value(dev_##n, &now); \ 252 data_##n->callback(dev_##n, 0, now, data_##n->user_data); \
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_ambiq.c | 358 static const struct device *const dev_##n = DEVICE_DT_INST_GET(n); \ 359 const struct ambiq_gpio_config *cfg_##n = dev_##n->config; \ 360 struct ambiq_gpio_data *const data_##n = dev_##n->data; \ 363 gpio_fire_callbacks(&data_##n->cb, dev_##n, status_##n); \ 367 static const struct device *const dev_##n = DEVICE_DT_INST_GET(n); \ 368 struct ambiq_gpio_data *const data_##n = dev_##n->data; \ 370 gpio_fire_callbacks(&data_##n->cb, dev_##n, pGpioIntStatusMask->U.Msk[n]); \
|
/Zephyr-latest/drivers/serial/ |
D | uart_ene_kb1200.c | 319 const struct device *dev_ = uart_devices[i]; in kb1200_uart_isr_wrap() local 320 const struct kb1200_uart_config *config = dev_->config; in kb1200_uart_isr_wrap() 323 kb1200_uart_irq_handler(dev_); in kb1200_uart_isr_wrap()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_ene_kb1200.c | 310 const struct device *dev_ = fsmbm_devices[i]; in i2c_kb1200_isr_wrap() local 311 const struct i2c_kb1200_config *config = dev_->config; in i2c_kb1200_isr_wrap() 314 i2c_kb1200_isr(dev_); in i2c_kb1200_isr_wrap()
|
/Zephyr-latest/drivers/adc/ |
D | adc_gd32.c | 420 static const struct device *const dev_##n = DEVICE_DT_INST_GET(n); \ 421 const struct adc_gd32_config *cfg_##n = dev_##n->config; \ 425 adc_gd32_isr(dev_##n); \
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_e1000.c | 290 static struct e1000_dev dev_##inst = { \ 313 &dev_##inst, \
|
/Zephyr-latest/drivers/dma/ |
D | dma_stm32.c | 148 static const struct device *const dev_##index = \ 150 const struct dma_stm32_config *cfg_##index = dev_##index->config; \ 155 dma_stm32_irq_handler(dev_##index, id); \
|