Home
last modified time | relevance | path

Searched refs:pwmc (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/staging/greybus/
Dpwm.c28 static int gb_pwm_count_operation(struct gb_pwm_chip *pwmc) in gb_pwm_count_operation() argument
33 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_PWM_COUNT, in gb_pwm_count_operation()
37 pwmc->pwm_max = response.count; in gb_pwm_count_operation()
41 static int gb_pwm_activate_operation(struct gb_pwm_chip *pwmc, in gb_pwm_activate_operation() argument
48 if (which > pwmc->pwm_max) in gb_pwm_activate_operation()
53 gbphy_dev = to_gbphy_dev(pwmc->chip.dev); in gb_pwm_activate_operation()
58 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_ACTIVATE, in gb_pwm_activate_operation()
66 static int gb_pwm_deactivate_operation(struct gb_pwm_chip *pwmc, in gb_pwm_deactivate_operation() argument
73 if (which > pwmc->pwm_max) in gb_pwm_deactivate_operation()
78 gbphy_dev = to_gbphy_dev(pwmc->chip.dev); in gb_pwm_deactivate_operation()
[all …]
/Linux-v5.15/arch/arm/boot/dts/
Dbcm958625k.dts127 pinctrl-0 = <&nand_sel>, <&gpiobs>, <&pwmc>;
140 pwmc: pwmc { label
206 * Ex: pinctrl-0 = <&emmc_sel>, <&gpiobs>, <&pwmc>;