Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-xilinx.c218 struct xilinx_pwm_device *xilinx_pwm; in xilinx_pwm_probe() local
229 xilinx_pwm = devm_kzalloc(dev, sizeof(*xilinx_pwm), GFP_KERNEL); in xilinx_pwm_probe()
230 if (!xilinx_pwm) in xilinx_pwm_probe()
232 platform_set_drvdata(pdev, xilinx_pwm); in xilinx_pwm_probe()
233 priv = &xilinx_pwm->priv; in xilinx_pwm_probe()
282 xilinx_pwm->chip.dev = dev; in xilinx_pwm_probe()
283 xilinx_pwm->chip.ops = &xilinx_pwm_ops; in xilinx_pwm_probe()
284 xilinx_pwm->chip.npwm = 1; in xilinx_pwm_probe()
285 ret = pwmchip_add(&xilinx_pwm->chip); in xilinx_pwm_probe()
297 struct xilinx_pwm_device *xilinx_pwm = platform_get_drvdata(pdev); in xilinx_pwm_remove() local
[all …]