Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/leds/
Dleds-pca963x.c99 struct pca963x { struct
108 struct pca963x *chip; argument
116 static int pca963x_brightness(struct pca963x_led *pca963x, in pca963x_brightness() argument
119 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 …]
DMakefile51 obj-$(CONFIG_LEDS_PCA963X) += leds-pca963x.o
/Linux-v5.4/Documentation/devicetree/bindings/leds/
Dpca963x.txt15 Each led is represented as a sub-node of the nxp,pca963x device.