Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/drivers/usb/common/
H 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()
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/runtime/cases/
H A Dksample.py15 def cmd_and_check(self, cmd='', match_string=''): argument
17 if not match_string:
23 result = ("%s" % match_string) in output
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H 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()
/OK3568_Linux_fs/kernel/mm/
H A Dvmpressure.c391 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()
/OK3568_Linux_fs/u-boot/lib/
H A Dhashtable.su
H A Dhashtable.c531 static int match_string(int flag, const char *str, const char *pat, void *priv) in match_string() function
579 if (match_string(flag, ep->key, argv[arg], priv)) in match_entry()
583 if (match_string(flag, ep->data, argv[arg], priv)) in match_entry()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_edid_load.c180 builtin = match_string(generic_edid_name, GENERIC_EDIDS, name); in edid_load()
H A Ddrm_panel_orientation_quirks.c359 i = match_string(data->bios_dates, -1, bios_date); in drm_get_panel_orientation_quirk()
/OK3568_Linux_fs/kernel/lib/
H A Dstring.c737 int match_string(const char * const *array, size_t n, const char *string) in match_string() function
752 EXPORT_SYMBOL(match_string);
/OK3568_Linux_fs/kernel/drivers/ata/
H A Dpata_hpt366.c184 i = match_string(list, -1, model_num); in hpt_dma_blacklisted()
H A Dpata_hpt37x.c232 i = match_string(list, -1, model_num); in hpt_dma_blacklisted()
/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A Dclass.c1796 return match_string(typec_pwr_opmodes, in typec_find_pwr_opmode()
1811 return match_string(typec_orientations, ARRAY_SIZE(typec_orientations), in typec_find_orientation()
1826 return match_string(typec_port_power_roles, in typec_find_port_power_role()
1841 return match_string(typec_roles, ARRAY_SIZE(typec_roles), name); in typec_find_power_role()
1855 return match_string(typec_port_data_roles, in typec_find_port_data_role()
H A Dtps6598x.c446 switch (match_string(modes, ARRAY_SIZE(modes), mode)) { in tps6598x_check_mode()
/OK3568_Linux_fs/kernel/drivers/staging/gdm724x/
H A Dgdm_tty.c59 ret = match_string(DRIVER_STRING, TTY_MAX_COUNT, in gdm_tty_install()
/OK3568_Linux_fs/kernel/sound/firewire/oxfw/
H A Doxfw.c60 return match_string(models, ARRAY_SIZE(models), model) >= 0; in detect_loud_models()
/OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/mtrr/
H A Dif.c142 i = match_string(mtrr_strings, MTRR_NUM_TYPES, ptr); in mtrr_write()
/OK3568_Linux_fs/kernel/fs/ubifs/
H A Dauth.c269 c->auth_hash_algo = match_string(hash_algo_name, HASH_ALGO__LAST, in ubifs_init_authentication()
/OK3568_Linux_fs/kernel/kernel/cgroup/
H A Drdma.c367 i = match_string(rdmacg_resource_names, RDMACG_RESOURCE_MAX, name); in parse_resource()
/OK3568_Linux_fs/kernel/drivers/clk/tegra/
H A Dclk-tegra124-emc.c407 i = match_string(emc_parent_clk_names, ARRAY_SIZE(emc_parent_clk_names), in load_one_timing_from_dt()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A Dintel_pipe_crc.c436 i = match_string(pipe_crc_sources, ARRAY_SIZE(pipe_crc_sources), buf); in display_crc_ctl_parse_source()
/OK3568_Linux_fs/kernel/drivers/pinctrl/mvebu/
H 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()
/OK3568_Linux_fs/kernel/drivers/phy/tegra/
H A Dxusb.c120 err = match_string(lane->soc->funcs, lane->soc->num_funcs, function); in tegra_xusb_lane_parse_dt()
718 int err = match_string(modes, ARRAY_SIZE(modes), mode); in tegra_xusb_usb2_port_parse_dt()
/OK3568_Linux_fs/kernel/include/linux/
H A Dstring.h192 int match_string(const char * const *array, size_t n, const char *string);
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dsdhci-xenon-phy.c821 priv->phy_type = match_string(phy_types, NR_PHY_TYPES, phy_name); in xenon_add_phy()
/OK3568_Linux_fs/kernel/drivers/base/
H A Dproperty.c446 ret = match_string(values, nval, string); in fwnode_property_match_string()

123