Searched refs:pca963x (Results 1 – 3 of 3) sorted by relevance
111 struct pca963x { struct120 struct pca963x *chip; argument128 static int pca963x_brightness(struct pca963x_led *pca963x, in pca963x_brightness() argument131 u8 ledout_addr = pca963x->chip->chipdef->ledout_base in pca963x_brightness()132 + (pca963x->led_num / 4); in pca963x_brightness()134 int shift = 2 * (pca963x->led_num % 4); in pca963x_brightness()138 ledout = i2c_smbus_read_byte_data(pca963x->chip->client, ledout_addr); in pca963x_brightness()141 ret = i2c_smbus_write_byte_data(pca963x->chip->client, in pca963x_brightness()146 ret = i2c_smbus_write_byte_data(pca963x->chip->client, in pca963x_brightness()150 ret = i2c_smbus_write_byte_data(pca963x->chip->client, in pca963x_brightness()[all …]
49 obj-$(CONFIG_LEDS_PCA963X) += leds-pca963x.o
15 Each led is represented as a sub-node of the nxp,pca963x device.