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() local126 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_brightness()172 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_blink() local176 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->scaling; in pca963x_period_scale()305 struct pca963x_chipdef *chipdef = chip->chipdef; in pca963x_register_leds() local315 &chipdef->scaling)) in pca963x_register_leds()[all …]
120 struct pca955x_chipdef *chipdef; member165 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()