Home
last modified time | relevance | path

Searched refs:pca963x (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/leds/
Dleds-pca963x.c111 struct pca963x { struct
120 struct pca963x *chip; argument
128 static int pca963x_brightness(struct pca963x_led *pca963x, in pca963x_brightness() argument
131 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 …]
DMakefile49 obj-$(CONFIG_LEDS_PCA963X) += leds-pca963x.o
/Linux-v4.19/Documentation/devicetree/bindings/leds/
Dpca963x.txt15 Each led is represented as a sub-node of the nxp,pca963x device.