Searched refs:pdev (Results 201 - 225 of 7477) sorted by last modified time

1234567891011>>

/linux-master/drivers/media/pci/mgb4/
H A Dmgb4_core.c131 static struct i2c_adapter *get_i2c_adap(struct platform_device *pdev) argument
135 mutex_lock(&pdev->dev.mutex);
136 dev = device_find_child(&pdev->dev, NULL, match_i2c_adap);
137 mutex_unlock(&pdev->dev.mutex);
147 static struct spi_controller *get_spi_adap(struct platform_device *pdev) argument
151 mutex_lock(&pdev->dev.mutex);
152 dev = device_find_child(&pdev->dev, NULL, match_spi_adap);
153 mutex_unlock(&pdev->dev.mutex);
180 struct pci_dev *pdev = mgbdev->pdev; local
282 struct pci_dev *pdev = mgbdev->pdev; local
419 map_regs(struct pci_dev *pdev, struct resource *res, struct mgb4_regs *regs) argument
442 struct pci_dev *pdev = mgbdev->pdev; local
490 mgb4_probe(struct pci_dev *pdev, const struct pci_device_id *id) argument
640 mgb4_remove(struct pci_dev *pdev) argument
[all...]
/linux-master/drivers/media/pci/intel/ipu6/
H A Dipu6.h74 struct pci_dev *pdev; member in struct:ipu6_device
H A Dipu6.c253 dev_warn(&isp->pdev->dev,
368 ipu6_isys_init(struct pci_dev *pdev, struct device *parent, argument
372 struct device *dev = &pdev->dev;
390 isys_adev = ipu6_bus_initialize_device(pdev, parent, pdata, ctrl,
421 ipu6_psys_init(struct pci_dev *pdev, struct device *parent, argument
436 psys_adev = ipu6_bus_initialize_device(pdev, parent, pdata, ctrl,
439 dev_err_probe(&pdev->dev, PTR_ERR(psys_adev),
445 psys_adev->mmu = ipu6_mmu_init(&pdev->dev, base, PSYS_MMID,
448 dev_err_probe(&pdev->dev, PTR_ERR(psys_adev->mmu),
506 static int ipu6_pci_probe(struct pci_dev *pdev, cons argument
713 ipu6_pci_remove(struct pci_dev *pdev) argument
739 ipu6_pci_reset_prepare(struct pci_dev *pdev) argument
746 ipu6_pci_reset_done(struct pci_dev *pdev) argument
769 struct pci_dev *pdev = to_pci_dev(dev); local
804 struct pci_dev *pdev = to_pci_dev(dev); local
[all...]
H A Dipu6-mmu.c532 mmu_info->dev = &isp->pdev->dev;
599 dev_dbg(&isp->pdev->dev, "alloc mapping\n");
H A Dipu6-isys.c713 struct device *dev = &isp->pdev->dev;
779 struct pci_dev *pdev = isys->adev->isp->pdev; local
784 pdev, IPU6_MEDIA_DEV_MODEL_NAME);
796 ret = v4l2_device_register(&pdev->dev, &isys->v4l2_dev);
H A Dipu6-dma.c155 struct pci_dev *pdev = to_ipu6_bus_device(dev)->isp->pdev; local
183 pci_dma_addr = dma_map_page_attrs(&pdev->dev, pages[i], 0,
188 if (dma_mapping_error(&pdev->dev, pci_dma_addr)) {
199 dma_unmap_page_attrs(&pdev->dev, pci_dma_addr,
224 dma_unmap_page_attrs(&pdev->dev, pci_dma_addr, PAGE_SIZE,
245 struct pci_dev *pdev = to_ipu6_bus_device(dev)->isp->pdev; local
277 dma_unmap_page_attrs(&pdev->dev, pci_dma_addr, PAGE_SIZE,
331 struct pci_dev *pdev local
394 struct pci_dev *pdev = to_ipu6_bus_device(dev)->isp->pdev; local
[all...]
H A Dipu6-cpd.c74 dev_err(&isp->pdev->dev, "Component index out of range (%d)\n",
141 dev_err(&isp->pdev->dev, "Invalid CPD component id\n");
148 dev_err(&isp->pdev->dev,
200 dev_err(&isp->pdev->dev, "Failed to parse module data\n");
241 dev_err(&isp->pdev->dev, "Invalid CPD moduledata size\n");
247 dev_err(&isp->pdev->dev, "Invalid CPD header\n");
256 dev_err(&isp->pdev->dev, "Invalid CPD entry (%d)\n", i);
274 dev_err(&isp->pdev->dev, "Invalid CPD moduledata size\n");
278 dev_info(&isp->pdev->dev, "FW version: %x\n", mod_hdr->fw_pkg_date);
283 dev_err(&isp->pdev
[all...]
H A Dipu6-buttress.c70 dev_dbg(&isp->pdev->dev, "Skip IPC reset for non-secure mode");
149 dev_dbg(&isp->pdev->dev,
166 dev_warn_ratelimited(&isp->pdev->dev,
173 dev_err(&isp->pdev->dev, "Timed out while waiting for CSE\n");
201 dev_err(&isp->pdev->dev, "CSE validity timeout 0x%x\n", val);
235 dev_err(&isp->pdev->dev, "IPC validity open failed\n");
247 dev_dbg(&isp->pdev->dev, "bulk IPC command: 0x%x\n",
256 dev_err(&isp->pdev->dev, "send IPC response timeout\n");
276 dev_err(&isp->pdev->dev, "recv IPC response timeout\n");
283 dev_err(&isp->pdev
[all...]
H A Dipu6-bus.h52 ipu6_bus_initialize_device(struct pci_dev *pdev, struct device *parent,
56 void ipu6_bus_del_devices(struct pci_dev *pdev);
H A Dipu6-bus.c84 ipu6_bus_initialize_device(struct pci_dev *pdev, struct device *parent, argument
90 struct ipu6_device *isp = pci_get_drvdata(pdev);
104 auxdev->id = (pci_domain_nr(pdev->bus) << 16) |
105 PCI_DEVID(pdev->bus->number, pdev->devfn);
111 auxdev->dev.dma_parms = pdev->dev.dma_parms;
116 dev_err(&isp->pdev->dev, "auxiliary device init failed (%d)\n",
150 void ipu6_bus_del_devices(struct pci_dev *pdev) argument
152 struct ipu6_device *isp = pci_get_drvdata(pdev);
/linux-master/drivers/media/cec/platform/cros-ec/
H A Dcros-ec-cec.c257 struct platform_device *pdev = to_platform_device(dev); local
258 struct cros_ec_cec *cros_ec_cec = dev_get_drvdata(&pdev->dev);
268 struct platform_device *pdev = to_platform_device(dev); local
269 struct cros_ec_cec *cros_ec_cec = dev_get_drvdata(&pdev->dev);
486 static int cros_ec_cec_probe(struct platform_device *pdev) argument
488 struct cros_ec_dev *ec_dev = dev_get_drvdata(pdev->dev.parent);
496 hdmi_dev = cros_ec_cec_find_hdmi_dev(&pdev->dev, &conns);
500 cros_ec_cec = devm_kzalloc(&pdev->dev, sizeof(*cros_ec_cec),
505 platform_set_drvdata(pdev, cros_ec_cec);
508 device_init_wakeup(&pdev
552 cros_ec_cec_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-funnel.c319 static int static_funnel_probe(struct platform_device *pdev) argument
323 pm_runtime_get_noresume(&pdev->dev);
324 pm_runtime_set_active(&pdev->dev);
325 pm_runtime_enable(&pdev->dev);
328 ret = funnel_probe(&pdev->dev, NULL);
331 pm_runtime_put_noidle(&pdev->dev);
332 pm_runtime_disable(&pdev->dev);
338 static void static_funnel_remove(struct platform_device *pdev) argument
340 funnel_remove(&pdev->dev);
341 pm_runtime_disable(&pdev
[all...]
H A Dcoresight-replicator.c304 static int static_replicator_probe(struct platform_device *pdev) argument
308 pm_runtime_get_noresume(&pdev->dev);
309 pm_runtime_set_active(&pdev->dev);
310 pm_runtime_enable(&pdev->dev);
313 ret = replicator_probe(&pdev->dev, NULL);
316 pm_runtime_put_noidle(&pdev->dev);
317 pm_runtime_disable(&pdev->dev);
323 static void static_replicator_remove(struct platform_device *pdev) argument
325 replicator_remove(&pdev->dev);
326 pm_runtime_disable(&pdev
[all...]
H A Dcoresight-etm4x-core.c2186 static int etm4_probe_platform_dev(struct platform_device *pdev) argument
2188 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
2192 drvdata = devm_kzalloc(&pdev->dev, sizeof(*drvdata), GFP_KERNEL);
2196 drvdata->pclk = coresight_get_enable_apb_pclk(&pdev->dev);
2201 drvdata->base = devm_ioremap_resource(&pdev->dev, res);
2208 dev_set_drvdata(&pdev->dev, drvdata);
2209 pm_runtime_get_noresume(&pdev->dev);
2210 pm_runtime_set_active(&pdev->dev);
2211 pm_runtime_enable(&pdev->dev);
2213 ret = etm4_probe(&pdev
2302 etm4_remove_platform_dev(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/gpu/drm/xlnx/
H A Dzynqmp_dpsub.c217 static int zynqmp_dpsub_probe(struct platform_device *pdev) argument
227 dpsub->dev = &pdev->dev;
228 platform_set_drvdata(pdev, dpsub);
235 of_reserved_mem_device_init(&pdev->dev);
245 pm_runtime_enable(&pdev->dev);
267 dev_info(&pdev->dev, "ZynqMP DisplayPort Subsystem driver probed");
276 pm_runtime_disable(&pdev->dev);
279 of_reserved_mem_device_release(&pdev->dev);
285 static void zynqmp_dpsub_remove(struct platform_device *pdev) argument
287 struct zynqmp_dpsub *dpsub = platform_get_drvdata(pdev);
304 zynqmp_dpsub_shutdown(struct platform_device *pdev) argument
[all...]
H A Dzynqmp_dp.c1723 struct platform_device *pdev = to_platform_device(dpsub->dev); local
1733 dp->dev = &pdev->dev;
1740 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "dp");
1747 dp->irq = platform_get_irq(pdev, 0);
H A Dzynqmp_disp.c1404 struct platform_device *pdev = to_platform_device(dpsub->dev); local
1412 disp->dev = &pdev->dev;
1415 disp->blend.base = devm_platform_ioremap_resource_byname(pdev, "blend");
1421 disp->avbuf.base = devm_platform_ioremap_resource_byname(pdev, "av_buf");
1427 disp->audio.base = devm_platform_ioremap_resource_byname(pdev, "aud");
/linux-master/drivers/gpu/drm/xe/
H A Dxe_ttm_stolen_mgr.c63 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); local
79 if (mgr->stolen_base + stolen_size <= pci_resource_len(pdev, LMEM_BAR))
116 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); local
138 mgr->io_base = pci_resource_start(pdev, 2) + mgr->stolen_base;
181 if (drm_WARN_ON(&xe->drm, stolen_size + SZ_8M > pci_resource_len(pdev, 2)))
206 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); local
249 mgr->mapping = devm_ioremap_wc(&pdev->dev, mgr->io_base, io_size);
H A Dxe_sriov_pf.c23 struct pci_dev *pdev = to_pci_dev(dev); local
26 err = pci_sriov_set_totalvfs(pdev, limit);
52 struct pci_dev *pdev = to_pci_dev(dev); local
53 int totalvfs = pci_sriov_get_totalvfs(pdev);
97 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); local
103 drm_printf(p, "enabled: %u\n", pci_num_vf(pdev));
H A Dxe_pm.c172 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); local
175 root_pdev = pcie_find_root_port(pdev);
577 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); local
578 struct pci_dev *bridge = pci_upstream_bridge(pdev);
585 device_set_pm_not_required(&pdev->dev);
H A Dxe_pci.c692 static void xe_pci_remove(struct pci_dev *pdev) argument
696 xe = pci_get_drvdata(pdev);
702 pci_set_drvdata(pdev, NULL);
705 static int xe_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) argument
712 if (desc->require_force_probe && !id_forced(pdev->device)) {
713 dev_info(&pdev->dev,
719 pdev->device, pdev->device, pdev->device,
720 pdev
809 xe_pci_shutdown(struct pci_dev *pdev) argument
815 d3cold_toggle(struct pci_dev *pdev, enum toggle_d3cold toggle) argument
839 struct pci_dev *pdev = to_pci_dev(dev); local
861 struct pci_dev *pdev = to_pci_dev(dev); local
886 struct pci_dev *pdev = to_pci_dev(dev); local
911 struct pci_dev *pdev = to_pci_dev(dev); local
934 struct pci_dev *pdev = to_pci_dev(dev); local
[all...]
H A Dxe_mmio.c34 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); local
38 if (pci_resource_len(pdev, resno))
39 pci_release_resource(pdev, resno);
41 ret = pci_resize_resource(pdev, resno, bar_size);
58 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); local
59 struct pci_bus *root = pdev->bus;
68 current_size = pci_resource_len(pdev, LMEM_BAR);
69 bar_size_mask = pci_rebar_get_possible_sizes(pdev, LMEM_BAR);
118 pci_read_config_dword(pdev, PCI_COMMAND, &pci_cmd);
119 pci_write_config_dword(pdev, PCI_COMMAN
127 xe_pci_resource_valid(struct pci_dev *pdev, int bar) argument
143 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); local
401 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); local
[all...]
H A Dxe_irq.c669 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); local
678 irq = pci_irq_vector(pdev, 0);
684 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); local
697 nvec = pci_msix_vec_count(pdev);
709 err = pci_alloc_irq_vectors(pdev, nvec, nvec, irq_flags);
715 irq = pci_irq_vector(pdev, 0);
H A Dxe_ggtt.c61 static unsigned int probe_gsm_size(struct pci_dev *pdev) argument
65 pci_read_config_word(pdev, SNB_GMCH_CTRL, &gmch_ctl);
141 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); local
147 gsm_size = probe_gsm_size(pdev);
H A Dxe_device_sysfs.c31 struct pci_dev *pdev = to_pci_dev(dev); local
32 struct xe_device *xe = pdev_to_xe_device(pdev);
49 struct pci_dev *pdev = to_pci_dev(dev); local
50 struct xe_device *xe = pdev_to_xe_device(pdev);

Completed in 220 milliseconds

1234567891011>>