/Zephyr-Core-2.7.6/tests/subsys/pm/device_runtime/src/ |
D | dummy_driver.c | 12 static int dummy_wait(const struct device *dev) in dummy_wait() 17 static int dummy_open(const struct device *dev) in dummy_open() 22 static int dummy_open_sync(const struct device *dev) in dummy_open_sync() 27 static int dummy_close(const struct device *dev) in dummy_close() 32 static int dummy_close_sync(const struct device *dev) in dummy_close_sync() 37 static int dummy_device_pm_ctrl(const struct device *dev, in dummy_device_pm_ctrl() 51 int dummy_init(const struct device *dev) in dummy_init()
|
/Zephyr-Core-2.7.6/drivers/counter/ |
D | counter_handlers.c | 35 static inline uint8_t z_vrfy_counter_get_num_of_channels(const struct device *dev) in z_vrfy_counter_get_num_of_channels() 42 static inline uint32_t z_vrfy_counter_get_frequency(const struct device *dev) in z_vrfy_counter_get_frequency() 49 static inline uint32_t z_vrfy_counter_us_to_ticks(const struct device *dev, in z_vrfy_counter_us_to_ticks() 58 static inline uint64_t z_vrfy_counter_ticks_to_us(const struct device *dev, in z_vrfy_counter_ticks_to_us() 67 static inline int z_vrfy_counter_get_value(const struct device *dev, in z_vrfy_counter_get_value() 76 static inline int z_vrfy_counter_set_channel_alarm(const struct device *dev, in z_vrfy_counter_set_channel_alarm() 93 static inline int z_vrfy_counter_cancel_channel_alarm(const struct device *dev, in z_vrfy_counter_cancel_channel_alarm() 102 static inline int z_vrfy_counter_set_top_value(const struct device *dev, in z_vrfy_counter_set_top_value() 118 static inline uint32_t z_vrfy_counter_get_top_value(const struct device *dev) in z_vrfy_counter_get_top_value() 125 static inline uint32_t z_vrfy_counter_get_max_top_value(const struct device *dev) in z_vrfy_counter_get_max_top_value() [all …]
|
/Zephyr-Core-2.7.6/drivers/flash/ |
D | flash_stm32.c | 57 static inline void _flash_stm32_sem_take(const struct device *dev) in _flash_stm32_sem_take() 63 static inline void _flash_stm32_sem_give(const struct device *dev) in _flash_stm32_sem_give() 69 #define flash_stm32_sem_init(dev) k_sem_init(&FLASH_STM32_PRIV(dev)->sem, 1, 1) argument 70 #define flash_stm32_sem_take(dev) _flash_stm32_sem_take(dev) argument 71 #define flash_stm32_sem_give(dev) _flash_stm32_sem_give(dev) argument 73 #define flash_stm32_sem_init(dev) argument 74 #define flash_stm32_sem_take(dev) argument 75 #define flash_stm32_sem_give(dev) argument 79 static int flash_stm32_check_status(const struct device *dev) in flash_stm32_check_status() 93 int flash_stm32_wait_flash_idle(const struct device *dev) in flash_stm32_wait_flash_idle() [all …]
|
D | flash_handlers.c | 10 static inline int z_vrfy_flash_read(const struct device *dev, off_t offset, in z_vrfy_flash_read() 21 static inline int z_vrfy_flash_write(const struct device *dev, off_t offset, in z_vrfy_flash_write() 31 static inline int z_vrfy_flash_write_protection_set(const struct device *dev, in z_vrfy_flash_write_protection_set() 40 static inline size_t z_vrfy_flash_get_write_block_size(const struct device *dev) in z_vrfy_flash_get_write_block_size() 47 static inline const struct flash_parameters *z_vrfy_flash_get_parameters(const struct device *dev) in z_vrfy_flash_get_parameters() 55 static inline int z_vrfy_flash_get_page_info_by_offs(const struct device *dev, in z_vrfy_flash_get_page_info_by_offs() 67 static inline int z_vrfy_flash_get_page_info_by_idx(const struct device *dev, in z_vrfy_flash_get_page_info_by_idx() 79 static inline size_t z_vrfy_flash_get_page_count(const struct device *dev) in z_vrfy_flash_get_page_count() 90 static inline int z_vrfy_flash_sfdp_read(const struct device *dev, in z_vrfy_flash_sfdp_read() 100 static inline int z_vrfy_flash_read_jedec_id(const struct device *dev, in z_vrfy_flash_read_jedec_id()
|
/Zephyr-Core-2.7.6/drivers/serial/ |
D | uart_lpc11u6x.c | 16 #define DEV_CFG(dev) ((dev)->config) argument 17 #define DEV_DATA(dev) ((dev)->data) argument 20 static int lpc11u6x_uart0_poll_in(const struct device *dev, unsigned char *c) in lpc11u6x_uart0_poll_in() 32 static void lpc11u6x_uart0_poll_out(const struct device *dev, unsigned char c) in lpc11u6x_uart0_poll_out() 41 static int lpc11u6x_uart0_err_check(const struct device *dev) in lpc11u6x_uart0_err_check() 104 static int lpc11u6x_uart0_configure(const struct device *dev, in lpc11u6x_uart0_configure() 190 static int lpc11u6x_uart0_config_get(const struct device *dev, in lpc11u6x_uart0_config_get() 206 static int lpc11u6x_uart0_fifo_fill(const struct device *dev, in lpc11u6x_uart0_fifo_fill() 220 static int lpc11u6x_uart0_fifo_read(const struct device *dev, uint8_t *data, in lpc11u6x_uart0_fifo_read() 233 static void lpc11u6x_uart0_irq_tx_enable(const struct device *dev) in lpc11u6x_uart0_irq_tx_enable() [all …]
|
D | uart_cmsdk_apb.c | 79 #define DEV_CFG(dev) \ argument 81 #define DEV_DATA(dev) \ argument 83 #define UART_STRUCT(dev) \ argument 100 static void baudrate_set(const struct device *dev) in baudrate_set() 126 static int uart_cmsdk_apb_init(const struct device *dev) in uart_cmsdk_apb_init() 169 static int uart_cmsdk_apb_poll_in(const struct device *dev, unsigned char *c) in uart_cmsdk_apb_poll_in() 193 static void uart_cmsdk_apb_poll_out(const struct device *dev, in uart_cmsdk_apb_poll_out() 217 static int uart_cmsdk_apb_fifo_fill(const struct device *dev, in uart_cmsdk_apb_fifo_fill() 250 static int uart_cmsdk_apb_fifo_read(const struct device *dev, in uart_cmsdk_apb_fifo_read() 281 static void uart_cmsdk_apb_irq_tx_enable(const struct device *dev) in uart_cmsdk_apb_irq_tx_enable() [all …]
|
D | uart_cc32xx.c | 29 #define DEV_CFG(dev) \ argument 31 #define DEV_DATA(dev) \ argument 48 static int uart_cc32xx_init(const struct device *dev) in uart_cc32xx_init() 84 static int uart_cc32xx_poll_in(const struct device *dev, unsigned char *c) in uart_cc32xx_poll_in() 96 static void uart_cc32xx_poll_out(const struct device *dev, unsigned char c) in uart_cc32xx_poll_out() 103 static int uart_cc32xx_err_check(const struct device *dev) in uart_cc32xx_err_check() 125 static int uart_cc32xx_fifo_fill(const struct device *dev, in uart_cc32xx_fifo_fill() 145 static int uart_cc32xx_fifo_read(const struct device *dev, uint8_t *rx_data, in uart_cc32xx_fifo_read() 162 static void uart_cc32xx_irq_tx_enable(const struct device *dev) in uart_cc32xx_irq_tx_enable() 169 static void uart_cc32xx_irq_tx_disable(const struct device *dev) in uart_cc32xx_irq_tx_disable() [all …]
|
D | uart_stellaris.c | 82 #define DEV_CFG(dev) \ argument 84 #define DEV_DATA(dev) \ argument 86 #define UART_STRUCT(dev) \ argument 90 #define UARTDR(dev) (*((volatile uint32_t *)(DEV_CFG(dev)->base + 0x000))) argument 91 #define UARTSR(dev) (*((volatile uint32_t *)(DEV_CFG(dev)->base + 0x004))) argument 92 #define UARTCR(dev) (*((volatile uint32_t *)(DEV_CFG(dev)->base + 0x004))) argument 93 #define UARTFR(dev) (*((volatile uint32_t *)(DEV_CFG(dev)->base + 0x018))) argument 94 #define UARTILPR(dev) (*((volatile uint32_t *)(DEV_CFG(dev)->base + 0x020))) argument 95 #define UARTIBRD(dev) (*((volatile uint32_t *)(DEV_CFG(dev)->base + 0x024))) argument 96 #define UARTFBRD(dev) (*((volatile uint32_t *)(DEV_CFG(dev)->base + 0x028))) argument [all …]
|
D | uart_msp432p4xx.c | 31 #define DEV_CFG(dev) \ argument 33 #define DEV_DATA(dev) \ argument 118 static int uart_msp432p4xx_init(const struct device *dev) in uart_msp432p4xx_init() 157 static int uart_msp432p4xx_poll_in(const struct device *dev, unsigned char *c) in uart_msp432p4xx_poll_in() 166 static void uart_msp432p4xx_poll_out(const struct device *dev, in uart_msp432p4xx_poll_out() 175 static int uart_msp432p4xx_fifo_fill(const struct device *dev, in uart_msp432p4xx_fifo_fill() 195 static int uart_msp432p4xx_fifo_read(const struct device *dev, in uart_msp432p4xx_fifo_read() 213 static void uart_msp432p4xx_irq_tx_enable(const struct device *dev) in uart_msp432p4xx_irq_tx_enable() 221 static void uart_msp432p4xx_irq_tx_disable(const struct device *dev) in uart_msp432p4xx_irq_tx_disable() 229 static int uart_msp432p4xx_irq_tx_ready(const struct device *dev) in uart_msp432p4xx_irq_tx_ready() [all …]
|
D | uart_npcx.c | 46 #define DRV_CONFIG(dev) \ argument 49 #define DRV_DATA(dev) \ argument 52 #define HAL_INSTANCE(dev) \ argument 78 static int uart_npcx_tx_fifo_ready(const struct device *dev) in uart_npcx_tx_fifo_ready() 86 static int uart_npcx_rx_fifo_available(const struct device *dev) in uart_npcx_rx_fifo_available() 94 static void uart_npcx_dis_all_tx_interrupts(const struct device *dev) in uart_npcx_dis_all_tx_interrupts() 104 static void uart_npcx_clear_rx_fifo(const struct device *dev) in uart_npcx_clear_rx_fifo() 114 static int uart_npcx_fifo_fill(const struct device *dev, in uart_npcx_fifo_fill() 130 static int uart_npcx_fifo_read(const struct device *dev, uint8_t *rx_data, in uart_npcx_fifo_read() 145 static void uart_npcx_irq_tx_enable(const struct device *dev) in uart_npcx_irq_tx_enable() [all …]
|
D | uart_nrfx_uart.c | 60 static inline struct uart_nrfx_data *get_dev_data(const struct device *dev) in get_dev_data() 136 static int baudrate_set(const struct device *dev, uint32_t baudrate) in baudrate_set() 221 static int uart_nrfx_poll_in(const struct device *dev, unsigned char *c) in uart_nrfx_poll_in() 246 static void uart_nrfx_poll_out(const struct device *dev, unsigned char c) in uart_nrfx_poll_out() 314 static int uart_nrfx_err_check(const struct device *dev) in uart_nrfx_err_check() 320 static int uart_nrfx_configure(const struct device *dev, in uart_nrfx_configure() 393 static int uart_nrfx_config_get(const struct device *dev, in uart_nrfx_config_get() 403 static void user_callback(const struct device *dev, struct uart_event *event) in user_callback() 410 static int uart_nrfx_callback_set(const struct device *dev, in uart_nrfx_callback_set() 420 static int uart_nrfx_tx(const struct device *dev, const uint8_t *buf, in uart_nrfx_tx() [all …]
|
D | uart_cc13xx_cc26xx.c | 41 static inline struct uart_cc13xx_cc26xx_data *get_dev_data(const struct device *dev) in get_dev_data() 46 static inline const struct uart_device_config *get_dev_conf(const struct device *dev) in get_dev_conf() 51 static int uart_cc13xx_cc26xx_poll_in(const struct device *dev, in uart_cc13xx_cc26xx_poll_in() 63 static void uart_cc13xx_cc26xx_poll_out(const struct device *dev, in uart_cc13xx_cc26xx_poll_out() 75 static int uart_cc13xx_cc26xx_err_check(const struct device *dev) in uart_cc13xx_cc26xx_err_check() 89 static int uart_cc13xx_cc26xx_configure(const struct device *dev, in uart_cc13xx_cc26xx_configure() 188 static int uart_cc13xx_cc26xx_config_get(const struct device *dev, in uart_cc13xx_cc26xx_config_get() 198 static int uart_cc13xx_cc26xx_fifo_fill(const struct device *dev, in uart_cc13xx_cc26xx_fifo_fill() 214 static int uart_cc13xx_cc26xx_fifo_read(const struct device *dev, in uart_cc13xx_cc26xx_fifo_read() 232 static void uart_cc13xx_cc26xx_irq_tx_enable(const struct device *dev) in uart_cc13xx_cc26xx_irq_tx_enable() [all …]
|
D | serial_test.c | 17 static int serial_vnd_poll_in(const struct device *dev, unsigned char *c) in serial_vnd_poll_in() 22 static void serial_vnd_poll_out(const struct device *dev, unsigned char c) in serial_vnd_poll_out() 26 static int serial_vnd_err_check(const struct device *dev) in serial_vnd_err_check() 32 static int serial_vnd_configure(const struct device *dev, in serial_vnd_configure() 38 static int serial_vnd_config_get(const struct device *dev, in serial_vnd_config_get() 56 static int serial_vnd_init(const struct device *dev) in serial_vnd_init()
|
/Zephyr-Core-2.7.6/subsys/pm/ |
D | device_runtime.c | 24 const struct device *dev = pm->dev; in pm_device_runtime_state_set() local 64 static int pm_device_request(const struct device *dev, in pm_device_request() 158 int pm_device_get(const struct device *dev) in pm_device_get() 163 int pm_device_get_async(const struct device *dev) in pm_device_get_async() 168 int pm_device_put(const struct device *dev) in pm_device_put() 173 int pm_device_put_async(const struct device *dev) in pm_device_put_async() 178 void pm_device_enable(const struct device *dev) in pm_device_enable() 217 void pm_device_disable(const struct device *dev) in pm_device_disable() 233 int pm_device_wait(const struct device *dev, k_timeout_t timeout) in pm_device_wait()
|
/Zephyr-Core-2.7.6/drivers/ps2/ |
D | ps2_handlers.c | 10 static inline int z_vrfy_ps2_config(const struct device *dev, in z_vrfy_ps2_config() 20 static inline int z_vrfy_ps2_write(const struct device *dev, uint8_t value) in z_vrfy_ps2_write() 27 static inline int z_vrfy_ps2_read(const struct device *dev, uint8_t *value) in z_vrfy_ps2_read() 35 static inline int z_vrfy_ps2_enable_callback(const struct device *dev) in z_vrfy_ps2_enable_callback() 42 static inline int z_vrfy_ps2_disable_callback(const struct device *dev) in z_vrfy_ps2_disable_callback()
|
/Zephyr-Core-2.7.6/drivers/sensor/fdc2x1x/ |
D | fdc2x1x.c | 29 static void fdc2x1x_raw_to_freq(const struct device *dev, in fdc2x1x_raw_to_freq() 53 static void fdc2x1x_raw_to_capacitance(const struct device *dev, in fdc2x1x_raw_to_capacitance() 71 static int fdc2x1x_bus_access(const struct device *dev, uint8_t reg, in fdc2x1x_bus_access() 103 static int fdc2x1x_reg_read(const struct device *dev, in fdc2x1x_reg_read() 123 static int fdc2x1x_reg_write(const struct device *dev, in fdc2x1x_reg_write() 145 int fdc2x1x_reg_write_mask(const struct device *dev, in fdc2x1x_reg_write_mask() 173 static int fdc2x1x_set_fin_sel(const struct device *dev, uint8_t chx, in fdc2x1x_set_fin_sel() 189 static int fdc2x1x_set_fref_divider(const struct device *dev, uint8_t chx, in fdc2x1x_set_fref_divider() 205 static int fdc2x1x_set_idrive(const struct device *dev, uint8_t chx, in fdc2x1x_set_idrive() 221 static int fdc2x1x_set_settle_count(const struct device *dev, uint8_t chx, in fdc2x1x_set_settle_count() [all …]
|
/Zephyr-Core-2.7.6/drivers/display/ |
D | display_dummy.c | 17 static int dummy_display_init(const struct device *dev) in dummy_display_init() 27 static int dummy_display_write(const struct device *dev, const uint16_t x, in dummy_display_write() 51 static int dummy_display_read(const struct device *dev, const uint16_t x, in dummy_display_read() 59 static void *dummy_display_get_framebuffer(const struct device *dev) in dummy_display_get_framebuffer() 64 static int dummy_display_blanking_off(const struct device *dev) in dummy_display_blanking_off() 69 static int dummy_display_blanking_on(const struct device *dev) in dummy_display_blanking_on() 74 static int dummy_display_set_brightness(const struct device *dev, in dummy_display_set_brightness() 80 static int dummy_display_set_contrast(const struct device *dev, in dummy_display_set_contrast() 86 static void dummy_display_get_capabilities(const struct device *dev, in dummy_display_get_capabilities() 104 static int dummy_display_set_pixel_format(const struct device *dev, in dummy_display_set_pixel_format()
|
D | display_framebuf.c | 17 static int framebuf_blanking_on(const struct device *dev) in framebuf_blanking_on() 22 static int framebuf_blanking_off(const struct device *dev) in framebuf_blanking_off() 27 static void *framebuf_get_framebuffer(const struct device *dev) in framebuf_get_framebuffer() 32 static int framebuf_set_brightness(const struct device *dev, in framebuf_set_brightness() 38 static int framebuf_set_contrast(const struct device *dev, in framebuf_set_contrast() 44 static int framebuf_set_pixel_format(const struct device *dev, in framebuf_set_pixel_format() 55 static int framebuf_set_orientation(const struct device *dev, in framebuf_set_orientation() 66 static void framebuf_get_capabilities(const struct device *dev, in framebuf_get_capabilities() 79 static int framebuf_write(const struct device *dev, const uint16_t x, in framebuf_write() 101 static int framebuf_read(const struct device *dev, const uint16_t x, in framebuf_read()
|
/Zephyr-Core-2.7.6/tests/net/ieee802154/l2/src/ |
D | ieee802154_fake_driver.c | 23 static enum ieee802154_hw_caps fake_get_capabilities(const struct device *dev) in fake_get_capabilities() 28 static int fake_cca(const struct device *dev) in fake_cca() 33 static int fake_set_channel(const struct device *dev, uint16_t channel) in fake_set_channel() 40 static int fake_set_txpower(const struct device *dev, int16_t dbm) in fake_set_txpower() 62 static int fake_tx(const struct device *dev, in fake_tx() 81 static int fake_start(const struct device *dev) in fake_start() 88 static int fake_stop(const struct device *dev) in fake_stop() 112 static int fake_init(const struct device *dev) in fake_init()
|
/Zephyr-Core-2.7.6/drivers/virtualization/ |
D | virt_ivshmem_handlers.c | 11 static inline size_t z_vrfy_ivshmem_get_mem(const struct device *dev, in z_vrfy_ivshmem_get_mem() 21 static inline uint32_t z_vrfy_ivshmem_get_id(const struct device *dev) in z_vrfy_ivshmem_get_id() 29 static inline uint16_t z_vrfy_ivshmem_get_vectors(const struct device *dev) in z_vrfy_ivshmem_get_vectors() 37 static inline int z_vrfy_ivshmem_int_peer(const struct device *dev, in z_vrfy_ivshmem_int_peer() 46 static inline int z_vrfy_ivshmem_register_handler(const struct device *dev, in z_vrfy_ivshmem_register_handler()
|
/Zephyr-Core-2.7.6/drivers/can/ |
D | can_handlers.c | 10 static inline int z_vrfy_can_set_timing(const struct device *dev, in z_vrfy_can_set_timing() 22 static inline int z_vrfy_can_get_core_clock(const struct device *dev, in z_vrfy_can_get_core_clock() 33 static inline int z_vrfy_can_send(const struct device *dev, in z_vrfy_can_send() 58 static inline int z_vrfy_can_attach_msgq(const struct device *dev, in z_vrfy_can_attach_msgq() 74 static inline void z_vrfy_can_detach(const struct device *dev, int filter_id) in z_vrfy_can_detach() 84 enum can_state z_vrfy_can_get_state(const struct device *dev, in z_vrfy_can_get_state() 100 static inline int z_vrfy_can_recover(const struct device *dev, in z_vrfy_can_recover()
|
/Zephyr-Core-2.7.6/drivers/sensor/hp206c/ |
D | hp206c.c | 25 static inline int hp206c_bus_config(const struct device *dev) in hp206c_bus_config() 35 static int hp206c_read(const struct device *dev, uint8_t cmd, uint8_t *data, in hp206c_read() 50 static int hp206c_read_reg(const struct device *dev, uint8_t reg_addr, in hp206c_read_reg() 58 static int hp206c_write(const struct device *dev, uint8_t cmd, uint8_t *data, in hp206c_write() 73 static int hp206c_write_reg(const struct device *dev, uint8_t reg_addr, in hp206c_write_reg() 81 static int hp206c_cmd_send(const struct device *dev, uint8_t cmd) in hp206c_cmd_send() 107 static int hp206c_osr_set(const struct device *dev, uint16_t osr) in hp206c_osr_set() 125 static int hp206c_altitude_offs_set(const struct device *dev, int16_t offs) in hp206c_altitude_offs_set() 144 static int hp206c_attr_set(const struct device *dev, enum sensor_channel chan, in hp206c_attr_set() 166 static int hp206c_wait_dev_ready(const struct device *dev, in hp206c_wait_dev_ready() [all …]
|
/Zephyr-Core-2.7.6/tests/subsys/pm/power_mgmt/src/ |
D | dummy_driver.c | 12 static int dummy_open(const struct device *dev) in dummy_open() 17 static int dummy_close(const struct device *dev) in dummy_close() 22 static int dummy_device_pm_ctrl(const struct device *dev, in dummy_device_pm_ctrl() 33 int dummy_init(const struct device *dev) in dummy_init()
|
/Zephyr-Core-2.7.6/drivers/i2c/ |
D | i2c_handlers.c | 11 static inline int z_vrfy_i2c_configure(const struct device *dev, in z_vrfy_i2c_configure() 19 static uint32_t copy_msgs_and_transfer(const struct device *dev, in copy_msgs_and_transfer() 41 static inline int z_vrfy_i2c_transfer(const struct device *dev, in z_vrfy_i2c_transfer() 64 static inline int z_vrfy_i2c_slave_driver_register(const struct device *dev) in z_vrfy_i2c_slave_driver_register() 71 static inline int z_vrfy_i2c_slave_driver_unregister(const struct device *dev) in z_vrfy_i2c_slave_driver_unregister() 78 static inline int z_vrfy_i2c_recover_bus(const struct device *dev) in z_vrfy_i2c_recover_bus()
|
/Zephyr-Core-2.7.6/drivers/sensor/adxl372/ |
D | adxl372.c | 25 static int adxl372_bus_access(const struct device *dev, uint8_t reg, in adxl372_bus_access() 84 static int adxl372_reg_read(const struct device *dev, in adxl372_reg_read() 100 static int adxl372_reg_read_multiple(const struct device *dev, in adxl372_reg_read_multiple() 116 static int adxl372_reg_write(const struct device *dev, in adxl372_reg_write() 134 int adxl372_reg_write_mask(const struct device *dev, in adxl372_reg_write_mask() 160 static int adxl372_set_activity_threshold(const struct device *dev, in adxl372_set_activity_threshold() 192 static int adxl372_set_activity_threshold_xyz(const struct device *dev, in adxl372_set_activity_threshold_xyz() 219 static int adxl372_set_op_mode(const struct device *dev, in adxl372_set_op_mode() 235 static int adxl372_set_autosleep(const struct device *dev, bool enable) in adxl372_set_autosleep() 254 static int adxl372_set_bandwidth(const struct device *dev, in adxl372_set_bandwidth() [all …]
|