Home
last modified time | relevance | path

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

12

/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()
/linux/drivers/thermal/intel/int340x_thermal/
H A Dplatform_temperature_control.c102 ret = match_string(ptc_strings, -1, attr->attr.name); in ptc_mmio_show()
156 ret = match_string(ptc_strings, -1, attr->attr.name); in ptc_store()
H A Dprocessor_thermal_wt_req.c53 ret = match_string(workload_types, -1, str_preference); in workload_type_store()
/linux/drivers/platform/x86/hp/
H A Dhp-wmi.c546 tablet_found = match_string(tablet_chassis_types, in hp_wmi_get_tablet_mode()
586 return match_string(omen_thermal_profile_boards, in is_omen_thermal_profile()
599 int matches = match_string(omen_thermal_profile_force_v0_boards, in omen_get_thermal_policy_version()
1359 return match_string(omen_timed_thermal_profile_boards, in has_omen_thermal_profile_ec_timer()
1520 return match_string(victus_thermal_profile_boards, in is_victus_thermal_profile()
1590 return match_string(victus_s_thermal_profile_boards, in is_victus_s_thermal_profile()
/linux/lib/
H A Dsys_info.c43 i = match_string(si_names, ARRAY_SIZE(si_names), name); in sys_info_parse_param()
H A Dstring_helpers.c923 int match_string(const char * const *array, size_t n, const char *string) in match_string() function
938 EXPORT_SYMBOL(match_string);
H A Ddynamic_debug.c158 idx = match_string(map->class_names, map->length, class_string); in ddebug_find_valid_class()
669 cls_id = match_string(map->class_names, map->length, cl_str); in param_set_dyndbg_classnames()
/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()
/linux/drivers/ata/
H A Dpata_hpt366.c181 i = match_string(list, -1, model_num); in hpt_dma_broken()
H A Dpata_hpt37x.c229 i = match_string(list, -1, model_num); in hpt_dma_broken()
/linux/drivers/usb/typec/
H A Dclass.c2222 return match_string(typec_pwr_opmodes, in typec_find_pwr_opmode()
2237 return match_string(typec_orientations, ARRAY_SIZE(typec_orientations), in typec_find_orientation()
2252 return match_string(typec_port_power_roles, in typec_find_port_power_role()
2267 return match_string(typec_roles, ARRAY_SIZE(typec_roles), name); in typec_find_power_role()
2281 return match_string(typec_port_data_roles, in typec_find_port_data_role()
/linux/fs/ubifs/
H A Dauth.c267 c->auth_hash_algo = match_string(hash_algo_name, HASH_ALGO__LAST, in ubifs_init_authentication()
/linux/kernel/cgroup/
H A Drdma.c369 i = match_string(rdmacg_resource_names, RDMACG_RESOURCE_MAX, name); in parse_resource()
/linux/include/linux/
H A Dstring.h326 int match_string(const char * const *array, size_t n, const char *string);
/linux/drivers/clk/tegra/
H A Dclk-tegra124-emc.c416 i = match_string(emc_parent_clk_names, ARRAY_SIZE(emc_parent_clk_names), in load_one_timing_from_dt()
/linux/drivers/leds/
H A Dleds-sun50i-a100.c259 i = match_string(sun50i_a100_ledc_formats, ARRAY_SIZE(sun50i_a100_ledc_formats), format); in sun50i_a100_ledc_parse_format()
/linux/drivers/phy/tegra/
H A Dxusb.c126 err = match_string(lane->soc->funcs, lane->soc->num_funcs, function); in tegra_xusb_lane_parse_dt()
753 int err = match_string(modes, ARRAY_SIZE(modes), mode); in tegra_xusb_usb2_port_parse_dt()
/linux/drivers/mmc/host/
H A Dsdhci-xenon-phy.c855 priv->phy_type = match_string(phy_types, NR_PHY_TYPES, phy_name); in xenon_add_phy()
/linux/drivers/platform/x86/
H A Dmsi-ec.c1319 if (match_string(CONFIGS[i]->allowed_fw, -1, fw_version) != -EINVAL) { in load_configuration()
/linux/drivers/mfd/
H A Domap-usb-host.c500 ret = match_string(port_modes, ARRAY_SIZE(port_modes), mode); in usbhs_omap_get_dt_pdata()
/linux/drivers/iio/dac/
H A Dad3552r-hs.c559 ret = match_string(dbgfs_attr_source, ARRAY_SIZE(dbgfs_attr_source), in ad3552r_hs_write_data_source()
/linux/security/integrity/ima/
H A Dima_main.c87 i = match_string(hash_algo_name, HASH_ALGO__LAST, str); in hash_setup()
/linux/drivers/clk/rockchip/
H A Dclk.c264 frac->mux_frac_idx = match_string(child->parent_names, in rockchip_clk_register_frac_branch()
/linux/security/apparmor/
H A Dlsm.c2098 i = match_string(audit_mode_names, AUDIT_MAX_INDEX, val); in param_set_audit()
2127 i = match_string(aa_profile_mode_names, APPARMOR_MODE_NAMES_MAX_INDEX, in param_set_mode()
/linux/drivers/pci/pcie/
H A Daer.c234 i = match_string(ecrc_policy_str, ARRAY_SIZE(ecrc_policy_str), str); in pcie_ecrc_get_policy()

12