Home
last modified time | relevance | path

Searched refs:device (Results 426 – 450 of 4950) sorted by relevance

1...<<11121314151617181920>>...198

/Zephyr-latest/drivers/watchdog/
Dwdt_cmsdk_apb.c66 const struct device *wdog_r;
73 static void (*user_cb)(const struct device *dev, int channel_id);
75 static void wdog_cmsdk_apb_unlock(const struct device *dev) in wdog_cmsdk_apb_unlock()
84 static int wdog_cmsdk_apb_setup(const struct device *dev, uint8_t options) in wdog_cmsdk_apb_setup()
97 static int wdog_cmsdk_apb_disable(const struct device *dev) in wdog_cmsdk_apb_disable()
111 static int wdog_cmsdk_apb_install_timeout(const struct device *dev, in wdog_cmsdk_apb_install_timeout()
139 static int wdog_cmsdk_apb_feed(const struct device *dev, int channel_id) in wdog_cmsdk_apb_feed()
189 static int wdog_cmsdk_apb_init(const struct device *dev) in wdog_cmsdk_apb_init()
Dwdt_esp32.c50 const struct device *clock_dev;
58 static inline void wdt_esp32_seal(const struct device *dev) in wdt_esp32_seal()
65 static inline void wdt_esp32_unseal(const struct device *dev) in wdt_esp32_unseal()
72 static void wdt_esp32_enable(const struct device *dev) in wdt_esp32_enable()
82 static int wdt_esp32_disable(const struct device *dev) in wdt_esp32_disable()
95 static int wdt_esp32_feed(const struct device *dev, int channel_id) in wdt_esp32_feed()
106 static int wdt_esp32_set_config(const struct device *dev, uint8_t options) in wdt_esp32_set_config()
120 static int wdt_esp32_install_timeout(const struct device *dev, in wdt_esp32_install_timeout()
157 static int wdt_esp32_init(const struct device *dev) in wdt_esp32_init()
216 const struct device *dev = (const struct device *)arg; in wdt_esp32_isr()
/Zephyr-latest/drivers/net/
Dcanbus.c27 const struct device *can_dev;
30 static void net_canbus_recv(const struct device *dev, struct can_frame *frame, void *user_data) in net_canbus_recv()
59 static int net_canbus_setsockopt(const struct device *dev, void *obj, int level, in net_canbus_setsockopt()
85 static void net_canbus_close(const struct device *dev, int filter_id) in net_canbus_close()
92 static void net_canbus_send_tx_callback(const struct device *dev, int error, void *user_data) in net_canbus_send_tx_callback()
102 static int net_canbus_send(const struct device *dev, struct net_pkt *pkt) in net_canbus_send()
128 const struct device *dev = net_if_get_device(iface); in net_canbus_iface_init()
136 static int net_canbus_init(const struct device *dev) in net_canbus_init()
/Zephyr-latest/drivers/dai/intel/hda/
Dhda.c24 static int dai_hda_trigger(const struct device *dev, enum dai_dir dir, in dai_hda_trigger()
49 static int dai_hda_config_get(const struct device *dev, struct dai_config *cfg, enum dai_dir dir) in dai_hda_config_get()
69 static int dai_hda_config_set(const struct device *dev, const struct dai_config *cfg, in dai_hda_config_set()
81 static const struct dai_properties *dai_hda_get_properties(const struct device *dev, in dai_hda_get_properties()
95 static int dai_hda_probe(const struct device *dev) in dai_hda_probe()
102 static int dai_hda_remove(const struct device *dev) in dai_hda_remove()
109 static int hda_pm_action(const struct device *dev, enum pm_device_action action) in hda_pm_action()
129 static int hda_init(const struct device *dev) in hda_init()
/Zephyr-latest/drivers/dma/
Ddma_mcux_smartdma.c24 void (*irq_config_func)(const struct device *dev);
41 static int dma_mcux_smartdma_configure(const struct device *dev, in dma_mcux_smartdma_configure()
65 static int dma_mcux_smartdma_start(const struct device *dev, uint32_t channel) in dma_mcux_smartdma_start()
79 static int dma_mcux_smartdma_stop(const struct device *dev, uint32_t channel) in dma_mcux_smartdma_stop()
93 static int dma_mcux_smartdma_init(const struct device *dev) in dma_mcux_smartdma_init()
102 static void dma_mcux_smartdma_irq(const struct device *dev) in dma_mcux_smartdma_irq()
124 void dma_smartdma_install_fw(const struct device *dev, uint8_t *firmware, in dma_smartdma_install_fw()
140 static void dma_mcux_smartdma_config_func_##n(const struct device *dev) \
/Zephyr-latest/tests/drivers/dma/chan_blen_transfer/src/
Dtest_dma.c25 static void test_done(const struct device *dma_dev, void *arg, in test_done()
35 static int test_task(const struct device *dma, uint32_t chan_id, uint32_t blen) in test_task()
98 const struct device *dma = DEVICE_DT_GET(DT_NODELABEL(dma_name)); \
104 const struct device *dma = DEVICE_DT_GET(DT_NODELABEL(dma_name)); \
110 const struct device *dma = DEVICE_DT_GET(DT_NODELABEL(dma_name)); \
116 const struct device *dma = DEVICE_DT_GET(DT_NODELABEL(dma_name)); \
123 const struct device *dma = DEVICE_DT_GET(DT_NODELABEL(dma_name)); \
129 const struct device *dma = DEVICE_DT_GET(DT_NODELABEL(dma_name)); \
/Zephyr-latest/drivers/gpio/
Dgpio_ifx_cat1.c42 const struct device *dev;
48 static int gpio_cat1_configure(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in gpio_cat1_configure()
99 static int gpio_cat1_port_get_raw(const struct device *dev, in gpio_cat1_port_get_raw()
110 static int gpio_cat1_port_set_masked_raw(const struct device *dev, in gpio_cat1_port_set_masked_raw()
121 static int gpio_cat1_port_set_bits_raw(const struct device *dev, in gpio_cat1_port_set_bits_raw()
132 static int gpio_cat1_port_clear_bits_raw(const struct device *dev, in gpio_cat1_port_clear_bits_raw()
143 static int gpio_cat1_port_toggle_bits(const struct device *dev, in gpio_cat1_port_toggle_bits()
154 static uint32_t gpio_cat1_get_pending_int(const struct device *dev) in gpio_cat1_get_pending_int()
162 static void gpio_isr_handler(const struct device *dev) in gpio_isr_handler()
180 static int gpio_cat1_pin_interrupt_configure(const struct device *dev, gpio_pin_t pin, in gpio_cat1_pin_interrupt_configure()
[all …]
Dgpio_iproc.c34 void (*irq_config_func)(const struct device *dev);
46 static int gpio_iproc_configure(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in gpio_iproc_configure()
63 static int gpio_iproc_port_get_raw(const struct device *dev, uint32_t *value) in gpio_iproc_port_get_raw()
73 static int gpio_iproc_port_set_masked_raw(const struct device *dev, uint32_t mask, uint32_t value) in gpio_iproc_port_set_masked_raw()
85 static int gpio_iproc_port_set_bits_raw(const struct device *dev, uint32_t mask) in gpio_iproc_port_set_bits_raw()
95 static int gpio_iproc_port_clear_bits_raw(const struct device *dev, uint32_t mask) in gpio_iproc_port_clear_bits_raw()
109 static int gpio_iproc_port_toggle_bits(const struct device *dev, uint32_t mask) in gpio_iproc_port_toggle_bits()
123 static int gpio_iproc_pin_interrupt_configure(const struct device *dev, gpio_pin_t pin, in gpio_iproc_pin_interrupt_configure()
158 static void gpio_iproc_isr(const struct device *dev) in gpio_iproc_isr()
174 static int gpio_iproc_manage_callback(const struct device *port, struct gpio_callback *callback, in gpio_iproc_manage_callback()
[all …]
/Zephyr-latest/drivers/serial/
Duart_smartbond.c81 void (*irq_config_func)(const struct device *dev);
109 const struct device *dev;
128 static void uart_smartbond_pm_policy_state_lock_get(const struct device *dev) in uart_smartbond_pm_policy_state_lock_get()
138 static void uart_smartbond_pm_policy_state_lock_put(const struct device *dev) in uart_smartbond_pm_policy_state_lock_put()
157 static int uart_smartbond_poll_in(const struct device *dev, unsigned char *p_char) in uart_smartbond_poll_in()
179 static void uart_smartbond_poll_out(const struct device *dev, unsigned char out_char) in uart_smartbond_poll_out()
198 static void apply_runtime_config(const struct device *dev) in apply_runtime_config()
233 static int uart_smartbond_configure(const struct device *dev, in uart_smartbond_configure()
320 static int uart_smartbond_config_get(const struct device *dev, in uart_smartbond_config_get()
333 static void uart_smartbond_wake_handler(const struct device *gpio, struct gpio_callback *cb, in uart_smartbond_wake_handler()
[all …]
Duart_bt.c37 const struct device *dev;
48 const struct device *dev = (const struct device *)ctx; in bt_notif_enabled()
67 const struct device *dev = (const struct device *)ctx; in bt_received()
158 static int uart_bt_fifo_fill(const struct device *dev, const uint8_t *tx_data, int len) in uart_bt_fifo_fill()
175 static int uart_bt_fifo_read(const struct device *dev, uint8_t *rx_data, const int size) in uart_bt_fifo_read()
182 static int uart_bt_poll_in(const struct device *dev, unsigned char *c) in uart_bt_poll_in()
189 static void uart_bt_poll_out(const struct device *dev, unsigned char c) in uart_bt_poll_out()
214 static int uart_bt_irq_tx_ready(const struct device *dev) in uart_bt_irq_tx_ready()
225 static void uart_bt_irq_tx_enable(const struct device *dev) in uart_bt_irq_tx_enable()
236 static void uart_bt_irq_tx_disable(const struct device *dev) in uart_bt_irq_tx_disable()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_ambiq.c37 const struct device *dev;
70 void (*make_thread)(const struct device *dev);
71 void (*irq_enable_func)(const struct device *dev);
72 void (*irq_disable_func)(const struct device *dev);
73 void (*callback_register_func)(const struct device *dev);
76 static int udc_ambiq_rx(const struct device *dev, uint8_t ep, struct net_buf *buf);
78 static int usbd_ctrl_feed_dout(const struct device *dev, const size_t length) in usbd_ctrl_feed_dout()
96 static int udc_ambiq_tx(const struct device *dev, uint8_t ep, struct net_buf *buf) in udc_ambiq_tx()
123 static int udc_ambiq_rx(const struct device *dev, uint8_t ep, struct net_buf *buf) in udc_ambiq_rx()
151 static void udc_ambiq_evt_callback(const struct device *dev, am_hal_usb_dev_event_e dev_state) in udc_ambiq_evt_callback()
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_cc2520.h37 const struct device *dev;
62 bool z_cc2520_access(const struct device *dev, bool read, uint8_t ins,
66 static inline uint8_t read_reg_##__reg_name(const struct device *dev) \
79 static inline bool write_reg_##__reg_name(const struct device *dev, \
87 static inline uint8_t read_reg_##__reg_name(const struct device *dev) \
100 static inline bool write_reg_##__reg_name(const struct device *dev, \
151 static inline bool write_mem_##__mem_name(const struct device *dev, \ in DEFINE_FREG_READ()
167 static inline bool cc2520_command_strobe(const struct device *dev,
173 static inline bool cc2520_command_strobe_snop(const struct device *dev, in cc2520_command_strobe_snop()
182 static inline bool instruct_##__ins_name(const struct device *dev) \
[all …]
/Zephyr-latest/subsys/usb/usb_c/
Dusbc_tc_snk_states.c18 static void sink_power_sub_states(const struct device *dev) in sink_power_sub_states()
100 const struct device *dev = tc->dev; in tc_unattached_snk_run()
135 const struct device *dev = tc->dev; in tc_attach_wait_snk_run()
137 const struct device *vbus = data->vbus; in tc_attach_wait_snk_run()
201 const struct device *dev = tc->dev; in tc_attached_snk_entry()
203 const struct device *tcpc = data->tcpc; in tc_attached_snk_entry()
237 const struct device *dev = tc->dev; in tc_attached_snk_run()
239 const struct device *vbus = data->vbus; in tc_attached_snk_run()
259 const struct device *dev = tc->dev; in tc_attached_snk_exit()
281 const struct device *dev = tc->dev; in tc_cc_rd_entry()
[all …]
/Zephyr-latest/dts/xtensa/intel/
Dintel_adsp_ace30.dtsi173 zephyr,pm-device-runtime-auto;
184 zephyr,pm-device-runtime-auto;
222 zephyr,pm-device-runtime-auto;
230 zephyr,pm-device-runtime-auto;
238 zephyr,pm-device-runtime-auto;
246 zephyr,pm-device-runtime-auto;
254 zephyr,pm-device-runtime-auto;
262 zephyr,pm-device-runtime-auto;
270 zephyr,pm-device-runtime-auto;
278 zephyr,pm-device-runtime-auto;
[all …]
Dintel_adsp_ace30_ptl.dtsi178 zephyr,pm-device-runtime-auto;
189 zephyr,pm-device-runtime-auto;
227 zephyr,pm-device-runtime-auto;
235 zephyr,pm-device-runtime-auto;
243 zephyr,pm-device-runtime-auto;
251 zephyr,pm-device-runtime-auto;
259 zephyr,pm-device-runtime-auto;
267 zephyr,pm-device-runtime-auto;
275 zephyr,pm-device-runtime-auto;
283 zephyr,pm-device-runtime-auto;
[all …]
/Zephyr-latest/drivers/fpga/
Dfpga_eos_s3.c33 static enum FPGA_status eos_s3_fpga_get_status(const struct device *dev) in eos_s3_fpga_get_status()
44 static const char *eos_s3_fpga_get_info(const struct device *dev) in eos_s3_fpga_get_info()
51 static int eos_s3_fpga_on(const struct device *dev) in eos_s3_fpga_on()
72 static int eos_s3_fpga_off(const struct device *dev) in eos_s3_fpga_off()
86 static int eos_s3_fpga_reset(const struct device *dev) in eos_s3_fpga_reset()
101 static int eos_s3_fpga_load(const struct device *dev, uint32_t *image_ptr, uint32_t img_size) in eos_s3_fpga_load()
128 static int eos_s3_fpga_init(const struct device *dev) in eos_s3_fpga_init()
Dfpga_ice40_common.c31 enum FPGA_status fpga_ice40_get_status(const struct device *dev) in fpga_ice40_get_status()
50 static int fpga_ice40_on_off(const struct device *dev, bool on) in fpga_ice40_on_off()
73 int fpga_ice40_on(const struct device *dev) in fpga_ice40_on()
78 int fpga_ice40_off(const struct device *dev) in fpga_ice40_off()
83 int fpga_ice40_reset(const struct device *dev) in fpga_ice40_reset()
88 const char *fpga_ice40_get_info(const struct device *dev) in fpga_ice40_get_info()
95 int fpga_ice40_init(const struct device *dev) in fpga_ice40_init()
/Zephyr-latest/drivers/retained_mem/
Dretained_mem_nrf_gpregret.c30 static inline void nrf_gpregret_lock_take(const struct device *dev) in nrf_gpregret_lock_take()
41 static inline void nrf_gpregret_lock_release(const struct device *dev) in nrf_gpregret_lock_release()
52 static int nrf_gpregret_init(const struct device *dev) in nrf_gpregret_init()
63 static ssize_t nrf_gpregret_size(const struct device *dev) in nrf_gpregret_size()
70 static int nrf_gpregret_read(const struct device *dev, off_t offset, uint8_t *buffer, size_t size) in nrf_gpregret_read()
83 static int nrf_gpregret_write(const struct device *dev, off_t offset, const uint8_t *buffer, in nrf_gpregret_write()
97 static int nrf_gpregret_clear(const struct device *dev) in nrf_gpregret_clear()
Dretained_mem_zephyr_ram.c30 static inline void zephyr_retained_mem_ram_lock_take(const struct device *dev) in zephyr_retained_mem_ram_lock_take()
41 static inline void zephyr_retained_mem_ram_lock_release(const struct device *dev) in zephyr_retained_mem_ram_lock_release()
52 static int zephyr_retained_mem_ram_init(const struct device *dev) in zephyr_retained_mem_ram_init()
63 static ssize_t zephyr_retained_mem_ram_size(const struct device *dev) in zephyr_retained_mem_ram_size()
70 static int zephyr_retained_mem_ram_read(const struct device *dev, off_t offset, uint8_t *buffer, in zephyr_retained_mem_ram_read()
84 static int zephyr_retained_mem_ram_write(const struct device *dev, off_t offset, in zephyr_retained_mem_ram_write()
98 static int zephyr_retained_mem_ram_clear(const struct device *dev) in zephyr_retained_mem_ram_clear()
/Zephyr-latest/drivers/mfd/
Dmfd_ad559x.c16 bool mfd_ad559x_has_pointer_byte_map(const struct device *dev) in mfd_ad559x_has_pointer_byte_map()
23 int mfd_ad559x_read_raw(const struct device *dev, uint8_t *val, size_t len) in mfd_ad559x_read_raw()
30 int mfd_ad559x_write_raw(const struct device *dev, uint8_t *val, size_t len) in mfd_ad559x_write_raw()
37 int mfd_ad559x_read_reg(const struct device *dev, uint8_t reg, uint8_t reg_data, uint16_t *val) in mfd_ad559x_read_reg()
44 int mfd_ad559x_write_reg(const struct device *dev, uint8_t reg, uint16_t val) in mfd_ad559x_write_reg()
51 static int mfd_add559x_software_reset(const struct device *dev) in mfd_add559x_software_reset()
57 static int mfd_ad559x_init(const struct device *dev) in mfd_ad559x_init()
/Zephyr-latest/include/zephyr/drivers/clock_control/
Dnrf_clock_control.h192 int (*request)(const struct device *dev,
195 int (*release)(const struct device *dev,
197 int (*cancel_or_release)(const struct device *dev,
235 int nrf_clock_control_request(const struct device *dev, in nrf_clock_control_request()
259 int nrf_clock_control_request_sync(const struct device *dev,
278 int nrf_clock_control_release(const struct device *dev, in nrf_clock_control_release()
310 int nrf_clock_control_cancel_or_release(const struct device *dev, in nrf_clock_control_cancel_or_release()
/Zephyr-latest/drivers/entropy/
Dentropy_neorv32_trng.c26 const struct device *syscon;
30 static inline uint32_t neorv32_trng_read_ctrl(const struct device *dev) in neorv32_trng_read_ctrl()
37 static inline void neorv32_trng_write_ctrl(const struct device *dev, uint32_t ctrl) in neorv32_trng_write_ctrl()
44 static int neorv32_trng_get_entropy(const struct device *dev, uint8_t *buffer, uint16_t len) in neorv32_trng_get_entropy()
60 static int neorv32_trng_get_entropy_isr(const struct device *dev, uint8_t *buffer, in neorv32_trng_get_entropy_isr()
85 static int neorv32_trng_init(const struct device *dev) in neorv32_trng_init()
113 static int neorv32_trng_pm_action(const struct device *dev, enum pm_device_action action) in neorv32_trng_pm_action()
/Zephyr-latest/soc/mediatek/mt8xxx/
Dsoc.h21 typedef void (*mtk_adsp_mbox_handler_t)(const struct device *mbox, void *arg);
23 void mtk_adsp_mbox_set_handler(const struct device *mbox, uint32_t chan,
27 void mtk_adsp_mbox_signal(const struct device *mbox, uint32_t chan);
/Zephyr-latest/drivers/sensor/ti/ina23x/
Dina230_trigger.c16 static void ina230_gpio_callback(const struct device *port, in ina230_gpio_callback()
20 const struct device *dev = (const struct device *)ina230->dev; in ina230_gpio_callback()
31 int ina230_trigger_set(const struct device *dev, in ina230_trigger_set()
45 int ina230_trigger_mode_init(const struct device *dev) in ina230_trigger_mode_init()
/Zephyr-latest/tests/drivers/flash_api/src/
Dmain.c29 static int some_get_size(const struct device *dev, uint64_t *size) in some_get_size()
38 static int enotsup_get_size(const struct device *dev, uint64_t *size) in enotsup_get_size()
56 const static struct device size_fun_dev = {
65 const static struct device no_fun_dev = {
76 static struct device enotsup_fun_dev = {

1...<<11121314151617181920>>...198