Searched refs:pwm_port (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | aspeed-pwm-tacho.c | 173 int pwm_port; member 404 pwm_port_params[pwm_port].pwm_en, in aspeed_set_pwm_port_enable() 409 u8 pwm_port, u8 type) in aspeed_set_pwm_port_type() argument 420 u8 pwm_port, u8 rising, in aspeed_set_pwm_port_duty_rising_falling() argument 734 u8 pwm_port) in aspeed_create_pwm_port() argument 737 priv->pwm_present[pwm_port] = true; in aspeed_create_pwm_port() 739 priv->pwm_port_type[pwm_port] = TYPEM; in aspeed_create_pwm_port() 811 u32 pwm_port, u8 num_levels) in aspeed_create_pwm_cooling() argument 841 cdev->pwm_port = pwm_port; in aspeed_create_pwm_cooling() 843 priv->cdev[pwm_port] = cdev; in aspeed_create_pwm_cooling() [all …]
|
H A D | npcm750-pwm-fan.c | 189 int pwm_port; member 827 ret = npcm7xx_pwm_config_set(cdev->data, cdev->pwm_port, in npcm7xx_pwm_cz_set_cur_state() 842 u32 pwm_port, u8 num_levels) in npcm7xx_create_pwm_cooling() argument 864 pwm_port); in npcm7xx_create_pwm_cooling() 872 cdev->pwm_port = pwm_port; in npcm7xx_create_pwm_cooling() 874 data->cdev[pwm_port] = cdev; in npcm7xx_create_pwm_cooling() 884 u32 pwm_port; in npcm7xx_en_pwm_fan() local 888 ret = of_property_read_u32(child, "reg", &pwm_port); in npcm7xx_en_pwm_fan() 892 data->pwm_present[pwm_port] = true; in npcm7xx_en_pwm_fan() 893 ret = npcm7xx_pwm_config_set(data, pwm_port, in npcm7xx_en_pwm_fan() [all …]
|