Searched refs:mode_str (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/testing/selftests/breakpoints/ |
| H A D | breakpoint_test.c | 310 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 D | panel-sony-acx565akm.c | 415 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 D | devlink.c | 1515 static int ice_devlink_local_fwd_str_to_mode(const char *mode_str) in ice_devlink_local_fwd_str_to_mode() argument 1517 if (!strcmp(mode_str, DEVLINK_LOCAL_FWD_ENABLED_STR)) in ice_devlink_local_fwd_str_to_mode() 1519 else if (!strcmp(mode_str, DEVLINK_LOCAL_FWD_PRIORITIZED_STR)) in ice_devlink_local_fwd_str_to_mode() 1521 else if (!strcmp(mode_str, DEVLINK_LOCAL_FWD_DISABLED_STR)) in ice_devlink_local_fwd_str_to_mode() 1542 const char *mode_str; in ice_devlink_local_fwd_get() local 1545 mode_str = ice_devlink_local_fwd_mode_to_str(pi->local_fwd_mode); in ice_devlink_local_fwd_get() 1546 snprintf(ctx->val.vstr, sizeof(ctx->val.vstr), "%s", mode_str); in ice_devlink_local_fwd_get()
|
| /linux/drivers/ata/pata_parport/ |
| H A D | bpck.c | 474 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/net/wireless/ath/ath12k/ |
| H A D | wmi.c | 5327 static const char * const mode_str[] = { in ath12k_wmi_hw_mode_to_str() local 5335 if (hw_mode >= ARRAY_SIZE(mode_str)) in ath12k_wmi_hw_mode_to_str() 5338 return mode_str[hw_mode]; in ath12k_wmi_hw_mode_to_str()
|