Home
last modified time | relevance | path

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

/drivers/leds/
A Dleds-pca963x.c111 struct pca963x_chipdef *chipdef; member
122 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() local
173 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_blink() local
306 struct pca963x_chipdef *chipdef = chip->chipdef; in pca963x_register_leds() local
315 &chipdef->scaling)) in pca963x_register_leds()
316 chipdef->scaling = 1000; in pca963x_register_leds()
345 if (ret || reg >= chipdef->n_leds) { in pca963x_register_leds()
418 struct pca963x_chipdef *chipdef; in pca963x_probe() local
425 if (!count || count > chipdef->n_leds) { in pca963x_probe()
427 dev_fwnode(dev), chipdef->n_leds); in pca963x_probe()
[all …]
A Dleds-pca995x.c74 const struct pca995x_chipdef *chipdef; member
82 const struct pca995x_chipdef *chipdef = chip->chipdef; in pca995x_brightness_set() local
86 pwmout_addr = chipdef->pwm_base + led->led_no; in pca995x_brightness_set()
124 const struct pca995x_chipdef *chipdef; in pca995x_probe() local
129 chipdef = device_get_match_data(&client->dev); in pca995x_probe()
138 chip->chipdef = chipdef; in pca995x_probe()
187 return regmap_write(chip->regmap, chipdef->irefall, PCA995X_IREFALL_HALF_CFG); in pca995x_probe()
A Dleds-pca955x.c118 const struct pca955x_chipdef *chipdef; member
178 u8 cmd = pca955x_num_input_regs(pca955x->chipdef->bits) + (2 * n); in pca955x_write_psc()
197 u8 cmd = pca955x_num_input_regs(pca955x->chipdef->bits) + 1 + (2 * n); in pca955x_write_pwm()
213 u8 cmd = pca955x_num_input_regs(pca955x->chipdef->bits) + 4 + n; in pca955x_write_ls()
229 u8 cmd = pca955x_num_input_regs(pca955x->chipdef->bits) + 4 + n; in pca955x_read_ls()
243 u8 cmd = pca955x_num_input_regs(pca955x->chipdef->bits) + 1 + (2 * n); in pca955x_read_pwm()
260 cmd = pca955x_num_input_regs(pca955x->chipdef->bits) + (2 * n); in pca955x_read_psc()
359 period *= pca955x->chipdef->blink_div; in pca955x_period_to_psc()
373 period /= pca955x->chipdef->blink_div; in pca955x_psc_to_period()
639 pca955x->chipdef = chip; in pca955x_probe()

Completed in 9 milliseconds