Lines Matching refs:chipdef
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->scaling; in pca963x_period_scale()
288 struct pca963x_chipdef *chipdef = chip->chipdef; in pca963x_register_leds() local
298 &chipdef->scaling)) in pca963x_register_leds()
299 chipdef->scaling = 1000; in pca963x_register_leds()
328 if (ret || reg >= chipdef->n_leds) { in pca963x_register_leds()
378 struct pca963x_chipdef *chipdef; in pca963x_probe() local
382 chipdef = &pca963x_chipdefs[id->driver_data]; in pca963x_probe()
385 if (!count || count > chipdef->n_leds) { in pca963x_probe()
387 dev_fwnode(dev), chipdef->n_leds); in pca963x_probe()
398 chip->chipdef = chipdef; in pca963x_probe()
402 for (i = 0; i < chipdef->n_leds / 4; i++) in pca963x_probe()
403 i2c_smbus_write_byte_data(client, chipdef->ledout_base + i, 0x00); in pca963x_probe()