Searched refs:chipdef (Results 1 – 3 of 3) sorted by relevance
111 struct pca963x_chipdef *chipdef; member122 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() local173 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_blink() local306 struct pca963x_chipdef *chipdef = chip->chipdef; in pca963x_register_leds() local315 &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() local425 if (!count || count > chipdef->n_leds) { in pca963x_probe()427 dev_fwnode(dev), chipdef->n_leds); in pca963x_probe()[all …]
74 const struct pca995x_chipdef *chipdef; member82 const struct pca995x_chipdef *chipdef = chip->chipdef; in pca995x_brightness_set() local86 pwmout_addr = chipdef->pwm_base + led->led_no; in pca995x_brightness_set()124 const struct pca995x_chipdef *chipdef; in pca995x_probe() local129 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()
118 const struct pca955x_chipdef *chipdef; member178 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