Home
last modified time | relevance | path

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

12345678910>>...128

/linux/drivers/usb/cdns3/
A Dcdnsp-gadget.c346 struct cdnsp_device *pdev = pep->pdev; in cdnsp_ep_enqueue() local
425 struct cdnsp_device *pdev = pep->pdev; in cdnsp_ep_dequeue() local
913 if (pdev->active_port != &pdev->usb2_port || !pdev->gadget.lpm_capable) in cdnsp_set_usb2_hardware_lpm()
945 pdev = pep->pdev; in cdnsp_gadget_ep_enable()
1018 pdev = pep->pdev; in cdnsp_gadget_ep_disable()
1108 pdev = pep->pdev; in cdnsp_gadget_ep_queue()
1628 pep->pdev = pdev; in cdnsp_gadget_init_endpoints()
1796 pdev->cap_regs = pdev->regs; in cdnsp_gen_setup()
1797 pdev->op_regs = pdev->regs + in cdnsp_gen_setup()
1799 pdev->run_regs = pdev->regs + in cdnsp_gen_setup()
[all …]
A Dcdnsp-ep0.c23 pep = &pdev->eps[0]; in cdnsp_ep0_stall()
46 spin_unlock(&pdev->lock); in cdnsp_ep0_delegate_req()
47 ret = pdev->gadget_driver->setup(&pdev->gadget, ctrl); in cdnsp_ep0_delegate_req()
48 spin_lock(&pdev->lock); in cdnsp_ep0_delegate_req()
132 return cdnsp_ep_enqueue(pdev->ep0_preq.pep, &pdev->ep0_preq); in cdnsp_status_stage()
188 pdev->ep0_preq.request.buf = pdev->setup_buf; in cdnsp_ep0_handle_status()
190 return cdnsp_ep_enqueue(pdev->ep0_preq.pep, &pdev->ep0_preq); in cdnsp_ep0_handle_status()
284 pdev->may_wakeup++; in cdnsp_ep0_handle_feature_intf()
363 pdev->ep0_preq.request.buf = pdev->setup_buf; in cdnsp_ep0_set_sel()
365 return cdnsp_ep_enqueue(pdev->ep0_preq.pep, &pdev->ep0_preq); in cdnsp_ep0_set_sel()
[all …]
A Dcdnsp-mem.c702 pdev->cmd.in_ctx = &pdev->in_ctx; in cdnsp_alloc_priv_device()
1071 cdnsp_free_erst(pdev, &pdev->erst); in cdnsp_mem_cleanup()
1074 cdnsp_ring_free(pdev, pdev->event_ring); in cdnsp_mem_cleanup()
1079 cdnsp_ring_free(pdev, pdev->cmd_ring); in cdnsp_mem_cleanup()
1089 pdev->dcbaa, pdev->dcbaa->dma); in cdnsp_mem_cleanup()
1174 cdnsp_add_in_port(pdev, &pdev->usb3_port, in cdnsp_setup_port_arrays()
1277 pdev->ir_set = &pdev->run_regs->ir_set[0]; in cdnsp_mem_init()
1288 ret = cdnsp_alloc_erst(pdev, pdev->event_ring, &pdev->erst); in cdnsp_mem_init()
1321 cdnsp_free_erst(pdev, &pdev->erst); in cdnsp_mem_init()
1323 cdnsp_ring_free(pdev, pdev->event_ring); in cdnsp_mem_init()
[all …]
A Dcdnsp-ring.c262 if (pdev->active_port == &pdev->usb2_port && pdev->gadget.lpm_capable) in cdnsp_force_l0_go()
263 cdnsp_set_link_state(pdev, &pdev->active_port->regs->portsc, XDEV_U0); in cdnsp_force_l0_go()
886 cdnsp_inc_deq(pdev, pdev->event_ring); in cdnsp_handle_port_status()
1403 cdnsp_inc_deq(pdev, pdev->event_ring); in cdnsp_handle_tx_event()
1462 cdnsp_inc_deq(pdev, pdev->cmd_ring); in cdnsp_handle_event()
1509 cdnsp_inc_deq(pdev, pdev->event_ring); in cdnsp_handle_event()
1566 cdnsp_died(pdev); in cdnsp_irq_handler()
1579 cdnsp_died(pdev); in cdnsp_irq_handler()
2330 cdnsp_prepare_ring(pdev, pdev->cmd_ring, EP_STATE_RUNNING, 1, in cdnsp_queue_command()
2333 pdev->cmd.command_trb = pdev->cmd_ring->enqueue; in cdnsp_queue_command()
[all …]
/linux/drivers/media/usb/pwc/
A Dpwc-ctrl.c100 rc = usb_control_msg(pdev->udev, usb_rcvctrlpipe(pdev->udev, 0), in recv_control_msg()
181 ret = send_video_command(pdev, pdev->vendpoint, in set_video_mode_Nala()
195 pdev->frame_size = (pdev->width * pdev->height * 3) / 2; in set_video_mode_Nala()
244 ret = send_video_command(pdev, pdev->vendpoint, in set_video_mode_Timon()
262 pdev->frame_size = (pdev->width * pdev->height * 12) / 8; in set_video_mode_Timon()
311 pdev->frame_size = (pdev->vbandlength * pdev->height) / 4; in set_video_mode_Kiara()
313 pdev->frame_size = (pdev->width * pdev->height * 12) / 8; in set_video_mode_Kiara()
315 pdev->frame_size, pdev->vframes, size, pdev->vbandlength); in set_video_mode_Kiara()
343 pdev->frame_total_size = pdev->frame_size + pdev->frame_header_size + pdev->frame_trailer_size; in pwc_set_video_mode()
445 *data = (pdev->ctrl_buf[1] << 8) | pdev->ctrl_buf[0]; in pwc_get_u16_ctrl()
[all …]
A Dpwc-if.c302 pdev->fill_buf = pwc_get_next_fill_buf(pdev); in pwc_isoc_handler()
377 pdev->fill_buf = pwc_get_next_fill_buf(pdev); in pwc_isoc_handler()
419 ret = pwc_set_video_mode(pdev, pdev->width, pdev->height, pdev->pixfmt, in pwc_isoc_init()
1052 pdev->vb_queue.drv_priv = pdev; in usb_pwc_probe()
1066 pdev->vdev.queue = &pdev->vb_queue; in usb_pwc_probe()
1067 pdev->vdev.queue->lock = &pdev->vb_queue_lock; in usb_pwc_probe()
1068 video_set_drvdata(&pdev->vdev, pdev); in usb_pwc_probe()
1118 pdev->vdev.v4l2_dev = &pdev->v4l2_dev; in usb_pwc_probe()
1119 pdev->vdev.lock = &pdev->v4l2_lock; in usb_pwc_probe()
1142 pdev->button_dev->phys = pdev->button_phys; in usb_pwc_probe()
[all …]
A Dpwc-v4l.c274 pdev->autogain_expo_cluster[0] = pdev->autogain; in pwc_init_controls()
275 pdev->autogain_expo_cluster[1] = pdev->gain; in pwc_init_controls()
276 pdev->autogain_expo_cluster[2] = pdev->exposure; in pwc_init_controls()
475 pwc_vidioc_fill_fmt(f, pdev->width, pdev->height, pdev->pixfmt); in pwc_s_fmt_vid_cap()
544 pdev->gain->val = pdev->last_gain; in pwc_g_volatile_ctrl()
551 pdev->last_gain = pdev->gain->val; in pwc_g_volatile_ctrl()
561 pdev->exposure->val = pdev->last_exposure; in pwc_g_volatile_ctrl()
569 pdev->last_exposure = pdev->exposure->val; in pwc_g_volatile_ctrl()
894 pdev->width, pdev->height); in pwc_g_fmt_vid_cap()
895 pwc_vidioc_fill_fmt(f, pdev->width, pdev->height, pdev->pixfmt); in pwc_g_fmt_vid_cap()
[all …]
/linux/drivers/pci/pcie/
A Ddpc.c81 pci_read_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_STATUS, &status); in dpc_completed()
103 if (!pdev->dpc_cap) in pci_dpc_recovered()
164 if (pdev->dpc_rp_extensions && dpc_wait_rp_inactive(pdev)) { in dpc_reset_link()
329 pdev->dpc_cap = pci_find_ext_capability(pdev, PCI_EXT_CAP_ID_DPC); in pci_dpc_init()
333 pci_read_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CAP, &cap); in pci_dpc_init()
339 if (pdev->dpc_rp_log_size < 4 || pdev->dpc_rp_log_size > 9) { in pci_dpc_init()
366 pci_read_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CAP, &cap); in dpc_probe()
367 pci_read_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CTL, &ctl); in dpc_probe()
370 pci_write_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CTL, ctl); in dpc_probe()
388 pci_read_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CTL, &ctl); in dpc_remove()
[all …]
/linux/drivers/pci/
A Dats.c59 struct pci_dev *pdev; in pci_enable_ats() local
163 if (!pdev->ats_cap) in pci_ats_page_aligned()
166 pci_read_config_word(pdev, pdev->ats_cap + PCI_ATS_CAP, &cap); in pci_ats_page_aligned()
179 pdev->pri_cap = pci_find_ext_capability(pdev, PCI_EXT_CAP_ID_PRI); in pci_pri_init()
181 if (!pdev->pri_cap) in pci_pri_init()
184 pci_read_config_word(pdev, pdev->pri_cap + PCI_PRI_STATUS, &status); in pci_pri_init()
248 if (pdev->is_virtfn) in pci_disable_pri()
325 pdev = pci_physfn(pdev); in pci_prg_resp_pasid_required()
379 if (!pdev->eetlp_prefix_path && !pdev->pasid_no_tlp) in pci_enable_pasid()
466 pdev = pci_physfn(pdev); in pci_pasid_features()
[all …]
A Dxen-pcifront.c65 return sd->pdev; in pcifront_get_pdev()
75 sd->pdev = pdev; in pcifront_init_sd()
645 pdev->sh_info->aer_op.bus, pdev->sh_info->aer_op.devfn); in pcifront_do_aer()
715 kfree(pdev); in alloc_pdev()
738 pdev, pdev->sh_info); in alloc_pdev()
740 return pdev; in alloc_pdev()
752 unbind_from_irqhandler(pdev->irq, pdev); in free_pdev()
755 xenbus_free_evtchn(pdev->xdev, pdev->evtchn); in free_pdev()
765 kfree(pdev); in free_pdev()
780 err = xenbus_alloc_evtchn(pdev->xdev, &pdev->evtchn); in pcifront_publish_info()
[all …]
/linux/drivers/xen/xen-pciback/
A Dxenbus.c42 if (pdev == NULL) in alloc_pdev()
46 pdev->xdev = xdev; in alloc_pdev()
50 pdev->sh_info = NULL; in alloc_pdev()
57 kfree(pdev); in alloc_pdev()
58 pdev = NULL; in alloc_pdev()
64 return pdev; in alloc_pdev()
72 unbind_from_irqhandler(pdev->evtchn_irq, pdev); in xen_pcibk_disconnect()
82 xenbus_unmap_ring_vfree(pdev->xdev, pdev->sh_info); in xen_pcibk_disconnect()
102 pdev->xdev = NULL; in free_pdev()
104 kfree(pdev); in free_pdev()
[all …]
/linux/arch/mips/pci/
A Dfixup-fuloong2e.c52 pci_read_config_dword(pdev, 0xe0, &val); in loongson2e_nec_fixup()
63 sb_slot = PCI_SLOT(pdev->devfn); in loongson2e_686b_func0_fixup()
68 pci_write_config_byte(pdev, 0x40, 0x08); in loongson2e_686b_func0_fixup()
71 pci_write_config_byte(pdev, 0x41, 0x01); in loongson2e_686b_func0_fixup()
74 pci_write_config_byte(pdev, 0x45, 0x00); in loongson2e_686b_func0_fixup()
77 pci_write_config_byte(pdev, 0x46, 0xe0); in loongson2e_686b_func0_fixup()
86 pci_write_config_byte(pdev, 0x47, 0xe6); in loongson2e_686b_func0_fixup()
127 pci_read_config_byte(pdev, 0x85, &c); in loongson2e_686b_func0_fixup()
129 pci_write_config_byte(pdev, 0x85, c); in loongson2e_686b_func0_fixup()
192 pci_write_config_byte(pdev, 0x3c, 9); in loongson2e_686b_func5_fixup()
[all …]
/linux/drivers/usb/host/
A Dxhci-pci.c103 if (!pci_set_mwi(pdev)) in xhci_pci_reinit()
116 id = pci_match_id(to_pci_driver(pdev->dev.driver)->id_table, pdev); in xhci_pci_quirks()
128 pdev->revision == 0x0) { in xhci_pci_quirks()
140 pdev->revision); in xhci_pci_quirks()
152 pdev->revision); in xhci_pci_quirks()
178 pdev->device == 0x43bb)) in xhci_pci_quirks()
182 (pdev->device == 0x15e0 || pdev->device == 0x15e1)) in xhci_pci_quirks()
185 if (pdev->vendor == PCI_VENDOR_ID_AMD && pdev->device == 0x15e5) { in xhci_pci_quirks()
293 pdev->device == 0x3432) in xhci_pci_quirks()
296 if (pdev->vendor == PCI_VENDOR_ID_VIA && pdev->device == 0x3483) { in xhci_pci_quirks()
[all …]
A Dxhci-pci-renesas.c248 dev_err(&pdev->dev, in renesas_fw_check_running()
259 dev_err(&pdev->dev, in renesas_fw_check_running()
277 dev_err(&pdev->dev, in renesas_fw_check_running()
282 dev_err(&pdev->dev, in renesas_fw_check_running()
316 dev_err(&pdev->dev, in renesas_fw_download()
452 dev_err(&pdev->dev, in renesas_setup_rom()
461 dev_err(&pdev->dev, in renesas_setup_rom()
509 dev_err(&pdev->dev, in renesas_setup_rom()
563 dev_dbg(&pdev->dev, in renesas_load_fw()
609 pci_dev_get(pdev); in renesas_xhci_check_request_fw()
[all …]
A Dehci-pci.c69 retval = pci_set_mwi(pdev); in ehci_pci_reinit()
105 switch (pdev->vendor) { in ehci_pci_setup()
122 switch (pdev->device) { in ehci_pci_setup()
173 if (pdev->device == 0x3104 && (pdev->revision & 0xf0) == 0x60) { in ehci_pci_setup()
205 if ((pdev->device == 0x4386 || pdev->device == 0x4396) && in ehci_pci_setup()
252 switch (pdev->vendor) { in ehci_pci_setup()
259 switch (pdev->device) { in ehci_pci_setup()
284 switch (pdev->vendor) { in ehci_pci_setup()
370 if (is_bypassed_id(pdev)) in ehci_pci_probe()
377 pci_clear_mwi(pdev); in ehci_pci_remove()
[all …]
/linux/drivers/w1/masters/
A Dds2482.c247 pdev->channel = -1; in ds2482_set_channel()
266 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_touch_bit() local
273 if (pdev->w1_count > 1) in ds2482_w1_touch_bit()
298 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_triplet() local
305 if (pdev->w1_count > 1) in ds2482_w1_triplet()
328 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_write_byte() local
334 if (pdev->w1_count > 1) in ds2482_w1_write_byte()
352 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_read_byte() local
359 if (pdev->w1_count > 1) in ds2482_w1_read_byte()
389 struct ds2482_data *pdev = pchan->pdev; in ds2482_w1_reset_bus() local
[all …]
/linux/drivers/virt/nitro_enclaves/
A Dne_pci_dev.c220 struct pci_dev *pdev = ne_pci_dev->pdev; in ne_event_work_handler() local
483 pci_set_master(pdev); in ne_pci_probe()
503 rc = ne_setup_msix(pdev); in ne_pci_probe()
510 ne_pci_dev_disable(pdev); in ne_pci_probe()
524 ne_pci_dev->pdev = pdev; in ne_pci_probe()
539 ne_pci_dev_disable(pdev); in ne_pci_probe()
541 ne_teardown_msix(pdev); in ne_pci_probe()
548 pci_disable_device(pdev); in ne_pci_probe()
569 ne_pci_dev_disable(pdev); in ne_pci_remove()
571 ne_teardown_msix(pdev); in ne_pci_remove()
[all …]
/linux/arch/m68k/amiga/
A Dplatform.c146 if (IS_ERR(pdev)) in amiga_init_devices()
155 if (IS_ERR(pdev)) in amiga_init_devices()
164 if (IS_ERR(pdev)) in amiga_init_devices()
171 if (IS_ERR(pdev)) in amiga_init_devices()
179 if (IS_ERR(pdev)) in amiga_init_devices()
187 if (IS_ERR(pdev)) in amiga_init_devices()
198 if (IS_ERR(pdev)) in amiga_init_devices()
211 if (IS_ERR(pdev)) in amiga_init_devices()
218 if (IS_ERR(pdev)) in amiga_init_devices()
225 if (IS_ERR(pdev)) in amiga_init_devices()
[all …]
/linux/drivers/misc/eeprom/
A Didt_89hpesx.c567 ret = pdev->smb_write(pdev, &smbseq); in idt_eeprom_read_byte()
576 ret = pdev->smb_read(pdev, &smbseq); in idt_eeprom_read_byte()
640 ret = pdev->smb_write(pdev, &smbseq); in idt_eeprom_write()
738 ret = pdev->smb_write(pdev, &smbseq); in idt_csr_write()
748 ret = pdev->smb_write(pdev, &smbseq); in idt_csr_write()
757 ret = pdev->smb_read(pdev, &smbseq); in idt_csr_write()
802 ret = pdev->smb_write(pdev, &smbseq); in idt_csr_read()
811 ret = pdev->smb_read(pdev, &smbseq); in idt_csr_read()
1006 ret = idt_csr_read(pdev, pdev->csr, &csrval); in idt_dbgfs_csr_read()
1134 pdev->eesize, pdev->eeaddr); in idt_get_fw_data()
[all …]
/linux/drivers/misc/mei/
A Dpci-txe.c64 pci_set_master(pdev); in mei_txe_probe()
90 pci_enable_msi(pdev); in mei_txe_probe()
108 pdev->irq); in mei_txe_probe()
152 free_irq(pdev->irq, dev); in mei_txe_probe()
181 free_irq(pdev->irq, dev); in mei_txe_shutdown()
209 free_irq(pdev->irq, dev); in mei_txe_remove()
230 free_irq(pdev->irq, dev); in mei_txe_pci_suspend()
231 pci_disable_msi(pdev); in mei_txe_pci_suspend()
246 pci_enable_msi(pdev); in mei_txe_pci_resume()
263 pdev->irq); in mei_txe_pci_resume()
[all …]
/linux/arch/s390/pci/
A Dpci_event.c85 ers_res = driver->err_handler->error_detected(pdev, pdev->error_state); in zpci_event_notify_error_detected()
113 pci_name(pdev)); in zpci_event_do_error_state_clear()
172 pci_dev_lock(pdev); in zpci_event_attempt_error_recovery()
181 pci_name(pdev)); in zpci_event_attempt_error_recovery()
189 pci_name(pdev)); in zpci_event_attempt_error_recovery()
192 pci_name(pdev), in zpci_event_attempt_error_recovery()
233 pci_dev_lock(pdev); in zpci_event_io_failure()
246 driver->err_handler->error_detected(pdev, pdev->error_state); in zpci_event_io_failure()
269 pdev ? pci_name(pdev) : "n/a", ccdf->pec, ccdf->fid); in __zpci_event_error()
271 if (!pdev) in __zpci_event_error()
[all …]
/linux/drivers/net/wireless/ath/ath9k/
A Dath9k_pci_owl_loader.c26 struct pci_dev *pdev; member
68 mem = pcim_iomap(pdev, 0, 0); in ath9k_pci_fixup()
106 pcim_iounmap(pdev, mem); in ath9k_pci_fixup()
108 pci_disable_device(pdev); in ath9k_pci_fixup()
134 owl_rescan(ctx->pdev); in owl_fw_cb()
171 owl_rescan(ctx->pdev); in owl_nvmem_work()
203 if (pcim_enable_device(pdev)) in owl_probe()
206 pcim_pin_device(pdev); in owl_probe()
213 ctx->pdev = pdev; in owl_probe()
215 pci_set_drvdata(pdev, ctx); in owl_probe()
[all …]
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_debugfs.c124 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
141 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
164 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
170 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
176 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
180 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
185 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
190 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
195 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
199 dev_info(&pf->pdev->dev, in i40e_dbg_dump_vsi_seid()
[all …]
/linux/arch/x86/pci/
A Dsta2x11-fixup.c54 instance->bus0 = pdev->subordinate->number + 1; in sta2x11_new_instance()
76 ep = pdev->bus->number - instance->bus0; in sta2x11_pdev_to_instance()
87 instance = sta2x11_pdev_to_instance(pdev); in sta2x11_pdev_to_ep()
91 return pdev->bus->number - instance->bus0; in sta2x11_pdev_to_ep()
97 return sta2x11_pdev_to_instance(pdev); in sta2x11_get_instance()
110 pci_set_master(pdev); in sta2x11_setup_pdev()
134 struct device *dev = &pdev->dev; in sta2x11_map_ep()
159 pci_write_config_dword(pdev, AHB_CRW(i), 0); in sta2x11_map_ep()
161 dev_info(&pdev->dev, in sta2x11_map_ep()
174 instance = sta2x11_pdev_to_instance(pdev); in sta2x11_pdev_to_mapping()
[all …]
/linux/drivers/ata/
A Dpata_sil680.c90 pci_read_config_byte(pdev, addr, &ata66); in sil680_cable_detect()
177 pci_read_config_word(pdev, ma, &multi); in sil680_set_dmamode()
178 pci_read_config_word(pdev, ua, &ultra); in sil680_set_dmamode()
196 pci_write_config_word(pdev, ma, multi); in sil680_set_dmamode()
197 pci_write_config_word(pdev, ua, ultra); in sil680_set_dmamode()
261 pdev->revision ? 1 : 255); in sil680_init_chip()
350 rc = pcim_enable_device(pdev); in sil680_init_one()
376 host->iomap = pcim_iomap_table(pdev); in sil680_init_one()
382 pci_set_master(pdev); in sil680_init_one()
411 rc = ata_pci_device_do_resume(pdev); in sil680_reinit_one()
[all …]

Completed in 103 milliseconds

12345678910>>...128