Home
last modified time | relevance | path

Searched refs:match (Results 351 - 375 of 5169) sorted by relevance

1...<<11121314151617181920>>...207

/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
H A Dexynos_drm_drv.c241 struct component_match *match = NULL; in exynos_drm_match_add() local
256 component_match_add(dev, &match, in exynos_drm_match_add()
263 return match ?: ERR_PTR(-ENODEV); in exynos_drm_match_add()
382 struct component_match *match; in exynos_drm_platform_probe() local
386 match = exynos_drm_match_add(&pdev->dev); in exynos_drm_platform_probe()
387 if (IS_ERR(match)) in exynos_drm_platform_probe()
388 return PTR_ERR(match); in exynos_drm_platform_probe()
391 match); in exynos_drm_platform_probe()
/kernel/linux/linux-5.10/drivers/regulator/
H A Dmt6358-regulator.c40 #define MT6358_BUCK(match, vreg, min, max, step, \
46 .of_match = of_match_ptr(match), \
70 #define MT6358_LDO(match, vreg, ldo_volt_table, \
76 .of_match = of_match_ptr(match), \
95 #define MT6358_LDO1(match, vreg, min, max, step, \
101 .of_match = of_match_ptr(match), \
121 #define MT6358_REG_FIXED(match, vreg, \
126 .of_match = of_match_ptr(match), \
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/
H A Dvcap_tc.c31 struct flow_match_eth_addrs match; in vcap_tc_flower_handler_ethaddr_usage() local
35 flow_rule_match_eth_addrs(st->frule, &match); in vcap_tc_flower_handler_ethaddr_usage()
37 if (!is_zero_ether_addr(match.mask->src)) { in vcap_tc_flower_handler_ethaddr_usage()
38 vcap_netbytes_copy(smac.value, match.key->src, ETH_ALEN); in vcap_tc_flower_handler_ethaddr_usage()
39 vcap_netbytes_copy(smac.mask, match.mask->src, ETH_ALEN); in vcap_tc_flower_handler_ethaddr_usage()
45 if (!is_zero_ether_addr(match.mask->dst)) { in vcap_tc_flower_handler_ethaddr_usage()
46 vcap_netbytes_copy(dmac.value, match.key->dst, ETH_ALEN); in vcap_tc_flower_handler_ethaddr_usage()
47 vcap_netbytes_copy(dmac.mask, match.mask->dst, ETH_ALEN); in vcap_tc_flower_handler_ethaddr_usage()
/kernel/linux/linux-6.6/fs/lockd/
H A Dsvcsubs.c209 nlm_host_match_fn_t match) in nlm_traverse_locks()
229 if (match(lockhost, host)) { in nlm_traverse_locks()
252 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file() argument
254 nlmsvc_traverse_blocks(host, file, match); in nlm_inspect_file()
255 nlmsvc_traverse_shares(host, file, match); in nlm_inspect_file()
256 return nlm_traverse_locks(host, file, match); in nlm_inspect_file()
299 nlm_traverse_files(void *data, nlm_host_match_fn_t match, in nlm_traverse_files() argument
316 if (nlm_inspect_file(data, file, match)) in nlm_traverse_files()
368 * returns 1 iff the two hosts match. Used to release
208 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) nlm_traverse_locks() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/
H A Dexynos_drm_drv.c212 struct component_match *match = NULL; in exynos_drm_match_add() local
227 component_match_add(dev, &match, component_compare_dev, d); in exynos_drm_match_add()
233 return match ?: ERR_PTR(-ENODEV); in exynos_drm_match_add()
337 struct component_match *match; in exynos_drm_platform_probe() local
341 match = exynos_drm_match_add(&pdev->dev); in exynos_drm_platform_probe()
342 if (IS_ERR(match)) in exynos_drm_platform_probe()
343 return PTR_ERR(match); in exynos_drm_platform_probe()
346 match); in exynos_drm_platform_probe()
/kernel/linux/linux-5.10/lib/lz4/
H A Dlz4hc_compress.c118 /* HC4 match finder */ in LZ4HC_InsertAndFindBestMatch()
126 const BYTE * const match = base + matchIndex; in LZ4HC_InsertAndFindBestMatch() local
128 if (*(match + ml) == *(ip + ml) in LZ4HC_InsertAndFindBestMatch()
129 && (LZ4_read32(match) == LZ4_read32(ip))) { in LZ4HC_InsertAndFindBestMatch()
131 match + MINMATCH, iLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch()
135 *matchpos = match; in LZ4HC_InsertAndFindBestMatch()
139 const BYTE * const match = dictBase + matchIndex; in LZ4HC_InsertAndFindBestMatch() local
141 if (LZ4_read32(match) == LZ4_read32(ip)) { in LZ4HC_InsertAndFindBestMatch()
149 match + MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch()
267 const BYTE * const match, in LZ4HC_encodeSequence()
262 LZ4HC_encodeSequence( const BYTE **ip, BYTE **op, const BYTE **anchor, int matchLength, const BYTE * const match, limitedOutput_directive limitedOutputBuffer, BYTE *oend) LZ4HC_encodeSequence() argument
[all...]
/kernel/linux/linux-6.6/lib/lz4/
H A Dlz4hc_compress.c118 /* HC4 match finder */ in LZ4HC_InsertAndFindBestMatch()
126 const BYTE * const match = base + matchIndex; in LZ4HC_InsertAndFindBestMatch() local
128 if (*(match + ml) == *(ip + ml) in LZ4HC_InsertAndFindBestMatch()
129 && (LZ4_read32(match) == LZ4_read32(ip))) { in LZ4HC_InsertAndFindBestMatch()
131 match + MINMATCH, iLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch()
135 *matchpos = match; in LZ4HC_InsertAndFindBestMatch()
139 const BYTE * const match = dictBase + matchIndex; in LZ4HC_InsertAndFindBestMatch() local
141 if (LZ4_read32(match) == LZ4_read32(ip)) { in LZ4HC_InsertAndFindBestMatch()
149 match + MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch()
267 const BYTE * const match, in LZ4HC_encodeSequence()
262 LZ4HC_encodeSequence( const BYTE **ip, BYTE **op, const BYTE **anchor, int matchLength, const BYTE * const match, limitedOutput_directive limitedOutputBuffer, BYTE *oend) LZ4HC_encodeSequence() argument
[all...]
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_fast.c79 * like a CPU, we have to dump the pipeline when we find a match (i.e., take a
124 U32 idx; /* match idx for ip0 */ in ZSTD_compressBlock_fast_noDict_generic()
125 U32 mval; /* src value at match idx */ in ZSTD_compressBlock_fast_noDict_generic()
169 /* load repcode match for ip[2]*/ in ZSTD_compressBlock_fast_noDict_generic()
188 /* load match for ip[0] */ in ZSTD_compressBlock_fast_noDict_generic()
192 mval = MEM_read32(ip0) ^ 1; /* guaranteed to not match. */ in ZSTD_compressBlock_fast_noDict_generic()
195 /* check match at ip[0] */ in ZSTD_compressBlock_fast_noDict_generic()
197 /* found a match! */ in ZSTD_compressBlock_fast_noDict_generic()
217 /* load match for ip[0] */ in ZSTD_compressBlock_fast_noDict_generic()
221 mval = MEM_read32(ip0) ^ 1; /* guaranteed to not match in ZSTD_compressBlock_fast_noDict_generic()
430 const BYTE* match = base + matchIndex; ZSTD_compressBlock_fast_dictMatchState_generic() local
587 const BYTE* match = matchBase + matchIndex; ZSTD_compressBlock_fast_extDict_generic() local
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dseccomp.c304 * @match: stores struct seccomp_filter that resulted in the return value,
312 struct seccomp_filter **match) in seccomp_run_filters()
332 *match = f; in seccomp_run_filters()
843 struct seccomp_filter *match, in seccomp_do_user_notification()
852 mutex_lock(&match->notify_lock); in seccomp_do_user_notification()
854 if (!match->notif) in seccomp_do_user_notification()
860 n.id = seccomp_next_notify_id(match); in seccomp_do_user_notification()
862 list_add(&n.list, &match->notif->notifications); in seccomp_do_user_notification()
865 up(&match->notif->request); in seccomp_do_user_notification()
866 wake_up_poll(&match in seccomp_do_user_notification()
311 seccomp_run_filters(const struct seccomp_data *sd, struct seccomp_filter **match) seccomp_run_filters() argument
842 seccomp_do_user_notification(int this_syscall, struct seccomp_filter *match, const struct seccomp_data *sd) seccomp_do_user_notification() argument
927 struct seccomp_filter *match = NULL; __seccomp_filter() local
[all...]
/kernel/linux/linux-5.10/drivers/of/
H A Dbase.c84 const char *match = __of_get_property(np, "device_type", NULL); in __of_node_is_type() local
86 return np && match && type && !strcmp(match, type); in __of_node_is_type()
296 * However this __weak function provides a default match of physical
298 * from the device tree which must match the hardware internal registers.
457 * @compat: required compatible string, NULL or "" for any match
458 * @type: required device_type value, NULL or "" for any match
459 * @name: required node name, NULL or "" for any match
461 * Checks if the given @compat, @type and @name strings match the
465 * Returns 0 for no match, an
1113 const struct of_device_id *match; of_match_node() local
1136 of_find_matching_node_and_match(struct device_node *from, const struct of_device_id *matches, const struct of_device_id **match) of_find_matching_node_and_match() argument
1558 int i, ret, map_len, match; of_parse_phandle_with_args_map() local
[all...]
/kernel/linux/linux-6.6/drivers/of/
H A Dbase.c84 const char *match = __of_get_property(np, "device_type", NULL); in __of_node_is_type() local
86 return np && match && type && !strcmp(match, type); in __of_node_is_type()
293 * @compat: required compatible string, NULL or "" for any match
294 * @type: required device_type value, NULL or "" for any match
295 * @name: required node name, NULL or "" for any match
297 * Checks if the given @compat, @type and @name strings match the
301 * Returns 0 for no match, and a positive integer on match. The return
327 /* Compatible match ha in __of_device_is_compatible()
975 const struct of_device_id *match; of_match_node() local
998 of_find_matching_node_and_match(struct device_node *from, const struct of_device_id *matches, const struct of_device_id **match) of_find_matching_node_and_match() argument
1352 int i, ret, map_len, match; of_parse_phandle_with_args_map() local
[all...]
/foundation/multimodalinput/input/service/device_config/src/
H A Ddevice_config_file_parser.cpp107 std::smatch match; in ReadConfigFile() local
108 bool isNumber = std::regex_search(tmp, match, std::regex("\\d+")); in ReadConfigFile()
112 configList[ConfigItemName2Id(key)] = std::stoi(match[0]); in ReadConfigFile()
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/
H A Dsystem-controller.c163 const struct of_device_id *match; in mvebu_system_controller_init() local
167 &match); in mvebu_system_controller_init()
173 mvebu_sc = (struct mvebu_system_controller *)match->data; in mvebu_system_controller_init()
/kernel/linux/linux-5.10/drivers/acpi/x86/
H A Dutils.c23 * driver bugs. We use DMI matching to match known cases of this.
97 * manufacturer has solved this :| The DMI match may not seem unique,
129 * See above remark about uniqueness of the DMI match.
154 bool match; in acpi_device_override_status() local
159 match = strcmp((char *)path.pointer, override_status_ids[i].path) == 0; in acpi_device_override_status()
162 if (!match) in acpi_device_override_status()
/kernel/linux/linux-6.6/Documentation/sphinx/
H A Dkernel_feat.py103 match = line_regex.search(line)
104 if match:
105 fname = match.group(1)
/kernel/linux/linux-6.6/arch/arm/mach-mvebu/
H A Dsystem-controller.c160 const struct of_device_id *match; in mvebu_system_controller_init() local
164 &match); in mvebu_system_controller_init()
170 mvebu_sc = (struct mvebu_system_controller *)match->data; in mvebu_system_controller_init()
/kernel/linux/linux-5.10/drivers/mmc/host/
H A Ddw_mmc-pltfm.c77 const struct of_device_id *match; in dw_mci_pltfm_probe() local
80 match = of_match_node(dw_mci_pltfm_match, pdev->dev.of_node); in dw_mci_pltfm_probe()
81 drv_data = match->data; in dw_mci_pltfm_probe()
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_spi.c38 const void *match; in inv_mpu_probe() local
47 } else if ((match = device_get_match_data(&spi->dev))) { in inv_mpu_probe()
48 chip_type = (enum inv_devices)match; in inv_mpu_probe()
/kernel/linux/linux-5.10/drivers/soc/renesas/
H A Drcar-rst.c84 const struct of_device_id *match; in rcar_rst_init() local
90 np = of_find_matching_node_and_match(NULL, rcar_rst_matches, &match); in rcar_rst_init()
102 cfg = match->data; in rcar_rst_init()
/kernel/linux/linux-5.10/drivers/soc/samsung/
H A Dpm_domains.c107 const struct of_device_id *match; in exynos4_pm_init_power_domain() local
109 for_each_matching_node_and_match(np, exynos_pm_domain_of_match, &match) { in exynos4_pm_init_power_domain()
114 pm_domain_cfg = match->data; in exynos4_pm_init_power_domain()
/kernel/linux/linux-5.10/drivers/soc/bcm/brcmstb/
H A Dcommon.c26 const struct of_device_id *match; in soc_is_brcmstb() local
33 match = of_match_node(brcmstb_machine_match, root); in soc_is_brcmstb()
36 return match != NULL; in soc_is_brcmstb()
/kernel/linux/linux-5.10/tools/perf/arch/arm64/annotate/
H A Dinstructions.c73 regmatch_t match[2]; in arm64__associate_instruction_ops() local
75 if (!regexec(&arm->jump_insn, name, 2, match, 0)) in arm64__associate_instruction_ops()
77 else if (!regexec(&arm->call_insn, name, 2, match, 0)) in arm64__associate_instruction_ops()
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
H A Dheader.c104 int match; in strcmp_cpuid_str() local
119 /* Warn unable to generate match particular string. */ in strcmp_cpuid_str()
124 match = !regexec(&re, id, 1, pmatch, 0); in strcmp_cpuid_str()
126 if (match) { in strcmp_cpuid_str()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
H A Dnv50.c27 nv50_gpio_reset(struct nvkm_gpio *gpio, u8 match) in nv50_gpio_reset() argument
48 (match != DCB_GPIO_UNUSED && match != func)) in nv50_gpio_reset()
/kernel/linux/linux-5.10/drivers/power/reset/
H A Dvexpress-poweroff.c111 const struct of_device_id *match = in vexpress_reset_probe() local
116 if (!match) in vexpress_reset_probe()
124 switch ((enum vexpress_reset_func)match->data) { in vexpress_reset_probe()

Completed in 17 milliseconds

1...<<11121314151617181920>>...207