Lines Matching refs:chipdef
110 struct pca963x_chipdef *chipdef; member
121 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_brightness() local
126 ledout_addr = chipdef->ledout_base + (led->led_num / 4); in pca963x_brightness()
172 struct pca963x_chipdef *chipdef = led->chip->chipdef; in pca963x_blink() local
176 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() local
315 &chipdef->scaling)) in pca963x_register_leds()
316 chipdef->scaling = 1000; in pca963x_register_leds()
345 if (ret || reg >= chipdef->n_leds) { in pca963x_register_leds()
396 struct pca963x_chipdef *chipdef; in pca963x_probe() local
400 chipdef = &pca963x_chipdefs[id->driver_data]; in pca963x_probe()
403 if (!count || count > chipdef->n_leds) { in pca963x_probe()
405 dev_fwnode(dev), chipdef->n_leds); in pca963x_probe()
416 chip->chipdef = chipdef; in pca963x_probe()
420 for (i = 0; i < chipdef->n_leds / 4; i++) in pca963x_probe()
421 i2c_smbus_write_byte_data(client, chipdef->ledout_base + i, 0x00); in pca963x_probe()