Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/platform/geode/
Dgeode-common.c97 unsigned int n_leds) in geode_create_leds() argument
111 if (n_leds > MAX_LEDS) { in geode_create_leds()
116 swnodes = kcalloc(n_leds, sizeof(*swnodes), GFP_KERNEL); in geode_create_leds()
124 props = kcalloc(n_leds * 3, sizeof(*props), GFP_KERNEL); in geode_create_leds()
131 for (i = 0; i < n_leds; i++) { in geode_create_leds()
Dgeode-common.h19 unsigned int n_leds);
/linux-6.12.1/drivers/leds/
Dleds-pca963x.c61 int n_leds; member
70 .n_leds = 4,
76 .n_leds = 8,
82 .n_leds = 16,
346 if (ret || reg >= chipdef->n_leds) { in pca963x_register_leds()
430 if (!count || count > chipdef->n_leds) { in pca963x_probe()
432 dev_fwnode(dev), chipdef->n_leds); in pca963x_probe()
447 for (i = 0; i < chipdef->n_leds / 4; i++) in pca963x_probe()