Searched refs:pca963x (Results 1 – 3 of 3) sorted by relevance
99 struct pca963x { struct108 struct pca963x *chip; argument116 static int pca963x_brightness(struct pca963x_led *pca963x, in pca963x_brightness() argument119 u8 ledout_addr = pca963x->chip->chipdef->ledout_base in pca963x_brightness()120 + (pca963x->led_num / 4); in pca963x_brightness()122 int shift = 2 * (pca963x->led_num % 4); in pca963x_brightness()126 ledout = i2c_smbus_read_byte_data(pca963x->chip->client, ledout_addr); in pca963x_brightness()129 ret = i2c_smbus_write_byte_data(pca963x->chip->client, in pca963x_brightness()134 ret = i2c_smbus_write_byte_data(pca963x->chip->client, in pca963x_brightness()138 ret = i2c_smbus_write_byte_data(pca963x->chip->client, in pca963x_brightness()[all …]
51 obj-$(CONFIG_LEDS_PCA963X) += leds-pca963x.o
15 Each led is represented as a sub-node of the nxp,pca963x device.