Home
last modified time | relevance | path

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

/drivers/clk/
Dclk-palmas.c243 const struct palmas_clks_of_match_data *match_data; in palmas_clks_probe() local
247 match_data = of_device_get_match_data(&pdev->dev); in palmas_clks_probe()
248 if (!match_data) in palmas_clks_probe()
261 cinfo->clk_desc = &match_data->desc; in palmas_clks_probe()
262 cinfo->hw.init = &match_data->init; in palmas_clks_probe()
266 match_data->desc.clk_name, ret); in palmas_clks_probe()
Dclk-stm32mp1.c2045 const struct of_device_id *match_data) in stm32_rcc_init() argument
2053 match = of_match_node(match_data, np); in stm32_rcc_init()
/drivers/base/
Ddevres.c193 dr_match_t match, void *match_data, in devres_for_each_res() argument
211 if (match && !match(dev, dr->data, match_data)) in devres_for_each_res()
257 dr_match_t match, void *match_data) in find_dr() argument
266 if (match && !match(dev, dr->data, match_data)) in find_dr()
289 dr_match_t match, void *match_data) in devres_find() argument
295 dr = find_dr(dev, release, match, match_data); in devres_find()
319 dr_match_t match, void *match_data) in devres_get() argument
326 dr = find_dr(dev, new_dr->node.release, match, match_data); in devres_get()
355 dr_match_t match, void *match_data) in devres_remove() argument
361 dr = find_dr(dev, release, match, match_data); in devres_remove()
[all …]
/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/soc/amlogic/
Dmeson-clk-measure.c607 const struct meson_msr_id *match_data; in meson_msr_probe() local
619 match_data = device_get_match_data(&pdev->dev); in meson_msr_probe()
620 if (!match_data) { in meson_msr_probe()
625 memcpy(priv->msr_table, match_data, sizeof(priv->msr_table)); in meson_msr_probe()
/drivers/regulator/
Dcpcap-regulator.c508 const struct cpcap_regulator *match_data; in cpcap_regulator_probe() local
512 match_data = of_device_get_match_data(&pdev->dev); in cpcap_regulator_probe()
513 if (!match_data) { in cpcap_regulator_probe()
528 ddata->soc = match_data; in cpcap_regulator_probe()
/drivers/input/touchscreen/
Dmms114.c438 const void *match_data; in mms114_probe() local
457 match_data = device_get_match_data(&client->dev); in mms114_probe()
458 if (!match_data) in mms114_probe()
461 data->type = (enum mms_type)match_data; in mms114_probe()
/drivers/tee/
Dtee_core.c1097 const struct match_dev_data *match_data = data; in match_dev() local
1100 teedev->desc->ops->get_version(teedev, match_data->vers); in match_dev()
1101 return match_data->match(match_data->vers, match_data->data); in match_dev()
1114 struct match_dev_data match_data = { vers ? vers : &v, data, match }; in tee_client_open_context() local
1120 dev = class_find_device(tee_class, dev, &match_data, match_dev); in tee_client_open_context()
/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()
Dstmmac.h110 u32 match_data; member
/drivers/iio/adc/
Dmeson_saradc.c1181 const struct meson_sar_adc_data *match_data; in meson_sar_adc_probe() local
1196 match_data = of_device_get_match_data(&pdev->dev); in meson_sar_adc_probe()
1197 if (!match_data) { in meson_sar_adc_probe()
1202 priv->param = match_data->param; in meson_sar_adc_probe()
1204 indio_dev->name = match_data->name; in meson_sar_adc_probe()
/drivers/mailbox/
Domap-mailbox.c707 const struct omap_mbox_match_data *match_data; in omap_mbox_probe() local
719 match_data = of_device_get_match_data(&pdev->dev); in omap_mbox_probe()
720 if (!match_data) in omap_mbox_probe()
722 intr_type = match_data->intr_type; in omap_mbox_probe()
/drivers/base/firmware_loader/
Dmain.c613 void *match_data) in fw_devm_match() argument
618 !strcmp(fwn->name, match_data); in fw_devm_match()
1318 void *match_data) in devm_name_match() argument
1321 return (fwn->magic == (unsigned long)match_data); in devm_name_match()
/drivers/dma/ti/
Dk3-udma.c123 const struct udma_match_data *match_data; member
804 const struct udma_match_data *match_data = in udma_start() local
805 uc->ud->match_data; in udma_start()
819 match_data->statictr_z_mask)); in udma_start()
2140 d->static_tr.bstcnt > uc->ud->match_data->statictr_z_mask) in udma_configure_statictr()
3050 const struct udma_match_data *match_data = ud->match_data; in udma_dma_filter_fn() local
3052 if (match_data->flags & UDMA_FLAG_PDMA_ACC32) in udma_dma_filter_fn()
3054 if (match_data->flags & UDMA_FLAG_PDMA_BURST) in udma_dma_filter_fn()
3575 ud->match_data = match->data; in udma_probe()
3609 if (ud->match_data->enable_memcpy_support) { in udma_probe()
[all …]
/drivers/pci/endpoint/
Dpci-epc-core.c27 static int devm_pci_epc_match(struct device *dev, void *res, void *match_data) in devm_pci_epc_match() argument
31 return *epc == match_data; in devm_pci_epc_match()
/drivers/usb/phy/
Dphy.c311 static int devm_usb_phy_match(struct device *dev, void *res, void *match_data) in devm_usb_phy_match() argument
315 return *phy == match_data; in devm_usb_phy_match()
/drivers/pinctrl/stm32/
Dpinctrl-stm32.c108 const struct stm32_pinctrl_match_data *match_data; member
1429 for (i = 0; i < pctl->match_data->npins; i++) { in stm32_pctrl_create_pins_tab()
1430 p = pctl->match_data->pins + i; in stm32_pctrl_create_pins_tab()
1502 pctl->match_data = match->data; in stm32_pctl_probe()
1507 pctl->pins = devm_kcalloc(pctl->dev, pctl->match_data->npins, in stm32_pctl_probe()
/drivers/soc/ti/
Dk3-ringacc.c1214 const struct ringacc_match_data *match_data; in k3_ringacc_probe() local
1223 match_data = match->data; in k3_ringacc_probe()
1231 ringacc->ops = &match_data->ops; in k3_ringacc_probe()
/drivers/staging/wfx/
Dhif_api_mib.h116 u8 match_data[3]; member
/drivers/phy/
Dphy-core.c49 static int devm_phy_match(struct device *dev, void *res, void *match_data) in devm_phy_match() argument
53 return *phy == match_data; in devm_phy_match()
/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c548 static int ttm_dma_pool_match(struct device *dev, void *res, void *match_data) in ttm_dma_pool_match() argument
550 return *(struct dma_pool **)res == match_data; in ttm_dma_pool_match()
/drivers/net/wireless/st/cw1200/
Dwsm.h1396 u8 match_data[3]; member