/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/ |
H A D | rtw_sta_mgt.c | 530 bool match = false; in rtw_access_ctrl() local 542 match = true; in rtw_access_ctrl() 549 res = !match; in rtw_access_ctrl() 552 res = match; in rtw_access_ctrl()
|
/kernel/linux/linux-6.6/drivers/powercap/ |
H A D | dtpm.c | 551 const struct of_device_id *match; in dtpm_create_hierarchy() local 575 match = of_match_node(dtpm_match_table, np); in dtpm_create_hierarchy() 579 if (!match) in dtpm_create_hierarchy() 582 hierarchy = match->data; in dtpm_create_hierarchy()
|
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | pv88080-regulator.c | 383 const struct of_device_id *match; in pv88080_i2c_probe() local 402 match = of_match_node(pv88080_dt_ids, i2c->dev.of_node); in pv88080_i2c_probe() 403 if (!match) { in pv88080_i2c_probe() 407 chip->type = (unsigned long)match->data; in pv88080_i2c_probe()
|
H A D | rtq2208-regulator.c | 342 struct of_regulator_match *match; in rtq2208_of_get_fixed_voltage() local 362 match = rtq2208_ldo_match + i; in rtq2208_of_get_fixed_voltage() 363 init_data = match->init_data; in rtq2208_of_get_fixed_voltage() 364 rdesc = (struct rtq2208_regulator_desc *)match->driver_data; in rtq2208_of_get_fixed_voltage()
|
H A D | tps62360-regulator.c | 344 const struct of_device_id *match; in tps62360_probe() local 345 match = of_match_device(of_match_ptr(tps62360_of_match), in tps62360_probe() 347 if (!match) { in tps62360_probe() 348 dev_err(&client->dev, "Error: No device match found\n"); in tps62360_probe() 351 chip_id = (int)(long)match->data; in tps62360_probe() 358 dev_err(&client->dev, "No device tree match or id table match found\n"); in tps62360_probe()
|
/kernel/linux/linux-6.6/drivers/char/ipmi/ |
H A D | ipmi_si_platform.c | 227 const struct of_device_id *match; in of_ipmi_probe() local 240 match = of_match_device(of_ipmi_match, &pdev->dev); in of_ipmi_probe() 241 if (!match) in of_ipmi_probe() 272 io.si_type = (unsigned long) match->data; in of_ipmi_probe()
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | ath3k.c | 396 BT_ERR("Patch file version did not match with firmware"); in ath3k_load_patch() 470 /* match device ID in ath3k blacklist table */ in ath3k_probe() 472 const struct usb_device_id *match; in ath3k_probe() local 474 match = usb_match_id(intf, ath3k_blist_tbl); in ath3k_probe() 475 if (match) in ath3k_probe() 476 id = match; in ath3k_probe()
|
/kernel/linux/linux-6.6/drivers/clocksource/ |
H A D | timer-atmel-tcb.c | 379 const struct of_device_id *match; in tcb_clksrc_init() local 418 match = of_match_node(atmel_tcb_of_match, node->parent); in tcb_clksrc_init() 419 if (!match) in tcb_clksrc_init() 422 tc.tcb_config = match->data; in tcb_clksrc_init()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | crypto_user_base.c | 43 int match = 0; in crypto_alg_match() local 52 match = !strcmp(q->cra_driver_name, in crypto_alg_match() 55 match = !strcmp(q->cra_name, p->cru_name); in crypto_alg_match() 57 if (!match) in crypto_alg_match()
|
/kernel/linux/linux-6.6/drivers/pinctrl/aspeed/ |
H A D | pinctrl-aspeed.c | 510 bool match; in find_pinconf_map() local 516 match = (elem->arg == -1 || elem->arg == value); in find_pinconf_map() 519 match = (elem->val == value); in find_pinconf_map() 523 if (param == elem->param && match) in find_pinconf_map()
|
/kernel/linux/linux-6.6/drivers/gpu/host1x/ |
H A D | mipi.c | 502 const struct of_device_id *match; in tegra_mipi_probe() local 506 match = of_match_node(tegra_mipi_of_match, pdev->dev.of_node); in tegra_mipi_probe() 507 if (!match) in tegra_mipi_probe() 514 mipi->soc = match->data; in tegra_mipi_probe()
|
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-meson-gpio.c | 520 const struct of_device_id *match; in meson_gpio_irq_parse_dt() local 523 match = of_match_node(meson_irq_gpio_matches, node); in meson_gpio_irq_parse_dt() 524 if (!match) in meson_gpio_irq_parse_dt() 527 ctl->params = match->data; in meson_gpio_irq_parse_dt()
|
H A D | irq-ls-scfg-msi.c | 337 const struct of_device_id *match; in ls_scfg_msi_probe() local 342 match = of_match_device(ls_scfg_msi_id, &pdev->dev); in ls_scfg_msi_probe() 343 if (!match) in ls_scfg_msi_probe() 350 msi_data->cfg = (struct ls_scfg_msi_cfg *) match->data; in ls_scfg_msi_probe()
|
/kernel/linux/linux-6.6/drivers/mailbox/ |
H A D | mailbox-sti.c | 406 const struct of_device_id *match; in sti_mbox_probe() local 414 match = of_match_device(sti_mailbox_match, &pdev->dev); in sti_mbox_probe() 415 if (!match) { in sti_mbox_probe() 419 pdev->dev.platform_data = (struct sti_mbox_pdata *) match->data; in sti_mbox_probe()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nft_cmp.c | 145 u8 *mask = (u8 *)&flow->match.mask; in __nft_cmp_offload() 146 u8 *key = (u8 *)&flow->match.key; in __nft_cmp_offload() 165 flow->match.dissector.used_keys |= BIT_ULL(reg->key); in __nft_cmp_offload() 166 flow->match.dissector.offset[reg->key] = reg->base_offset; in __nft_cmp_offload()
|
/kernel/linux/linux-6.6/sound/soc/rockchip/ |
H A D | rockchip_pdm.c | 575 const struct of_device_id *match; in rockchip_pdm_probe() local 585 match = of_match_device(rockchip_pdm_match, &pdev->dev); in rockchip_pdm_probe() 586 if (match) in rockchip_pdm_probe() 587 pdm->version = (uintptr_t)match->data; in rockchip_pdm_probe()
|
/kernel/linux/linux-6.6/sound/soc/atmel/ |
H A D | atmel-i2s.c | 615 const struct of_device_id *match; in atmel_i2s_probe() local 631 match = of_match_node(atmel_i2s_dt_ids, np); in atmel_i2s_probe() 632 if (match) in atmel_i2s_probe() 633 dev->caps = match->data; in atmel_i2s_probe()
|
/kernel/linux/linux-6.6/sound/soc/amd/ |
H A D | acp3x-rt5682-max9836.c | 476 const struct acpi_device_id *match; in soc_is_rltk_max() local 478 match = acpi_match_device(dev->driver->acpi_match_table, dev); in soc_is_rltk_max() 479 if (!match) in soc_is_rltk_max() 481 return (void *)match->driver_data; in soc_is_rltk_max()
|
/third_party/gn/src/base/json/ |
H A D | json_parser.cc | 720 bool JSONParser::ConsumeIfMatch(std::string_view match) { in ConsumeIfMatch() argument 721 if (match == PeekChars(match.size())) { in ConsumeIfMatch() 722 ConsumeChars(match.size()); in ConsumeIfMatch()
|
/third_party/gn/src/gn/ |
H A D | builder_unittest.cc | 39 // Returns true if one/two loads have been requested and they match the given 46 bool match = (files_[0] == file); in HasLoadedOne() local 48 return match; in HasLoadedOne() 56 bool match = ((files_[0] == a && files_[1] == b) || in HasLoadedTwo() local 59 return match; in HasLoadedTwo()
|
/third_party/alsa-lib/test/lsb/ |
H A D | midi_event.c | 15 regmatch_t match; in midi_matches_regex() local 27 i = regexec(&re, text, 1, &match, 0); in midi_matches_regex() 28 i = i == 0 && match.rm_so == 0 && match.rm_eo == strlen(text); in midi_matches_regex()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
H A D | MeasureUnitImpl.java | 656 int match = -1; in nextToken() 670 match = trie.getValue(); in nextToken() 685 if (match < 0) { in nextToken() 691 return new Token(match); in nextToken()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
H A D | NumberParserTest.java | 88 { 3, "51423-", "0", 5, 51423. }, // plus and minus sign by default do NOT match after in testBasic() 90 { 3, "51423+", "0", 5, 51423. }, // plus and minus sign by default do NOT match after in testBasic() 250 boolean actualMaybeMore = series.match(segment, result); in testSeriesMatcher() 288 matcher.match(segment, result); in testCombinedCurrencyMatcher() 299 matcherNoForeignCurrencies.match(segment, result); in testCombinedCurrencyMatcher() 343 matcher.match(segment, result); in testAffixPatternMatcher()
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/ |
H A D | RBSearchPanel.java | 177 // Replaces all instances of match in original with replace 179 private String replace(String original, String match, String replace) { in replace() argument 181 while (original.indexOf(match,++current_index) >= 0) { in replace() 182 current_index = original.indexOf(match, current_index); in replace() 184 original.substring(current_index+match.length(), original.length()); in replace()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
H A D | NumberParserTest.java | 85 { 3, "51423-", "0", 5, 51423. }, // plus and minus sign by default do NOT match after in testBasic() 87 { 3, "51423+", "0", 5, 51423. }, // plus and minus sign by default do NOT match after in testBasic() 247 boolean actualMaybeMore = series.match(segment, result); in testSeriesMatcher() 285 matcher.match(segment, result); in testCombinedCurrencyMatcher() 296 matcherNoForeignCurrencies.match(segment, result); in testCombinedCurrencyMatcher() 340 matcher.match(segment, result); in testAffixPatternMatcher()
|