Searched refs:pdev_id (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.4/drivers/hwmon/ |
D | ntc_thermistor.c | 639 const struct platform_device_id *pdev_id; in ntc_thermistor_probe() local 683 pdev_id = of_id ? of_id->data : platform_get_device_id(pdev); in ntc_thermistor_probe() 687 if (pdev_id->driver_data >= ARRAY_SIZE(ntc_type)) { in ntc_thermistor_probe() 689 pdev_id->driver_data, pdev_id->name); in ntc_thermistor_probe() 693 data->comp = ntc_type[pdev_id->driver_data].comp; in ntc_thermistor_probe() 694 data->n_comp = ntc_type[pdev_id->driver_data].n_comp; in ntc_thermistor_probe() 696 hwmon_dev = devm_hwmon_device_register_with_info(dev, pdev_id->name, in ntc_thermistor_probe() 705 pdev_id->name); in ntc_thermistor_probe()
|
/Linux-v5.4/arch/arm/mach-omap2/ |
D | omap_device.h | 71 struct platform_device *omap_device_build(const char *pdev_name, int pdev_id,
|
D | omap_device.c | 481 int pdev_id, in omap_device_build() argument 503 pdev = platform_device_alloc(pdev_name, pdev_id); in omap_device_build()
|
/Linux-v5.4/drivers/media/platform/davinci/ |
D | vpbe_venc.c | 624 const struct platform_device_id *pdev_id; in venc_probe() local 633 pdev_id = platform_get_device_id(pdev); in venc_probe() 634 if (!pdev_id) in venc_probe() 641 venc->venc_type = pdev_id->driver_data; in venc_probe()
|
D | vpbe_osd.c | 1533 const struct platform_device_id *pdev_id; in osd_probe() local 1537 pdev_id = platform_get_device_id(pdev); in osd_probe() 1538 if (!pdev_id) in osd_probe() 1547 osd->vpbe_type = pdev_id->driver_data; in osd_probe()
|
/Linux-v5.4/drivers/xen/xen-pciback/ |
D | pci_stub.c | 318 struct pcistub_device_id *pdev_id) in pcistub_match_one() argument 324 if (pci_domain_nr(dev->bus) == pdev_id->domain in pcistub_match_one() 325 && dev->bus->number == pdev_id->bus in pcistub_match_one() 326 && dev->devfn == pdev_id->devfn) in pcistub_match_one() 339 struct pcistub_device_id *pdev_id; in pcistub_match() local 344 list_for_each_entry(pdev_id, &pcistub_device_ids, slot_list) { in pcistub_match() 345 if (pcistub_match_one(dev, pdev_id)) { in pcistub_match()
|
/Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
D | wmi-tlv.h | 1637 __le32 pdev_id; member 1752 __le32 pdev_id; /* not used */ member 1759 __le32 pdev_id; member 1763 __le32 pdev_id; /* not used yet */ member 1769 __le32 pdev_id; /* not used yet */ member 1860 __le32 pdev_id; /* not used yet */ member 1865 __le32 pdev_id; /* not used yet */ member 2036 __le32 pdev_id; member
|
D | wmi-tlv.c | 707 arg->pdev_id = ev->pdev_id; in ath10k_wmi_tlv_op_pull_mgmt_tx_compl_ev()
|
D | wmi.h | 6748 __le32 pdev_id; member
|
/Linux-v5.4/drivers/edac/ |
D | altera_edac.c | 1139 const struct of_device_id *pdev_id; in altr_init_a10_ecc_device_type() local 1155 pdev_id = of_match_node(altr_edac_a10_device_of_match, child); in altr_init_a10_ecc_device_type() 1156 if (IS_ERR_OR_NULL(pdev_id)) in altr_init_a10_ecc_device_type() 1160 prv = pdev_id->data; in altr_init_a10_ecc_device_type() 1954 const struct of_device_id *pdev_id = in altr_edac_a10_device_add() local 1956 if (IS_ERR_OR_NULL(pdev_id)) in altr_edac_a10_device_add() 1960 prv = pdev_id->data; in altr_edac_a10_device_add()
|
/Linux-v5.4/drivers/mfd/ |
D | sm501.c | 79 unsigned int pdev_id; member 714 smdev->pdev.id = sm->pdev_id; in sm501_create_subdev() 1394 sm->pdev_id = dev->id; in sm501_plat_probe() 1581 sm->pdev_id = 32 + dev->devfn; in sm501_pci_probe()
|
/Linux-v5.4/drivers/media/platform/coda/ |
D | coda-common.c | 2942 const struct platform_device_id *pdev_id; in coda_probe() local 2953 pdev_id = of_id ? of_id->data : platform_get_device_id(pdev); in coda_probe() 2957 else if (pdev_id) in coda_probe() 2958 dev->devtype = &coda_devdata[pdev_id->driver_data]; in coda_probe()
|
/Linux-v5.4/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 5946 static int be_probe(struct pci_dev *pdev, const struct pci_device_id *pdev_id) in be_probe() argument
|