Home
last modified time | relevance | path

Searched refs:match_data (Results 1 – 25 of 67) sorted by relevance

123

/linux-6.1.9/crypto/asymmetric_keys/
Dasymmetric_type.c263 const struct key_match_data *match_data) in asymmetric_key_cmp() argument
266 const struct asymmetric_key_id *match_id = match_data->preparsed; in asymmetric_key_cmp()
276 const struct key_match_data *match_data) in asymmetric_key_cmp_partial() argument
279 const struct asymmetric_key_id *match_id = match_data->preparsed; in asymmetric_key_cmp_partial()
289 const struct key_match_data *match_data) in asymmetric_key_cmp_name() argument
292 const struct asymmetric_key_id *match_id = match_data->preparsed; in asymmetric_key_cmp_name()
311 static int asymmetric_key_match_preparse(struct key_match_data *match_data) in asymmetric_key_match_preparse() argument
314 const char *spec = match_data->raw_data; in asymmetric_key_match_preparse()
343 match_data->preparsed = match_id; in asymmetric_key_match_preparse()
344 match_data->cmp = cmp; in asymmetric_key_match_preparse()
[all …]
/linux-6.1.9/drivers/mfd/
Darizona-i2c.c26 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()
Darizona-spi.c191 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-6.1.9/drivers/clk/
Dclk-palmas.c235 const struct palmas_clks_of_match_data *match_data; in palmas_clks_probe() local
239 match_data = of_device_get_match_data(&pdev->dev); in palmas_clks_probe()
240 if (!match_data) in palmas_clks_probe()
253 cinfo->clk_desc = &match_data->desc; in palmas_clks_probe()
254 cinfo->hw.init = &match_data->init; in palmas_clks_probe()
258 match_data->desc.clk_name, ret); in palmas_clks_probe()
/linux-6.1.9/drivers/base/
Ddevres.c188 dr_match_t match, void *match_data, in devres_for_each_res() argument
206 if (match && !match(dev, dr->data, match_data)) in devres_for_each_res()
252 dr_match_t match, void *match_data) in find_dr() argument
261 if (match && !match(dev, dr->data, match_data)) in find_dr()
284 dr_match_t match, void *match_data) in devres_find() argument
290 dr = find_dr(dev, release, match, match_data); in devres_find()
314 dr_match_t match, void *match_data) in devres_get() argument
321 dr = find_dr(dev, new_dr->node.release, match, match_data); in devres_get()
350 dr_match_t match, void *match_data) in devres_remove() argument
356 dr = find_dr(dev, release, match, match_data); in devres_remove()
[all …]
/linux-6.1.9/net/sched/
Dem_ipt.c25 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-6.1.9/include/kunit/
Dresource.h301 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-6.1.9/include/linux/
Dkey-type.h52 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);
Ddevice.h167 typedef int (*dr_match_t)(struct device *dev, void *res, void *match_data);
177 dr_match_t match, void *match_data,
183 dr_match_t match, void *match_data);
185 dr_match_t match, void *match_data);
187 dr_match_t match, void *match_data);
189 dr_match_t match, void *match_data);
191 dr_match_t match, void *match_data);
/linux-6.1.9/net/dns_resolver/
Ddns_key.c243 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-6.1.9/drivers/soc/mediatek/
Dmtk-mmsys.c307 const struct mtk_mmsys_match_data *match_data; in mtk_mmsys_probe() local
342 match_data = of_device_get_match_data(dev); in mtk_mmsys_probe()
343 if (match_data->num_drv_data > 1) { in mtk_mmsys_probe()
345 ret = mtk_mmsys_find_match_drvdata(mmsys, match_data); in mtk_mmsys_probe()
350 mmsys->data = match_data->drv_data[ret]; in mtk_mmsys_probe()
353 mmsys->data = match_data->drv_data[0]; in mtk_mmsys_probe()
/linux-6.1.9/security/keys/
Drequest_key.c28 ctx->match_data.cmp(key, &ctx->match_data) && in check_cached_key()
573 .match_data.cmp = key_default_cmp, in request_key_and_link()
574 .match_data.raw_data = description, in request_key_and_link()
575 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in request_key_and_link()
589 ret = type->match_preparse(&ctx.match_data); in request_key_and_link()
643 type->match_free(&ctx.match_data); in request_key_and_link()
776 .match_data.cmp = key_default_cmp, in request_key_rcu()
777 .match_data.raw_data = description, in request_key_rcu()
778 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in request_key_rcu()
Dkeyring.c566 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 …]
Dprocess_keys.c195 .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()
Drequest_key_auth.c253 .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-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_drm_drv.c673 const struct mtk_mmsys_match_data *match_data) in mtk_drm_find_match_data() argument
685 for (i = 0; i < match_data->num_drv_data; i++) in mtk_drm_find_match_data()
686 if (match_data->drv_data[i]->io_start == res->start) in mtk_drm_find_match_data()
697 const struct mtk_mmsys_match_data *match_data; in mtk_drm_probe() local
718 match_data = of_id->data; in mtk_drm_probe()
719 if (match_data->num_drv_data > 1) { in mtk_drm_probe()
721 ret = mtk_drm_find_match_data(dev, match_data); in mtk_drm_probe()
726 private->data = match_data->drv_data[ret]; in mtk_drm_probe()
729 private->data = match_data->drv_data[0]; in mtk_drm_probe()
/linux-6.1.9/lib/kunit/
Dresource.c64 void *match_data) in kunit_destroy_resource() argument
67 match_data); in kunit_destroy_resource()
/linux-6.1.9/net/
Ddevres.c49 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-6.1.9/arch/mips/generic/
Dboard-ingenic.c63 static __init const void *ingenic_fixup_fdt(const void *fdt, const void *match_data) in ingenic_fixup_fdt() argument
73 mips_machtype = (unsigned long)match_data; in ingenic_fixup_fdt()
/linux-6.1.9/drivers/net/phy/
Dmdio_devres.c57 void *this, void *match_data) in mdiobus_devres_match() argument
60 struct mii_bus *mii = match_data; in mdiobus_devres_match()
/linux-6.1.9/kernel/
Diomem.c134 static int devm_memremap_match(struct device *dev, void *res, void *match_data) in devm_memremap_match() argument
136 return *(void **)res == match_data; in devm_memremap_match()
/linux-6.1.9/drivers/dma/ti/
Dk3-udma.c171 const struct udma_match_data *match_data; member
864 if (uc->ud->match_data->type == DMA_TYPE_UDMA && ucc->pkt_mode && in udma_start_desc()
925 const struct udma_match_data *match_data = in udma_start() local
926 uc->ud->match_data; in udma_start()
940 match_data->statictr_z_mask)); in udma_start()
1700 if (ud->match_data->type == DMA_TYPE_UDMA) { in udma_alloc_tx_resources()
1791 if (ud->match_data->type == DMA_TYPE_UDMA) { in udma_alloc_rx_resources()
1878 if (ud->match_data->flags & UDMA_FLAG_BURST_SIZE) { in udma_tisci_m2m_channel_config()
1881 burst_size = ud->match_data->burst_size[tpl]; in udma_tisci_m2m_channel_config()
1932 if (ud->match_data->flags & UDMA_FLAG_BURST_SIZE) { in bcdma_tisci_m2m_channel_config()
[all …]
/linux-6.1.9/lib/
Ddevres.c21 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-6.1.9/sound/soc/ti/
Dj721e-evm.c80 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()
/linux-6.1.9/drivers/soc/amlogic/
Dmeson-clk-measure.c607 const struct meson_msr_id *match_data; in meson_msr_probe() local
618 match_data = device_get_match_data(&pdev->dev); in meson_msr_probe()
619 if (!match_data) { in meson_msr_probe()
624 memcpy(priv->msr_table, match_data, sizeof(priv->msr_table)); in meson_msr_probe()

123