Lines Matching refs:vid
62 u16 vid; member
174 val = FIELD_PREP(PCI_DOE_DATA_OBJECT_HEADER_1_VID, task->prot.vid) | in pci_doe_send_req()
222 if ((FIELD_GET(PCI_DOE_DATA_OBJECT_HEADER_1_VID, val) != task->prot.vid) || in pci_doe_recv_resp()
225 doe_mb->cap_offset, task->prot.vid, task->prot.type, in pci_doe_recv_resp()
386 static int pci_doe_discovery(struct pci_doe_mb *doe_mb, u8 *index, u16 *vid, in pci_doe_discovery() argument
406 *vid = FIELD_GET(PCI_DOE_DATA_OBJECT_DISC_RSP_3_VID, response_pl); in pci_doe_discovery()
415 static void *pci_doe_xa_prot_entry(u16 vid, u8 prot) in pci_doe_xa_prot_entry() argument
417 return xa_mk_value((vid << 8) | prot); in pci_doe_xa_prot_entry()
427 u16 vid; in pci_doe_cache_protocols() local
430 rc = pci_doe_discovery(doe_mb, &index, &vid, &prot); in pci_doe_cache_protocols()
436 doe_mb->cap_offset, xa_idx, vid, prot); in pci_doe_cache_protocols()
439 pci_doe_xa_prot_entry(vid, prot), GFP_KERNEL); in pci_doe_cache_protocols()
550 static bool pci_doe_supports_prot(struct pci_doe_mb *doe_mb, u16 vid, u8 type) in pci_doe_supports_prot() argument
556 if (vid == PCI_VENDOR_ID_PCI_SIG && type == PCI_DOE_PROTOCOL_DISCOVERY) in pci_doe_supports_prot()
560 if (entry == pci_doe_xa_prot_entry(vid, type)) in pci_doe_supports_prot()
588 if (!pci_doe_supports_prot(doe_mb, task->prot.vid, task->prot.type)) in pci_doe_submit_task()
634 .prot.vid = vendor, in pci_doe()