Searched refs:pca955x_led (Results 1 – 1 of 1) sorted by relevance
109 struct pca955x_led *leds;118 struct pca955x_led { struct128 struct pca955x_led *leds; argument240 struct pca955x_led *pca955x_led = container_of(led_cdev, in pca955x_led_get() local241 struct pca955x_led, in pca955x_led_get()243 struct pca955x *pca955x = pca955x_led->pca955x; in pca955x_led_get()247 ret = pca955x_read_ls(pca955x->client, pca955x_led->led_num / 4, &ls); in pca955x_led_get()251 ls = (ls >> ((pca955x_led->led_num % 4) << 1)) & 0x3; in pca955x_led_get()276 struct pca955x_led *pca955x_led; in pca955x_led_set() local283 pca955x_led = container_of(led_cdev, struct pca955x_led, led_cdev); in pca955x_led_set()[all …]