/Zephyr-latest/include/zephyr/input/ |
D | input.h | 139 #define INPUT_CALLBACK_DEFINE_NAMED(_dev, _callback, _user_data, name) \ argument 142 .dev = _dev, \ 158 #define INPUT_CALLBACK_DEFINE(_dev, _callback, _user_data) \ argument 159 INPUT_CALLBACK_DEFINE_NAMED(_dev, _callback, _user_data, _callback)
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_e1000_priv.h | 106 #define iow32(_dev, _reg, _val) do { \ argument 108 sys_write32(_val, (_dev)->address + (_reg)); \ 111 #define ior32(_dev, _reg) \ argument 113 uint32_t val = sys_read32((_dev)->address + (_reg)); \
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_xlnx_ps.c | 23 #define DEV_CFG(_dev) ((const struct gpio_xlnx_ps_dev_cfg *)(_dev)->config) argument 24 #define DEV_DATA(_dev) ((struct gpio_xlnx_ps_dev_data *const)(_dev)->data) argument
|
D | gpio_xlnx_ps_bank.c | 24 #define DEV_CFG(_dev) ((const struct gpio_xlnx_ps_bank_dev_cfg *)(_dev)->config) argument 25 #define DEV_DATA(_dev) ((struct gpio_xlnx_ps_bank_dev_data *const)(_dev)->data) argument
|
D | gpio_rcar.c | 24 #define DEV_CFG(_dev) \ argument 25 ((const struct gpio_rcar_cfg *)(_dev)->config) 26 #define DEV_DATA(_dev) ((struct gpio_rcar_data *)(_dev)->data) argument
|
D | gpio_mcux_rgpio.c | 20 #define DEV_CFG(_dev) \ argument 21 ((const struct mcux_rgpio_config *)(_dev)->config) 22 #define DEV_DATA(_dev) ((struct mcux_rgpio_data *)(_dev)->data) argument
|
D | gpio_mcux_igpio.c | 23 #define DEV_CFG(_dev) ((const struct mcux_igpio_config *)(_dev)->config) argument 24 #define DEV_DATA(_dev) ((struct mcux_igpio_data *)(_dev)->data) argument
|
D | gpio_intel.c | 91 #define DEV_CFG(_dev) \ argument 92 ((const struct gpio_intel_config *)(_dev)->config) 93 #define DEV_DATA(_dev) ((struct gpio_intel_data *)(_dev)->data) argument
|
/Zephyr-latest/include/zephyr/drivers/ |
D | gnss.h | 422 #define GNSS_DATA_CALLBACK_DEFINE(_dev, _callback) \ argument 425 .dev = _dev, \ 429 #define GNSS_DATA_CALLBACK_DEFINE(_dev, _callback) argument 439 #define GNSS_SATELLITES_CALLBACK_DEFINE(_dev, _callback) \ argument 442 .dev = _dev, \ 446 #define GNSS_SATELLITES_CALLBACK_DEFINE(_dev, _callback) argument
|
D | sensor.h | 1372 #define SENSOR_INFO_INITIALIZER(_dev, _vendor, _model, _friendly_name) \ argument 1374 .dev = _dev, \
|
/Zephyr-latest/drivers/misc/timeaware_gpio/ |
D | timeaware_gpio_intel.c | 45 #define DEV_CFG(_dev) \ argument 46 ((const struct tgpio_config *)(_dev)->config) 48 #define DEV_DATA(_dev) ((struct tgpio_runtime *)(_dev)->data) argument
|
/Zephyr-latest/drivers/counter/ |
D | counter_mchp_xec.c | 49 #define COUNTER_XEC_REG_BASE(_dev) \ argument 52 _dev->config)->base_address) 54 #define COUNTER_XEC_CONFIG(_dev) \ argument 56 _dev->config)) 58 #define COUNTER_XEC_DATA(_dev) \ argument
|
D | counter_mcux_gpt.c | 19 #define DEV_CFG(_dev) ((const struct mcux_gpt_config *)(_dev)->config) argument 20 #define DEV_DATA(_dev) ((struct mcux_gpt_data *)(_dev)->data) argument
|
D | counter_mcux_tpm.c | 18 #define DEV_CFG(_dev) ((const struct mcux_tpm_config *)(_dev)->config) argument 19 #define DEV_DATA(_dev) ((struct mcux_tpm_data *)(_dev)->data) argument
|
D | counter_dw_timer.c | 39 #define DEV_CFG(_dev) ((const struct counter_dw_timer_config *)(_dev)->config) argument 40 #define DEV_DATA(_dev) ((struct counter_dw_timer_drv_data *const)(_dev)->data) argument
|
/Zephyr-latest/include/zephyr/internal/ |
D | syscall_handler.h | 594 const struct device *_dev = (const struct device *)_device; \ 595 K_SYSCALL_OBJ(_dev, _dtype) || \ 596 K_SYSCALL_VERIFY_MSG(_dev->api == _api, \
|
/Zephyr-latest/drivers/flash/ |
D | flash_cadence_nand.c | 23 #define DEV_CFG(_dev) ((const struct flash_cadence_nand_config *)(_dev)->config) argument 24 #define DEV_DATA(_dev) ((struct flash_cadence_nand_data *const)(_dev)->data) argument
|
/Zephyr-latest/drivers/sdhc/ |
D | sdhc_cdns.c | 19 #define DEV_CFG(_dev) ((const struct sdhc_cdns_config *)(_dev)->config) argument 20 #define DEV_DATA(_dev) ((struct sdhc_cdns_data *const)(_dev)->data) argument
|
/Zephyr-latest/include/zephyr/ |
D | device.h | 1221 #define DEVICE_API_GET(_class, _dev) ((const struct Z_DEVICE_API_TYPE(_class) *)_dev->api) argument 1233 #define DEVICE_API_IS(_class, _dev) \ argument 1237 (DEVICE_API_GET(_class, _dev) < STRUCT_SECTION_END(Z_DEVICE_API_TYPE(_class)) && \ 1238 DEVICE_API_GET(_class, _dev) >= STRUCT_SECTION_START(Z_DEVICE_API_TYPE(_class))); \
|
D | sw_isr_table.h | 121 #define IRQ_PARENT_ENTRY_DEFINE(_name, _dev, _irq, _offset, _level) \ argument 123 .dev = _dev, \
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_mcux_lpi2c_rtio.c | 37 #define DEV_CFG(_dev) \ argument 38 ((const struct mcux_lpi2c_config *)(_dev)->config) 39 #define DEV_DATA(_dev) ((struct mcux_lpi2c_data *)(_dev)->data) argument
|
D | i2c_mcux_lpi2c.c | 39 #define DEV_CFG(_dev) \ argument 40 ((const struct mcux_lpi2c_config *)(_dev)->config) 41 #define DEV_DATA(_dev) ((struct mcux_lpi2c_data *)(_dev)->data) argument
|
/Zephyr-latest/drivers/dma/ |
D | dma_dw_axi.c | 17 #define DEV_CFG(_dev) ((const struct dma_dw_axi_dev_cfg *)(_dev)->config) argument 18 #define DEV_DATA(_dev) ((struct dma_dw_axi_dev_data *const)(_dev)->data) argument
|
/Zephyr-latest/drivers/spi/ |
D | spi_mcux_lpspi.c | 36 #define DEV_CFG(_dev) ((const struct spi_mcux_config *)(_dev)->config) argument 37 #define DEV_DATA(_dev) ((struct spi_mcux_data *)(_dev)->data) argument
|
/Zephyr-latest/doc/kernel/drivers/ |
D | index.rst | 529 #define DEV_CFG(_dev) \ 530 ((const struct my_driver_config *)((_dev)->config)) 532 #define DEV_DATA(_dev) \ 533 ((struct my_driver_dev_data *)((_dev)->data))
|