Home
last modified time | relevance | path

Searched refs:dev_ (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.4.0/include/zephyr/drivers/
Dcan.h504 #define Z_CAN_GET_STATS(dev_) \ argument
505 CONTAINER_OF(dev_->state, struct can_device_state, devstate)->stats
517 #define CAN_STATS_BIT0_ERROR_INC(dev_) \ argument
518 STATS_INC(Z_CAN_GET_STATS(dev_), bit0_error)
528 #define CAN_STATS_BIT1_ERROR_INC(dev_) \ argument
529 STATS_INC(Z_CAN_GET_STATS(dev_), bit1_error)
539 #define CAN_STATS_STUFF_ERROR_INC(dev_) \ argument
540 STATS_INC(Z_CAN_GET_STATS(dev_), stuff_error)
550 #define CAN_STATS_CRC_ERROR_INC(dev_) \ argument
551 STATS_INC(Z_CAN_GET_STATS(dev_), crc_error)
[all …]
Dspi.h449 #define Z_SPI_GET_STATS(dev_) \ argument
450 CONTAINER_OF(dev_->state, struct spi_device_state, devstate)->stats
457 #define SPI_STATS_RX_BYTES_INCN(dev_, n) \ argument
458 STATS_INCN(Z_SPI_GET_STATS(dev_), rx_bytes, n)
465 #define SPI_STATS_TX_BYTES_INCN(dev_, n) \ argument
466 STATS_INCN(Z_SPI_GET_STATS(dev_), tx_bytes, n)
475 #define SPI_STATS_TRANSFER_ERROR_INC(dev_) \ argument
476 STATS_INC(Z_SPI_GET_STATS(dev_), transfer_error)
569 #define SPI_STATS_RX_BYTES_INC(dev_) argument
570 #define SPI_STATS_TX_BYTES_INC(dev_) argument
[all …]
/Zephyr-Core-3.4.0/drivers/adc/
Dadc_gd32.c420 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); \
Dadc_shell.c89 #define ADC_HDL_LIST_ENTRY(dev_) \ argument
91 .dev = dev_, \
Dadc_stm32.c1395 static const struct device *const dev_##index = \
1397 const struct adc_stm32_cfg *cfg_##index = dev_##index->config; \
1401 adc_stm32_isr(dev_##index); \
/Zephyr-Core-3.4.0/drivers/ethernet/
Deth_e1000.c325 static struct e1000_dev dev_##inst = { \
348 &dev_##inst, \
/Zephyr-Core-3.4.0/drivers/dma/
Ddma_stm32.c149 static const struct device *const dev_##index = \
151 const struct dma_stm32_config *cfg_##index = dev_##index->config; \
156 dma_stm32_irq_handler(dev_##index, id); \