Home
last modified time | relevance | path

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

123

/linux-6.14.4/drivers/mtd/nand/raw/
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()
/linux-6.14.4/drivers/crypto/intel/qat/qat_common/
Dadf_cfg_services.c38 ret = match_string(adf_cfg_services, ARRAY_SIZE(adf_cfg_services), in adf_get_service_enabled()
/linux-6.14.4/drivers/usb/common/
Dcommon.c149 ret = match_string(ssp_rate, ARRAY_SIZE(ssp_rate), maximum_speed); in usb_get_maximum_ssp_rate()
200 ret = match_string(usb_dr_modes, ARRAY_SIZE(usb_dr_modes), str); in usb_get_dr_mode_from_string()
/linux-6.14.4/mm/
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()
/linux-6.14.4/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_wt_req.c53 ret = match_string(workload_types, -1, str_preference); in workload_type_store()
Dprocessor_thermal_rfim.c196 ret = match_string(match_strs, -1, attr->attr.name);\
235 ret = match_string(match_strs, -1, attr->attr.name);\
/linux-6.14.4/drivers/platform/x86/hp/
Dhp-wmi.c537 tablet_found = match_string(tablet_chassis_types, in hp_wmi_get_tablet_mode()
577 return match_string(omen_thermal_profile_boards, in is_omen_thermal_profile()
590 int matches = match_string(omen_thermal_profile_force_v0_boards, in omen_get_thermal_policy_version()
1347 return match_string(omen_timed_thermal_profile_boards, in has_omen_thermal_profile_ec_timer()
1508 return match_string(victus_thermal_profile_boards, in is_victus_thermal_profile()
1578 return match_string(victus_s_thermal_profile_boards, in is_victus_s_thermal_profile()
/linux-6.14.4/drivers/platform/x86/amd/
Dx3d_vcache.c157 ret = match_string(amd_x3d_mode_strings, ARRAY_SIZE(amd_x3d_mode_strings), x3d_mode); in amd_x3d_probe()
/linux-6.14.4/drivers/char/ipmi/
Dipmi_si_hardcode.c73 t = match_string(si_to_str, -1, si_type_str); in ipmi_hardcode_init_one()
/linux-6.14.4/lib/
Dstring_helpers.c920 int match_string(const char * const *array, size_t n, const char *string) in match_string() function
935 EXPORT_SYMBOL(match_string);
/linux-6.14.4/drivers/ata/
Dpata_hpt366.c181 i = match_string(list, -1, model_num); in hpt_dma_broken()
/linux-6.14.4/fs/bcachefs/
Dopts.c128 int ret = match_string(bch2_fsck_fix_opts, -1, val); in bch2_opt_fix_errors_parse()
375 ret = match_string(opt->choices, -1, val); in bch2_opt_parse()
/linux-6.14.4/drivers/base/
Dproperty.c530 ret = match_string(values, nval, string); in fwnode_property_match_string()
567 ret = match_string(array, n, string); in fwnode_property_match_property_string()
/linux-6.14.4/drivers/hwmon/
Dltc4282.c1285 ret = match_string(ltc4282_gpio1_modes, in ltc4282_gpio_setup()
1301 ret = match_string(ltc4282_gpio2_modes, in ltc4282_gpio_setup()
1466 int div = match_string(ltc4282_dividers, in ltc4282_setup()
1481 int div = match_string(ltc4282_dividers, in ltc4282_setup()
/linux-6.14.4/drivers/pinctrl/
Dpinmux.c389 ret = match_string(groups, num_groups, group); in pinmux_map_to_setting()
749 ret = match_string(groups, num_groups, gname); in pinmux_select_write()
/linux-6.14.4/sound/firewire/oxfw/
Doxfw.c62 return match_string(models, ARRAY_SIZE(models), model) >= 0; in detect_loud_models()
/linux-6.14.4/crypto/asymmetric_keys/
Dpkcs7_verify.c144 i = match_string(hash_algo_name, HASH_ALGO__LAST, in pkcs7_get_digest()
/linux-6.14.4/drivers/usb/typec/
Dclass.c2194 return match_string(typec_pwr_opmodes, in typec_find_pwr_opmode()
2209 return match_string(typec_orientations, ARRAY_SIZE(typec_orientations), in typec_find_orientation()
2224 return match_string(typec_port_power_roles, in typec_find_port_power_role()
2239 return match_string(typec_roles, ARRAY_SIZE(typec_roles), name); in typec_find_power_role()
2253 return match_string(typec_port_data_roles, in typec_find_port_data_role()
/linux-6.14.4/arch/x86/kernel/cpu/mtrr/
Dif.c142 i = match_string(mtrr_strings, MTRR_NUM_TYPES, ptr); in mtrr_write()
/linux-6.14.4/fs/ubifs/
Dauth.c267 c->auth_hash_algo = match_string(hash_algo_name, HASH_ALGO__LAST, in ubifs_init_authentication()
/linux-6.14.4/drivers/gpu/drm/
Ddrm_panel_orientation_quirks.c574 i = match_string(data->bios_dates, -1, bios_date); in drm_get_panel_orientation_quirk()
/linux-6.14.4/kernel/cgroup/
Drdma.c369 i = match_string(rdmacg_resource_names, RDMACG_RESOURCE_MAX, name); in parse_resource()
/linux-6.14.4/drivers/usb/dwc3/
Ddwc3-rtk.c189 ret = match_string(speed_names, ARRAY_SIZE(speed_names), maximum_speed); in __get_dwc3_maximum_speed()
/linux-6.14.4/include/linux/
Dstring.h326 int match_string(const char * const *array, size_t n, const char *string);
/linux-6.14.4/drivers/gpu/drm/i915/display/
Dintel_pipe_crc.c435 i = match_string(pipe_crc_sources, ARRAY_SIZE(pipe_crc_sources), buf); in display_crc_ctl_parse_source()

123