Home
last modified time | relevance | path

Searched refs:pdev (Results 1 – 25 of 98) sorted by relevance

1234

/include/linux/
Dvgaarb.h48 void vga_set_legacy_decoding(struct pci_dev *pdev, unsigned int decodes);
49 int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible);
50 void vga_put(struct pci_dev *pdev, unsigned int rsrc);
52 void vga_set_default_device(struct pci_dev *pdev);
53 int vga_remove_vgacon(struct pci_dev *pdev);
54 int vga_client_register(struct pci_dev *pdev,
55 unsigned int (*set_decode)(struct pci_dev *pdev, bool state));
57 static inline void vga_set_legacy_decoding(struct pci_dev *pdev, in vga_set_legacy_decoding() argument
61 static inline int vga_get(struct pci_dev *pdev, unsigned int rsrc, in vga_get() argument
66 static inline void vga_put(struct pci_dev *pdev, unsigned int rsrc) in vga_put() argument
[all …]
Dpci-ats.h27 int pci_enable_pri(struct pci_dev *pdev, u32 reqs);
28 void pci_disable_pri(struct pci_dev *pdev);
29 int pci_reset_pri(struct pci_dev *pdev);
30 int pci_prg_resp_pasid_required(struct pci_dev *pdev);
31 bool pci_pri_supported(struct pci_dev *pdev);
33 static inline bool pci_pri_supported(struct pci_dev *pdev) in pci_pri_supported() argument
38 int pci_enable_pasid(struct pci_dev *pdev, int features);
39 void pci_disable_pasid(struct pci_dev *pdev);
40 int pci_pasid_features(struct pci_dev *pdev);
41 int pci_max_pasids(struct pci_dev *pdev);
[all …]
Dptp_pch.h13 void pch_ch_control_write(struct pci_dev *pdev, u32 val);
14 u32 pch_ch_event_read(struct pci_dev *pdev);
15 void pch_ch_event_write(struct pci_dev *pdev, u32 val);
16 u32 pch_src_uuid_lo_read(struct pci_dev *pdev);
17 u32 pch_src_uuid_hi_read(struct pci_dev *pdev);
18 u64 pch_rx_snap_read(struct pci_dev *pdev);
19 u64 pch_tx_snap_read(struct pci_dev *pdev);
20 int pch_set_station_address(u8 *addr, struct pci_dev *pdev);
Dpci-p2pdma.h20 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);
42 static inline int pci_p2pdma_add_resource(struct pci_dev *pdev, int bar, in pci_p2pdma_add_resource() argument
52 static inline bool pci_has_p2pmem(struct pci_dev *pdev) in pci_has_p2pmem() argument
[all …]
Damd-iommu.h46 extern int amd_iommu_init_device(struct pci_dev *pdev, int pasids);
53 extern void amd_iommu_free_device(struct pci_dev *pdev);
63 extern int amd_iommu_bind_pasid(struct pci_dev *pdev, u32 pasid,
75 extern void amd_iommu_unbind_pasid(struct pci_dev *pdev, u32 pasid);
100 typedef int (*amd_iommu_invalid_ppr_cb)(struct pci_dev *pdev,
105 extern int amd_iommu_set_invalid_ppr_cb(struct pci_dev *pdev,
138 extern int amd_iommu_device_info(struct pci_dev *pdev,
153 typedef void (*amd_iommu_invalidate_ctx)(struct pci_dev *pdev, u32 pasid);
155 extern int amd_iommu_set_invalidate_ctx_cb(struct pci_dev *pdev,
Dvga_switcheroo.h122 enum vga_switcheroo_client_id (*get_client_id)(struct pci_dev *pdev);
155 int vga_switcheroo_register_audio_client(struct pci_dev *pdev,
166 int vga_switcheroo_lock_ddc(struct pci_dev *pdev);
167 int vga_switcheroo_unlock_ddc(struct pci_dev *pdev);
171 bool vga_switcheroo_client_probe_defer(struct pci_dev *pdev);
184 static inline int vga_switcheroo_register_audio_client(struct pci_dev *pdev, in vga_switcheroo_register_audio_client() argument
189 static inline int vga_switcheroo_lock_ddc(struct pci_dev *pdev) { return -ENODEV; } in vga_switcheroo_lock_ddc() argument
190 static inline int vga_switcheroo_unlock_ddc(struct pci_dev *pdev) { return -ENODEV; } in vga_switcheroo_unlock_ddc() argument
192 static inline bool vga_switcheroo_client_probe_defer(struct pci_dev *pdev) { return false; } in vga_switcheroo_client_probe_defer() argument
Dcb710.h23 struct platform_device pdev; member
30 struct pci_dev *pdev; member
76 void cb710_pci_update_config_reg(struct pci_dev *pdev,
84 struct platform_device *pdev) in cb710_pdev_to_slot() argument
86 return container_of(pdev, struct cb710_slot, pdev); in cb710_pdev_to_slot()
91 return dev_get_drvdata(slot->pdev.dev.parent); in cb710_slot_to_chip()
96 return &slot->pdev.dev; in cb710_slot_dev()
101 return &chip->pdev->dev; in cb710_chip_dev()
Dplatform_device.h51 #define platform_get_device_id(pdev) ((pdev)->id_entry) argument
71 devm_platform_get_and_ioremap_resource(struct platform_device *pdev,
74 devm_platform_ioremap_resource(struct platform_device *pdev,
77 devm_platform_ioremap_resource_byname(struct platform_device *pdev,
205 extern int platform_device_add_resources(struct platform_device *pdev,
208 extern int platform_device_add_data(struct platform_device *pdev,
210 extern int platform_device_add(struct platform_device *pdev);
211 extern void platform_device_del(struct platform_device *pdev);
212 extern void platform_device_put(struct platform_device *pdev);
258 static inline void *platform_get_drvdata(const struct platform_device *pdev) in platform_get_drvdata() argument
[all …]
Dpci.h535 static inline int pci_channel_offline(struct pci_dev *pdev) in pci_channel_offline() argument
537 return (pdev->error_state != pci_channel_io_normal); in pci_channel_offline()
1078 void pcibios_bus_add_device(struct pci_dev *pdev);
1251 int __must_check pcim_enable_device(struct pci_dev *pdev);
1252 void pcim_pin_device(struct pci_dev *pdev);
1254 static inline bool pci_intx_mask_supported(struct pci_dev *pdev) in pci_intx_mask_supported() argument
1260 return !pdev->broken_intx_masking; in pci_intx_mask_supported()
1263 static inline int pci_is_enabled(struct pci_dev *pdev) in pci_is_enabled() argument
1265 return (atomic_read(&pdev->enable_cnt) > 0); in pci_is_enabled()
1268 static inline int pci_is_managed(struct pci_dev *pdev) in pci_is_managed() argument
[all …]
Dpci-acpi.h32 static inline acpi_handle acpi_find_root_bridge_handle(struct pci_dev *pdev) in acpi_find_root_bridge_handle() argument
34 struct pci_bus *pbus = pdev->bus; in acpi_find_root_bridge_handle()
118 void pci_acpi_add_edr_notifier(struct pci_dev *pdev);
119 void pci_acpi_remove_edr_notifier(struct pci_dev *pdev);
121 static inline void pci_acpi_add_edr_notifier(struct pci_dev *pdev) { } in pci_acpi_add_edr_notifier() argument
122 static inline void pci_acpi_remove_edr_notifier(struct pci_dev *pdev) { } in pci_acpi_remove_edr_notifier() argument
Dahci_platform.h33 struct platform_device *pdev, unsigned int flags);
34 int ahci_platform_init_host(struct platform_device *pdev,
39 void ahci_platform_shutdown(struct platform_device *pdev);
/include/linux/ssb/
Dssb_driver_gige.h55 extern bool pdev_is_ssb_gige_core(struct pci_dev *pdev);
58 static inline struct ssb_gige * pdev_to_ssb_gige(struct pci_dev *pdev) in pdev_to_ssb_gige() argument
60 if (!pdev_is_ssb_gige_core(pdev)) in pdev_to_ssb_gige()
62 return container_of(pdev->bus->ops, struct ssb_gige, pci_ops); in pdev_to_ssb_gige()
66 static inline bool ssb_gige_is_rgmii(struct pci_dev *pdev) in ssb_gige_is_rgmii() argument
68 struct ssb_gige *dev = pdev_to_ssb_gige(pdev); in ssb_gige_is_rgmii()
73 static inline bool ssb_gige_have_roboswitch(struct pci_dev *pdev) in ssb_gige_have_roboswitch() argument
75 struct ssb_gige *dev = pdev_to_ssb_gige(pdev); in ssb_gige_have_roboswitch()
83 static inline bool ssb_gige_one_dma_at_once(struct pci_dev *pdev) in ssb_gige_one_dma_at_once() argument
85 struct ssb_gige *dev = pdev_to_ssb_gige(pdev); in ssb_gige_one_dma_at_once()
[all …]
/include/linux/soc/cirrus/
Dep93xx.h14 int ep93xx_pwm_acquire_gpio(struct platform_device *pdev);
15 void ep93xx_pwm_release_gpio(struct platform_device *pdev);
16 int ep93xx_ide_acquire_gpio(struct platform_device *pdev);
17 void ep93xx_ide_release_gpio(struct platform_device *pdev);
18 int ep93xx_keypad_acquire_gpio(struct platform_device *pdev);
19 void ep93xx_keypad_release_gpio(struct platform_device *pdev);
25 static inline int ep93xx_pwm_acquire_gpio(struct platform_device *pdev) { return 0; } in ep93xx_pwm_acquire_gpio() argument
26 static inline void ep93xx_pwm_release_gpio(struct platform_device *pdev) {} in ep93xx_pwm_release_gpio() argument
27 static inline int ep93xx_ide_acquire_gpio(struct platform_device *pdev) { return 0; } in ep93xx_ide_acquire_gpio() argument
28 static inline void ep93xx_ide_release_gpio(struct platform_device *pdev) {} in ep93xx_ide_release_gpio() argument
[all …]
/include/trace/events/
Dpwc.h12 TP_PROTO(struct urb *urb, struct pwc_device *pdev),
13 TP_ARGS(urb, pdev),
20 __string(name, pdev->v4l2_dev.name)
24 __entry->fbuf = pdev->fill_buf;
27 __entry->fbuf__filled = (pdev->fill_buf
28 ? pdev->fill_buf->filled : 0);
29 __assign_str(name, pdev->v4l2_dev.name);
41 TP_PROTO(struct urb *urb, struct pwc_device *pdev),
42 TP_ARGS(urb, pdev),
47 __string(name, pdev->v4l2_dev.name)
[all …]
/include/linux/mfd/
Ddln2.h25 typedef void (*dln2_event_cb_t)(struct platform_device *pdev, u16 echo,
37 int dln2_register_event_cb(struct platform_device *pdev, u16 event,
46 void dln2_unregister_event_cb(struct platform_device *pdev, u16 event);
64 int dln2_transfer(struct platform_device *pdev, u16 cmd,
81 static inline int dln2_transfer_rx(struct platform_device *pdev, u16 cmd, in dln2_transfer_rx() argument
84 return dln2_transfer(pdev, cmd, NULL, 0, ibuf, ibuf_len); in dln2_transfer_rx()
98 static inline int dln2_transfer_tx(struct platform_device *pdev, u16 cmd, in dln2_transfer_tx() argument
101 return dln2_transfer(pdev, cmd, obuf, obuf_len, NULL, NULL); in dln2_transfer_tx()
/include/linux/platform_data/
Diommu-omap.h14 int (*assert_reset)(struct platform_device *pdev, const char *name);
15 int (*deassert_reset)(struct platform_device *pdev, const char *name);
16 int (*device_enable)(struct platform_device *pdev);
17 int (*device_idle)(struct platform_device *pdev);
18 int (*set_pwrdm_constraint)(struct platform_device *pdev, bool request,
Dwan_ixp4xx_hss.h10 int (*open)(int port, void *pdev,
11 void (*set_carrier_cb)(void *pdev, int carrier));
12 void (*close)(int port, void *pdev);
Dwkup_m3.h18 int (*assert_reset)(struct platform_device *pdev, const char *name);
19 int (*deassert_reset)(struct platform_device *pdev, const char *name);
Ds3c-hsotg.h33 int (*phy_init)(struct platform_device *pdev, int type);
34 int (*phy_exit)(struct platform_device *pdev, int type);
/include/linux/usb/
Drenesas_usbhs.h49 int (*hardware_init)(struct platform_device *pdev);
57 int (*hardware_exit)(struct platform_device *pdev);
64 int (*power_ctrl)(struct platform_device *pdev,
72 int (*phy_reset)(struct platform_device *pdev);
79 int (*get_id)(struct platform_device *pdev);
84 int (*get_vbus)(struct platform_device *pdev);
91 int (*set_vbus)(struct platform_device *pdev, int enable);
210 #define renesas_usbhs_get_info(pdev)\ argument
211 ((struct renesas_usbhs_platform_info *)(pdev)->dev.platform_data)
Dohci_pdriver.h41 int (*power_on)(struct platform_device *pdev);
43 void (*power_off)(struct platform_device *pdev);
46 void (*power_suspend)(struct platform_device *pdev);
Dehci_pdriver.h56 int (*power_on)(struct platform_device *pdev);
58 void (*power_off)(struct platform_device *pdev);
61 void (*power_suspend)(struct platform_device *pdev);
/include/linux/rpmsg/
Dmtk_rpmsg.h24 int (*register_ipi)(struct platform_device *pdev, u32 id,
26 void (*unregister_ipi)(struct platform_device *pdev, u32 id);
27 int (*send_ipi)(struct platform_device *pdev, u32 id,
33 mtk_rpmsg_create_rproc_subdev(struct platform_device *pdev,
/include/linux/mmc/
Dsdhci-pci-data.h8 struct pci_dev *pdev; member
16 extern struct sdhci_pci_data *(*sdhci_pci_get_data)(struct pci_dev *pdev,
/include/video/
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);

1234