Home
last modified time | relevance | path

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

/linux/drivers/leds/
H A Dleds-pca963x.c111 struct pca963x_chipdef *chipdef; member
122 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() local
127 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_brightness()
173 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_blink() local
177 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() local
315 &chipdef->scaling)) in pca963x_register_leds()
[all …]
H A Dleds-pca995x.c74 const struct pca995x_chipdef *chipdef; member
82 const struct pca995x_chipdef *chipdef = chip->chipdef; in pca995x_brightness_set() local
86 pwmout_addr = chipdef->pwm_base + led->led_no; in pca995x_brightness_set()
124 const struct pca995x_chipdef *chipdef; in pca995x_probe() local
129 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()
H A Dleds-pca955x.c110 const struct pca955x_chipdef *chipdef; member
155 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()