Searched refs:chipdef (Results 1 – 2 of 2) sorted by relevance
110 struct pca963x_chipdef *chipdef; member121 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() local172 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_blink() local305 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()396 struct pca963x_chipdef *chipdef; in pca963x_probe() local403 if (!count || count > chipdef->n_leds) { in pca963x_probe()405 dev_fwnode(dev), chipdef->n_leds); in pca963x_probe()[all …]
128 struct pca955x_chipdef *chipdef; member188 u8 cmd = pca955x_num_input_regs(pca955x->chipdef->bits) + (2 * n); in pca955x_write_psc()207 u8 cmd = pca955x_num_input_regs(pca955x->chipdef->bits) + 1 + (2 * n); in pca955x_write_pwm()223 u8 cmd = pca955x_num_input_regs(pca955x->chipdef->bits) + 4 + n; in pca955x_write_ls()239 u8 cmd = pca955x_num_input_regs(pca955x->chipdef->bits) + 4 + n; in pca955x_read_ls()253 u8 cmd = pca955x_num_input_regs(pca955x->chipdef->bits) + 1 + (2 * n); in pca955x_read_pwm()267 u8 cmd = pca955x_num_input_regs(pca955x->chipdef->bits) + (2 * n); in pca955x_read_psc()367 p *= pca955x->chipdef->blink_div; in pca955x_period_to_psc()380 p /= pca955x->chipdef->blink_div; in pca955x_psc_to_period()670 pca955x->chipdef = chip; in pca955x_probe()