Home
last modified time | relevance | path

Searched refs:_dev (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/include/zephyr/input/
Dinput.h139 #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/
Deth_e1000_priv.h106 #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/
Dgpio_xlnx_ps.c23 #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
Dgpio_xlnx_ps_bank.c24 #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
Dgpio_rcar.c24 #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
Dgpio_mcux_rgpio.c20 #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
Dgpio_mcux_igpio.c23 #define DEV_CFG(_dev) ((const struct mcux_igpio_config *)(_dev)->config) argument
24 #define DEV_DATA(_dev) ((struct mcux_igpio_data *)(_dev)->data) argument
Dgpio_intel.c91 #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/
Dgnss.h422 #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
Dsensor.h1372 #define SENSOR_INFO_INITIALIZER(_dev, _vendor, _model, _friendly_name) \ argument
1374 .dev = _dev, \
/Zephyr-latest/drivers/misc/timeaware_gpio/
Dtimeaware_gpio_intel.c45 #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/
Dcounter_mchp_xec.c49 #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
Dcounter_mcux_gpt.c19 #define DEV_CFG(_dev) ((const struct mcux_gpt_config *)(_dev)->config) argument
20 #define DEV_DATA(_dev) ((struct mcux_gpt_data *)(_dev)->data) argument
Dcounter_mcux_tpm.c18 #define DEV_CFG(_dev) ((const struct mcux_tpm_config *)(_dev)->config) argument
19 #define DEV_DATA(_dev) ((struct mcux_tpm_data *)(_dev)->data) argument
Dcounter_dw_timer.c39 #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/
Dsyscall_handler.h594 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/
Dflash_cadence_nand.c23 #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/
Dsdhc_cdns.c19 #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/
Ddevice.h1221 #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))); \
Dsw_isr_table.h121 #define IRQ_PARENT_ENTRY_DEFINE(_name, _dev, _irq, _offset, _level) \ argument
123 .dev = _dev, \
/Zephyr-latest/drivers/i2c/
Di2c_mcux_lpi2c_rtio.c37 #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
Di2c_mcux_lpi2c.c39 #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/
Ddma_dw_axi.c17 #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/
Dspi_mcux_lpspi.c36 #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/
Dindex.rst529 #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))

12