| /linux/drivers/mtd/nand/raw/ |
| A D | nand_macronix.c | 181 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/drivers/crypto/intel/qat/qat_common/ |
| A D | adf_cfg_services.c | 38 ret = match_string(adf_cfg_services, ARRAY_SIZE(adf_cfg_services), in adf_get_service_enabled()
|
| /linux/drivers/usb/common/ |
| A D | common.c | 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/mm/ |
| A D | vmpressure.c | 391 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/drivers/thermal/intel/int340x_thermal/ |
| A D | processor_thermal_wt_req.c | 53 ret = match_string(workload_types, -1, str_preference); in workload_type_store()
|
| A D | processor_thermal_rfim.c | 199 ret = match_string(match_strs, -1, attr->attr.name);\ 244 ret = match_string(match_strs, -1, attr->attr.name);\
|
| /linux/drivers/char/ipmi/ |
| A D | ipmi_si_hardcode.c | 73 t = match_string(si_to_str, -1, si_type_str); in ipmi_hardcode_init_one()
|
| /linux/drivers/platform/x86/hp/ |
| A D | hp-wmi.c | 466 tablet_found = match_string(tablet_chassis_types, in hp_wmi_get_tablet_mode() 506 return match_string(omen_thermal_profile_boards, in is_omen_thermal_profile() 519 int matches = match_string(omen_thermal_profile_force_v0_boards, in omen_get_thermal_policy_version() 1252 return match_string(omen_timed_thermal_profile_boards, in has_omen_thermal_profile_ec_timer() 1413 return match_string(victus_thermal_profile_boards, in is_victus_thermal_profile()
|
| /linux/lib/ |
| A D | string_helpers.c | 920 int match_string(const char * const *array, size_t n, const char *string) in match_string() function 935 EXPORT_SYMBOL(match_string);
|
| /linux/drivers/ata/ |
| A D | pata_hpt366.c | 181 i = match_string(list, -1, model_num); in hpt_dma_broken()
|
| /linux/drivers/base/ |
| A D | property.c | 492 ret = match_string(values, nval, string); in fwnode_property_match_string() 529 ret = match_string(array, n, string); in fwnode_property_match_property_string()
|
| /linux/fs/bcachefs/ |
| A D | opts.c | 126 int ret = match_string(bch2_fsck_fix_opts, -1, val); in bch2_opt_fix_errors_parse() 372 ret = match_string(opt->choices, -1, val); in bch2_opt_parse()
|
| /linux/drivers/staging/gdm724x/ |
| A D | gdm_tty.c | 56 ret = match_string(DRIVER_STRING, TTY_MAX_COUNT, in gdm_tty_install()
|
| /linux/drivers/pinctrl/ |
| A D | pinmux.c | 379 ret = match_string(groups, num_groups, group); in pinmux_map_to_setting() 730 ret = match_string(groups, num_groups, gname); in pinmux_select_write()
|
| /linux/drivers/phy/mediatek/ |
| A D | phy-mtk-tphy.c | 392 ret = match_string(u2_phy_files, ARRAY_SIZE(u2_phy_files), fname); in u2_phy_params_show() 467 ret = match_string(u2_phy_files, ARRAY_SIZE(u2_phy_files), fname); in u2_phy_params_write() 533 ret = match_string(u3_phy_files, ARRAY_SIZE(u3_phy_files), fname); in u3_phy_params_show() 593 ret = match_string(u3_phy_files, ARRAY_SIZE(u3_phy_files), fname); in u3_phy_params_write()
|
| /linux/drivers/hwmon/ |
| A D | ltc4282.c | 1285 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/drivers/gpu/drm/ |
| A D | drm_panel_orientation_quirks.c | 514 i = match_string(data->bios_dates, -1, bios_date); in drm_get_panel_orientation_quirk()
|
| /linux/sound/firewire/oxfw/ |
| A D | oxfw.c | 62 return match_string(models, ARRAY_SIZE(models), model) >= 0; in detect_loud_models()
|
| /linux/crypto/asymmetric_keys/ |
| A D | pkcs7_verify.c | 144 i = match_string(hash_algo_name, HASH_ALGO__LAST, in pkcs7_get_digest()
|
| /linux/drivers/usb/typec/ |
| A D | class.c | 2008 return match_string(typec_pwr_opmodes, in typec_find_pwr_opmode() 2023 return match_string(typec_orientations, ARRAY_SIZE(typec_orientations), in typec_find_orientation() 2038 return match_string(typec_port_power_roles, in typec_find_port_power_role() 2053 return match_string(typec_roles, ARRAY_SIZE(typec_roles), name); in typec_find_power_role() 2067 return match_string(typec_port_data_roles, in typec_find_port_data_role()
|
| /linux/fs/ubifs/ |
| A D | auth.c | 267 c->auth_hash_algo = match_string(hash_algo_name, HASH_ALGO__LAST, in ubifs_init_authentication()
|
| /linux/arch/x86/kernel/cpu/mtrr/ |
| A D | if.c | 142 i = match_string(mtrr_strings, MTRR_NUM_TYPES, ptr); in mtrr_write()
|
| /linux/include/linux/ |
| A D | string.h | 323 int match_string(const char * const *array, size_t n, const char *string);
|
| /linux/drivers/usb/dwc3/ |
| A D | dwc3-rtk.c | 189 ret = match_string(speed_names, ARRAY_SIZE(speed_names), maximum_speed); in __get_dwc3_maximum_speed()
|
| /linux/kernel/cgroup/ |
| A D | rdma.c | 369 i = match_string(rdmacg_resource_names, RDMACG_RESOURCE_MAX, name); in parse_resource()
|