Searched refs:chipdef (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/leds/ |
H A D | leds-pca963x.c | 109 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 in pca963x_period_scale() 288 struct pca963x_chipdef *chipdef = chip->chipdef; pca963x_register_leds() local 378 struct pca963x_chipdef *chipdef; pca963x_probe() local [all...] |
H A D | leds-pca955x.c | 119 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()
|
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-pca963x.c | 110 struct pca963x_chipdef *chipdef; member 121 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() local 126 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_brightness() 172 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_blink() local 176 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_blink() 181 i2c_smbus_write_byte_data(client, chipdef->grppwm, led->gdc); in pca963x_blink() 183 i2c_smbus_write_byte_data(client, chipdef->grpfreq, led->gfrq); in pca963x_blink() 242 unsigned int scaling = led->chip->chipdef in pca963x_period_scale() 305 struct pca963x_chipdef *chipdef = chip->chipdef; pca963x_register_leds() local 396 struct pca963x_chipdef *chipdef; pca963x_probe() local [all...] |
H A D | leds-pca955x.c | 120 struct pca955x_chipdef *chipdef; member 165 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + (2 * n); in pca955x_write_psc() 185 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + 1 + (2 * n); in pca955x_write_pwm() 202 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + 4 + n; in pca955x_write_ls() 219 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + 4 + n; in pca955x_read_ls() 235 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + 1 + (2 * n); in pca955x_read_pwm() 544 pca955x->chipdef = chip; in pca955x_probe()
|
Completed in 4 milliseconds