/linux-master/drivers/ufs/host/ |
H A D | tc-dwc-g210-pci.c | 38 * @pdev: pointer to PCI handle 40 static void tc_dwc_g210_pci_remove(struct pci_dev *pdev) argument 42 struct ufs_hba *hba = pci_get_drvdata(pdev); 44 pm_runtime_forbid(&pdev->dev); 45 pm_runtime_get_noresume(&pdev->dev); 51 * @pdev: pointer to PCI device handle 57 tc_dwc_g210_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) argument 71 dev_err(&pdev->dev, "test chip version not specified\n"); 75 err = pcim_enable_device(pdev); 77 dev_err(&pdev [all...] |
/linux-master/drivers/usb/host/ |
H A D | ehci-pci.c | 29 static inline bool is_intel_quark_x1000(struct pci_dev *pdev) argument 31 return pdev->vendor == PCI_VENDOR_ID_INTEL && 32 pdev->device == PCI_DEVICE_ID_INTEL_QUARK_X1000_SOC; 48 static inline bool is_bypassed_id(struct pci_dev *pdev) argument 50 return !!pci_match_id(bypass_pci_id_table, pdev); 63 static int ehci_pci_reinit(struct ehci_hcd *ehci, struct pci_dev *pdev) argument 72 retval = pci_set_mwi(pdev); 77 if (is_intel_quark_x1000(pdev)) { 93 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); local 108 switch (pdev 360 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); local 382 ehci_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) argument 389 ehci_pci_remove(struct pci_dev *pdev) argument [all...] |
/linux-master/arch/mips/cobalt/ |
H A D | lcd.c | 20 struct platform_device *pdev; local 23 pdev = platform_device_alloc("cobalt-lcd", -1); 24 if (!pdev) 27 retval = platform_device_add_resources(pdev, &cobalt_lcd_resource, 1); 31 retval = platform_device_add(pdev); 38 platform_device_put(pdev);
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | pci.c | 9 void mt76_pci_disable_aspm(struct pci_dev *pdev) argument 11 struct pci_dev *parent = pdev->bus->self; 14 pcie_capability_read_word(pdev, PCI_EXP_LNKCTL, &aspm_conf); 27 dev_info(&pdev->dev, "disabling ASPM %s %s\n", 34 err = pci_disable_link_state(pdev, aspm_conf); 42 pcie_capability_clear_word(pdev, PCI_EXP_LNKCTL, aspm_conf);
|
/linux-master/drivers/gpu/drm/gma500/ |
H A D | power.c | 105 * @pdev: PCI device 110 static void gma_resume_display(struct pci_dev *pdev) argument 112 struct drm_device *dev = pci_get_drvdata(pdev); 119 pci_write_config_word(pdev, PSB_GMCH_CTRL, 130 * @pdev: PCI device 134 static void gma_suspend_pci(struct pci_dev *pdev) argument 136 struct drm_device *dev = pci_get_drvdata(pdev); 140 pci_save_state(pdev); 141 pci_read_config_dword(pdev, 0x5C, &bsm); 143 pci_read_config_dword(pdev, 157 gma_resume_pci(struct pci_dev *pdev) argument 180 struct pci_dev *pdev = to_pci_dev(_dev); local 197 struct pci_dev *pdev = to_pci_dev(_dev); local [all...] |
/linux-master/sound/soc/fsl/ |
H A D | imx-pcm.h | 31 int imx_pcm_dma_init(struct platform_device *pdev); 33 static inline int imx_pcm_dma_init(struct platform_device *pdev) argument 40 int imx_pcm_fiq_init(struct platform_device *pdev, 42 void imx_pcm_fiq_exit(struct platform_device *pdev); 44 static inline int imx_pcm_fiq_init(struct platform_device *pdev, argument 50 static inline void imx_pcm_fiq_exit(struct platform_device *pdev) argument
|
/linux-master/include/linux/ |
H A D | aperture.h | 12 int devm_aperture_acquire_for_platform_device(struct platform_device *pdev, 19 int __aperture_remove_legacy_vga_devices(struct pci_dev *pdev); 21 int aperture_remove_conflicting_pci_devices(struct pci_dev *pdev, const char *name); 23 static inline int devm_aperture_acquire_for_platform_device(struct platform_device *pdev, argument 36 static inline int __aperture_remove_legacy_vga_devices(struct pci_dev *pdev) argument 41 static inline int aperture_remove_conflicting_pci_devices(struct pci_dev *pdev, const char *name) argument
|
H A D | pci-p2pdma.h | 20 int pci_p2pdma_add_resource(struct pci_dev *pdev, int bar, size_t size, 24 bool pci_has_p2pmem(struct pci_dev *pdev); 26 void *pci_alloc_p2pmem(struct pci_dev *pdev, size_t size); 27 void pci_free_p2pmem(struct pci_dev *pdev, void *addr, size_t size); 28 pci_bus_addr_t pci_p2pmem_virt_to_bus(struct pci_dev *pdev, void *addr); 29 struct scatterlist *pci_p2pmem_alloc_sgl(struct pci_dev *pdev, 31 void pci_p2pmem_free_sgl(struct pci_dev *pdev, struct scatterlist *sgl); 32 void pci_p2pmem_publish(struct pci_dev *pdev, bool publish); 38 static inline int pci_p2pdma_add_resource(struct pci_dev *pdev, int bar, argument 48 static inline bool pci_has_p2pmem(struct pci_dev *pdev) argument 57 pci_alloc_p2pmem(struct pci_dev *pdev, size_t size) argument 61 pci_free_p2pmem(struct pci_dev *pdev, void *addr, size_t size) argument 65 pci_p2pmem_virt_to_bus(struct pci_dev *pdev, void *addr) argument 70 pci_p2pmem_alloc_sgl(struct pci_dev *pdev, unsigned int *nents, u32 length) argument 75 pci_p2pmem_free_sgl(struct pci_dev *pdev, struct scatterlist *sgl) argument 79 pci_p2pmem_publish(struct pci_dev *pdev, bool publish) argument [all...] |
H A D | blk-mq-pci.h | 8 void blk_mq_pci_map_queues(struct blk_mq_queue_map *qmap, struct pci_dev *pdev,
|
/linux-master/drivers/misc/mei/ |
H A D | pci-txe.c | 45 * @pdev: PCI device structure 50 static int mei_txe_probe(struct pci_dev *pdev, const struct pci_device_id *ent) argument 58 err = pcim_enable_device(pdev); 60 dev_err(&pdev->dev, "failed to enable pci device.\n"); 64 pci_set_master(pdev); 66 err = pcim_iomap_regions(pdev, mask, KBUILD_MODNAME); 68 dev_err(&pdev->dev, "failed to get pci regions.\n"); 72 err = dma_set_mask(&pdev->dev, DMA_BIT_MASK(36)); 74 err = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32)); 76 dev_err(&pdev 167 mei_txe_shutdown(struct pci_dev *pdev) argument 188 mei_txe_remove(struct pci_dev *pdev) argument 208 struct pci_dev *pdev = to_pci_dev(device); local 225 struct pci_dev *pdev = to_pci_dev(device); local 324 struct pci_dev *pdev = to_pci_dev(dev->dev); local [all...] |
/linux-master/drivers/thermal/intel/int340x_thermal/ |
H A D | processor_thermal_device_pci_legacy.c | 22 struct pci_dev *pdev = devid; local 24 proc_priv = pci_get_drvdata(pdev); 31 static int proc_thermal_pci_probe(struct pci_dev *pdev, argument 37 ret = pcim_enable_device(pdev); 39 dev_err(&pdev->dev, "error: could not enable device\n"); 43 proc_priv = devm_kzalloc(&pdev->dev, sizeof(*proc_priv), GFP_KERNEL); 47 ret = proc_thermal_add(&pdev->dev, proc_priv); 51 pci_set_drvdata(pdev, proc_priv); 53 if (pdev->device == PCI_DEVICE_ID_INTEL_BSW_THERMAL) { 64 if (!IS_ERR(proc_priv->soc_dts) && pdev 93 proc_thermal_pci_remove(struct pci_dev *pdev) argument [all...] |
/linux-master/include/linux/mfd/ |
H A D | dln2.h | 15 * @pdev - the sub-device that registered this callback 25 typedef void (*dln2_event_cb_t)(struct platform_device *pdev, u16 echo, 31 * @pdev - the sub-device that registers the callback 37 int dln2_register_event_cb(struct platform_device *pdev, u16 event, 43 * @pdev - the sub-device that registered the callback 46 void dln2_unregister_event_cb(struct platform_device *pdev, u16 event); 52 * @pdev - the sub-device which is issuing this transfer 64 int dln2_transfer(struct platform_device *pdev, u16 cmd, 71 * @pdev - the sub-device which is issuing this transfer 81 static inline int dln2_transfer_rx(struct platform_device *pdev, u1 argument 98 dln2_transfer_tx(struct platform_device *pdev, u16 cmd, const void *obuf, unsigned obuf_len) argument [all...] |
/linux-master/drivers/clk/hisilicon/ |
H A D | reset.h | 13 struct hisi_reset_controller *hisi_reset_init(struct platform_device *pdev); 17 struct hisi_reset_controller *hisi_reset_init(struct platform_device *pdev) argument
|
H A D | crg.h | 15 struct hisi_clock_data* (*register_clks)(struct platform_device *pdev); 16 void (*unregister_clks)(struct platform_device *pdev);
|
/linux-master/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_ierb.h | 9 int enetc_ierb_register_pf(struct platform_device *pdev, 14 static inline int enetc_ierb_register_pf(struct platform_device *pdev, argument
|
/linux-master/drivers/usb/fotg210/ |
H A D | fotg210.h | 23 int fotg210_hcd_probe(struct platform_device *pdev, struct fotg210 *fotg); 24 int fotg210_hcd_remove(struct platform_device *pdev); 28 static inline int fotg210_hcd_probe(struct platform_device *pdev, argument 33 static inline int fotg210_hcd_remove(struct platform_device *pdev) argument 47 int fotg210_udc_probe(struct platform_device *pdev, struct fotg210 *fotg); 48 int fotg210_udc_remove(struct platform_device *pdev); 50 static inline int fotg210_udc_probe(struct platform_device *pdev, argument 55 static inline int fotg210_udc_remove(struct platform_device *pdev) argument
|
/linux-master/drivers/leds/simple/ |
H A D | simatic-ipc-leds-gpio.h | 14 int simatic_ipc_leds_gpio_probe(struct platform_device *pdev, 18 void simatic_ipc_leds_gpio_remove(struct platform_device *pdev,
|
/linux-master/drivers/media/platform/mediatek/vpu/ |
H A D | mtk_vpu.h | 84 * @pdev: VPU platform device 94 int vpu_ipi_register(struct platform_device *pdev, enum ipi_id id, 100 * @pdev: VPU platform device 112 int vpu_ipi_send(struct platform_device *pdev, 119 * @pdev: the platform device of the module requesting VPU platform 125 struct platform_device *vpu_get_plat_device(struct platform_device *pdev); 130 * @pdev: VPU platform device 141 int vpu_wdt_reg_handler(struct platform_device *pdev, 148 * @pdev: VPU platform device 152 unsigned int vpu_get_vdec_hw_capa(struct platform_device *pdev); [all...] |
/linux-master/drivers/mfd/ |
H A D | cs5535-mfd.c | 68 static int cs5535_mfd_probe(struct pci_dev *pdev, argument 73 err = pci_enable_device(pdev); 81 r->start = pci_resource_start(pdev, bar); 82 r->end = pci_resource_end(pdev, bar); 85 err = pci_request_region(pdev, PMS_BAR, DRV_NAME); 87 dev_err(&pdev->dev, "Failed to request PMS_BAR's IO region\n"); 91 err = mfd_add_devices(&pdev->dev, PLATFORM_DEVID_NONE, cs5535_mfd_cells, 94 dev_err(&pdev->dev, 100 err = pci_request_region(pdev, ACPI_BAR, DRV_NAME); 102 dev_err(&pdev 135 cs5535_mfd_remove(struct pci_dev *pdev) argument [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | sta2x11.h | 11 struct sta2x11_instance *sta2x11_get_instance(struct pci_dev *pdev);
|
/linux-master/include/linux/platform_data/ |
H A D | intel-mid_wdt.h | 16 int (*probe)(struct platform_device *pdev);
|
/linux-master/drivers/char/xillybus/ |
H A D | xillybus_pcie.c | 35 static int xilly_probe(struct pci_dev *pdev, argument 41 endpoint = xillybus_init_endpoint(&pdev->dev); 46 pci_set_drvdata(pdev, endpoint); 50 rc = pcim_enable_device(pdev); 59 pci_disable_link_state(pdev, PCIE_LINK_STATE_L0S); 61 if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) { 67 rc = pcim_iomap_regions(pdev, 0x01, xillyname); 74 endpoint->registers = pcim_iomap_table(pdev)[0]; 76 pci_set_master(pdev); 79 if (pci_enable_msi(pdev)) { 111 xilly_remove(struct pci_dev *pdev) argument [all...] |
/linux-master/drivers/spi/ |
H A D | spi-intel-platform.c | 14 static int intel_spi_platform_probe(struct platform_device *pdev) argument 19 info = dev_get_platdata(&pdev->dev); 23 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); 24 return intel_spi_probe(&pdev->dev, mem, info);
|
/linux-master/arch/x86/kernel/ |
H A D | pmem.c | 17 struct platform_device *pdev; local 29 pdev = platform_device_alloc("e820_pmem", -1); 31 rc = platform_device_add(pdev); 33 platform_device_put(pdev);
|
/linux-master/drivers/bus/ |
H A D | omap-ocp2scp.c | 22 struct platform_device *pdev = to_platform_device(dev); local 24 platform_device_unregister(pdev); 29 static int omap_ocp2scp_probe(struct platform_device *pdev) argument 35 struct device_node *np = pdev->dev.of_node; 38 ret = of_platform_populate(np, NULL, NULL, &pdev->dev); 40 dev_err(&pdev->dev, 46 pm_runtime_enable(&pdev->dev); 61 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 62 regs = devm_ioremap_resource(&pdev->dev, res); 68 pm_runtime_get_sync(&pdev 87 omap_ocp2scp_remove(struct platform_device *pdev) argument [all...] |