Searched refs:pca963x (Results 1 – 3 of 3) sorted by relevance
106 struct pca963x { struct114 struct pca963x *chip; argument125 static void pca963x_brightness_work(struct pca963x_led *pca963x) in pca963x_brightness_work() argument127 u8 ledout_addr = pca963x->chip->chipdef->ledout_base in pca963x_brightness_work()128 + (pca963x->led_num / 4); in pca963x_brightness_work()130 int shift = 2 * (pca963x->led_num % 4); in pca963x_brightness_work()133 mutex_lock(&pca963x->chip->mutex); in pca963x_brightness_work()134 ledout = i2c_smbus_read_byte_data(pca963x->chip->client, ledout_addr); in pca963x_brightness_work()135 switch (pca963x->brightness) { in pca963x_brightness_work()137 i2c_smbus_write_byte_data(pca963x->chip->client, ledout_addr, in pca963x_brightness_work()[all …]
40 obj-$(CONFIG_LEDS_PCA963X) += leds-pca963x.o
11 Each led is represented as a sub-node of the nxp,pca963x device.