Lines Matching full:flags
21 uint8_t flags; member
29 .flags = 5,
34 pwm_flags_t flags = 0; in cmd_cycles() local
51 if (argc == (args_indx.flags + 1)) { in cmd_cycles()
52 flags = strtoul(argv[args_indx.flags], NULL, 0); in cmd_cycles()
55 err = pwm_set_cycles(dev, channel, period, pulse, flags); in cmd_cycles()
67 pwm_flags_t flags = 0; in cmd_usec() local
84 if (argc == (args_indx.flags + 1)) { in cmd_usec()
85 flags = strtoul(argv[args_indx.flags], NULL, 0); in cmd_usec()
88 err = pwm_set(dev, channel, PWM_USEC(period), PWM_USEC(pulse), flags); in cmd_usec()
99 pwm_flags_t flags = 0; in cmd_nsec() local
116 if (argc == (args_indx.flags + 1)) { in cmd_nsec()
117 flags = strtoul(argv[args_indx.flags], 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),