Home
last modified time | relevance | path

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

12

/drivers/pmdomain/starfive/
Djh71xx-pmu.c61 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()
/drivers/clk/
Dclk-palmas.c234 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()
/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.c194 const void *match_data; in arizona_spi_probe() local
200 match_data = device_get_match_data(&spi->dev); in arizona_spi_probe()
201 if (match_data) in arizona_spi_probe()
202 type = (unsigned long)match_data; in arizona_spi_probe()
/drivers/base/
Ddevres.c191 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 …]
/drivers/iio/temperature/
Dtmp117.c130 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()
/drivers/dma/ti/
Dk3-udma.c172 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 …]
Dk3-udma-private.c165 return ud->match_data->type == DMA_TYPE_PKTDMA; in xudma_is_pktdma()
/drivers/soc/qcom/
Dpmic_glink.c262 const unsigned long *match_data; in pmic_glink_probe() local
279 match_data = (unsigned long *)of_device_get_match_data(&pdev->dev); in pmic_glink_probe()
280 if (match_data) in pmic_glink_probe()
281 pg->client_mask = *match_data; in pmic_glink_probe()
/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()
/drivers/regulator/
Dcpcap-regulator.c500 const struct cpcap_regulator *match_data; in cpcap_regulator_probe() local
504 match_data = of_device_get_match_data(&pdev->dev); in cpcap_regulator_probe()
505 if (!match_data) { in cpcap_regulator_probe()
520 ddata->soc = match_data; in cpcap_regulator_probe()
/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()
/drivers/gpio/
Dgpio-msc313.c611 const struct msc313_gpio_data *match_data; in msc313_gpio_probe() local
619 match_data = of_device_get_match_data(dev); in msc313_gpio_probe()
620 if (!match_data) in msc313_gpio_probe()
635 gpio->gpio_data = match_data; in msc313_gpio_probe()
/drivers/iio/adc/
Drockchip_saradc.c416 const struct rockchip_saradc_data *match_data; in rockchip_saradc_probe() local
433 match_data = of_device_get_match_data(&pdev->dev); in rockchip_saradc_probe()
434 if (!match_data) in rockchip_saradc_probe()
438 info->data = match_data; in rockchip_saradc_probe()
Dmeson_saradc.c1341 const struct meson_sar_adc_data *match_data; in meson_sar_adc_probe() local
1355 match_data = of_device_get_match_data(dev); in meson_sar_adc_probe()
1356 if (!match_data) in meson_sar_adc_probe()
1359 priv->param = match_data->param; in meson_sar_adc_probe()
1361 indio_dev->name = match_data->name; in meson_sar_adc_probe()
/drivers/extcon/
Dextcon-usbc-tusb320.c515 const void *match_data; in tusb320_probe() local
534 match_data = device_get_match_data(&client->dev); in tusb320_probe()
535 if (!match_data) in tusb320_probe()
538 priv->ops = (struct tusb320_ops*)match_data; in tusb320_probe()
/drivers/pinctrl/stm32/
Dpinctrl-stm32.c112 const struct stm32_pinctrl_match_data *match_data; member
1365 bank->secure_control = pctl->match_data->secure_control; in stm32_gpiolib_register_bank()
1514 for (i = 0; i < pctl->match_data->npins; i++) { in stm32_pctrl_create_pins_tab()
1515 p = pctl->match_data->pins + i; in stm32_pctrl_create_pins_tab()
1532 const struct stm32_pinctrl_match_data *match_data; in stm32_pctl_probe() local
1540 match_data = device_get_match_data(dev); in stm32_pctl_probe()
1541 if (!match_data) in stm32_pctl_probe()
1569 pctl->match_data = match_data; in stm32_pctl_probe()
1575 pctl->pins = devm_kcalloc(pctl->dev, pctl->match_data->npins, in stm32_pctl_probe()
/drivers/tee/
Dtee_core.c1092 const struct match_dev_data *match_data = data; in match_dev() local
1095 teedev->desc->ops->get_version(teedev, match_data->vers); in match_dev()
1096 return match_data->match(match_data->vers, match_data->data); in match_dev()
1109 struct match_dev_data match_data = { vers ? vers : &v, data, match }; in tee_client_open_context() local
1115 dev = class_find_device(tee_class, dev, &match_data, match_dev); in tee_client_open_context()
/drivers/input/touchscreen/
Dmms114.c483 const void *match_data; in mms114_probe() local
503 match_data = device_get_match_data(&client->dev); in mms114_probe()
504 if (!match_data) in mms114_probe()
507 data->type = (enum mms_type)match_data; in mms114_probe()
/drivers/crypto/
Dsa2ul.c716 int sa_init_sc(struct sa_ctx_info *ctx, const struct sa_match_data *match_data, in sa_init_sc() argument
753 sc_buf[5] = match_data->priv_id; in sa_init_sc()
754 sc_buf[6] = match_data->priv; in sa_init_sc()
913 if (sa_init_sc(&ctx->enc, ctx->dev_data->match_data, key, keylen, NULL, 0, in sa_cipher_setkey()
926 if (sa_init_sc(&ctx->dec, ctx->dev_data->match_data, key, keylen, NULL, 0, in sa_cipher_setkey()
1473 if (sa_init_sc(&ctx->enc, ctx->dev_data->match_data, NULL, 0, NULL, 0, in sa_sha_setup()
1840 if (sa_init_sc(&ctx->enc, ctx->dev_data->match_data, keys.enckey, in sa_aead_setkey()
1854 if (sa_init_sc(&ctx->dec, ctx->dev_data->match_data, keys.enckey, in sa_aead_setkey()
2209 const struct sa_match_data *match_data = dev_data->match_data; in sa_register_algos() local
2217 if (!(match_data->supported_algos & BIT(i))) in sa_register_algos()
[all …]
Dsa2ul.h196 const struct sa_match_data *match_data; member
/drivers/mailbox/
Domap-mailbox.c696 const struct omap_mbox_match_data *match_data; in omap_mbox_probe() local
708 match_data = of_device_get_match_data(&pdev->dev); in omap_mbox_probe()
709 if (!match_data) in omap_mbox_probe()
711 intr_type = match_data->intr_type; in omap_mbox_probe()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c22 entry->val.match_data = 0x0; in tc_fill_all_pass_entry()
138 entry->val.match_data = (data << (rem * 8)) & in tc_fill_entry()
145 frag->val.match_data = (data >> (rem * 8)) & in tc_fill_entry()
153 entry->val.match_data = data; in tc_fill_entry()
/drivers/clk/stm32/
Dclk-stm32-core.h82 int stm32_rcc_init(struct device *dev, const struct of_device_id *match_data,
/drivers/base/firmware_loader/
Dmain.c694 void *match_data) in fw_devm_match() argument
699 !strcmp(fwn->name, match_data); in fw_devm_match()
1467 void *match_data) in devm_name_match() argument
1470 return (fwn->magic == (unsigned long)match_data); in devm_name_match()

12