Lines Matching refs:twl
109 struct twl_pwmled_chip *twl = to_twl(chip); in twl4030_pwmled_enable() local
113 mutex_lock(&twl->mutex); in twl4030_pwmled_enable()
127 mutex_unlock(&twl->mutex); in twl4030_pwmled_enable()
134 struct twl_pwmled_chip *twl = to_twl(chip); in twl4030_pwmled_disable() local
138 mutex_lock(&twl->mutex); in twl4030_pwmled_disable()
152 mutex_unlock(&twl->mutex); in twl4030_pwmled_disable()
212 struct twl_pwmled_chip *twl = to_twl(chip); in twl6030_pwmled_enable() local
216 mutex_lock(&twl->mutex); in twl6030_pwmled_enable()
232 mutex_unlock(&twl->mutex); in twl6030_pwmled_enable()
239 struct twl_pwmled_chip *twl = to_twl(chip); in twl6030_pwmled_disable() local
243 mutex_lock(&twl->mutex); in twl6030_pwmled_disable()
259 mutex_unlock(&twl->mutex); in twl6030_pwmled_disable()
290 struct twl_pwmled_chip *twl = to_twl(chip); in twl6030_pwmled_request() local
294 mutex_lock(&twl->mutex); in twl6030_pwmled_request()
310 mutex_unlock(&twl->mutex); in twl6030_pwmled_request()
316 struct twl_pwmled_chip *twl = to_twl(chip); in twl6030_pwmled_free() local
320 mutex_lock(&twl->mutex); in twl6030_pwmled_free()
336 mutex_unlock(&twl->mutex); in twl6030_pwmled_free()
348 struct twl_pwmled_chip *twl; in twl_pwmled_probe() local
360 chip = devm_pwmchip_alloc(&pdev->dev, npwm, sizeof(*twl)); in twl_pwmled_probe()
363 twl = to_twl(chip); in twl_pwmled_probe()
367 mutex_init(&twl->mutex); in twl_pwmled_probe()