/Linux-v6.6/drivers/pmdomain/starfive/ |
D | jh71xx-pmu.c | 61 const struct jh71xx_pmu_match_data *match_data; member 240 pmd->domain_info = &pmu->match_data->domain_info[index]; in jh71xx_pmu_init_domain() 265 const struct jh71xx_pmu_match_data *match_data; in jh71xx_pmu_probe() local 287 match_data = of_device_get_match_data(dev); in jh71xx_pmu_probe() 288 if (!match_data) in jh71xx_pmu_probe() 291 pmu->genpd = devm_kcalloc(dev, match_data->num_domains, in jh71xx_pmu_probe() 298 pmu->match_data = match_data; in jh71xx_pmu_probe() 300 pmu->genpd_data.num_domains = match_data->num_domains; in jh71xx_pmu_probe() 302 for (i = 0; i < match_data->num_domains; i++) { in jh71xx_pmu_probe()
|
/Linux-v6.6/crypto/asymmetric_keys/ |
D | asymmetric_type.c | 262 const struct key_match_data *match_data) in asymmetric_key_cmp() argument 265 const struct asymmetric_key_id *match_id = match_data->preparsed; in asymmetric_key_cmp() 275 const struct key_match_data *match_data) in asymmetric_key_cmp_partial() argument 278 const struct asymmetric_key_id *match_id = match_data->preparsed; in asymmetric_key_cmp_partial() 288 const struct key_match_data *match_data) in asymmetric_key_cmp_name() argument 291 const struct asymmetric_key_id *match_id = match_data->preparsed; in asymmetric_key_cmp_name() 310 static int asymmetric_key_match_preparse(struct key_match_data *match_data) in asymmetric_key_match_preparse() argument 313 const char *spec = match_data->raw_data; in asymmetric_key_match_preparse() 342 match_data->preparsed = match_id; in asymmetric_key_match_preparse() 343 match_data->cmp = cmp; in asymmetric_key_match_preparse() [all …]
|
/Linux-v6.6/drivers/mfd/ |
D | arizona-i2c.c | 26 const void *match_data; in arizona_i2c_probe() local 32 match_data = device_get_match_data(&i2c->dev); in arizona_i2c_probe() 33 if (match_data) in arizona_i2c_probe() 34 type = (unsigned long)match_data; in arizona_i2c_probe()
|
D | arizona-spi.c | 191 const void *match_data; in arizona_spi_probe() local 197 match_data = device_get_match_data(&spi->dev); in arizona_spi_probe() 198 if (match_data) in arizona_spi_probe() 199 type = (unsigned long)match_data; in arizona_spi_probe()
|
/Linux-v6.6/drivers/clk/ |
D | clk-palmas.c | 234 const struct palmas_clks_of_match_data *match_data; in palmas_clks_probe() local 238 match_data = of_device_get_match_data(&pdev->dev); in palmas_clks_probe() 239 if (!match_data) in palmas_clks_probe() 252 cinfo->clk_desc = &match_data->desc; in palmas_clks_probe() 253 cinfo->hw.init = &match_data->init; in palmas_clks_probe() 257 match_data->desc.clk_name, ret); in palmas_clks_probe()
|
/Linux-v6.6/net/sched/ |
D | em_ipt.c | 25 u8 match_data[] __aligned(8); member 56 mtpar.matchinfo = (void *)im->match_data; in check_match() 169 nla_memcpy(im->match_data, tb[TCA_EM_IPT_MATCH_DATA], mdata_len); in em_ipt_change() 196 .matchinfo = im->match_data, in em_ipt_destroy() 241 acpar.matchinfo = im->match_data; in em_ipt_match() 264 im->match_data) < 0) in em_ipt_dump()
|
/Linux-v6.6/drivers/base/ |
D | devres.c | 191 dr_match_t match, void *match_data, in devres_for_each_res() argument 209 if (match && !match(dev, dr->data, match_data)) in devres_for_each_res() 255 dr_match_t match, void *match_data) in find_dr() argument 264 if (match && !match(dev, dr->data, match_data)) in find_dr() 287 dr_match_t match, void *match_data) in devres_find() argument 293 dr = find_dr(dev, release, match, match_data); in devres_find() 317 dr_match_t match, void *match_data) in devres_get() argument 324 dr = find_dr(dev, new_dr->node.release, match, match_data); in devres_get() 353 dr_match_t match, void *match_data) in devres_remove() argument 359 dr = find_dr(dev, release, match, match_data); in devres_remove() [all …]
|
/Linux-v6.6/lib/kunit/ |
D | resource.c | 64 void *match_data) in kunit_destroy_resource() argument 67 match_data); in kunit_destroy_resource() 128 struct kunit_resource *res, void *match_data) in __kunit_action_match() argument 130 struct kunit_action_ctx *match_ctx = (struct kunit_action_ctx *)match_data; in __kunit_action_match()
|
/Linux-v6.6/drivers/iio/temperature/ |
D | tmp117.c | 130 unsigned long match_data; in tmp117_identify() local 146 match_data = (uintptr_t)device_get_match_data(&client->dev); in tmp117_identify() 147 if (match_data) in tmp117_identify() 148 return match_data; in tmp117_identify()
|
/Linux-v6.6/include/linux/ |
D | key-type.h | 52 const struct key_match_data *match_data); 107 int (*match_preparse)(struct key_match_data *match_data); 111 void (*match_free)(struct key_match_data *match_data);
|
D | device.h | 272 typedef int (*dr_match_t)(struct device *dev, void *res, void *match_data); 282 dr_match_t match, void *match_data, 288 dr_match_t match, void *match_data); 290 dr_match_t match, void *match_data); 292 dr_match_t match, void *match_data); 294 dr_match_t match, void *match_data); 296 dr_match_t match, void *match_data);
|
/Linux-v6.6/include/kunit/ |
D | resource.h | 301 void *match_data); 325 void *match_data) in kunit_find_resource() argument 333 if (match(test, res, (void *)match_data)) { in kunit_find_resource() 369 void *match_data);
|
/Linux-v6.6/net/dns_resolver/ |
D | dns_key.c | 243 const struct key_match_data *match_data) in dns_resolver_cmp() argument 246 const char *src = key->description, *dsp = match_data->raw_data; in dns_resolver_cmp() 277 static int dns_resolver_match_preparse(struct key_match_data *match_data) in dns_resolver_match_preparse() argument 279 match_data->lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE; in dns_resolver_match_preparse() 280 match_data->cmp = dns_resolver_cmp; in dns_resolver_match_preparse()
|
/Linux-v6.6/security/keys/ |
D | request_key.c | 28 ctx->match_data.cmp(key, &ctx->match_data) && in check_cached_key() 589 .match_data.cmp = key_default_cmp, in request_key_and_link() 590 .match_data.raw_data = description, in request_key_and_link() 591 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in request_key_and_link() 605 ret = type->match_preparse(&ctx.match_data); in request_key_and_link() 659 type->match_free(&ctx.match_data); in request_key_and_link() 792 .match_data.cmp = key_default_cmp, in request_key_rcu() 793 .match_data.raw_data = description, in request_key_rcu() 794 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in request_key_rcu()
|
D | keyring.c | 566 const struct key_match_data *match_data) in key_default_cmp() argument 568 return strcmp(key->description, match_data->raw_data) == 0; in key_default_cmp() 609 if (!ctx->match_data.cmp(key, &ctx->match_data)) { in keyring_search_iterator() 648 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_DIRECT) { in search_keyring() 693 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_ITERATE || in search_nested_keyrings() 947 .match_data.cmp = key_default_cmp, in keyring_search() 948 .match_data.raw_data = description, in keyring_search() 949 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in keyring_search() 958 ret = type->match_preparse(&ctx.match_data); in keyring_search() 968 type->match_free(&ctx.match_data); in keyring_search() [all …]
|
D | process_keys.c | 195 .match_data.cmp = key_default_cmp, in get_user_session_keyring_rcu() 196 .match_data.raw_data = buf, in get_user_session_keyring_rcu() 197 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in get_user_session_keyring_rcu() 588 const struct key_match_data *match_data) in lookup_user_key_possessed() argument 590 return key == match_data->raw_data; in lookup_user_key_possessed() 615 .match_data.cmp = lookup_user_key_possessed, in lookup_user_key() 616 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in lookup_user_key() 759 ctx.match_data.raw_data = key; in lookup_user_key()
|
D | request_key_auth.c | 253 .match_data.cmp = key_default_cmp, in key_get_instantiation_authkey() 254 .match_data.raw_data = description, in key_get_instantiation_authkey() 255 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in key_get_instantiation_authkey()
|
/Linux-v6.6/net/ |
D | devres.c | 49 static int netdev_devres_match(struct device *dev, void *this, void *match_data) in netdev_devres_match() argument 52 struct net_device *ndev = match_data; in netdev_devres_match()
|
/Linux-v6.6/drivers/net/phy/ |
D | mdio_devres.c | 57 void *this, void *match_data) in mdiobus_devres_match() argument 60 struct mii_bus *mii = match_data; in mdiobus_devres_match()
|
/Linux-v6.6/drivers/soc/qcom/ |
D | pmic_glink.c | 248 const unsigned long *match_data; in pmic_glink_probe() local 265 match_data = (unsigned long *)of_device_get_match_data(&pdev->dev); in pmic_glink_probe() 266 if (match_data) in pmic_glink_probe() 267 pg->client_mask = *match_data; in pmic_glink_probe()
|
/Linux-v6.6/arch/mips/generic/ |
D | board-ingenic.c | 108 static __init const void *ingenic_fixup_fdt(const void *fdt, const void *match_data) in ingenic_fixup_fdt() argument 118 mips_machtype = (unsigned long)match_data; in ingenic_fixup_fdt()
|
/Linux-v6.6/kernel/ |
D | iomem.c | 131 static int devm_memremap_match(struct device *dev, void *res, void *match_data) in devm_memremap_match() argument 133 return *(void **)res == match_data; in devm_memremap_match()
|
/Linux-v6.6/drivers/dma/ti/ |
D | k3-udma.c | 172 const struct udma_match_data *match_data; member 867 if (uc->ud->match_data->type == DMA_TYPE_UDMA && ucc->pkt_mode && in udma_start_desc() 928 const struct udma_match_data *match_data = in udma_start() local 929 uc->ud->match_data; in udma_start() 943 match_data->statictr_z_mask)); in udma_start() 1703 if (ud->match_data->type == DMA_TYPE_UDMA) { in udma_alloc_tx_resources() 1794 if (ud->match_data->type == DMA_TYPE_UDMA) { in udma_alloc_rx_resources() 1881 if (ud->match_data->flags & UDMA_FLAG_BURST_SIZE) { in udma_tisci_m2m_channel_config() 1884 burst_size = ud->match_data->burst_size[tpl]; in udma_tisci_m2m_channel_config() 1935 if (ud->match_data->flags & UDMA_FLAG_BURST_SIZE) { in bcdma_tisci_m2m_channel_config() [all …]
|
/Linux-v6.6/lib/ |
D | devres.c | 21 static int devm_ioremap_match(struct device *dev, void *res, void *match_data) in devm_ioremap_match() argument 23 return *(void **)res == match_data; in devm_ioremap_match() 260 void *match_data) in devm_ioport_map_match() argument 262 return *(void **)res == match_data; in devm_ioport_map_match()
|
/Linux-v6.6/sound/soc/ti/ |
D | j721e-evm.c | 80 const struct j721e_audio_match_data *match_data; member 558 const struct j721e_audio_match_data *match_data = priv->match_data; in j721e_calculate_rate_range() local 568 match_data->pll_rates[J721E_CLK_PARENT_44100]; in j721e_calculate_rate_range() 577 match_data->pll_rates[J721E_CLK_PARENT_48000]; in j721e_calculate_rate_range() 726 if (priv->match_data->board_type != J721E_BOARD_CPB_IVI) in j721e_soc_probe_ivi() 866 priv->match_data = match->data; in j721e_soc_probe() 868 priv->dai_links = devm_kcalloc(&pdev->dev, priv->match_data->num_links, in j721e_soc_probe()
|