/linux-master/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_pci.c | 13 static void _rtl92e_parse_pci_configuration(struct pci_dev *pdev, argument 21 pcie_capability_read_word(priv->pdev, PCI_EXP_LNKCTL, &link_ctrl_reg); 23 pci_read_config_byte(pdev, 0x98, &tmp); 25 pci_write_config_byte(pdev, 0x98, tmp); 28 pci_write_config_byte(pdev, 0x70f, tmp); 31 bool rtl92e_check_adapter(struct pci_dev *pdev, struct net_device *dev) argument 38 device_id = pdev->device; 39 revision_id = pdev->revision; 40 pci_read_config_word(pdev, 0x3C, &irq_line); 47 dev_info(&pdev [all...] |
/linux-master/drivers/media/usb/pwc/ |
H A D | pwc-v4l.c | 150 int pwc_init_controls(struct pwc_device *pdev) argument 156 hdl = &pdev->ctrl_handler; 162 r = pwc_get_u8_ctrl(pdev, GET_LUM_CTL, BRIGHTNESS_FORMATTER, &def); 165 pdev->brightness = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, 168 r = pwc_get_u8_ctrl(pdev, GET_LUM_CTL, CONTRAST_FORMATTER, &def); 171 pdev->contrast = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, 174 if (pdev->type >= 675) { 175 if (pdev->type < 730) 176 pdev->saturation_fmt = SATURATION_MODE_FORMATTER2; 178 pdev 409 pwc_vidioc_try_fmt(struct pwc_device *pdev, struct v4l2_format *f) argument 451 struct pwc_device *pdev = video_drvdata(file); local 481 struct pwc_device *pdev = video_drvdata(file); local 512 struct pwc_device *pdev = local 583 pwc_set_awb(struct pwc_device *pdev) argument 628 pwc_set_autogain(struct pwc_device *pdev) argument 657 pwc_set_exposure_auto(struct pwc_device *pdev) argument 687 pwc_set_autogain_expo(struct pwc_device *pdev) argument 725 pwc_set_motor(struct pwc_device *pdev) argument 764 struct pwc_device *pdev = local 869 struct pwc_device *pdev = video_drvdata(file); local 888 struct pwc_device *pdev = video_drvdata(file); local 901 struct pwc_device *pdev = video_drvdata(file); local 909 struct pwc_device *pdev = video_drvdata(file); local 934 struct pwc_device *pdev = video_drvdata(file); local 964 struct pwc_device *pdev = video_drvdata(file); local 983 struct pwc_device *pdev = video_drvdata(file); local [all...] |
H A D | pwc-if.c | 33 pdev: struct pwc_devive * 119 static void pwc_isoc_cleanup(struct pwc_device *pdev); 187 static struct pwc_frame_buf *pwc_get_next_fill_buf(struct pwc_device *pdev) argument 192 spin_lock_irqsave(&pdev->queued_bufs_lock, flags); 193 if (list_empty(&pdev->queued_bufs)) 196 buf = list_entry(pdev->queued_bufs.next, struct pwc_frame_buf, list); 199 spin_unlock_irqrestore(&pdev->queued_bufs_lock, flags); 203 static void pwc_snapshot_button(struct pwc_device *pdev, int down) argument 212 if (pdev->button_dev) { 213 input_report_key(pdev 219 pwc_frame_complete(struct pwc_device *pdev) argument 287 struct pwc_device *pdev = (struct pwc_device *)urb->context; local 400 pwc_isoc_init(struct pwc_device *pdev) argument 507 pwc_iso_stop(struct pwc_device *pdev) argument 520 pwc_iso_free(struct pwc_device *pdev) argument 542 pwc_isoc_cleanup(struct pwc_device *pdev) argument 554 pwc_cleanup_queued_bufs(struct pwc_device *pdev, enum vb2_buffer_state state) argument 606 struct pwc_device *pdev = container_of(v, struct pwc_device, v4l2_dev); local 621 struct pwc_device *pdev = vb2_get_drv_priv(vq); local 654 struct pwc_device *pdev = vb2_get_drv_priv(vb->vb2_queue); local 665 struct pwc_device *pdev = vb2_get_drv_priv(vb->vb2_queue); local 692 struct pwc_device *pdev = vb2_get_drv_priv(vb->vb2_queue); local 711 struct pwc_device *pdev = vb2_get_drv_priv(vq); local 738 struct pwc_device *pdev = vb2_get_drv_priv(vq); local 777 struct pwc_device *pdev = NULL; local 1176 struct pwc_device *pdev = container_of(v, struct pwc_device, v4l2_dev); local [all...] |
/linux-master/drivers/usb/cdns3/ |
H A D | cdnsp-gadget.c | 101 void cdnsp_set_link_state(struct cdnsp_device *pdev, argument 116 if (pdev->active_port) 117 port_num = pdev->active_port->port_num; 124 static void cdnsp_disable_port(struct cdnsp_device *pdev, argument 132 static void cdnsp_clear_port_change_bit(struct cdnsp_device *pdev, argument 141 static void cdnsp_set_chicken_bits_2(struct cdnsp_device *pdev, u32 bit) argument 147 base = &pdev->cap_regs->hc_capbase; 155 static void cdnsp_clear_chicken_bits_2(struct cdnsp_device *pdev, u32 bit) argument 161 base = &pdev->cap_regs->hc_capbase; 172 static void cdnsp_quiesce(struct cdnsp_device *pdev) argument 198 cdnsp_halt(struct cdnsp_device *pdev) argument 222 cdnsp_died(struct cdnsp_device *pdev) argument 232 cdnsp_start(struct cdnsp_device *pdev) argument 265 cdnsp_reset(struct cdnsp_device *pdev) argument 346 struct cdnsp_device *pdev = pep->pdev; local 425 struct cdnsp_device *pdev = pep->pdev; local 439 cdnsp_zero_in_ctx(struct cdnsp_device *pdev) argument 471 cdnsp_configure_endpoint(struct cdnsp_device *pdev) argument 487 cdnsp_invalidate_ep_events(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument 522 cdnsp_wait_for_cmd_compl(struct cdnsp_device *pdev) argument 595 cdnsp_halt_endpoint(struct cdnsp_device *pdev, struct cdnsp_ep *pep, int value) argument 635 cdnsp_update_eps_configuration(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument 688 cdnsp_reset_device(struct cdnsp_device *pdev) argument 742 cdnsp_setup_streams_ep_input_ctx(struct cdnsp_device *pdev, struct cdnsp_ep_ctx *ep_ctx, struct cdnsp_stream_info *stream_info) argument 765 cdnsp_alloc_streams(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument 803 cdnsp_disable_slot(struct cdnsp_device *pdev) argument 822 cdnsp_enable_slot(struct cdnsp_device *pdev) argument 853 cdnsp_setup_device(struct cdnsp_device *pdev, enum cdnsp_setup_dev setup) argument 905 cdnsp_set_usb2_hardware_lpm(struct cdnsp_device *pdev, struct usb_request *req, int enable) argument 921 cdnsp_get_frame(struct cdnsp_device *pdev) argument 930 struct cdnsp_device *pdev; local 1004 struct cdnsp_device *pdev; local 1093 struct cdnsp_device *pdev; local 1122 struct cdnsp_device *pdev = pep->pdev; local 1150 struct cdnsp_device *pdev = pep->pdev; local 1176 struct cdnsp_device *pdev = pep->pdev; local 1214 struct cdnsp_device *pdev = pep->pdev; local 1239 cdnsp_run(struct cdnsp_device *pdev, enum usb_device_speed speed) argument 1314 struct cdnsp_device *pdev = gadget_to_cdnsp(g); local 1335 cdnsp_update_erst_dequeue(struct cdnsp_device *pdev, union cdnsp_trb *event_ring_deq, u8 clear_ehb) argument 1361 cdnsp_clear_cmd_ring(struct cdnsp_device *pdev) argument 1384 cdnsp_consume_all_events(struct cdnsp_device *pdev) argument 1421 cdnsp_stop(struct cdnsp_device *pdev) argument 1465 struct cdnsp_device *pdev = gadget_to_cdnsp(g); local 1478 struct cdnsp_device *pdev = gadget_to_cdnsp(g); local 1483 __cdnsp_gadget_wakeup(struct cdnsp_device *pdev) argument 1509 struct cdnsp_device *pdev = gadget_to_cdnsp(g); local 1522 struct cdnsp_device *pdev = gadget_to_cdnsp(g); local 1534 struct cdnsp_device *pdev = gadget_to_cdnsp(gadget); local 1569 cdnsp_get_ep_buffering(struct cdnsp_device *pdev, struct cdnsp_ep *pep) argument 1596 cdnsp_gadget_init_endpoints(struct cdnsp_device *pdev) argument 1687 cdnsp_gadget_free_endpoints(struct cdnsp_device *pdev) argument 1699 cdnsp_disconnect_gadget(struct cdnsp_device *pdev) argument 1715 cdnsp_suspend_gadget(struct cdnsp_device *pdev) argument 1724 cdnsp_resume_gadget(struct cdnsp_device *pdev) argument 1733 cdnsp_irq_reset(struct cdnsp_device *pdev) argument 1768 cdnsp_get_rev_cap(struct cdnsp_device *pdev) argument 1783 cdnsp_gen_setup(struct cdnsp_device *pdev) argument 1853 struct cdnsp_device *pdev; local 1947 struct cdnsp_device *pdev = cdns->gadget_dev; local 1962 struct cdnsp_device *pdev = cdns->gadget_dev; local 1978 struct cdnsp_device *pdev = cdns->gadget_dev; local [all...] |
H A D | cdnsp-ep0.c | 18 static void cdnsp_ep0_stall(struct cdnsp_device *pdev) argument 23 pep = &pdev->eps[0]; 26 if (pdev->three_stage_setup) { 27 cdnsp_halt_endpoint(pdev, pep, true); 37 cdnsp_status_stage(pdev); 41 static int cdnsp_ep0_delegate_req(struct cdnsp_device *pdev, argument 46 spin_unlock(&pdev->lock); 47 ret = pdev->gadget_driver->setup(&pdev->gadget, ctrl); 48 spin_lock(&pdev 53 cdnsp_ep0_set_config(struct cdnsp_device *pdev, struct usb_ctrlrequest *ctrl) argument 84 cdnsp_ep0_set_address(struct cdnsp_device *pdev, struct usb_ctrlrequest *ctrl) argument 127 cdnsp_status_stage(struct cdnsp_device *pdev) argument 144 cdnsp_ep0_handle_status(struct cdnsp_device *pdev, struct usb_ctrlrequest *ctrl) argument 193 cdnsp_enter_test_mode(struct cdnsp_device *pdev) argument 202 cdnsp_ep0_handle_feature_device(struct cdnsp_device *pdev, struct usb_ctrlrequest *ctrl, int set) argument 263 cdnsp_ep0_handle_feature_intf(struct cdnsp_device *pdev, struct usb_ctrlrequest *ctrl, int set) argument 297 cdnsp_ep0_handle_feature_endpoint(struct cdnsp_device *pdev, struct usb_ctrlrequest *ctrl, int set) argument 325 cdnsp_ep0_handle_feature(struct cdnsp_device *pdev, struct usb_ctrlrequest *ctrl, int set) argument 341 cdnsp_ep0_set_sel(struct cdnsp_device *pdev, struct usb_ctrlrequest *ctrl) argument 368 cdnsp_ep0_set_isoch_delay(struct cdnsp_device *pdev, struct usb_ctrlrequest *ctrl) argument 379 cdnsp_ep0_std_request(struct cdnsp_device *pdev, struct usb_ctrlrequest *ctrl) argument 414 cdnsp_setup_analyze(struct cdnsp_device *pdev) argument [all...] |
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00soc.h | 19 int rt2x00soc_probe(struct platform_device *pdev, const struct rt2x00_ops *ops); 20 int rt2x00soc_remove(struct platform_device *pdev); 22 int rt2x00soc_suspend(struct platform_device *pdev, pm_message_t state); 23 int rt2x00soc_resume(struct platform_device *pdev);
|
/linux-master/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-phy.h | 10 int emac_phy_config(struct platform_device *pdev, struct emac_adapter *adpt);
|
/linux-master/arch/s390/pci/ |
H A D | pci_iov.h | 14 void zpci_iov_remove_virtfn(struct pci_dev *pdev, int vfn); 16 void zpci_iov_map_resources(struct pci_dev *pdev); 21 static inline void zpci_iov_remove_virtfn(struct pci_dev *pdev, int vfn) {} argument 23 static inline void zpci_iov_map_resources(struct pci_dev *pdev) {} argument
|
H A D | pci_iov.c | 25 void zpci_iov_map_resources(struct pci_dev *pdev) argument 33 len = pci_resource_len(pdev, bar); 36 pdev->resource[bar].parent = &iov_res; 40 void zpci_iov_remove_virtfn(struct pci_dev *pdev, int vfn) argument 44 pci_iov_remove_virtfn(pdev->physfn, vfn - 1); 48 static int zpci_iov_link_virtfn(struct pci_dev *pdev, struct pci_dev *virtfn, int vfid) argument 52 rc = pci_iov_sysfs_link(pdev, virtfn, vfid); 58 virtfn->physfn = pci_dev_get(pdev); 67 struct pci_dev *pdev; local 84 pdev [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp6000_pcie.h | 15 nfp_cpp_from_nfp6000_pcie(struct pci_dev *pdev, const struct nfp_dev_info *dev_info);
|
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | pcie_quirks.h | 9 int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev);
|
H A D | pcie_quirks.c | 81 struct pci_dev *pdev = card->dev; local 89 dev_info(&pdev->dev, "no quirks enabled\n"); 91 dev_info(&pdev->dev, "quirk reset_d3cold enabled\n"); 94 static void mwifiex_pcie_set_power_d3cold(struct pci_dev *pdev) argument 96 dev_info(&pdev->dev, "putting into D3cold...\n"); 98 pci_save_state(pdev); 99 if (pci_is_enabled(pdev)) 100 pci_disable_device(pdev); 101 pci_set_power_state(pdev, PCI_D3cold); 104 static int mwifiex_pcie_set_power_d0(struct pci_dev *pdev) argument 121 mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev) argument [all...] |
/linux-master/arch/mips/cobalt/ |
H A D | led.c | 22 struct platform_device *pdev; local 27 pdev = platform_device_alloc("cobalt-qube-leds", -1); 29 pdev = platform_device_alloc("cobalt-raq-leds", -1); 31 if (!pdev) 34 retval = platform_device_add_resources(pdev, &cobalt_led_resource, 1); 38 retval = platform_device_add(pdev); 45 platform_device_put(pdev);
|
/linux-master/drivers/pci/ |
H A D | rom.c | 17 * @pdev: PCI device to enable 24 int pci_enable_rom(struct pci_dev *pdev) argument 26 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; 42 pcibios_resource_to_bus(pdev->bus, ®ion, res); 43 pci_read_config_dword(pdev, pdev->rom_base_reg, &rom_addr); 46 pci_write_config_dword(pdev, pdev->rom_base_reg, rom_addr); 53 * @pdev: PCI device to disable 58 void pci_disable_rom(struct pci_dev *pdev) argument 83 pci_get_rom_size(struct pci_dev *pdev, void __iomem *rom, size_t size) argument 136 pci_map_rom(struct pci_dev *pdev, size_t *size) argument 187 pci_unmap_rom(struct pci_dev *pdev, void __iomem *rom) argument [all...] |
/linux-master/include/linux/ssb/ |
H A D | ssb_driver_gige.h | 55 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) argument 60 if (!pdev_is_ssb_gige_core(pdev)) 62 return container_of(pdev->bus->ops, struct ssb_gige, pci_ops); 66 static inline bool ssb_gige_is_rgmii(struct pci_dev *pdev) argument 68 struct ssb_gige *dev = pdev_to_ssb_gige(pdev); 73 static inline bool ssb_gige_have_roboswitch(struct pci_dev *pdev) argument 75 struct ssb_gige *dev = pdev_to_ssb_gige(pdev); 83 static inline bool ssb_gige_one_dma_at_once(struct pci_dev *pdev) argument 85 struct ssb_gige *dev = pdev_to_ssb_gige(pdev); 93 ssb_gige_must_flush_posted_writes(struct pci_dev *pdev) argument 102 ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr) argument 113 ssb_gige_get_phyaddr(struct pci_dev *pdev) argument 142 ssb_gige_pcibios_plat_dev_init(struct ssb_device *sdev, struct pci_dev *pdev) argument 147 ssb_gige_map_irq(struct ssb_device *sdev, const struct pci_dev *pdev) argument 160 pdev_is_ssb_gige_core(struct pci_dev *pdev) argument 164 pdev_to_ssb_gige(struct pci_dev *pdev) argument 168 ssb_gige_is_rgmii(struct pci_dev *pdev) argument 172 ssb_gige_have_roboswitch(struct pci_dev *pdev) argument 176 ssb_gige_one_dma_at_once(struct pci_dev *pdev) argument 180 ssb_gige_must_flush_posted_writes(struct pci_dev *pdev) argument 184 ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr) argument 188 ssb_gige_get_phyaddr(struct pci_dev *pdev) argument [all...] |
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_platform.h | 15 devm_stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac); 17 int stmmac_get_platform_resources(struct platform_device *pdev, 20 int stmmac_pltfr_init(struct platform_device *pdev, 22 void stmmac_pltfr_exit(struct platform_device *pdev, 25 int stmmac_pltfr_probe(struct platform_device *pdev, 28 int devm_stmmac_pltfr_probe(struct platform_device *pdev, 31 void stmmac_pltfr_remove(struct platform_device *pdev);
|
/linux-master/drivers/bus/ |
H A D | sun50i-de2.c | 12 static int sun50i_de2_bus_probe(struct platform_device *pdev) argument 14 struct device_node *np = pdev->dev.of_node; 17 ret = sunxi_sram_claim(&pdev->dev); 19 return dev_err_probe(&pdev->dev, ret, 22 of_platform_populate(np, NULL, NULL, &pdev->dev); 27 static void sun50i_de2_bus_remove(struct platform_device *pdev) argument 29 sunxi_sram_release(&pdev->dev);
|
/linux-master/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_ptp.c | 29 static int enetc_ptp_probe(struct pci_dev *pdev, argument 36 if (pdev->dev.of_node && !of_device_is_available(pdev->dev.of_node)) { 37 dev_info(&pdev->dev, "device is disabled, skipping\n"); 41 err = pci_enable_device_mem(pdev); 43 return dev_err_probe(&pdev->dev, err, "device enable failed\n"); 45 err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); 47 dev_err(&pdev->dev, "DMA configuration failed: 0x%x\n", err); 51 err = pci_request_mem_regions(pdev, KBUILD_MODNAME); 53 dev_err(&pdev 117 enetc_ptp_remove(struct pci_dev *pdev) argument [all...] |
/linux-master/drivers/gpu/drm/amd/amdxcp/ |
H A D | amdgpu_xcp_drv.c | 36 struct platform_device *pdev; member in struct:xcp_device 51 struct platform_device *pdev; local 58 pdev = platform_device_register_simple("amdgpu_xcp", pdev_num, NULL, 0); 59 if (IS_ERR(pdev)) 60 return PTR_ERR(pdev); 62 if (!devres_open_group(&pdev->dev, NULL, GFP_KERNEL)) { 67 pxcp_dev = devm_drm_dev_alloc(&pdev->dev, &amdgpu_xcp_driver, struct xcp_device, drm); 74 xcp_dev[pdev_num]->pdev = pdev; 81 devres_release_group(&pdev 92 struct platform_device *pdev = xcp_dev[pdev_num]->pdev; local [all...] |
/linux-master/drivers/w1/masters/ |
H A D | ds2482.c | 103 struct ds2482_data *pdev; member in struct:ds2482_w1_chan 141 * @pdev: The ds2482 client pointer 145 static inline int ds2482_select_register(struct ds2482_data *pdev, u8 read_ptr) argument 147 if (pdev->read_prt != read_ptr) { 148 if (i2c_smbus_write_byte_data(pdev->client, 153 pdev->read_prt = read_ptr; 160 * @pdev: The ds2482 client pointer 166 static inline int ds2482_send_cmd(struct ds2482_data *pdev, u8 cmd) argument 168 if (i2c_smbus_write_byte(pdev->client, cmd) < 0) 171 pdev 185 ds2482_send_cmd_data(struct ds2482_data *pdev, u8 cmd, u8 byte) argument 210 ds2482_wait_1wire_idle(struct ds2482_data *pdev) argument 237 ds2482_set_channel(struct ds2482_data *pdev, u8 channel) argument 263 struct ds2482_data *pdev = pchan->pdev; local 295 struct ds2482_data *pdev = pchan->pdev; local 325 struct ds2482_data *pdev = pchan->pdev; local 349 struct ds2482_data *pdev = pchan->pdev; local 386 struct ds2482_data *pdev = pchan->pdev; local 418 struct ds2482_data *pdev = pchan->pdev; local [all...] |
/linux-master/drivers/xen/xen-pciback/ |
H A D | xenbus.c | 39 struct xen_pcibk_device *pdev; local 41 pdev = kzalloc(sizeof(struct xen_pcibk_device), GFP_KERNEL); 42 if (pdev == NULL) 44 dev_dbg(&xdev->dev, "allocated pdev @ 0x%p\n", pdev); 46 pdev->xdev = xdev; 48 mutex_init(&pdev->dev_lock); 50 pdev->sh_info = NULL; 51 pdev->evtchn_irq = INVALID_EVTCHN_IRQ; 52 pdev 67 xen_pcibk_disconnect(struct xen_pcibk_device *pdev) argument 88 free_pdev(struct xen_pcibk_device *pdev) argument 107 xen_pcibk_do_attach(struct xen_pcibk_device *pdev, int gnt_ref, evtchn_port_t remote_evtchn) argument 142 xen_pcibk_attach(struct xen_pcibk_device *pdev) argument 203 xen_pcibk_publish_pci_dev(struct xen_pcibk_device *pdev, unsigned int domain, unsigned int bus, unsigned int devfn, unsigned int devid) argument 226 xen_pcibk_export_device(struct xen_pcibk_device *pdev, int domain, int bus, int slot, int func, int devid) argument 273 xen_pcibk_remove_device(struct xen_pcibk_device *pdev, int domain, int bus, int slot, int func) argument 302 xen_pcibk_publish_pci_root(struct xen_pcibk_device *pdev, unsigned int domain, unsigned int bus) argument 362 xen_pcibk_reconfigure(struct xen_pcibk_device *pdev, enum xenbus_state state) argument 521 struct xen_pcibk_device *pdev = dev_get_drvdata(&xdev->dev); local 562 xen_pcibk_setup_backend(struct xen_pcibk_device *pdev) argument 662 struct xen_pcibk_device *pdev = local 688 struct xen_pcibk_device *pdev = alloc_pdev(dev); local 721 struct xen_pcibk_device *pdev = dev_get_drvdata(&dev->dev); local [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | eeh_sysfs.c | 28 struct pci_dev *pdev = to_pci_dev(dev); \ 29 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); \ 44 struct pci_dev *pdev = to_pci_dev(dev); local 45 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); 60 struct pci_dev *pdev = to_pci_dev(dev); local 61 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); 83 struct pci_dev *pdev = to_pci_dev(dev); local 84 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); 85 struct pci_dn *pdn = pci_get_pdn(pdev); 97 struct pci_dev *pdev local 110 eeh_notify_resume_add(struct pci_dev *pdev) argument 123 eeh_notify_resume_remove(struct pci_dev *pdev) argument 133 eeh_notify_resume_add(struct pci_dev *pdev) argument 134 eeh_notify_resume_remove(struct pci_dev *pdev) argument 137 eeh_sysfs_add_device(struct pci_dev *pdev) argument 159 eeh_sysfs_remove_device(struct pci_dev *pdev) argument [all...] |
/linux-master/drivers/scsi/ |
H A D | fdomain_pci.c | 7 static int fdomain_pci_probe(struct pci_dev *pdev, argument 13 err = pci_enable_device(pdev); 17 err = pci_request_regions(pdev, "fdomain_pci"); 22 if (pci_resource_len(pdev, 0) == 0) 25 sh = fdomain_create(pci_resource_start(pdev, 0), pdev->irq, 7, 26 &pdev->dev); 30 pci_set_drvdata(pdev, sh); 34 pci_release_regions(pdev); 36 pci_disable_device(pdev); 41 fdomain_pci_remove(struct pci_dev *pdev) argument [all...] |
/linux-master/include/linux/ |
H A D | pci-ats.h | 27 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) 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); 43 pci_enable_pasid(struct pci_dev *pdev, int features) argument 45 pci_disable_pasid(struct pci_dev *pdev) argument 46 pci_pasid_features(struct pci_dev *pdev) argument 48 pci_max_pasids(struct pci_dev *pdev) argument [all...] |
/linux-master/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-ep0.c | 32 static bool cdns2_check_new_setup(struct cdns2_device *pdev) argument 36 reg = readb(&pdev->ep0_regs->cs); 41 static void cdns2_ep0_enqueue(struct cdns2_device *pdev, dma_addr_t dma_addr, argument 44 struct cdns2_adma_regs __iomem *regs = pdev->adma_regs; 45 struct cdns2_endpoint *pep = &pdev->eps[0]; 67 writel(0, &pdev->ep0_regs->rxbc); 69 cdns2_select_ep(pdev, pep->dir); 79 static int cdns2_ep0_delegate_req(struct cdns2_device *pdev) argument 83 spin_unlock(&pdev->lock); 84 ret = pdev 90 cdns2_ep0_stall(struct cdns2_device *pdev) argument 107 cdns2_status_stage(struct cdns2_device *pdev) argument 120 cdns2_req_ep0_set_configuration(struct cdns2_device *pdev, struct usb_ctrlrequest *ctrl_req) argument 144 cdns2_req_ep0_set_address(struct cdns2_device *pdev, u32 addr) argument 173 cdns2_req_ep0_handle_status(struct cdns2_device *pdev, struct usb_ctrlrequest *ctrl) argument 210 cdns2_ep0_handle_feature_device(struct cdns2_device *pdev, struct usb_ctrlrequest *ctrl, int set) argument 263 cdns2_ep0_handle_feature_intf(struct cdns2_device *pdev, struct usb_ctrlrequest *ctrl, int set) argument 282 cdns2_ep0_handle_feature_endpoint(struct cdns2_device *pdev, struct usb_ctrlrequest *ctrl, int set) argument 311 cdns2_req_ep0_handle_feature(struct cdns2_device *pdev, struct usb_ctrlrequest *ctrl, int set) argument 327 cdns2_ep0_std_request(struct cdns2_device *pdev) argument 357 __pending_setup_status_handler(struct cdns2_device *pdev) argument 369 struct cdns2_device *pdev = container_of(work, struct cdns2_device, local 378 cdns2_handle_setup_packet(struct cdns2_device *pdev) argument 459 cdns2_transfer_completed(struct cdns2_device *pdev) argument 477 cdns2_handle_ep0_interrupt(struct cdns2_device *pdev, int dir) argument 518 struct cdns2_device *pdev = pep->pdev; local 541 struct cdns2_device *pdev = pep->pdev; local 619 cdns2_ep0_config(struct cdns2_device *pdev) argument 645 cdns2_init_ep0(struct cdns2_device *pdev, struct cdns2_endpoint *pep) argument [all...] |