Home
last modified time | relevance | path

Searched defs:channel (Results 1 – 25 of 220) sorted by relevance

123456789

/Zephyr-Core-3.5.0/drivers/pwm/
Dpwm_test.c18 static int vnd_pwm_set_cycles(const struct device *dev, uint32_t channel, in vnd_pwm_set_cycles()
26 static int vnd_pwm_configure_capture(const struct device *dev, uint32_t channel, in vnd_pwm_configure_capture()
34 static int vnd_pwm_enable_capture(const struct device *dev, uint32_t channel) in vnd_pwm_enable_capture()
39 static int vnd_pwm_disable_capture(const struct device *dev, uint32_t channel) in vnd_pwm_disable_capture()
46 uint32_t channel, uint64_t *cycles) in vnd_pwm_get_cycles_per_sec()
Dpwm_handlers.c12 uint32_t channel, uint32_t period, in z_vrfy_pwm_set_cycles()
22 uint32_t channel, in z_vrfy_pwm_get_cycles_per_sec()
35 uint32_t channel) in z_vrfy_pwm_enable_capture()
43 uint32_t channel) in z_vrfy_pwm_disable_capture()
51 uint32_t channel, pwm_flags_t flags, in z_vrfy_pwm_capture_cycles()
Dpwm_led_esp32.c63 static void pwm_led_esp32_low_speed_update(const struct device *dev, int speed_mode, int channel) in pwm_led_esp32_low_speed_update()
73 static void pwm_led_esp32_update_duty(const struct device *dev, int speed_mode, int channel) in pwm_led_esp32_update_duty()
84 struct pwm_ledc_esp32_channel_config *channel) in pwm_led_esp32_duty_set()
112 struct pwm_ledc_esp32_channel_config *channel) in pwm_led_esp32_bind_channel_timer()
121 static int pwm_led_esp32_calculate_max_resolution(struct pwm_ledc_esp32_channel_config *channel) in pwm_led_esp32_calculate_max_resolution()
141 static int pwm_led_esp32_timer_config(struct pwm_ledc_esp32_channel_config *channel) in pwm_led_esp32_timer_config()
176 struct pwm_ledc_esp32_channel_config *channel) in pwm_led_esp32_timer_set()
226 struct pwm_ledc_esp32_channel_config *channel = get_channel_config(dev, channel_idx); in pwm_led_esp32_get_cycles_per_sec() local
246 struct pwm_ledc_esp32_channel_config *channel = get_channel_config(dev, channel_idx); in pwm_led_esp32_set_cycles() local
Dpwm_shell.c18 uint8_t channel; member
38 uint32_t channel; in cmd_cycles() local
71 uint32_t channel; in cmd_usec() local
103 uint32_t channel; in cmd_nsec() local
Dpwm_max31790.c33 #define MAX37190_REGISTER_FANCONFIGURATION(channel) (0x02 + channel) argument
34 #define MAX31790_REGISTER_PWMOUTTARGETDUTYCYCLEMSB(channel) (0x40 + 2 * channel) argument
35 #define MAX31790_REGISTER_FANDYNAMICS(channel) (0x08 + channel) argument
36 #define MAX31790_REGISTER_TACHTARGETCOUNTMSB(channel) (0x50 + 2 * channel) argument
87 static void max31790_set_pwmfrequency(uint8_t *destination, uint8_t channel, uint8_t value) in max31790_set_pwmfrequency()
96 static uint8_t max31790_get_pwmfrequency(uint8_t value, uint8_t channel) in max31790_get_pwmfrequency()
251 static int max31790_set_cycles_internal(const struct device *dev, uint32_t channel, in max31790_set_cycles_internal()
338 static int max31790_set_cycles(const struct device *dev, uint32_t channel, uint32_t period_count, in max31790_set_cycles()
363 static int max31790_get_cycles_per_sec(const struct device *dev, uint32_t channel, uint64_t *cycles) in max31790_get_cycles_per_sec()
Dpwm_mcux_tpm.c41 tpm_chnl_pwm_signal_param_t channel[MAX_CHANNELS]; member
44 static int mcux_tpm_set_cycles(const struct device *dev, uint32_t channel, in mcux_tpm_set_cycles()
121 uint32_t channel, uint64_t *cycles) in mcux_tpm_get_cycles_per_sec()
135 tpm_chnl_pwm_signal_param_t *channel = data->channel; in mcux_tpm_init() local
Dpwm_rv32m1_tpm.c40 tpm_chnl_pwm_signal_param_t channel[MAX_CHANNELS]; member
43 static int rv32m1_tpm_set_cycles(const struct device *dev, uint32_t channel, in rv32m1_tpm_set_cycles()
120 uint32_t channel, uint64_t *cycles) in rv32m1_tpm_get_cycles_per_sec()
134 tpm_chnl_pwm_signal_param_t *channel = data->channel; in rv32m1_tpm_init() local
/Zephyr-Core-3.5.0/drivers/dma/
Ddma_handlers.c14 static inline int z_vrfy_dma_start(const struct device *dev, uint32_t channel) in z_vrfy_dma_start()
21 static inline int z_vrfy_dma_stop(const struct device *dev, uint32_t channel) in z_vrfy_dma_stop()
Ddma_dw_common.c36 uint32_t channel; in dw_dma_isr() local
121 int dw_dma_config(const struct device *dev, uint32_t channel, in dw_dma_config()
433 bool dw_dma_is_enabled(const struct device *dev, uint32_t channel) in dw_dma_is_enabled()
440 int dw_dma_start(const struct device *dev, uint32_t channel) in dw_dma_start()
544 int dw_dma_stop(const struct device *dev, uint32_t channel) in dw_dma_stop()
613 int dw_dma_resume(const struct device *dev, uint32_t channel) in dw_dma_resume()
645 int dw_dma_suspend(const struct device *dev, uint32_t channel) in dw_dma_suspend()
742 uint32_t channel) in dw_dma_avail_data_size()
775 uint32_t channel) in dw_dma_free_data_size()
805 int dw_dma_get_status(const struct device *dev, uint32_t channel, in dw_dma_get_status()
Ddma_intel_adsp_hda.c31 uint32_t channel, in intel_adsp_hda_dma_host_in_config()
65 uint32_t channel, in intel_adsp_hda_dma_host_out_config()
99 uint32_t channel, in intel_adsp_hda_dma_link_in_config()
129 uint32_t channel, in intel_adsp_hda_dma_link_out_config()
159 int intel_adsp_hda_dma_link_reload(const struct device *dev, uint32_t channel, in intel_adsp_hda_dma_link_reload()
171 int intel_adsp_hda_dma_host_reload(const struct device *dev, uint32_t channel, in intel_adsp_hda_dma_host_reload()
213 int intel_adsp_hda_dma_status(const struct device *dev, uint32_t channel, in intel_adsp_hda_dma_status()
255 bool intel_adsp_hda_dma_chan_filter(const struct device *dev, int channel, void *filter_param) in intel_adsp_hda_dma_chan_filter()
272 int intel_adsp_hda_dma_start(const struct device *dev, uint32_t channel) in intel_adsp_hda_dma_start()
319 int intel_adsp_hda_dma_stop(const struct device *dev, uint32_t channel) in intel_adsp_hda_dma_stop()
Ddma_sam0.c36 uint32_t channel; in dma_sam0_isr() local
62 static int dma_sam0_config(const struct device *dev, uint32_t channel, in dma_sam0_config()
264 static int dma_sam0_start(const struct device *dev, uint32_t channel) in dma_sam0_start()
295 static int dma_sam0_stop(const struct device *dev, uint32_t channel) in dma_sam0_stop()
315 static int dma_sam0_reload(const struct device *dev, uint32_t channel, in dma_sam0_reload()
359 static int dma_sam0_get_status(const struct device *dev, uint32_t channel, in dma_sam0_get_status()
Ddma_intel_adsp_gpdma.c18 #define GPDMA_CHLLPC_OFFSET(channel) (0x0010 + channel*0x10) argument
23 #define GPDMA_CHLLPL(channel) (0x0018 + channel*0x10) argument
24 #define GPDMA_CHLLPU(channel) (0x001c + channel*0x10) argument
56 static void intel_adsp_gpdma_dump_registers(const struct device *dev, uint32_t channel) in intel_adsp_gpdma_dump_registers()
88 uint32_t channel, uint32_t dma_slot) in intel_adsp_gpdma_llp_config()
99 uint32_t channel) in intel_adsp_gpdma_llp_enable()
114 uint32_t channel) in intel_adsp_gpdma_llp_disable()
127 uint32_t channel, uint32_t *llp_l, in intel_adsp_gpdma_llp_read()
139 static int intel_adsp_gpdma_config(const struct device *dev, uint32_t channel, in intel_adsp_gpdma_config()
163 static int intel_adsp_gpdma_start(const struct device *dev, uint32_t channel) in intel_adsp_gpdma_start()
[all …]
Ddma_sam_xdmac.c64 for (int channel = 0; channel < DMA_CHANNELS_NO; channel++) { in sam_xdmac_isr() local
82 int sam_xdmac_channel_configure(const struct device *dev, uint32_t channel, in sam_xdmac_channel_configure()
125 int sam_xdmac_transfer_configure(const struct device *dev, uint32_t channel, in sam_xdmac_transfer_configure()
178 static int sam_xdmac_config(const struct device *dev, uint32_t channel, in sam_xdmac_config()
287 static int sam_xdmac_transfer_reload(const struct device *dev, uint32_t channel, in sam_xdmac_transfer_reload()
300 int sam_xdmac_transfer_start(const struct device *dev, uint32_t channel) in sam_xdmac_transfer_start()
325 int sam_xdmac_transfer_stop(const struct device *dev, uint32_t channel) in sam_xdmac_transfer_stop()
378 static int sam_xdmac_get_status(const struct device *dev, uint32_t channel, in sam_xdmac_get_status()
Ddma_xmc4xxx.c121 static int dma_xmc4xxx_config(const struct device *dev, uint32_t channel, struct dma_config *config) in dma_xmc4xxx_config()
307 static int dma_xmc4xxx_start(const struct device *dev, uint32_t channel) in dma_xmc4xxx_start()
316 static int dma_xmc4xxx_stop(const struct device *dev, uint32_t channel) in dma_xmc4xxx_stop()
343 static int dma_xmc4xxx_reload(const struct device *dev, uint32_t channel, uint32_t src, in dma_xmc4xxx_reload()
378 static int dma_xmc4xxx_get_status(const struct device *dev, uint32_t channel, in dma_xmc4xxx_get_status()
402 static bool dma_xmc4xxx_chan_filter(const struct device *dev, int channel, void *filter_param) in dma_xmc4xxx_chan_filter()
419 static int dma_xmc4xxx_suspend(const struct device *dev, uint32_t channel) in dma_xmc4xxx_suspend()
434 static int dma_xmc4xxx_resume(const struct device *dev, uint32_t channel) in dma_xmc4xxx_resume()
/Zephyr-Core-3.5.0/drivers/mipi_dsi/
Dmipi_dsi.c11 ssize_t mipi_dsi_generic_read(const struct device *dev, uint8_t channel, in mipi_dsi_generic_read()
42 ssize_t mipi_dsi_generic_write(const struct device *dev, uint8_t channel, in mipi_dsi_generic_write()
71 ssize_t mipi_dsi_dcs_read(const struct device *dev, uint8_t channel, in mipi_dsi_dcs_read()
84 ssize_t mipi_dsi_dcs_write(const struct device *dev, uint8_t channel, in mipi_dsi_dcs_write()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/security/ccc_update/src/
Dcommon.c12 void backchannel_sync_send(uint channel, uint device_nbr) in backchannel_sync_send()
19 void backchannel_sync_wait(uint channel, uint device_nbr) in backchannel_sync_wait()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/gatt/ccc_store/src/
Dcommon.c12 void backchannel_sync_send(uint channel, uint device_nbr) in backchannel_sync_send()
19 void backchannel_sync_wait(uint channel, uint device_nbr) in backchannel_sync_wait()
/Zephyr-Core-3.5.0/drivers/mbox/
Dmbox_handlers.c10 static inline int z_vrfy_mbox_send(const struct mbox_channel *channel, in z_vrfy_mbox_send()
38 static inline int z_vrfy_mbox_set_enabled(const struct mbox_channel *channel, bool enable) in z_vrfy_mbox_set_enabled()
/Zephyr-Core-3.5.0/drivers/sensor/akm09918c/
Dakm09918c_decoder.c8 static int akm09918c_decoder_get_frame_count(const uint8_t *buffer, enum sensor_channel channel, in akm09918c_decoder_get_frame_count()
20 static int akm09918c_decoder_get_size_info(enum sensor_channel channel, size_t *base_size, in akm09918c_decoder_get_size_info()
51 static int akm09918c_decoder_decode(const uint8_t *buffer, enum sensor_channel channel, in akm09918c_decoder_decode()
/Zephyr-Core-3.5.0/drivers/interrupt_controller/
Dintc_rv32m1_intmux.c57 uint32_t channel = rv32m1_intmux_channel(irq); in rv32m1_intmux_irq_enable() local
66 uint32_t channel = rv32m1_intmux_channel(irq); in rv32m1_intmux_irq_disable() local
90 uint32_t channel = rv32m1_intmux_channel(irq); in rv32m1_intmux_get_line_state() local
104 #define ISR_ENTRY(channel, line) \ argument
112 uint32_t channel = POINTER_TO_UINT(arg); in rv32m1_intmux_isr() local
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/l2cap/general/src/
Dmain_l2cap_ecred.c41 struct channel { struct
42 uint8_t chan_id; /* Internal number that identifies L2CAP channel. */ argument
53 static struct channel channels[L2CAP_CHANNELS]; argument
/Zephyr-Core-3.5.0/drivers/sensor/icm42688/
Dicm42688_decoder.c17 static int icm42688_get_shift(enum sensor_channel channel, int accel_fs, int gyro_fs, int8_t *shift) in icm42688_get_shift()
201 static int icm42688_one_shot_decode(const uint8_t *buffer, enum sensor_channel channel, in icm42688_one_shot_decode()
320 static int icm42688_decoder_decode(const uint8_t *buffer, enum sensor_channel channel, in icm42688_decoder_decode()
327 static int icm42688_decoder_get_frame_count(const uint8_t *buffer, enum sensor_channel channel, in icm42688_decoder_get_frame_count()
351 static int icm42688_decoder_get_size_info(enum sensor_channel channel, size_t *base_size, in icm42688_decoder_get_size_info()
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Dpwm.h100 uint32_t channel; member
482 uint32_t channel, uint32_t period, in z_impl_pwm_set_cycles()
510 uint32_t channel, in z_impl_pwm_get_cycles_per_sec()
535 static inline int pwm_set(const struct device *dev, uint32_t channel, in pwm_set()
621 static inline int pwm_cycles_to_usec(const struct device *dev, uint32_t channel, in pwm_cycles_to_usec()
654 static inline int pwm_cycles_to_nsec(const struct device *dev, uint32_t channel, in pwm_cycles_to_nsec()
705 uint32_t channel, pwm_flags_t flags, in pwm_configure_capture()
743 uint32_t channel) in z_impl_pwm_enable_capture()
774 uint32_t channel) in z_impl_pwm_disable_capture()
846 static inline int pwm_capture_usec(const struct device *dev, uint32_t channel, in pwm_capture_usec()
[all …]
Dmbox.h240 static inline void mbox_init_channel(struct mbox_channel *channel, const struct device *dev, in mbox_init_channel()
268 static inline int z_impl_mbox_send(const struct mbox_channel *channel, const struct mbox_msg *msg) in z_impl_mbox_send()
294 static inline int mbox_register_callback(const struct mbox_channel *channel, in mbox_register_callback()
366 static inline int z_impl_mbox_set_enabled(const struct mbox_channel *channel, bool enable) in z_impl_mbox_set_enabled()
/Zephyr-Core-3.5.0/samples/boards/nrf/nrf53_sync_rtc/net/src/
Dmain.c30 static void mbox_callback(const struct device *dev, uint32_t channel, in mbox_callback()
39 struct mbox_channel channel; in mbox_init() local

123456789