Searched refs:chipdef (Results 1 – 3 of 3) sorted by relevance
111 struct pca963x_chipdef *chipdef; member122 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() local127 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_brightness()173 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_blink() local177 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_blink()182 i2c_smbus_write_byte_data(client, chipdef->grppwm, led->gdc); in pca963x_blink()184 i2c_smbus_write_byte_data(client, chipdef->grpfreq, led->gfrq); in pca963x_blink()243 unsigned int scaling = led->chip->chipdef->scaling; in pca963x_period_scale()306 struct pca963x_chipdef *chipdef = chip->chipdef; in pca963x_register_leds() local315 &chipdef->scaling)) in pca963x_register_leds()[all …]
74 const struct pca995x_chipdef *chipdef; member82 const struct pca995x_chipdef *chipdef = chip->chipdef; in pca995x_brightness_set() local86 pwmout_addr = chipdef->pwm_base + led->led_no; in pca995x_brightness_set()124 const struct pca995x_chipdef *chipdef; in pca995x_probe() local129 chipdef = device_get_match_data(&client->dev); in pca995x_probe()138 chip->chipdef = chipdef; in pca995x_probe()187 return regmap_write(chip->regmap, chipdef->irefall, PCA995X_IREFALL_HALF_CFG); in pca995x_probe()
110 const struct pca955x_chipdef *chipdef; member155 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + (2 * n); in pca955x_write_psc()175 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + 1 + (2 * n); in pca955x_write_pwm()192 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + 4 + n; in pca955x_write_ls()209 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + 4 + n; in pca955x_read_ls()225 u8 cmd = pca95xx_num_input_regs(pca955x->chipdef->bits) + 1 + (2 * n); in pca955x_read_pwm()511 pca955x->chipdef = chip; in pca955x_probe()