Home
last modified time | relevance | path

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

/linux/drivers/cpufreq/
H A Damd-pstate-ut.c237 const char *mode_str = amd_pstate_get_mode_string(mode); in amd_pstate_set_mode() local
239 pr_debug("->setting mode to %s\n", mode_str); in amd_pstate_set_mode()
241 return amd_pstate_update_status(mode_str, strlen(mode_str)); in amd_pstate_set_mode()
/linux/tools/testing/selftests/breakpoints/
H A 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()
/linux/drivers/video/fbdev/omap2/omapfb/displays/
H A Dpanel-sony-acx565akm.c415 const char *mode_str; in show_cabc_mode() local
423 mode_str = "unknown"; in show_cabc_mode()
425 mode_str = cabc_modes[mode]; in show_cabc_mode()
426 len = snprintf(buf, PAGE_SIZE, "%s\n", mode_str); in show_cabc_mode()
439 const char *mode_str = cabc_modes[i]; in store_cabc_mode() local
440 int cmp_len = strlen(mode_str); in store_cabc_mode()
447 if (strncmp(buf, mode_str, cmp_len) == 0) in store_cabc_mode()
/linux/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.c1513 static int ice_devlink_local_fwd_str_to_mode(const char *mode_str) in ice_devlink_local_fwd_str_to_mode() argument
1515 if (!strcmp(mode_str, DEVLINK_LOCAL_FWD_ENABLED_STR)) in ice_devlink_local_fwd_str_to_mode()
1517 else if (!strcmp(mode_str, DEVLINK_LOCAL_FWD_PRIORITIZED_STR)) in ice_devlink_local_fwd_str_to_mode()
1519 else if (!strcmp(mode_str, DEVLINK_LOCAL_FWD_DISABLED_STR)) in ice_devlink_local_fwd_str_to_mode()
1540 const char *mode_str; in ice_devlink_local_fwd_get() local
1543 mode_str = ice_devlink_local_fwd_mode_to_str(pi->local_fwd_mode); in ice_devlink_local_fwd_get()
1544 snprintf(ctx->val.vstr, sizeof(ctx->val.vstr), "%s", mode_str); in ice_devlink_local_fwd_get()
/linux/drivers/ata/pata_parport/
H A Dbpck.c474 char *mode_str[5] = { "4-bit", "8-bit", "EPP-8", "EPP-16", "EPP-32" }; in bpck_log_adapter() local
482 mode_str[pi->mode], pi->delay); in bpck_log_adapter()
/linux/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-main.c1997 static int omapfb_mode_to_timings(const char *mode_str, in omapfb_mode_to_timings() argument
2007 if (strcmp(mode_str, "pal") == 0) { in omapfb_mode_to_timings()
2011 } else if (strcmp(mode_str, "ntsc") == 0) { in omapfb_mode_to_timings()
2046 r = fb_find_mode(var, fbi, mode_str, NULL, 0, NULL, 24); in omapfb_mode_to_timings()
2099 struct omap_dss_device *display, char *mode_str) in omapfb_set_def_mode() argument
2106 r = omapfb_mode_to_timings(mode_str, display, &timings, &bpp); in omapfb_set_def_mode()
2160 char *p, *display_str, *mode_str; in omapfb_parse_def_modes() local
2172 mode_str = p + 1; in omapfb_parse_def_modes()
2188 r = omapfb_set_def_mode(fbdev, display, mode_str); in omapfb_parse_def_modes()
/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c5275 static const char * const mode_str[] = { in ath12k_wmi_hw_mode_to_str() local
5283 if (hw_mode >= ARRAY_SIZE(mode_str)) in ath12k_wmi_hw_mode_to_str()
5286 return mode_str[hw_mode]; in ath12k_wmi_hw_mode_to_str()