Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/usb/common/
Dcommon.c116 ret = match_string(ssp_rate, ARRAY_SIZE(ssp_rate), maximum_speed); in usb_get_maximum_speed()
120 ret = match_string(speed_names, ARRAY_SIZE(speed_names), maximum_speed); in usb_get_maximum_speed()
143 ret = match_string(ssp_rate, ARRAY_SIZE(ssp_rate), maximum_speed); in usb_get_maximum_ssp_rate()
186 ret = match_string(usb_dr_modes, ARRAY_SIZE(usb_dr_modes), str); in usb_get_dr_mode_from_string()
/linux-6.1.9/drivers/mtd/nand/raw/
Dnand_macronix.c171 i = match_string(broken_get_timings, ARRAY_SIZE(broken_get_timings), in macronix_nand_fix_broken_get_timings()
310 i = match_string(deep_power_down_dev, ARRAY_SIZE(deep_power_down_dev), in macronix_nand_deep_power_down_support()
/linux-6.1.9/mm/
Dvmpressure.c383 ret = match_string(vmpressure_str_levels, VMPRESSURE_NUM_LEVELS, token); in vmpressure_register_event()
391 ret = match_string(vmpressure_str_modes, VMPRESSURE_NUM_MODES, token); in vmpressure_register_event()
/linux-6.1.9/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_rfim.c89 ret = match_string(match_strs, -1, attr->attr.name);\
120 ret = match_string(match_strs, -1, attr->attr.name);\
Dprocessor_thermal_mbox.c158 ret = match_string(workload_types, -1, str_preference); in workload_type_store()
/linux-6.1.9/fs/verity/
Dmeasure.c89 i = match_string(hash_algo_name, HASH_ALGO__LAST, hash_alg->name); in fsverity_get_digest()
/linux-6.1.9/drivers/char/ipmi/
Dipmi_si_hardcode.c73 t = match_string(si_to_str, -1, si_type_str); in ipmi_hardcode_init_one()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_edid_load.c180 builtin = match_string(generic_edid_name, GENERIC_EDIDS, name); in edid_load()
Ddrm_panel_orientation_quirks.c418 i = match_string(data->bios_dates, -1, bios_date); in drm_get_panel_orientation_quirk()
/linux-6.1.9/lib/
Dstring_helpers.c929 int match_string(const char * const *array, size_t n, const char *string) in match_string() function
944 EXPORT_SYMBOL(match_string);
/linux-6.1.9/drivers/ata/
Dpata_hpt366.c181 i = match_string(list, -1, model_num); in hpt_dma_blacklisted()
/linux-6.1.9/drivers/platform/x86/
Dhp-wmi.c415 tablet_found = match_string(tablet_chassis_types, in hp_wmi_get_tablet_mode()
451 return match_string(omen_thermal_profile_boards, in is_omen_thermal_profile()
464 int matches = match_string(omen_thermal_profile_force_v0_boards, in omen_get_thermal_policy_version()
/linux-6.1.9/include/linux/
Dstring.h186 int match_string(const char * const *array, size_t n, const char *string);
/linux-6.1.9/drivers/usb/typec/
Dclass.c1873 return match_string(typec_pwr_opmodes, in typec_find_pwr_opmode()
1888 return match_string(typec_orientations, ARRAY_SIZE(typec_orientations), in typec_find_orientation()
1903 return match_string(typec_port_power_roles, in typec_find_port_power_role()
1918 return match_string(typec_roles, ARRAY_SIZE(typec_roles), name); in typec_find_power_role()
1932 return match_string(typec_port_data_roles, in typec_find_port_data_role()
/linux-6.1.9/drivers/staging/gdm724x/
Dgdm_tty.c53 ret = match_string(DRIVER_STRING, TTY_MAX_COUNT, in gdm_tty_install()
/linux-6.1.9/drivers/iio/frequency/
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()
/linux-6.1.9/sound/firewire/oxfw/
Doxfw.c61 return match_string(models, ARRAY_SIZE(models), model) >= 0; in detect_loud_models()
/linux-6.1.9/drivers/crypto/qat/qat_4xxx/
Dadf_4xxx_hw_data.c66 ret = match_string(dev_cfg_services, ARRAY_SIZE(dev_cfg_services), in get_service_enabled()
/linux-6.1.9/crypto/asymmetric_keys/
Dpkcs7_verify.c144 i = match_string(hash_algo_name, HASH_ALGO__LAST, in pkcs7_get_digest()
/linux-6.1.9/drivers/pinctrl/
Dpinmux.c378 ret = match_string(groups, num_groups, group); in pinmux_map_to_setting()
737 ret = match_string(groups, num_groups, gname); in pinmux_select()
/linux-6.1.9/arch/x86/kernel/cpu/mtrr/
Dif.c142 i = match_string(mtrr_strings, MTRR_NUM_TYPES, ptr); in mtrr_write()
/linux-6.1.9/fs/ubifs/
Dauth.c268 c->auth_hash_algo = match_string(hash_algo_name, HASH_ALGO__LAST, in ubifs_init_authentication()
/linux-6.1.9/drivers/iio/proximity/
Dsx9324.c917 ret = match_string(sx9324_csidle, ARRAY_SIZE(sx9324_csidle), res); in sx9324_get_default_reg()
927 ret = match_string(sx9324_rints, ARRAY_SIZE(sx9324_rints), res); in sx9324_get_default_reg()
/linux-6.1.9/kernel/cgroup/
Drdma.c367 i = match_string(rdmacg_resource_names, RDMACG_RESOURCE_MAX, name); in parse_resource()
/linux-6.1.9/drivers/soc/aspeed/
Daspeed-uart-routing.c527 val = match_string(sel->options, -1, buf); in aspeed_uart_routing_store()

123