Searched refs:pdev (Results 176 - 200 of 7443) sorted by relevance

1234567891011>>

/linux-master/drivers/usb/misc/
H A Donboard_usb_hub_pdevs.c23 struct platform_device *pdev; member in struct:pdev_list_entry
71 struct platform_device *pdev; local
95 pdev = of_find_device_by_node(npc);
98 if (pdev) {
99 put_device(&pdev->dev);
104 pdev = of_platform_device_create(np, NULL, &parent_hub->dev);
105 if (!pdev) {
113 of_platform_device_destroy(&pdev->dev, NULL);
117 pdle->pdev = pdev;
[all...]
/linux-master/drivers/pwm/
H A Dpwm-lpss-pci.c17 static int pwm_lpss_probe_pci(struct pci_dev *pdev, argument
24 err = pcim_enable_device(pdev);
28 err = pcim_iomap_regions(pdev, BIT(0), pci_name(pdev));
33 chip = devm_pwm_lpss_probe(&pdev->dev, pcim_iomap_table(pdev)[0], info);
37 pm_runtime_put(&pdev->dev);
38 pm_runtime_allow(&pdev->dev);
43 static void pwm_lpss_remove_pci(struct pci_dev *pdev) argument
45 pm_runtime_forbid(&pdev
[all...]
/linux-master/arch/arm/mach-omap2/
H A Domap_device.c42 static struct omap_device *omap_device_alloc(struct platform_device *pdev,
59 dev_dbg(&od->pdev->dev, "Creating %s -> %s\n", clk_alias, clk_name);
61 r = clk_get_sys(dev_name(&od->pdev->dev), clk_alias);
63 dev_dbg(&od->pdev->dev,
79 dev_name(&od->pdev->dev));
81 rc = clk_add_alias(clk_alias, dev_name(&od->pdev->dev),
87 dev_err(&od->pdev->dev,
90 dev_err(&od->pdev->dev,
125 * @pdev: The platform device to update.
131 static int omap_device_build_from_dt(struct platform_device *pdev) argument
216 struct platform_device *pdev = to_platform_device(dev); local
304 omap_device_alloc(struct platform_device *pdev, struct omap_hwmod **ohs, int oh_cnt) argument
354 struct platform_device *pdev = to_platform_device(dev); local
366 struct platform_device *pdev = to_platform_device(dev); local
395 struct platform_device *pdev = to_platform_device(dev); local
417 struct platform_device *pdev = to_platform_device(dev); local
464 omap_device_enable(struct platform_device *pdev) argument
495 omap_device_idle(struct platform_device *pdev) argument
529 omap_device_assert_hardreset(struct platform_device *pdev, const char *name) argument
556 omap_device_deassert_hardreset(struct platform_device *pdev, const char *name) argument
593 struct platform_device *pdev = to_platform_device(dev); local
[all...]
/linux-master/drivers/misc/mei/
H A Dpci-me.c141 struct pci_dev *pdev = to_pci_dev(dev->dev); local
143 return pci_read_config_dword(pdev, where, val);
149 * @pdev: PCI device structure
154 static bool mei_me_quirk_probe(struct pci_dev *pdev, argument
157 if (cfg->quirk_probe && cfg->quirk_probe(pdev)) {
158 dev_info(&pdev->dev, "Device doesn't have valid ME Interface\n");
168 * @pdev: PCI device structure
173 static int mei_me_probe(struct pci_dev *pdev, const struct pci_device_id *ent) argument
185 if (!mei_me_quirk_probe(pdev, cfg))
189 err = pcim_enable_device(pdev);
298 mei_me_shutdown(struct pci_dev *pdev) argument
319 mei_me_remove(struct pci_dev *pdev) argument
347 struct pci_dev *pdev = to_pci_dev(device); local
364 struct pci_dev *pdev = to_pci_dev(device); local
471 struct pci_dev *pdev = to_pci_dev(dev->dev); local
[all...]
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_pci.c19 int (*setup)(struct pci_dev *pdev, struct plat_stmmacenet_data *plat);
51 static int stmmac_default_data(struct pci_dev *pdev, argument
72 static int snps_gmac5_default_data(struct pci_dev *pdev, argument
121 plat->axi = devm_kzalloc(&pdev->dev, sizeof(*plat->axi), GFP_KERNEL);
144 * @pdev: pci device pointer
153 static int stmmac_pci_probe(struct pci_dev *pdev, argument
162 plat = devm_kzalloc(&pdev->dev, sizeof(*plat), GFP_KERNEL);
166 plat->mdio_bus_data = devm_kzalloc(&pdev->dev,
172 plat->dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*plat->dma_cfg),
177 plat->safety_feat_cfg = devm_kzalloc(&pdev
232 stmmac_pci_remove(struct pci_dev *pdev) argument
248 struct pci_dev *pdev = to_pci_dev(dev); local
266 struct pci_dev *pdev = to_pci_dev(dev); local
[all...]
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_drv.c72 qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) argument
77 if (pdev->revision < 4) {
83 qdev = devm_drm_dev_alloc(&pdev->dev, &qxl_driver,
90 ret = pci_enable_device(pdev);
94 ret = drm_aperture_remove_conflicting_pci_framebuffers(pdev, &qxl_driver);
98 if (pci_is_vga(pdev) && pdev->revision < 5) {
99 ret = vga_get_interruptible(pdev, VGA_RSRC_LEGACY_IO);
106 ret = qxl_device_init(qdev, pdev);
129 if (pci_is_vga(pdev)
151 qxl_pci_remove(struct pci_dev *pdev) argument
162 qxl_pci_shutdown(struct pci_dev *pdev) argument
171 struct pci_dev *pdev = to_pci_dev(dev->dev); local
207 struct pci_dev *pdev = to_pci_dev(dev); local
222 struct pci_dev *pdev = to_pci_dev(dev); local
252 struct pci_dev *pdev = to_pci_dev(dev); local
[all...]
/linux-master/drivers/misc/cb710/
H A Dcore.c17 void cb710_pci_update_config_reg(struct pci_dev *pdev, argument
22 pci_read_config_dword(pdev, reg, &rval);
24 pci_write_config_dword(pdev, reg, rval);
29 static int cb710_pci_configure(struct pci_dev *pdev) argument
31 unsigned int devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0);
35 cb710_pci_update_config_reg(pdev, 0x48,
38 pci_read_config_dword(pdev, 0x48, &val);
42 pdev0 = pci_get_slot(pdev->bus, devfn);
112 slot->pdev.name = name;
113 slot->pdev
171 struct pci_dev *pdev = to_pci_dev(dev_d); local
180 struct pci_dev *pdev = to_pci_dev(dev_d); local
187 cb710_probe(struct pci_dev *pdev, const struct pci_device_id *ent) argument
282 cb710_remove_one(struct pci_dev *pdev) argument
[all...]
/linux-master/drivers/mtd/maps/
H A Dplat-ram.c68 static void platram_remove(struct platform_device *pdev) argument
70 struct platram_info *info = to_platram_info(pdev);
72 dev_dbg(&pdev->dev, "removing device\n");
95 static int platram_probe(struct platform_device *pdev) argument
102 dev_dbg(&pdev->dev, "probe entered\n");
104 if (dev_get_platdata(&pdev->dev) == NULL) {
105 dev_err(&pdev->dev, "no platform data supplied\n");
110 pdata = dev_get_platdata(&pdev->dev);
118 platform_set_drvdata(pdev, info);
120 info->dev = &pdev
[all...]
H A Dphysmap-versatile.h6 int of_flash_probe_versatile(struct platform_device *pdev,
11 int of_flash_probe_versatile(struct platform_device *pdev, argument
H A Dphysmap-gemini.h6 int of_flash_probe_gemini(struct platform_device *pdev,
11 int of_flash_probe_gemini(struct platform_device *pdev, argument
H A Dphysmap-bt1-rom.h6 int of_flash_probe_bt1_rom(struct platform_device *pdev,
11 int of_flash_probe_bt1_rom(struct platform_device *pdev, argument
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dcn10k_cpt.c50 struct pci_dev *pdev = cptpf->pdev; local
62 dev_err(&pdev->dev, "PF LMTLINE address not configured\n");
65 size = pci_resource_len(pdev, PCI_MBOX_BAR_NUM);
67 cptpf->lfs.lmt_base = devm_ioremap_wc(&pdev->dev, lmt_base, size);
69 dev_err(&pdev->dev,
80 struct pci_dev *pdev = cptvf->pdev; local
86 offset = pci_resource_start(pdev, PCI_MBOX_BAR_NUM);
87 size = pci_resource_len(pdev, PCI_MBOX_BAR_NU
99 cn10k_cpt_hw_ctx_clear(struct pci_dev *pdev, struct cn10k_cpt_errata_ctx *er_ctx) argument
124 cn10k_cpt_hw_ctx_init(struct pci_dev *pdev, struct cn10k_cpt_errata_ctx *er_ctx) argument
150 cn10k_cpt_ctx_flush(struct pci_dev *pdev, u64 cptr, bool inval) argument
[all...]
/linux-master/drivers/mmc/host/
H A Dsdhci-pci-o2micro.c171 pci_read_config_dword(chip->pdev,
177 pci_write_config_dword(chip->pdev,
254 pci_read_config_byte(chip->pdev,
257 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch_8);
267 pci_read_config_dword(chip->pdev,
272 pci_write_config_dword(chip->pdev, O2_SD_FUNC_REG4, scratch_32);
307 pci_read_config_byte(chip->pdev,
310 pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch_8);
343 switch (chip->pdev->device) {
357 pci_read_config_byte(chip->pdev, O2_SD_LOCK_W
[all...]
/linux-master/arch/mips/cobalt/
H A Dserial.c42 struct platform_device *pdev; local
51 pdev = platform_device_alloc("serial8250", -1);
52 if (!pdev)
55 pdev->id = PLAT8250_DEV_PLATFORM;
56 pdev->dev.platform_data = cobalt_serial8250_port;
58 retval = platform_device_add_resources(pdev, cobalt_uart_resource, ARRAY_SIZE(cobalt_uart_resource));
62 retval = platform_device_add(pdev);
69 platform_device_put(pdev);
/linux-master/include/video/
H A Dsisfb.h20 extern void sis_malloc_new(struct pci_dev *pdev, struct sis_memreq *req);
23 extern void sis_free_new(struct pci_dev *pdev, u32 base);
/linux-master/drivers/media/usb/pwc/
H A Dpwc-dec23.h45 void pwc_dec23_init(struct pwc_device *pdev, const unsigned char *cmd);
46 void pwc_dec23_decompress(struct pwc_device *pdev,
/linux-master/drivers/regulator/
H A Ddbx500-prcmu.h35 int ux500_regulator_debug_init(struct platform_device *pdev,
42 static inline int ux500_regulator_debug_init(struct platform_device *pdev, argument
/linux-master/drivers/net/ethernet/brocade/bna/
H A Dcna_fwimg.c21 cna_read_firmware(struct pci_dev *pdev, u32 **bfi_image, argument
27 if (request_firmware(&fw, fw_name, &pdev->dev)) {
28 dev_alert(&pdev->dev, "can't load firmware %s\n", fw_name);
48 cna_get_firmware_buf(struct pci_dev *pdev) argument
50 if (pdev->device == BFA_PCI_DEVICE_ID_CT2) {
52 cna_read_firmware(pdev, &bfi_image_ct2_cna,
55 } else if (bfa_asic_id_ct(pdev->device)) {
57 cna_read_firmware(pdev, &bfi_image_ct_cna,
/linux-master/include/linux/platform_data/
H A Ds3c-hsotg.h33 int (*phy_init)(struct platform_device *pdev, int type);
34 int (*phy_exit)(struct platform_device *pdev, int type);
/linux-master/drivers/usb/renesas_usbhs/
H A Drcar2.c13 static int usbhs_rcar2_hardware_init(struct platform_device *pdev) argument
15 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev);
18 struct phy *phy = phy_get(&pdev->dev, "usb");
30 static int usbhs_rcar2_hardware_exit(struct platform_device *pdev) argument
32 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev);
35 phy_put(&pdev->dev, priv->phy);
42 static int usbhs_rcar2_power_ctrl(struct platform_device *pdev, argument
45 struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev);
/linux-master/drivers/net/can/softing/
H A Dsofting_platform.h35 * bring pdev in or out of reset, depending on value
37 int (*reset)(struct platform_device *pdev, int value);
38 int (*enable_irq)(struct platform_device *pdev, int value);
/linux-master/drivers/crypto/cavium/nitrox/
H A Dnitrox_isr.h13 int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs);
15 static inline int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs) argument
/linux-master/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_vpu.h16 * @pdev : pointer to the VPU platform device
22 struct platform_device *pdev; member in struct:mtk_mdp_vpu
28 int mtk_mdp_vpu_register(struct platform_device *pdev);
/linux-master/drivers/gpu/drm/gma500/
H A Dgtt.c18 int psb_gtt_allocate_resource(struct drm_psb_private *pdev, struct resource *res, argument
22 struct resource *root = pdev->gtt_mem;
29 end = root->start + pdev->gtt.stolen_size - 1;
32 start = root->start + pdev->gtt.stolen_size;
70 static u32 __iomem *psb_gtt_entry(struct drm_psb_private *pdev, const struct resource *res) argument
72 unsigned long offset = res->start - pdev->gtt_mem->start;
74 return pdev->gtt_map + (offset >> PAGE_SHIFT);
78 void psb_gtt_insert_pages(struct drm_psb_private *pdev, const struct resource *res, argument
85 mutex_lock(&pdev->gtt_mutex);
90 gtt_slot = psb_gtt_entry(pdev, re
104 psb_gtt_remove_pages(struct drm_psb_private *pdev, const struct resource *res) argument
131 struct pci_dev *pdev = to_pci_dev(dev->dev); local
152 struct pci_dev *pdev = to_pci_dev(dev->dev); local
170 psb_gtt_clear(struct drm_psb_private *pdev) argument
188 struct pci_dev *pdev = to_pci_dev(dev->dev); local
[all...]
/linux-master/drivers/eisa/
H A Dpci_eisa.c21 static int __init pci_eisa_init(struct pci_dev *pdev) argument
26 if ((rc = pci_enable_device (pdev))) {
27 dev_err(&pdev->dev, "Could not enable device\n");
41 pci_bus_for_each_resource(pdev->bus, res)
48 dev_err(&pdev->dev, "No resources available\n");
52 pci_eisa_root.dev = &pdev->dev;
56 pci_eisa_root.dma_mask = pdev->dma_mask;
60 dev_err(&pdev->dev, "Could not register EISA root\n");

Completed in 329 milliseconds

1234567891011>>