Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/leds/
Dleds-pca963x.c109 struct pca963x_chipdef *chipdef; member
120 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() local
125 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_brightness()
158 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_blink() local
162 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_blink()
167 i2c_smbus_write_byte_data(client, chipdef->grppwm, led->gdc); in pca963x_blink()
169 i2c_smbus_write_byte_data(client, chipdef->grpfreq, led->gfrq); in pca963x_blink()
227 unsigned int scaling = led->chip->chipdef->scaling; in pca963x_period_scale()
288 struct pca963x_chipdef *chipdef = chip->chipdef; in pca963x_register_leds() local
298 &chipdef->scaling)) in pca963x_register_leds()
[all …]
Dleds-pca955x.c119 struct pca955x_chipdef *chipdef; member
172 pca95xx_num_input_regs(pca955x->chipdef->bits) + 2*n, in pca955x_write_psc()
193 pca95xx_num_input_regs(pca955x->chipdef->bits) + 1 + 2*n, in pca955x_write_pwm()
211 pca95xx_num_input_regs(pca955x->chipdef->bits) + 4 + n, in pca955x_write_ls()
229 pca95xx_num_input_regs(pca955x->chipdef->bits) + 4 + n); in pca955x_read_ls()
483 pca955x->chipdef = chip; in pca955x_probe()