/linux/drivers/mtd/nand/raw/ |
H 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/usb/common/ |
H A D | common.c | 149 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/mm/ |
H 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/ |
H A D | platform_temperature_control.c | 102 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 D | processor_thermal_rfim.c | 196 ret = match_string(match_strs, -1, attr->attr.name);\ 235 ret = match_string(match_strs, -1, attr->attr.name);\
|
/linux/drivers/platform/x86/hp/ |
H A D | hp-wmi.c | 537 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/drivers/platform/x86/amd/ |
H A D | x3d_vcache.c | 157 ret = match_string(amd_x3d_mode_strings, ARRAY_SIZE(amd_x3d_mode_strings), x3d_mode); in amd_x3d_probe()
|
/linux/lib/ |
H A D | string_helpers.c | 923 int match_string(const char * const *array, size_t n, const char *string) in match_string() function 938 EXPORT_SYMBOL(match_string);
|
H A D | dynamic_debug.c | 157 idx = match_string(map->class_names, map->length, class_string); in ddebug_find_valid_class() 668 cls_id = match_string(map->class_names, map->length, cl_str); in param_set_dyndbg_classnames()
|
/linux/drivers/base/ |
H A D | property.c | 530 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/drivers/hwmon/ |
H A D | ltc4282.c | 1287 ret = match_string(ltc4282_gpio1_modes, in ltc4282_gpio_setup() 1303 ret = match_string(ltc4282_gpio2_modes, in ltc4282_gpio_setup() 1468 int div = match_string(ltc4282_dividers, in ltc4282_setup() 1483 int div = match_string(ltc4282_dividers, in ltc4282_setup()
|
H A D | nct6775-platform.c | 1520 err = match_string(asus_wmi_boards, ARRAY_SIZE(asus_wmi_boards), in sensors_nct6775_platform_init() 1525 err = match_string(asus_msi_boards, ARRAY_SIZE(asus_msi_boards), in sensors_nct6775_platform_init()
|
/linux/crypto/asymmetric_keys/ |
H A D | pkcs7_verify.c | 144 i = match_string(hash_algo_name, HASH_ALGO__LAST, in pkcs7_get_digest()
|
/linux/sound/firewire/oxfw/ |
H A D | oxfw.c | 62 return match_string(models, ARRAY_SIZE(models), model) >= 0; in detect_loud_models()
|
/linux/drivers/pinctrl/ |
H A D | pinmux.c | 387 ret = match_string(groups, num_groups, group); in pinmux_map_to_setting() 747 ret = match_string(groups, num_groups, gname); in pinmux_select_write()
|
/linux/drivers/usb/typec/ |
H A D | class.c | 2209 return match_string(typec_pwr_opmodes, in typec_find_pwr_opmode() 2224 return match_string(typec_orientations, ARRAY_SIZE(typec_orientations), in typec_find_orientation() 2239 return match_string(typec_port_power_roles, in typec_find_port_power_role() 2254 return match_string(typec_roles, ARRAY_SIZE(typec_roles), name); in typec_find_power_role() 2268 return match_string(typec_port_data_roles, in typec_find_port_data_role()
|
/linux/fs/ubifs/ |
H 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/ |
H A D | if.c | 140 i = match_string(mtrr_strings, MTRR_NUM_TYPES, ptr); in mtrr_write()
|
/linux/kernel/cgroup/ |
H A D | rdma.c | 369 i = match_string(rdmacg_resource_names, RDMACG_RESOURCE_MAX, name); in parse_resource()
|
/linux/drivers/clk/tegra/ |
H A D | clk-tegra124-emc.c | 416 i = match_string(emc_parent_clk_names, ARRAY_SIZE(emc_parent_clk_names), in load_one_timing_from_dt()
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_pipe_crc.c | 435 i = match_string(pipe_crc_sources, ARRAY_SIZE(pipe_crc_sources), buf); in display_crc_ctl_parse_source()
|
/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-armada-37xx.c | 355 func = match_string(grp->funcs, NB_FUNCS, name); in armada_37xx_pmx_set_by_name() 945 f = match_string(gp->funcs, NB_FUNCS, name); in armada_37xx_fill_func()
|
/linux/drivers/ata/ |
H A D | pata_hpt37x.c | 229 i = match_string(list, -1, model_num); in hpt_dma_broken()
|
/linux/drivers/phy/tegra/ |
H A D | xusb.c | 126 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/iio/dac/ |
H A D | ad3552r-hs.c | 559 ret = match_string(dbgfs_attr_source, ARRAY_SIZE(dbgfs_attr_source), in ad3552r_hs_write_data_source()
|