Home
last modified time | relevance | path

Searched refs:match_string (Results 1 – 25 of 72) sorted by relevance

123

/openbmc/qemu/tests/tcg/plugins/
H A Dinsn.c33 char *match_string; member
180 if (g_str_has_prefix(insn_disas, m->match_string)) { in vcpu_tb_trans()
228 g_string_printf(out, "Match: %s, hits %"PRId64"\n", m->match_string, hits); in plugin_exit()
243 g_free(m->match_string); in plugin_exit()
258 .match_string = g_strdup(match), in parse_match()
/openbmc/linux/drivers/usb/common/
H A Dcommon.c117 ret = match_string(ssp_rate, ARRAY_SIZE(ssp_rate), maximum_speed); in usb_get_maximum_speed()
121 ret = match_string(speed_names, ARRAY_SIZE(speed_names), maximum_speed); in usb_get_maximum_speed()
144 ret = match_string(ssp_rate, ARRAY_SIZE(ssp_rate), maximum_speed); in usb_get_maximum_ssp_rate()
187 ret = match_string(usb_dr_modes, ARRAY_SIZE(usb_dr_modes), str); in usb_get_dr_mode_from_string()
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Dksample.py17 def cmd_and_check(self, cmd='', match_string=''): argument
19 if not match_string:
25 result = ("%s" % match_string) in output
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_macronix.c181 i = match_string(broken_get_timings, ARRAY_SIZE(broken_get_timings), in macronix_nand_fix_broken_get_timings()
320 i = match_string(deep_power_down_dev, ARRAY_SIZE(deep_power_down_dev), in macronix_nand_deep_power_down_support()
464 if (match_string(supported_otp_models, in macronix_nand_setup_otp()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_cfg_services.c38 ret = match_string(adf_cfg_services, ARRAY_SIZE(adf_cfg_services), in adf_get_service_enabled()
/openbmc/linux/mm/
H A Dvmpressure.c391 ret = match_string(vmpressure_str_levels, VMPRESSURE_NUM_LEVELS, token); in vmpressure_register_event()
399 ret = match_string(vmpressure_str_modes, VMPRESSURE_NUM_MODES, token); in vmpressure_register_event()
/openbmc/linux/drivers/thermal/intel/int340x_thermal/
H A Dprocessor_thermal_rfim.c114 ret = match_string(match_strs, -1, attr->attr.name);\
148 ret = match_string(match_strs, -1, attr->attr.name);\
H A Dprocessor_thermal_mbox.c158 ret = match_string(workload_types, -1, str_preference); in workload_type_store()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_edid_load.c170 builtin = match_string(generic_edid_name, GENERIC_EDIDS, name); in edid_load()
H A Ddrm_panel_orientation_quirks.c532 i = match_string(data->bios_dates, -1, bios_date); in drm_get_panel_orientation_quirk()
/openbmc/u-boot/lib/
H A Dhashtable.c537 static int match_string(int flag, const char *str, const char *pat, void *priv) in match_string() function
584 if (match_string(flag, ep->key, argv[arg], priv)) in match_entry()
588 if (match_string(flag, ep->data, argv[arg], priv)) in match_entry()
/openbmc/sdbusplus/test/message/
H A Dappend.cpp30 MATCHER_P(iovec_equal, match_string, "")
33 return std::string(start, arg->iov_len) == match_string;
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_si_hardcode.c73 t = match_string(si_to_str, -1, si_type_str); in ipmi_hardcode_init_one()
/openbmc/linux/drivers/platform/x86/hp/
H A Dhp-wmi.c435 tablet_found = match_string(tablet_chassis_types, in hp_wmi_get_tablet_mode()
471 return match_string(omen_thermal_profile_boards, in is_omen_thermal_profile()
484 int matches = match_string(omen_thermal_profile_force_v0_boards, in omen_get_thermal_policy_version()
1320 return match_string(victus_thermal_profile_boards, in is_victus_thermal_profile()
/openbmc/linux/lib/
H A Dstring_helpers.c944 int match_string(const char * const *array, size_t n, const char *string) in match_string() function
959 EXPORT_SYMBOL(match_string);
/openbmc/linux/drivers/ata/
H A Dpata_hpt366.c181 i = match_string(list, -1, model_num); in hpt_dma_blacklisted()
/openbmc/linux/drivers/phy/mediatek/
H A Dphy-mtk-tphy.c387 ret = match_string(u2_phy_files, ARRAY_SIZE(u2_phy_files), fname); in u2_phy_params_show()
462 ret = match_string(u2_phy_files, ARRAY_SIZE(u2_phy_files), fname); in u2_phy_params_write()
528 ret = match_string(u3_phy_files, ARRAY_SIZE(u3_phy_files), fname); in u3_phy_params_show()
588 ret = match_string(u3_phy_files, ARRAY_SIZE(u3_phy_files), fname); in u3_phy_params_write()
/openbmc/linux/drivers/iio/frequency/
H A Dadmv1014.c726 ret = match_string(input_mode_names, ARRAY_SIZE(input_mode_names), str); in admv1014_properties_parse()
737 ret = match_string(quad_se_mode_names, ARRAY_SIZE(quad_se_mode_names), str); in admv1014_properties_parse()
/openbmc/linux/include/linux/
H A Dstring.h227 int match_string(const char * const *array, size_t n, const char *string);
/openbmc/linux/drivers/staging/gdm724x/
H A Dgdm_tty.c56 ret = match_string(DRIVER_STRING, TTY_MAX_COUNT, in gdm_tty_install()
/openbmc/linux/drivers/usb/typec/
H A Dclass.c1902 return match_string(typec_pwr_opmodes, in typec_find_pwr_opmode()
1917 return match_string(typec_orientations, ARRAY_SIZE(typec_orientations), in typec_find_orientation()
1932 return match_string(typec_port_power_roles, in typec_find_port_power_role()
1947 return match_string(typec_roles, ARRAY_SIZE(typec_roles), name); in typec_find_power_role()
1961 return match_string(typec_port_data_roles, in typec_find_port_data_role()
/openbmc/linux/sound/firewire/oxfw/
H A Doxfw.c61 return match_string(models, ARRAY_SIZE(models), model) >= 0; in detect_loud_models()
/openbmc/linux/drivers/pinctrl/
H A Dpinmux.c391 ret = match_string(groups, num_groups, group); in pinmux_map_to_setting()
750 ret = match_string(groups, num_groups, gname); in pinmux_select()
/openbmc/linux/crypto/asymmetric_keys/
H A Dpkcs7_verify.c144 i = match_string(hash_algo_name, HASH_ALGO__LAST, in pkcs7_get_digest()
/openbmc/linux/drivers/iio/proximity/
H A Dsx9324.c921 ret = match_string(sx9324_csidle, ARRAY_SIZE(sx9324_csidle), res); in sx9324_get_default_reg()
931 ret = match_string(sx9324_rints, ARRAY_SIZE(sx9324_rints), res); in sx9324_get_default_reg()

123