| /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/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 | 208 ret = match_string(match_strs, -1, attr->attr.name);\ 247 ret = match_string(match_strs, -1, attr->attr.name);\
|
| /linux/lib/ |
| H A D | sys_info.c | 43 i = match_string(si_names, ARRAY_SIZE(si_names), name); in sys_info_parse_param()
|
| H A D | string_helpers.c | 924 int match_string(const char * const *array, size_t n, const char *string) in match_string() function 939 EXPORT_SYMBOL(match_string);
|
| H A D | dynamic_debug.c | 158 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 D | ipmi_si_hardcode.c | 73 t = match_string(si_to_str, -1, si_type_str); in ipmi_hardcode_init_one()
|
| /linux/drivers/ata/ |
| H A D | pata_hpt366.c | 181 i = match_string(list, -1, model_num); in hpt_dma_broken()
|
| H A D | pata_hpt37x.c | 229 i = match_string(list, -1, model_num); in hpt_dma_broken()
|
| /linux/drivers/hwmon/ |
| H A D | ltc4282.c | 1257 ret = match_string(ltc4282_gpio1_modes, in ltc4282_gpio_setup() 1273 ret = match_string(ltc4282_gpio2_modes, in ltc4282_gpio_setup() 1438 int div = match_string(ltc4282_dividers, in ltc4282_setup() 1453 int div = match_string(ltc4282_dividers, in ltc4282_setup()
|
| /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/drivers/usb/typec/ |
| H A D | class.c | 2320 return match_string(typec_pwr_opmodes, in typec_find_pwr_opmode() 2335 return match_string(typec_orientations, ARRAY_SIZE(typec_orientations), in typec_find_orientation() 2350 return match_string(typec_port_power_roles, in typec_find_port_power_role() 2365 return match_string(typec_roles, ARRAY_SIZE(typec_roles), name); in typec_find_power_role() 2379 return match_string(typec_port_data_roles, in typec_find_port_data_role()
|
| /linux/kernel/cgroup/ |
| H A D | rdma.c | 369 i = match_string(rdmacg_resource_names, RDMACG_RESOURCE_MAX, name); in parse_resource()
|
| /linux/include/linux/ |
| H A D | string.h | 326 int match_string(const char * const *array, size_t n, const char *string);
|
| /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/leds/ |
| H A D | leds-sun50i-a100.c | 259 i = match_string(sun50i_a100_ledc_formats, ARRAY_SIZE(sun50i_a100_ledc_formats), format); in sun50i_a100_ledc_parse_format()
|
| /linux/drivers/acpi/ |
| H A D | scan.c | 827 index = match_string(ids, -1, info->hardware_id.string); in acpi_info_matches_ids() 838 index = match_string(ids, -1, cid_list->ids[i].string); in acpi_info_matches_ids() 2217 if (match_string(acpi_system_dev_ids, -1, acpi_device_hid(device)) >= 0) { in acpi_default_enumeration()
|
| /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/mmc/host/ |
| H A D | sdhci-xenon-phy.c | 855 priv->phy_type = match_string(phy_types, NR_PHY_TYPES, phy_name); in xenon_add_phy()
|
| /linux/drivers/platform/x86/ |
| H A D | msi-ec.c | 1319 if (match_string(CONFIGS[i]->allowed_fw, -1, fw_version) != -EINVAL) { in load_configuration()
|
| /linux/drivers/iio/dac/ |
| H A D | ad3552r-hs.c | 562 ret = match_string(dbgfs_attr_source, ARRAY_SIZE(dbgfs_attr_source), in ad3552r_hs_write_data_source()
|
| /linux/security/integrity/ima/ |
| H A D | ima_main.c | 87 i = match_string(hash_algo_name, HASH_ALGO__LAST, str); in hash_setup()
|
| /linux/drivers/clk/rockchip/ |
| H A D | clk.c | 264 frac->mux_frac_idx = match_string(child->parent_names, in rockchip_clk_register_frac_branch()
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | tvnv17.c | 654 i = match_string(nv17_tv_norm_names, num_tv_norms, in nv17_tv_create_resources()
|