Searched refs:sub_cmd (Results 1 – 4 of 4) sorted by relevance
25 enum pwm_cmd sub_cmd; in do_pwm() local46 sub_cmd = PWM_SET_INVERT; in do_pwm()51 sub_cmd = PWM_SET_CONFIG; in do_pwm()56 sub_cmd = PWM_SET_ENABLE; in do_pwm()61 sub_cmd = PWM_SET_DISABLE; in do_pwm()81 if (sub_cmd == PWM_SET_INVERT) { in do_pwm()85 } else if (sub_cmd == PWM_SET_CONFIG) { in do_pwm()95 } else if (sub_cmd == PWM_SET_ENABLE) { in do_pwm()97 } else if (sub_cmd == PWM_SET_DISABLE) { in do_pwm()
125 enum gpio_cmd sub_cmd; in do_gpio() local166 sub_cmd = GPIOC_INPUT; in do_gpio()169 sub_cmd = GPIOC_SET; in do_gpio()172 sub_cmd = GPIOC_CLEAR; in do_gpio()175 sub_cmd = GPIOC_TOGGLE; in do_gpio()208 if (sub_cmd == GPIOC_INPUT) { in do_gpio()212 switch (sub_cmd) { in do_gpio()238 if (sub_cmd != GPIOC_INPUT && !IS_ERR_VALUE(value)) { in do_gpio()258 return (sub_cmd == GPIOC_INPUT) ? value : CMD_RET_SUCCESS; in do_gpio()
302 sub_cmd = None # Git sub-command selected305 if sub_cmd:313 sub_cmd = arg314 if sub_cmd == 'config':316 elif sub_cmd == 'log':318 elif sub_cmd == 'clone':320 elif sub_cmd == 'checkout':322 elif sub_cmd == 'worktree':326 print('git', git_args, sub_cmd, args)
1786 char sub_cmd; in do_fsl_mc() local1792 sub_cmd = argv[2][0]; in do_fsl_mc()1794 switch (sub_cmd) { in do_fsl_mc()1870 char sub_cmd; in do_fsl_mc() local1876 sub_cmd = argv[2][0]; in do_fsl_mc()1878 switch (sub_cmd) { in do_fsl_mc()
Completed in 9 milliseconds