/linux-6.3-rc2/drivers/usb/cdns3/ |
A D | cdnsp-gadget.c | 346 struct cdnsp_device *pdev = pep->pdev; in cdnsp_ep_enqueue() local 425 struct cdnsp_device *pdev = pep->pdev; in cdnsp_ep_dequeue() local 909 if (pdev->active_port != &pdev->usb2_port || !pdev->gadget.lpm_capable) in cdnsp_set_usb2_hardware_lpm() 941 pdev = pep->pdev; in cdnsp_gadget_ep_enable() 1014 pdev = pep->pdev; in cdnsp_gadget_ep_disable() 1104 pdev = pep->pdev; in cdnsp_gadget_ep_queue() 1621 pep->pdev = pdev; in cdnsp_gadget_init_endpoints() 1789 pdev->cap_regs = pdev->regs; in cdnsp_gen_setup() 1790 pdev->op_regs = pdev->regs + in cdnsp_gen_setup() 1792 pdev->run_regs = pdev->regs + in cdnsp_gen_setup() [all …]
|
A D | cdnsp-ep0.c | 23 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 D | cdnsp-mem.c | 702 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 D | cdnsp-ring.c | 262 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() 1410 cdnsp_inc_deq(pdev, pdev->event_ring); in cdnsp_handle_tx_event() 1469 cdnsp_inc_deq(pdev, pdev->cmd_ring); in cdnsp_handle_event() 1516 cdnsp_inc_deq(pdev, pdev->event_ring); in cdnsp_handle_event() 1573 cdnsp_died(pdev); in cdnsp_irq_handler() 1586 cdnsp_died(pdev); in cdnsp_irq_handler() 2372 cdnsp_prepare_ring(pdev, pdev->cmd_ring, EP_STATE_RUNNING, 1, in cdnsp_queue_command() 2375 pdev->cmd.command_trb = pdev->cmd_ring->enqueue; in cdnsp_queue_command() [all …]
|
/linux-6.3-rc2/drivers/media/usb/pwc/ |
A D | pwc-ctrl.c | 100 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 D | pwc-if.c | 302 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 D | pwc-v4l.c | 274 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-6.3-rc2/drivers/pci/pcie/ |
A D | dpc.c | 81 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() 343 if (pdev->dpc_rp_log_size < 4 || pdev->dpc_rp_log_size > 9) { in pci_dpc_init() 371 pci_read_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CAP, &cap); in dpc_probe() 372 pci_read_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CTL, &ctl); in dpc_probe() 375 pci_write_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CTL, ctl); in dpc_probe() 393 pci_read_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_CTL, &ctl); in dpc_remove() [all …]
|
/linux-6.3-rc2/arch/mips/pci/ |
A D | fixup-fuloong2e.c | 52 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-6.3-rc2/drivers/pci/ |
A D | ats.c | 59 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() 469 pdev = pci_physfn(pdev); in pci_pasid_features() [all …]
|
A D | xen-pcifront.c | 65 return sd->pdev; in pcifront_get_pdev() 75 sd->pdev = pdev; in pcifront_init_sd() 635 pdev->sh_info->aer_op.bus, pdev->sh_info->aer_op.devfn); in pcifront_do_aer() 704 kfree(pdev); in alloc_pdev() 726 pdev, pdev->sh_info); in alloc_pdev() 728 return pdev; in alloc_pdev() 740 unbind_from_irqhandler(pdev->irq, pdev); in free_pdev() 743 xenbus_free_evtchn(pdev->xdev, pdev->evtchn); in free_pdev() 749 kfree(pdev); in free_pdev() 757 err = xenbus_alloc_evtchn(pdev->xdev, &pdev->evtchn); in pcifront_publish_info() [all …]
|
/linux-6.3-rc2/drivers/xen/xen-pciback/ |
A D | xenbus.c | 42 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-6.3-rc2/drivers/w1/masters/ |
A D | ds2482.c | 247 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-6.3-rc2/drivers/virt/nitro_enclaves/ |
A D | ne_pci_dev.c | 220 struct pci_dev *pdev = ne_pci_dev->pdev; in ne_event_work_handler() local 482 pci_set_master(pdev); in ne_pci_probe() 502 rc = ne_setup_msix(pdev); in ne_pci_probe() 509 ne_pci_dev_disable(pdev); in ne_pci_probe() 523 ne_pci_dev->pdev = pdev; in ne_pci_probe() 538 ne_pci_dev_disable(pdev); in ne_pci_probe() 540 ne_teardown_msix(pdev); in ne_pci_probe() 547 pci_disable_device(pdev); in ne_pci_probe() 568 ne_pci_dev_disable(pdev); in ne_pci_remove() 570 ne_teardown_msix(pdev); in ne_pci_remove() [all …]
|
/linux-6.3-rc2/arch/m68k/amiga/ |
A D | platform.c | 146 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-6.3-rc2/drivers/usb/host/ |
A D | xhci-pci-renesas.c | 244 dev_err(&pdev->dev, in renesas_fw_check_running() 255 dev_err(&pdev->dev, in renesas_fw_check_running() 273 dev_err(&pdev->dev, in renesas_fw_check_running() 278 dev_err(&pdev->dev, in renesas_fw_check_running() 312 dev_err(&pdev->dev, in renesas_fw_download() 448 dev_err(&pdev->dev, in renesas_setup_rom() 457 dev_err(&pdev->dev, in renesas_setup_rom() 505 dev_err(&pdev->dev, in renesas_setup_rom() 559 dev_dbg(&pdev->dev, in renesas_load_fw() 605 pci_dev_get(pdev); in renesas_xhci_check_request_fw() [all …]
|
A D | xhci-pci.c | 99 if (!pci_set_mwi(pdev)) in xhci_pci_reinit() 112 id = pci_match_id(to_pci_driver(pdev->dev.driver)->id_table, pdev); in xhci_pci_quirks() 124 pdev->revision == 0x0) { in xhci_pci_quirks() 135 pdev->revision); in xhci_pci_quirks() 147 pdev->revision); in xhci_pci_quirks() 173 pdev->device == 0x43bb)) in xhci_pci_quirks() 177 (pdev->device == 0x15e0 || pdev->device == 0x15e1)) in xhci_pci_quirks() 180 if (pdev->vendor == PCI_VENDOR_ID_AMD && pdev->device == 0x15e5) { in xhci_pci_quirks() 292 pdev->device == 0x3432) in xhci_pci_quirks() 295 if (pdev->vendor == PCI_VENDOR_ID_VIA && pdev->device == 0x3483) { in xhci_pci_quirks() [all …]
|
A D | ehci-pci.c | 72 retval = pci_set_mwi(pdev); in ehci_pci_reinit() 108 switch (pdev->vendor) { in ehci_pci_setup() 125 switch (pdev->device) { in ehci_pci_setup() 176 if (pdev->device == 0x3104 && (pdev->revision & 0xf0) == 0x60) { in ehci_pci_setup() 208 if ((pdev->device == 0x4386 || pdev->device == 0x4396) && in ehci_pci_setup() 235 if (pdev->device == 0x3104 && (pdev->revision & 0xf0) == 0x90) in ehci_pci_setup() 265 switch (pdev->vendor) { in ehci_pci_setup() 272 switch (pdev->device) { in ehci_pci_setup() 297 switch (pdev->vendor) { in ehci_pci_setup() 383 if (is_bypassed_id(pdev)) in ehci_pci_probe() [all …]
|
/linux-6.3-rc2/drivers/misc/eeprom/ |
A D | idt_89hpesx.c | 567 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() 1010 ret = idt_csr_read(pdev, pdev->csr, &csrval); in idt_dbgfs_csr_read() 1138 pdev->eesize, pdev->eeaddr); in idt_get_fw_data() [all …]
|
/linux-6.3-rc2/drivers/misc/mei/ |
A D | pci-txe.c | 64 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-6.3-rc2/drivers/ata/ |
A D | pata_sil680.c | 86 pci_read_config_byte(pdev, addr, &ata66); in sil680_cable_detect() 173 pci_read_config_word(pdev, ma, &multi); in sil680_set_dmamode() 174 pci_read_config_word(pdev, ua, &ultra); in sil680_set_dmamode() 192 pci_write_config_word(pdev, ma, multi); in sil680_set_dmamode() 193 pci_write_config_word(pdev, ua, ultra); in sil680_set_dmamode() 256 pdev->revision ? 1 : 255); in sil680_init_chip() 345 rc = pcim_enable_device(pdev); in sil680_init_one() 371 host->iomap = pcim_iomap_table(pdev); in sil680_init_one() 377 pci_set_master(pdev); in sil680_init_one() 406 rc = ata_pci_device_do_resume(pdev); in sil680_reinit_one() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/ |
A D | ath9k_pci_owl_loader.c | 26 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-6.3-rc2/arch/x86/pci/ |
A D | sta2x11-fixup.c | 54 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-6.3-rc2/arch/s390/pci/ |
A D | pci_event.c | 85 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-6.3-rc2/arch/powerpc/kernel/ |
A D | eeh_sysfs.c | 44 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_show() local 45 struct eeh_dev *edev = pci_dev_to_eeh_dev(pdev); in eeh_pe_state_show() 60 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_store() local 83 struct pci_dev *pdev = to_pci_dev(dev); in eeh_notify_resume_show() local 85 struct pci_dn *pdn = pci_get_pdn(pdev); in eeh_notify_resume_show() 97 struct pci_dev *pdev = to_pci_dev(dev); in eeh_notify_resume_store() local 115 np = pci_device_to_OF_node(pdev->is_physfn ? pdev : pdev->physfn); in eeh_notify_resume_add() 127 np = pci_device_to_OF_node(pdev->is_physfn ? pdev : pdev->physfn); in eeh_notify_resume_remove() 151 rc += eeh_notify_resume_add(pdev); in eeh_sysfs_add_device() 174 if (!pdev->dev.kobj.sd) in eeh_sysfs_remove_device() [all …]
|