Searched refs:pdev (Results 1 - 25 of 7443) sorted by last modified time

1234567891011>>

/linux-master/tools/testing/cxl/test/
H A Dcxl.c656 struct platform_device *pdev = to_platform_device(dev); local
659 ctx->target_map[ctx->index++] = pdev->id;
743 struct platform_device *pdev = NULL; local
759 pdev = to_platform_device(cxlmd->dev.parent);
784 if (!hb0 || pdev->id % 4 || pdev->id > 4 || cxld->id > 0) {
823 if (pdev->id == 4)
961 struct platform_device *pdev = array[i]; local
964 if (pdev->dev.parent != port->uport_dev) {
967 dev_name(pdev
1068 struct platform_device *pdev; local
1092 struct platform_device *pdev; local
1115 struct platform_device *pdev = cxl_rch[i]; local
1133 struct platform_device *pdev = cxl_rch[i]; local
1149 struct platform_device *pdev; local
1174 struct platform_device *pdev; local
1192 struct platform_device *pdev; local
1211 struct platform_device *pdev; local
1229 struct platform_device *pdev; local
1261 struct platform_device *pdev = cxl_hb_single[i]; local
1285 struct platform_device *pdev = cxl_hb_single[i]; local
1331 struct platform_device *pdev; local
1355 struct platform_device *pdev; local
1373 struct platform_device *pdev; local
1391 struct platform_device *pdev; local
1408 struct platform_device *pdev; local
1465 struct platform_device *pdev = cxl_host_bridge[i]; local
1497 struct platform_device *pdev = cxl_host_bridge[i]; local
[all...]
/linux-master/drivers/cxl/core/
H A Dport.c959 struct pci_dev *pdev = to_pci_dev(port->uport_dev); local
961 return pdev->subordinate;
1523 struct pci_dev *pdev; local
1532 pdev = to_pci_dev(dev);
1534 cxl_find_regblock(pdev, CXL_REGLOC_RBI_COMPONENT, &map);
1697 struct cxl_port *cxl_pci_find_port(struct pci_dev *pdev, argument
1700 return find_cxl_port(pdev->dev.parent, dport);
2200 struct pci_dev *pdev; local
2249 pdev = to_pci_dev(dev);
2250 bw = pcie_bandwidth_available(pdev, NUL
[all...]
/linux-master/sound/soc/ti/
H A Ddavinci-mcasp.c1829 static int mcasp_reparent_fck(struct platform_device *pdev) argument
1831 struct device_node *node = pdev->dev.of_node;
1843 dev_warn(&pdev->dev, "Update the bindings to use assigned-clocks!\n");
1845 gfclk = clk_get(&pdev->dev, "fck");
1847 dev_err(&pdev->dev, "failed to get fck\n");
1853 dev_err(&pdev->dev, "failed to get parent clock\n");
1860 dev_err(&pdev->dev, "failed to reparent fck\n");
1881 struct platform_device *pdev)
1883 struct device_node *np = pdev->dev.of_node;
1886 device_get_match_data(&pdev
1880 davinci_mcasp_get_config(struct davinci_mcasp *mcasp, struct platform_device *pdev) argument
2241 davinci_mcasp_probe(struct platform_device *pdev) argument
2465 davinci_mcasp_remove(struct platform_device *pdev) argument
[all...]
/linux-master/sound/soc/tegra/
H A Dtegra186_dspk.c476 static int tegra186_dspk_platform_probe(struct platform_device *pdev) argument
478 struct device *dev = &pdev->dev;
500 regs = devm_platform_ioremap_resource(pdev, 0);
526 static void tegra186_dspk_platform_remove(struct platform_device *pdev) argument
528 pm_runtime_disable(&pdev->dev);
/linux-master/sound/soc/meson/
H A Daxg-tdm-interface.c521 static int axg_tdm_iface_probe(struct platform_device *pdev) argument
523 struct device *dev = &pdev->dev;
531 platform_set_drvdata(pdev, iface);
H A Daxg-tdm-formatter.c262 int axg_tdm_formatter_probe(struct platform_device *pdev) argument
264 struct device *dev = &pdev->dev;
278 platform_set_drvdata(pdev, formatter);
281 regs = devm_platform_ioremap_resource(pdev, 0);
H A Daxg-fifo.c333 int axg_fifo_probe(struct platform_device *pdev) argument
335 struct device *dev = &pdev->dev;
350 platform_set_drvdata(pdev, fifo);
352 regs = devm_platform_ioremap_resource(pdev, 0);
/linux-master/sound/soc/intel/boards/
H A Dbytcr_rt5640.c1639 static int snd_byt_rt5640_mc_probe(struct platform_device *pdev) argument
1641 struct device *dev = &pdev->dev;
1880 platform_set_drvdata(pdev, &byt_rt5640_card);
1893 static void snd_byt_rt5640_mc_remove(struct platform_device *pdev) argument
1895 struct snd_soc_card *card = platform_get_drvdata(pdev);
/linux-master/sound/soc/codecs/
H A Dwsa881x.c1111 static int wsa881x_probe(struct sdw_slave *pdev, argument
1115 struct device *dev = &pdev->dev;
1148 wsa881x->slave = pdev;
1155 pdev->prop.sink_ports = GENMASK(WSA881X_MAX_SWR_PORTS, 0);
1156 pdev->prop.sink_dpn_prop = wsa_sink_dpn_prop;
1157 pdev->prop.scp_int1_mask = SDW_SCP_INT1_BUS_CLASH | SDW_SCP_INT1_PARITY;
1158 pdev->prop.clk_stop_mode1 = true;
1161 wsa881x->regmap = devm_regmap_init_sdw(pdev, &wsa881x_regmap_config);
/linux-master/sound/soc/amd/yc/
H A Dacp6x-mach.c457 static int acp6x_probe(struct platform_device *pdev) argument
466 adev = ACPI_COMPANION(pdev->dev.parent);
472 platform_set_drvdata(pdev, &acp6x_card);
478 platform_set_drvdata(pdev, dmi_id->driver_data);
480 card = platform_get_drvdata(pdev);
483 dev_info(&pdev->dev, "Enabling ACP DMIC support via %s", dmi_id ? "DMI" : "ACPI");
484 acp6x_card.dev = &pdev->dev;
487 ret = devm_snd_soc_register_card(&pdev->dev, card);
489 return dev_err_probe(&pdev->dev, ret,
/linux-master/drivers/spi/
H A Dspi-hisi-kunpeng.c450 static int hisi_spi_probe(struct platform_device *pdev) argument
452 struct device *dev = &pdev->dev;
457 irq = platform_get_irq(pdev, 0);
465 platform_set_drvdata(pdev, host);
471 hs->regs = devm_platform_ioremap_resource(pdev, 0);
492 host->bus_num = pdev->id;
524 static void hisi_spi_remove(struct platform_device *pdev) argument
526 struct spi_controller *host = platform_get_drvdata(pdev);
H A Dspi-axi-spi-engine.c591 static int spi_engine_probe(struct platform_device *pdev) argument
599 irq = platform_get_irq(pdev, 0);
603 host = devm_spi_alloc_host(&pdev->dev, sizeof(*spi_engine));
612 spi_engine->clk = devm_clk_get_enabled(&pdev->dev, "s_axi_aclk");
616 spi_engine->ref_clk = devm_clk_get_enabled(&pdev->dev, "spi_clk");
620 spi_engine->base = devm_platform_ioremap_resource(pdev, 0);
626 dev_err(&pdev->dev, "Unsupported peripheral version %u.%u.%u\n",
637 ret = devm_add_action_or_reset(&pdev->dev, spi_engine_release_hw,
642 ret = devm_request_irq(&pdev->dev, irq, spi_engine_irq, 0, pdev
[all...]
/linux-master/drivers/regulator/
H A Dvqmmc-ipq4019-regulator.c45 static int ipq4019_regulator_probe(struct platform_device *pdev) argument
47 struct device *dev = &pdev->dev;
59 base = devm_platform_ioremap_resource(pdev, 0);
78 platform_set_drvdata(pdev, rdev);
H A Dmt6360-regulator.c380 static int mt6360_regulator_irq_register(struct platform_device *pdev, argument
390 irq = platform_get_irq_byname(pdev, irq_desc->name);
394 ret = devm_request_threaded_irq(&pdev->dev, irq, NULL, irq_desc->handler, 0,
397 dev_err(&pdev->dev, "Fail to request %s irq\n", irq_desc->name);
405 static int mt6360_regulator_probe(struct platform_device *pdev) argument
411 mrd = devm_kzalloc(&pdev->dev, sizeof(*mrd), GFP_KERNEL);
415 mrd->dev = &pdev->dev;
417 mrd->regmap = dev_get_regmap(pdev->dev.parent, NULL);
419 dev_err(&pdev->dev, "Failed to get parent regmap\n");
423 config.dev = pdev
[all...]
H A Dqcom-refgen-regulator.c100 static int qcom_refgen_probe(struct platform_device *pdev) argument
105 struct device *dev = &pdev->dev;
114 base = devm_platform_ioremap_resource(pdev, 0);
/linux-master/drivers/nvme/host/
H A Dpci.c1106 struct pci_dev *pdev = to_pci_dev(nvmeq->dev->dev); local
1110 disable_irq(pci_irq_vector(pdev, nvmeq->cq_vector));
1112 enable_irq(pci_irq_vector(pdev, nvmeq->cq_vector));
1504 struct pci_dev *pdev = to_pci_dev(dev->dev); local
1507 nvmeq->sq_cmds = pci_alloc_p2pmem(pdev, SQ_SIZE(nvmeq));
1509 nvmeq->sq_dma_addr = pci_p2pmem_virt_to_bus(pdev,
1516 pci_free_p2pmem(pdev, nvmeq->sq_cmds, SQ_SIZE(nvmeq));
1564 struct pci_dev *pdev = to_pci_dev(nvmeq->dev->dev); local
1568 return pci_request_irq(pdev, nvmeq->cq_vector, nvme_irq_check,
1571 return pci_request_irq(pdev, nvme
1705 struct pci_dev *pdev = to_pci_dev(dev->dev); local
1835 struct pci_dev *pdev = to_pci_dev(dev->dev); local
2220 struct pci_dev *pdev = to_pci_dev(dev->dev); local
2268 struct pci_dev *pdev = to_pci_dev(dev->dev); local
2479 struct pci_dev *pdev = to_pci_dev(dev->dev); local
2571 struct pci_dev *pdev = to_pci_dev(dev->dev); local
2586 struct pci_dev *pdev = to_pci_dev(dev->dev); local
2819 struct pci_dev *pdev = to_pci_dev(to_nvme_dev(ctrl)->dev); local
2826 struct pci_dev *pdev = to_pci_dev(to_nvme_dev(ctrl)->dev); local
2862 struct pci_dev *pdev = to_pci_dev(dev->dev); local
2876 check_vendor_combination_bug(struct pci_dev *pdev) argument
2931 nvme_pci_alloc_dev(struct pci_dev *pdev, const struct pci_device_id *id) argument
3002 nvme_probe(struct pci_dev *pdev, const struct pci_device_id *id) argument
3101 nvme_reset_prepare(struct pci_dev *pdev) argument
3114 nvme_reset_done(struct pci_dev *pdev) argument
3122 nvme_shutdown(struct pci_dev *pdev) argument
3134 nvme_remove(struct pci_dev *pdev) argument
3189 struct pci_dev *pdev = to_pci_dev(dev); local
3272 struct pci_dev *pdev = to_pci_dev(dev); local
3288 nvme_error_detected(struct pci_dev *pdev, pci_channel_state_t state) argument
3318 nvme_slot_reset(struct pci_dev *pdev) argument
3329 nvme_error_resume(struct pci_dev *pdev) argument
[all...]
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c142 fltr->mapping = dma_map_single(&edev->pdev->dev, fltr->data,
144 if (dma_mapping_error(&edev->pdev->dev, fltr->mapping)) {
170 dma_unmap_single(&edev->pdev->dev, fltr->mapping,
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c842 struct pci_dev *pdev = NULL; local
861 pdev = pci_get_domain_bus_and_slot(domain, pf + 1, 0);
862 if (!pdev)
880 dev_name(&pdev->dev), pcifunc, blkid, cgx, lmac);
882 pci_dev_put(pdev);
2544 struct pci_dev *pdev = NULL; local
2561 pdev = pci_get_domain_bus_and_slot(domain, pf + 1, 0);
2562 if (!pdev)
2572 dev_name(&pdev->dev), pf, bcast, mcast);
2591 pci_dev_put(pdev);
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_debugfs.c586 const char *name = pci_name(pf->pdev);
/linux-master/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c196 struct device *kdev = &priv->pdev->dev;
303 struct device *kdev = &priv->pdev->dev;
362 UNIMAC_MDIO_DRV_NAME, priv->pdev->id);
416 struct device_node *dn = priv->pdev->dev.of_node;
417 struct device *kdev = &priv->pdev->dev;
437 struct device *kdev = &priv->pdev->dev;
464 struct platform_device *pdev = priv->pdev; local
465 struct bcmgenet_platform_data *pdata = pdev->dev.platform_data;
466 struct device_node *dn = pdev
[all...]
H A Dbcmgenet_wol.c43 struct device *kdev = &priv->pdev->dev;
71 struct device *kdev = &priv->pdev->dev;
H A Dbcmgenet.h639 struct platform_device *pdev; member in struct:bcmgenet_priv
H A Dbcmgenet.c1898 skb = bcmgenet_free_tx_cb(&priv->pdev->dev,
2046 struct device *kdev = &priv->pdev->dev;
2187 struct device *kdev = &priv->pdev->dev;
2460 skb = bcmgenet_free_rx_cb(&priv->pdev->dev, cb);
2534 struct device *kdev = &priv->pdev->dev;
2538 dev_dbg(&priv->pdev->dev, "bcmgenet: init_umac\n");
3042 dev_kfree_skb(bcmgenet_free_tx_cb(&priv->pdev->dev,
3857 dev_err(&priv->pdev->dev,
3863 dev_info(&priv->pdev->dev, "GENET " GENET_VER_FMT,
3977 static int bcmgenet_probe(struct platform_device *pdev) argument
4167 bcmgenet_remove(struct platform_device *pdev) argument
4177 bcmgenet_shutdown(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dr535.c1315 struct nvkm_device_pci *pdev = container_of(device, typeof(*pdev), device); local
1328 info->nvDomainBusDeviceFunc = pci_dev_id(pdev->pdev);
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c1524 static bool dm_should_disable_stutter(struct pci_dev *pdev) argument
1529 if (pdev->vendor == p->chip_vendor &&
1530 pdev->device == p->chip_device &&
1531 pdev->subsystem_vendor == p->subsys_vendor &&
1532 pdev->subsystem_device == p->subsys_device &&
1533 pdev->revision == p->revision) {
1637 init_data.asic_id.pci_revision_id = adev->pdev->revision;
1639 init_data.asic_id.chip_id = adev->pdev->device;
1758 if (dm_should_disable_stutter(adev->pdev))
7775 i2c->base.dev.parent = &adev->pdev
[all...]

Completed in 407 milliseconds

1234567891011>>