Lines Matching full:pulse
20 uint8_t pulse; member
28 .pulse = 4,
37 uint32_t pulse; in cmd_cycles() local
49 pulse = strtoul(argv[args_indx.pulse], NULL, 0); in cmd_cycles()
55 err = pwm_set_cycles(dev, channel, period, pulse, flags); in cmd_cycles()
70 uint32_t pulse; in cmd_usec() local
82 pulse = strtoul(argv[args_indx.pulse], NULL, 0); in cmd_usec()
88 err = pwm_set(dev, channel, PWM_USEC(period), PWM_USEC(pulse), flags); in cmd_usec()
102 uint32_t pulse; in cmd_nsec() local
114 pulse = strtoul(argv[args_indx.pulse], NULL, 0); in cmd_nsec()
120 err = pwm_set(dev, channel, period, pulse, flags); in cmd_nsec()
148 "<pulse width in cycles> [flags]", cmd_cycles, 5, 1),
150 "<pulse width in usec> [flags]", cmd_usec, 5, 1),
152 "<pulse width in nsec> [flags]", cmd_nsec, 5, 1),