/Zephyr-Core-2.7.6/drivers/pwm/ |
D | pwm_handlers.c | 12 uint32_t pwm, in z_vrfy_pwm_pin_set_cycles() 24 uint32_t pwm, in z_vrfy_pwm_get_cycles_per_sec() 37 uint32_t pwm) in z_vrfy_pwm_pin_enable_capture() 45 uint32_t pwm) in z_vrfy_pwm_pin_disable_capture() 53 uint32_t pwm, pwm_flags_t flags, in z_vrfy_pwm_pin_capture_cycles()
|
D | pwm_shell.c | 18 uint8_t pwm; member 38 uint32_t pwm; in cmd_cycles() local 71 uint32_t pwm; in cmd_usec() local 103 uint32_t pwm; in cmd_nsec() local
|
D | pwm_sam.c | 28 static int sam_pwm_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in sam_pwm_get_cycles_per_sec() 44 Pwm *const pwm = DEV_CFG(dev)->regs; in sam_pwm_pin_set() local 80 Pwm *const pwm = DEV_CFG(dev)->regs; in sam_pwm_init() local
|
D | pwm_b91.c | 64 static int pwm_b91_pin_set(const struct device *dev, uint32_t pwm, in pwm_b91_pin_set() 99 static int pwm_b91_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in pwm_b91_get_cycles_per_sec()
|
D | pwm_nrf5_sw.c | 50 uint32_t pwm; member 77 static uint32_t pwm_period_check(struct pwm_data *data, uint8_t map_size, in pwm_period_check() 101 uint32_t pwm) in pwm_channel_map() 123 static int pwm_nrf5_sw_pin_set(const struct device *dev, uint32_t pwm, in pwm_nrf5_sw_pin_set() 300 uint32_t pwm, in pwm_nrf5_sw_get_cycles_per_sec()
|
D | pwm_capture.c | 22 uint32_t pwm, in z_pwm_pin_capture_cycles_callback() 37 int z_impl_pwm_pin_capture_cycles(const struct device *dev, uint32_t pwm, in z_impl_pwm_pin_capture_cycles()
|
D | pwm_mcux_ftm.c | 59 static int mcux_ftm_pin_set(const struct device *dev, uint32_t pwm, in mcux_ftm_pin_set() 139 uint32_t pwm, in mcux_ftm_pin_configure_capture() 209 static int mcux_ftm_pin_enable_capture(const struct device *dev, uint32_t pwm) in mcux_ftm_pin_enable_capture() 247 static int mcux_ftm_pin_disable_capture(const struct device *dev, uint32_t pwm) in mcux_ftm_pin_disable_capture() 273 static void mcux_ftm_capture_first_edge(const struct device *dev, uint32_t pwm) in mcux_ftm_capture_first_edge() 287 static void mcux_ftm_capture_second_edge(const struct device *dev, uint32_t pwm) in mcux_ftm_capture_second_edge() 375 static int mcux_ftm_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in mcux_ftm_get_cycles_per_sec()
|
D | pwm_mcux_pwt.c | 51 static int mcux_pwt_pin_set(const struct device *dev, uint32_t pwm, in mcux_pwt_pin_set() 67 uint32_t pwm, in mcux_pwt_pin_configure_capture() 103 static int mcux_pwt_pin_enable_capture(const struct device *dev, uint32_t pwm) in mcux_pwt_pin_enable_capture() 131 static int mcux_pwt_pin_disable_capture(const struct device *dev, uint32_t pwm) in mcux_pwt_pin_disable_capture() 264 static int mcux_pwt_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in mcux_pwt_get_cycles_per_sec()
|
D | pwm_nrfx.c | 22 nrfx_pwm_t pwm; member 86 static uint8_t pwm_channel_map(const uint8_t *output_pins, uint32_t pwm) in pwm_channel_map() 125 static int pwm_nrfx_pin_set(const struct device *dev, uint32_t pwm, in pwm_nrfx_pin_set() 254 static int pwm_nrfx_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in pwm_nrfx_get_cycles_per_sec()
|
D | pwm_litex.c | 51 int pwm_litex_pin_set(const struct device *dev, uint32_t pwm, in pwm_litex_pin_set() 69 int pwm_litex_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in pwm_litex_get_cycles_per_sec()
|
D | pwm_mcux_sctimer.c | 32 static int mcux_sctimer_pwm_pin_set(const struct device *dev, uint32_t pwm, in mcux_sctimer_pwm_pin_set() 115 static int mcux_sctimer_pwm_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in mcux_sctimer_pwm_get_cycles_per_sec()
|
D | pwm_gecko.c | 29 static int pwm_gecko_pin_set(const struct device *dev, uint32_t pwm, in pwm_gecko_pin_set() 68 uint32_t pwm, in pwm_gecko_get_cycles_per_sec()
|
D | pwm_mcux.c | 34 static int mcux_pwm_pin_set(const struct device *dev, uint32_t pwm, in mcux_pwm_pin_set() 111 static int mcux_pwm_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in mcux_pwm_get_cycles_per_sec()
|
D | pwm_imx.c | 43 static int imx_pwm_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in imx_pwm_get_cycles_per_sec() 54 static int imx_pwm_pin_set(const struct device *dev, uint32_t pwm, in imx_pwm_pin_set()
|
D | pwm_mcux_tpm.c | 42 static int mcux_tpm_pin_set(const struct device *dev, uint32_t pwm, in mcux_tpm_pin_set() 119 static int mcux_tpm_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in mcux_tpm_get_cycles_per_sec()
|
D | pwm_rv32m1_tpm.c | 41 static int rv32m1_tpm_pin_set(const struct device *dev, uint32_t pwm, in rv32m1_tpm_pin_set() 119 uint32_t pwm, in rv32m1_tpm_get_cycles_per_sec()
|
D | pwm_npcx.c | 95 static int pwm_npcx_pin_set(const struct device *dev, uint32_t pwm, in pwm_npcx_pin_set() 149 static int pwm_npcx_get_cycles_per_sec(const struct device *dev, uint32_t pwm, in pwm_npcx_get_cycles_per_sec()
|
D | pwm_sifive.c | 99 uint32_t pwm, in pwm_sifive_pin_set() 192 uint32_t pwm, in pwm_sifive_get_cycles_per_sec()
|
D | pwm_stm32.c | 200 static int pwm_stm32_pin_set(const struct device *dev, uint32_t pwm, in pwm_stm32_pin_set() 263 uint32_t pwm, in pwm_stm32_get_cycles_per_sec()
|
D | pwm_xlnx_axi_timer.c | 63 static int xlnx_axi_timer_pin_set(const struct device *dev, uint32_t pwm, in xlnx_axi_timer_pin_set() 167 uint32_t pwm, uint64_t *cycles) in xlnx_axi_timer_get_cycles_per_sec()
|
/Zephyr-Core-2.7.6/include/drivers/ |
D | pwm.h | 185 uint32_t pwm, in z_impl_pwm_pin_set_cycles() 225 uint32_t pwm, in pwm_pin_configure_capture() 262 uint32_t pwm) in z_impl_pwm_pin_enable_capture() 293 uint32_t pwm) in z_impl_pwm_pin_disable_capture() 353 uint32_t pwm, in z_impl_pwm_get_cycles_per_sec() 374 static inline int pwm_pin_set_usec(const struct device *dev, uint32_t pwm, in pwm_pin_set_usec() 410 static inline int pwm_pin_set_nsec(const struct device *dev, uint32_t pwm, in pwm_pin_set_nsec() 446 static inline int pwm_pin_cycles_to_usec(const struct device *dev, uint32_t pwm, in pwm_pin_cycles_to_usec() 477 static inline int pwm_pin_cycles_to_nsec(const struct device *dev, uint32_t pwm, in pwm_pin_cycles_to_nsec() 523 static inline int pwm_pin_capture_usec(const struct device *dev, uint32_t pwm, in pwm_pin_capture_usec() [all …]
|
/Zephyr-Core-2.7.6/samples/basic/servo_motor/src/ |
D | main.c | 38 const struct device *pwm; in main() local
|
/Zephyr-Core-2.7.6/samples/basic/blinky_pwm/src/ |
D | main.c | 35 const struct device *pwm; in main() local
|
/Zephyr-Core-2.7.6/samples/basic/fade_led/src/ |
D | main.c | 42 const struct device *pwm; in main() local
|
/Zephyr-Core-2.7.6/samples/boards/bbc_microbit/sound/src/ |
D | main.c | 26 static const struct device *pwm; variable
|