Home
last modified time | relevance | path

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

123

/linux/drivers/usb/common/
A Dcommon.c116 ret = match_string(ssp_rate, ARRAY_SIZE(ssp_rate), maximum_speed); in usb_get_maximum_speed()
120 ret = match_string(speed_names, ARRAY_SIZE(speed_names), maximum_speed); in usb_get_maximum_speed()
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/drivers/mtd/nand/raw/
A Dnand_macronix.c171 i = match_string(broken_get_timings, ARRAY_SIZE(broken_get_timings), in macronix_nand_fix_broken_get_timings()
310 i = match_string(deep_power_down_dev, ARRAY_SIZE(deep_power_down_dev), in macronix_nand_deep_power_down_support()
/linux/mm/
A Dvmpressure.c383 ret = match_string(vmpressure_str_levels, VMPRESSURE_NUM_LEVELS, token); in vmpressure_register_event()
391 ret = match_string(vmpressure_str_modes, VMPRESSURE_NUM_MODES, token); in vmpressure_register_event()
/linux/drivers/thermal/intel/int340x_thermal/
A Dprocessor_thermal_rfim.c87 ret = match_string(match_strs, -1, attr->attr.name);\
118 ret = match_string(match_strs, -1, attr->attr.name);\
A Dprocessor_thermal_mbox.c138 ret = match_string(workload_types, -1, str_preference); in workload_type_store()
/linux/drivers/char/ipmi/
A Dipmi_si_hardcode.c73 t = match_string(si_to_str, -1, si_type_str); in ipmi_hardcode_init_one()
/linux/lib/
A Dstring_helpers.c818 int match_string(const char * const *array, size_t n, const char *string) in match_string() function
833 EXPORT_SYMBOL(match_string);
/linux/drivers/gpu/drm/
A Ddrm_edid_load.c180 builtin = match_string(generic_edid_name, GENERIC_EDIDS, name); in edid_load()
A Ddrm_panel_orientation_quirks.c337 i = match_string(data->bios_dates, -1, bios_date); in drm_get_panel_orientation_quirk()
/linux/drivers/usb/typec/
A Dclass.c1737 return match_string(typec_pwr_opmodes, in typec_find_pwr_opmode()
1752 return match_string(typec_orientations, ARRAY_SIZE(typec_orientations), in typec_find_orientation()
1767 return match_string(typec_port_power_roles, in typec_find_port_power_role()
1782 return match_string(typec_roles, ARRAY_SIZE(typec_roles), name); in typec_find_power_role()
1796 return match_string(typec_port_data_roles, in typec_find_port_data_role()
/linux/drivers/ata/
A Dpata_hpt366.c184 i = match_string(list, -1, model_num); in hpt_dma_blacklisted()
A Dpata_hpt37x.c232 i = match_string(list, -1, model_num); in hpt_dma_blacklisted()
/linux/include/linux/
A Dstring.h186 int match_string(const char * const *array, size_t n, const char *string);
/linux/drivers/staging/gdm724x/
A Dgdm_tty.c59 ret = match_string(DRIVER_STRING, TTY_MAX_COUNT, in gdm_tty_install()
/linux/sound/firewire/oxfw/
A Doxfw.c61 return match_string(models, ARRAY_SIZE(models), model) >= 0; in detect_loud_models()
/linux/drivers/pinctrl/
A Dpinmux.c378 ret = match_string(groups, num_groups, group); in pinmux_map_to_setting()
737 ret = match_string(groups, num_groups, gname); in pinmux_select()
/linux/arch/x86/kernel/cpu/mtrr/
A Dif.c142 i = match_string(mtrr_strings, MTRR_NUM_TYPES, ptr); in mtrr_write()
/linux/fs/ubifs/
A Dauth.c268 c->auth_hash_algo = match_string(hash_algo_name, HASH_ALGO__LAST, in ubifs_init_authentication()
/linux/crypto/asymmetric_keys/
A Dpkcs7_verify.c144 i = match_string(hash_algo_name, HASH_ALGO__LAST, in pkcs7_get_digest()
/linux/kernel/cgroup/
A Drdma.c367 i = match_string(rdmacg_resource_names, RDMACG_RESOURCE_MAX, name); in parse_resource()
/linux/drivers/soc/aspeed/
A Daspeed-uart-routing.c527 val = match_string(sel->options, -1, buf); in aspeed_uart_routing_store()
/linux/drivers/clk/tegra/
A Dclk-tegra124-emc.c415 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/
A Dintel_pipe_crc.c437 i = match_string(pipe_crc_sources, ARRAY_SIZE(pipe_crc_sources), buf); in display_crc_ctl_parse_source()
/linux/drivers/pinctrl/mvebu/
A Dpinctrl-armada-37xx.c351 func = match_string(grp->funcs, NB_FUNCS, name); in armada_37xx_pmx_set_by_name()
948 f = match_string(gp->funcs, NB_FUNCS, name); in armada_37xx_fill_func()
/linux/drivers/phy/tegra/
A Dxusb.c120 err = match_string(lane->soc->funcs, lane->soc->num_funcs, function); in tegra_xusb_lane_parse_dt()
724 int err = match_string(modes, ARRAY_SIZE(modes), mode); in tegra_xusb_usb2_port_parse_dt()

Completed in 75 milliseconds

123