Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/leds/
A Dleds-lm3530.c89 static struct lm3530_mode_map mode_map[] = { variable
148 for (i = 0; i < ARRAY_SIZE(mode_map); i++) in lm3530_get_mode_from_str()
149 if (sysfs_streq(str, mode_map[i].mode)) in lm3530_get_mode_from_str()
150 return mode_map[i].mode_val; in lm3530_get_mode_from_str()
357 for (i = 0; i < ARRAY_SIZE(mode_map); i++) in mode_show()
358 if (drvdata->mode == mode_map[i].mode_val) in mode_show()
359 len += sprintf(buf + len, "[%s] ", mode_map[i].mode); in mode_show()
361 len += sprintf(buf + len, "%s ", mode_map[i].mode); in mode_show()
/linux-6.3-rc2/drivers/video/fbdev/
A Dmacmodes.c140 static const struct mode_map { struct
224 const struct mode_map *map; in mac_vmode_to_var()
306 const struct mode_map *map; in mac_var_to_vmode()
/linux-6.3-rc2/drivers/staging/pi433/
A Drf69.c74 static const u8 mode_map[] = { in rf69_set_mode() local
82 if (unlikely(mode >= ARRAY_SIZE(mode_map))) { in rf69_set_mode()
88 mode_map[mode]); in rf69_set_mode()

Completed in 8 milliseconds