Searched refs:chipdef (Results 1 – 2 of 2) sorted by relevance
109 struct pca963x_chipdef *chipdef; member120 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() local125 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_brightness()158 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_blink() local162 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() local298 &chipdef->scaling)) in pca963x_register_leds()[all …]
120 struct pca955x_chipdef *chipdef; member171 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + (2 * n); in pca955x_write_psc()191 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + 1 + (2 * n); in pca955x_write_pwm()208 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + 4 + n; in pca955x_write_ls()225 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + 4 + n; in pca955x_read_ls()241 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + 1 + (2 * n); in pca955x_read_pwm()561 pca955x->chipdef = chip; in pca955x_probe()