pwm_clk 196 drivers/hwmon/npcm750-pwm-fan.c struct clk *pwm_clk; pwm_clk 678 drivers/hwmon/npcm750-pwm-fan.c data->pwm_clk_freq = clk_get_rate(data->pwm_clk); pwm_clk 937 drivers/hwmon/npcm750-pwm-fan.c data->pwm_clk = devm_clk_get(dev, "pwm"); pwm_clk 938 drivers/hwmon/npcm750-pwm-fan.c if (IS_ERR(data->pwm_clk)) { pwm_clk 940 drivers/hwmon/npcm750-pwm-fan.c return PTR_ERR(data->pwm_clk); pwm_clk 124 drivers/hwmon/vt1211.c u8 pwm_clk; pwm_clk 301 drivers/hwmon/vt1211.c data->pwm_clk = vt1211_read8(data, VT1211_REG_PWM_CLK); pwm_clk 614 drivers/hwmon/vt1211.c res = 90000 >> (data->pwm_clk & 7); pwm_clk 692 drivers/hwmon/vt1211.c data->pwm_clk = (reg & 0xf8) | tmp; pwm_clk 693 drivers/hwmon/vt1211.c vt1211_write8(data, VT1211_REG_PWM_CLK, data->pwm_clk); pwm_clk 64 drivers/pwm/pwm-img.c struct clk *pwm_clk; pwm_clk 107 drivers/pwm/pwm-img.c input_clk_hz = clk_get_rate(pwm_chip->pwm_clk); pwm_clk 209 drivers/pwm/pwm-img.c clk_disable_unprepare(pwm_chip->pwm_clk); pwm_clk 226 drivers/pwm/pwm-img.c ret = clk_prepare_enable(pwm_chip->pwm_clk); pwm_clk 272 drivers/pwm/pwm-img.c pwm->pwm_clk = devm_clk_get(&pdev->dev, "pwm"); pwm_clk 273 drivers/pwm/pwm-img.c if (IS_ERR(pwm->pwm_clk)) { pwm_clk 275 drivers/pwm/pwm-img.c return PTR_ERR(pwm->pwm_clk); pwm_clk 287 drivers/pwm/pwm-img.c clk_rate = clk_get_rate(pwm->pwm_clk); pwm_clk 122 drivers/pwm/pwm-imx27.c u32 period, prescaler, pwm_clk, val; pwm_clk 149 drivers/pwm/pwm-imx27.c pwm_clk = clk_get_rate(imx->clk_per); pwm_clk 150 drivers/pwm/pwm-imx27.c pwm_clk = DIV_ROUND_CLOSEST_ULL(pwm_clk, prescaler); pwm_clk 156 drivers/pwm/pwm-imx27.c state->period = DIV_ROUND_CLOSEST_ULL(tmp, pwm_clk); pwm_clk 162 drivers/pwm/pwm-imx27.c state->duty_cycle = DIV_ROUND_CLOSEST_ULL(tmp, pwm_clk); pwm_clk 95 drivers/pwm/pwm-lpc18xx-sct.c struct clk *pwm_clk; pwm_clk 344 drivers/pwm/pwm-lpc18xx-sct.c lpc18xx_pwm->pwm_clk = devm_clk_get(&pdev->dev, "pwm"); pwm_clk 345 drivers/pwm/pwm-lpc18xx-sct.c if (IS_ERR(lpc18xx_pwm->pwm_clk)) { pwm_clk 347 drivers/pwm/pwm-lpc18xx-sct.c return PTR_ERR(lpc18xx_pwm->pwm_clk); pwm_clk 350 drivers/pwm/pwm-lpc18xx-sct.c ret = clk_prepare_enable(lpc18xx_pwm->pwm_clk); pwm_clk 356 drivers/pwm/pwm-lpc18xx-sct.c lpc18xx_pwm->clk_rate = clk_get_rate(lpc18xx_pwm->pwm_clk); pwm_clk 438 drivers/pwm/pwm-lpc18xx-sct.c clk_disable_unprepare(lpc18xx_pwm->pwm_clk); pwm_clk 451 drivers/pwm/pwm-lpc18xx-sct.c clk_disable_unprepare(lpc18xx_pwm->pwm_clk); pwm_clk 86 drivers/pwm/pwm-sti.c struct clk *pwm_clk; pwm_clk 130 drivers/pwm/pwm-sti.c clk_rate = clk_get_rate(pc->pwm_clk); pwm_clk 195 drivers/pwm/pwm-sti.c ret = clk_enable(pc->pwm_clk); pwm_clk 245 drivers/pwm/pwm-sti.c clk_disable(pc->pwm_clk); pwm_clk 263 drivers/pwm/pwm-sti.c ret = clk_enable(pc->pwm_clk); pwm_clk 299 drivers/pwm/pwm-sti.c clk_disable(pc->pwm_clk); pwm_clk 599 drivers/pwm/pwm-sti.c pc->pwm_clk = of_clk_get_by_name(dev->of_node, "pwm"); pwm_clk 600 drivers/pwm/pwm-sti.c if (IS_ERR(pc->pwm_clk)) { pwm_clk 602 drivers/pwm/pwm-sti.c return PTR_ERR(pc->pwm_clk); pwm_clk 605 drivers/pwm/pwm-sti.c ret = clk_prepare(pc->pwm_clk); pwm_clk 635 drivers/pwm/pwm-sti.c clk_unprepare(pc->pwm_clk); pwm_clk 666 drivers/pwm/pwm-sti.c clk_unprepare(pc->pwm_clk);