Home
last modified time | relevance | path

Searched refs:pcid (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/arch/x86/include/asm/
Dinvpcid.h5 static inline void __invpcid(unsigned long pcid, unsigned long addr, in __invpcid() argument
8 struct { u64 d[2]; } desc = { { pcid, addr } }; in __invpcid()
29 static inline void invpcid_flush_one(unsigned long pcid, in invpcid_flush_one() argument
32 __invpcid(pcid, addr, INVPCID_TYPE_INDIV_ADDR); in invpcid_flush_one()
36 static inline void invpcid_flush_single_context(unsigned long pcid) in invpcid_flush_single_context() argument
38 __invpcid(pcid, 0, INVPCID_TYPE_SINGLE_CTXT); in invpcid_flush_single_context()
Dkvm_host.h1456 void kvm_mmu_invpcid_gva(struct kvm_vcpu *vcpu, gva_t gva, unsigned long pcid);
/Linux-v5.4/drivers/scsi/esas2r/
Desas2r_init.c53 mem_desc->esas2r_data = dma_alloc_coherent(&a->pcid->dev, in esas2r_initmem_alloc()
92 dma_free_coherent(&a->pcid->dev, in esas2r_initmem_free()
140 pci_release_region(a->pcid, 2); in esas2r_unmap_regions()
147 pci_release_region(a->pcid, 0); in esas2r_unmap_regions()
157 error = pci_request_region(a->pcid, 2, a->name); in esas2r_map_regions()
166 a->regs = (void __force *)ioremap(pci_resource_start(a->pcid, 2), in esas2r_map_regions()
167 pci_resource_len(a->pcid, 2)); in esas2r_map_regions()
171 pci_release_region(a->pcid, 2); in esas2r_map_regions()
175 error = pci_request_region(a->pcid, 0, a->name); in esas2r_map_regions()
184 a->data_window = (void __force *)ioremap(pci_resource_start(a->pcid, in esas2r_map_regions()
[all …]
Desas2r_ioctl.c125 a->firmware.header_buff = dma_alloc_coherent(&a->pcid->dev, in do_fm_api()
168 dma_free_coherent(&a->pcid->dev, in do_fm_api()
219 dma_free_coherent(&a->pcid->dev, in handle_buffered_ioctl()
229 esas2r_buffered_ioctl_pcid = a->pcid; in handle_buffered_ioctl()
230 esas2r_buffered_ioctl = dma_alloc_coherent(&a->pcid->dev, in handle_buffered_ioctl()
443 pci_read_config_dword(a->pcid, PCI_BASE_ADDRESS_2, in csmi_ioctl_callback()
445 pci_read_config_dword(a->pcid, PCI_BASE_ADDRESS_3, in csmi_ioctl_callback()
447 gcc->board_id = MAKEDWORD(a->pcid->subsystem_device, in csmi_ioctl_callback()
448 a->pcid->subsystem_vendor); in csmi_ioctl_callback()
452 gcc->pci_addr.bus_num = a->pcid->bus->number; in csmi_ioctl_callback()
[all …]
Desas2r_main.c338 esas2r_probe(struct pci_dev *pcid, const struct pci_device_id *id);
341 esas2r_remove(struct pci_dev *pcid);
353 static int esas2r_probe(struct pci_dev *pcid, in esas2r_probe() argument
364 esas2r_log_dev(ESAS2R_LOG_DEBG, &(pcid->dev), in esas2r_probe()
366 pcid->vendor, in esas2r_probe()
367 pcid->device, in esas2r_probe()
368 pcid->subsystem_vendor, in esas2r_probe()
369 pcid->subsystem_device); in esas2r_probe()
371 esas2r_log_dev(ESAS2R_LOG_INFO, &(pcid->dev), in esas2r_probe()
374 pcid->enable_cnt.counter); in esas2r_probe()
[all …]
Desas2r_flash.c253 bh->device_id = cpu_to_le16(a->pcid->device); in fix_bios()
262 cpu_to_le32(MAKEDWORD(a->pcid->subsystem_vendor, in fix_bios()
263 a->pcid->subsystem_device)); in fix_bios()
290 bh->device_id = cpu_to_le16(a->pcid->device); in fix_efi()
566 switch (a->pcid->device) { in get_fi_adap_type()
875 if ((a->pcid->device != ATTO_DID_MV_88RC9580 in esas2r_process_fs_ioctl()
877 && (a->pcid->device != ATTO_DID_MV_88RC9580TS in esas2r_process_fs_ioctl()
879 && (a->pcid->device != ATTO_DID_MV_88RC9580TSE in esas2r_process_fs_ioctl()
881 && (a->pcid->device != ATTO_DID_MV_88RC9580TL in esas2r_process_fs_ioctl()
1371 n->sas_addr[6] = a->pcid->bus->number; in esas2r_nvram_set_defaults()
[all …]
Desas2r.h904 struct pci_dev *pcid; member
984 int esas2r_init_adapter(struct Scsi_Host *host, struct pci_dev *pcid,
999 int esas2r_suspend(struct pci_dev *pcid, pm_message_t state);
1000 int esas2r_resume(struct pci_dev *pcid);
/Linux-v5.4/drivers/staging/vt6655/
Ddevice_main.c124 static int vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent);
149 static void vt6655_remove(struct pci_dev *pcid) in vt6655_remove() argument
151 struct vnt_private *priv = pci_get_drvdata(pcid); in vt6655_remove()
415 dev_info(&priv->pcid->dev, "MAC=%pM IO=0x%lx Mem=0x%lx IRQ=%d\n", in device_print_info()
417 (unsigned long)priv->PortOffset, priv->pcid->irq); in device_print_info()
431 if (priv->pcid) in device_free_info()
432 pci_release_regions(priv->pcid); in device_free_info()
443 vir_pool = dma_alloc_coherent(&priv->pcid->dev, in device_init_rings()
447 dev_err(&priv->pcid->dev, "allocate desc dma memory failed\n"); in device_init_rings()
459 priv->tx0_bufs = dma_alloc_coherent(&priv->pcid->dev, in device_init_rings()
[all …]
Ddpc.c46 dev_dbg(&priv->pcid->dev, "------- WRONG Length 1\n"); in vnt_rx_data()
71 dev_dbg(&priv->pcid->dev, "Wrong RxRate %x\n", *rx_rate); in vnt_rx_data()
128 dma_unmap_single(&priv->pcid->dev, rd_info->skb_dma, in vnt_receive_frame()
136 dev_dbg(&priv->pcid->dev, "Wrong frame size %d\n", frame_size); in vnt_receive_frame()
Ddevice.h103 struct pci_dev *pcid; member
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dpci.c1626 const struct nvkm_device_pci_device *pcid; in nvkm_device_pci_new() local
1637 case 0x10de: pcid = nvkm_device_pci_10de; break; in nvkm_device_pci_new()
1639 pcid = NULL; in nvkm_device_pci_new()
1643 while (pcid && pcid->device) { in nvkm_device_pci_new()
1644 if (pciv = pcid->vendor, pcid->device == pci_dev->device) { in nvkm_device_pci_new()
1655 name = pcid->name; in nvkm_device_pci_new()
1658 pcid++; in nvkm_device_pci_new()
/Linux-v5.4/net/netfilter/
Dnf_conntrack_pptp.c275 __be16 cid = 0, pcid = 0; in pptp_inbound_pkt() local
311 pcid = pptpReq->ocack.peersCallID; in pptp_inbound_pkt()
312 if (info->pns_call_id != pcid) in pptp_inbound_pkt()
315 ntohs(cid), ntohs(pcid)); in pptp_inbound_pkt()
320 exp_gre(ct, cid, pcid); in pptp_inbound_pkt()
344 pcid = pptpReq->iccon.peersCallID; in pptp_inbound_pkt()
347 if (info->pns_call_id != pcid) in pptp_inbound_pkt()
350 pr_debug("%s, PCID=%X\n", pptp_msg_name[msg], ntohs(pcid)); in pptp_inbound_pkt()
354 exp_gre(ct, cid, pcid); in pptp_inbound_pkt()
388 msg, ntohs(cid), ntohs(pcid), info->cstate, info->sstate, in pptp_inbound_pkt()
[all …]
/Linux-v5.4/arch/x86/kvm/vmx/
Dvmx.c5405 u64 pcid; in handle_invpcid() member
5435 if (operand.pcid >> 12 != 0) { in handle_invpcid()
5444 if ((!pcid_enabled && (operand.pcid != 0)) || in handle_invpcid()
5449 kvm_mmu_invpcid_gva(vcpu, operand.gla, operand.pcid); in handle_invpcid()
5453 if (!pcid_enabled && (operand.pcid != 0)) { in handle_invpcid()
5458 if (kvm_get_active_pcid(vcpu) == operand.pcid) { in handle_invpcid()
5465 == operand.pcid) in handle_invpcid()
/Linux-v5.4/arch/x86/kvm/
Demulate.c2421 u64 pcid; in rsm_enter_protected_mode() local
2424 pcid = 0; in rsm_enter_protected_mode()
2426 pcid = cr3 & 0xfff; in rsm_enter_protected_mode()
2451 if (pcid) { in rsm_enter_protected_mode()
2452 bad = ctxt->ops->set_cr(ctxt, 3, cr3 | pcid); in rsm_enter_protected_mode()
Dmmu.c5625 void kvm_mmu_invpcid_gva(struct kvm_vcpu *vcpu, gva_t gva, unsigned long pcid) in kvm_mmu_invpcid_gva() argument
5631 if (pcid == kvm_get_active_pcid(vcpu)) { in kvm_mmu_invpcid_gva()
5638 pcid == kvm_get_pcid(vcpu, mmu->prev_roots[i].cr3)) { in kvm_mmu_invpcid_gva()