Lines Matching defs:lpg
106 struct lpg { struct
114 const struct lpg_data *data; argument
121 struct nvmem_device *lpg_chan_sdam; argument
130 struct lpg_channel *channels; argument
136 * @lpg: reference to parent lpg argument
164 struct lpg *lpg; member
209 struct lpg *lpg; member
252 static int lpg_clear_pbs_trigger(struct lpg *lpg, unsigned int lut_mask) in lpg_clear_pbs_trigger()
277 static int lpg_set_pbs_trigger(struct lpg *lpg, unsigned int lut_mask) in lpg_set_pbs_trigger()
315 static int triled_set(struct lpg *lpg, unsigned int mask, unsigned int enable) in triled_set()
325 static int lpg_lut_store_sdam(struct lpg *lpg, struct led_pattern *pattern, in lpg_lut_store_sdam()
366 static int lpg_lut_store(struct lpg *lpg, struct led_pattern *pattern, in lpg_lut_store()
393 static void lpg_lut_free(struct lpg *lpg, unsigned int lo_idx, unsigned int hi_idx) in lpg_lut_free()
404 static int lpg_lut_sync(struct lpg *lpg, unsigned int mask) in lpg_lut_sync()
548 struct lpg *lpg = chan->lpg; in lpg_apply_freq() local
583 struct lpg *lpg = chan->lpg; in lpg_enable_glitch() local
591 struct lpg *lpg = chan->lpg; in lpg_disable_glitch() local
600 struct lpg *lpg = chan->lpg; in lpg_apply_pwm_value() local
622 struct lpg *lpg = chan->lpg; in lpg_sdam_apply_lut_control() local
660 struct lpg *lpg = chan->lpg; in lpg_apply_lut_control() local
702 struct lpg *lpg = chan->lpg; in lpg_apply_control() local
728 struct lpg *lpg = chan->lpg; in lpg_apply_sync() local
733 static int lpg_parse_dtest(struct lpg *lpg) in lpg_parse_dtest()
775 struct lpg *lpg = chan->lpg; in lpg_apply_dtest() local
808 struct lpg *lpg = led->lpg; in lpg_brightness_set() local
892 struct lpg *lpg = led->lpg; in lpg_blink_set() local
964 struct lpg *lpg = led->lpg; in lpg_pattern_set() local
1170 struct lpg *lpg = led->lpg; in lpg_pattern_clear() local
1213 struct lpg *lpg = lpg_pwm_from_chip(chip); in lpg_pwm_request() local
1229 struct lpg *lpg = lpg_pwm_from_chip(chip); in lpg_pwm_apply() local
1260 struct lpg *lpg = lpg_pwm_from_chip(chip); in lpg_pwm_get_state() local
1321 static int lpg_add_pwm(struct lpg *lpg) in lpg_add_pwm()
1340 static int lpg_parse_channel(struct lpg *lpg, struct device_node *np, in lpg_parse_channel()
1367 static int lpg_add_led(struct lpg *lpg, struct device_node *np) in lpg_add_led()
1466 static int lpg_init_channels(struct lpg *lpg) in lpg_init_channels()
1493 static int lpg_init_triled(struct lpg *lpg) in lpg_init_triled()
1527 static int lpg_init_lut(struct lpg *lpg) in lpg_init_lut()
1545 static int lpg_init_sdam(struct lpg *lpg) in lpg_init_sdam()
1600 struct lpg *lpg; in lpg_probe() local