Home
last modified time | relevance | path

Searched refs:mode_str (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/um/drivers/
Dvde_kern.c73 char *remain, *port_str = NULL, *mode_str = NULL, *last; in vde_setup() local
83 &init->group, &mode_str, &init->descr, NULL); in vde_setup()
98 if (mode_str != NULL) { in vde_setup()
99 init->mode = simple_strtoul(mode_str, &last, 8); in vde_setup()
100 if ((*last != '\0') || (last == mode_str)) { in vde_setup()
102 mode_str); in vde_setup()
/kernel/linux/linux-5.10/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c310 const char *mode_str; in launch_watchpoints() local
314 mode_str = "write"; in launch_watchpoints()
316 mode_str = "read"; in launch_watchpoints()
324 mode_str, i, len, local, global); in launch_watchpoints()
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-sony-acx565akm.c184 const char *mode_str; in cabc_mode_show() local
192 mode_str = "unknown"; in cabc_mode_show()
194 mode_str = acx565akm_cabc_modes[mode]; in cabc_mode_show()
196 return sprintf(buf, "%s\n", mode_str); in cabc_mode_show()
207 const char *mode_str = acx565akm_cabc_modes[i]; in cabc_mode_store() local
208 int cmp_len = strlen(mode_str); in cabc_mode_store()
215 if (strncmp(buf, mode_str, cmp_len) == 0) in cabc_mode_store()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-sony-acx565akm.c421 const char *mode_str; in show_cabc_mode() local
429 mode_str = "unknown"; in show_cabc_mode()
431 mode_str = cabc_modes[mode]; in show_cabc_mode()
432 len = snprintf(buf, PAGE_SIZE, "%s\n", mode_str); in show_cabc_mode()
445 const char *mode_str = cabc_modes[i]; in store_cabc_mode() local
446 int cmp_len = strlen(mode_str); in store_cabc_mode()
453 if (strncmp(buf, mode_str, cmp_len) == 0) in store_cabc_mode()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-designware-master.c38 const char *mode_str, *fp_str = ""; in i2c_dw_set_timings_master() local
161 mode_str = "Standard Mode"; in i2c_dw_set_timings_master()
164 mode_str = "High Speed Mode"; in i2c_dw_set_timings_master()
167 mode_str = "Fast Mode"; in i2c_dw_set_timings_master()
169 dev_dbg(dev->dev, "Bus speed: %s%s\n", mode_str, fp_str); in i2c_dw_set_timings_master()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c1998 static int omapfb_mode_to_timings(const char *mode_str, in omapfb_mode_to_timings() argument
2008 if (strcmp(mode_str, "pal") == 0) { in omapfb_mode_to_timings()
2012 } else if (strcmp(mode_str, "ntsc") == 0) { in omapfb_mode_to_timings()
2047 r = fb_find_mode(var, fbi, mode_str, NULL, 0, NULL, 24); in omapfb_mode_to_timings()
2100 struct omap_dss_device *display, char *mode_str) in omapfb_set_def_mode() argument
2107 r = omapfb_mode_to_timings(mode_str, display, &timings, &bpp); in omapfb_set_def_mode()
2161 char *p, *display_str, *mode_str; in omapfb_parse_def_modes() local
2173 mode_str = p + 1; in omapfb_parse_def_modes()
2189 r = omapfb_set_def_mode(fbdev, display, mode_str); in omapfb_parse_def_modes()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c48 const char *mode_str; in hns_dsaf_get_cfg() local
71 ret = device_property_read_string(dsaf_dev->dev, "mode", &mode_str); in hns_dsaf_get_cfg()
78 !strcmp(mode_str, g_dsaf_mode_match[i])) in hns_dsaf_get_cfg()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch10113 + char *mode_str;