Searched refs:pwm_base (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/leds/ |
H A D | leds-pca995x.c | 43 u8 pwm_base; member 49 .pwm_base = 0x0a, 55 .pwm_base = 0x08, 61 .pwm_base = 0x0a, 86 pwmout_addr = chipdef->pwm_base + led->led_no; in pca995x_brightness_set()
|
/openbmc/linux/drivers/hwmon/ |
H A D | npcm750-pwm-fan.c | 196 void __iomem *pwm_base; member 228 iowrite32(val, NPCM7XX_PWM_REG_CMRx(data->pwm_base, module, pwm_ch)); in npcm7xx_pwm_config_set() 229 tmp_buf = ioread32(NPCM7XX_PWM_REG_CR(data->pwm_base, module)); in npcm7xx_pwm_config_set() 263 iowrite32(tmp_buf, NPCM7XX_PWM_REG_CR(data->pwm_base, module)); in npcm7xx_pwm_config_set() 519 (NPCM7XX_PWM_REG_CMRx(data->pwm_base, module, pmw_ch)); in npcm7xx_read_pwm() 714 iowrite32(prescale_val, NPCM7XX_PWM_REG_PR(data->pwm_base, m)); in npcm7xx_pwm_init() 716 NPCM7XX_PWM_REG_CSR(data->pwm_base, m)); in npcm7xx_pwm_init() 718 NPCM7XX_PWM_REG_CR(data->pwm_base, m)); in npcm7xx_pwm_init() 722 NPCM7XX_PWM_REG_CNRx(data->pwm_base, m, ch)); in npcm7xx_pwm_init() 953 data->pwm_base = devm_ioremap_resource(dev, res); in npcm7xx_pwm_fan_probe() [all …]
|