Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/leds/
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.12.1/drivers/ata/pata_parport/
Dbpck6.c60 static int mode_map[] = { PPCMODE_UNI_FW, PPCMODE_BI_FW, PPCMODE_EPP_BYTE, variable
65 switch (mode_map[pi->mode]) { in bpck6_send_cmd()
85 switch (mode_map[pi->mode]) { in bpck6_rd_data_byte()
117 switch (mode_map[pi->mode]) { in bpck6_wr_data_byte()
171 switch (mode_map[pi->mode]) { in bpck6_write_block()
238 switch (mode_map[pi->mode]) { in bpck6_read_block()
307 i = mode_map[pi->mode] & 0x0C; in bpck6_open()
309 i = (mode_map[pi->mode] & 2) | 1; in bpck6_open()
356 if (mode_map[pi->mode] & 4) { in bpck6_deselect()
/linux-6.12.1/drivers/video/fbdev/
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()