Lines Matching defs:prot
69 * @prot: DOE Protocol
81 struct pci_doe_protocol prot;
174 val = FIELD_PREP(PCI_DOE_DATA_OBJECT_HEADER_1_VID, task->prot.vid) |
175 FIELD_PREP(PCI_DOE_DATA_OBJECT_HEADER_1_TYPE, task->prot.type);
222 if ((FIELD_GET(PCI_DOE_DATA_OBJECT_HEADER_1_VID, val) != task->prot.vid) ||
223 (FIELD_GET(PCI_DOE_DATA_OBJECT_HEADER_1_TYPE, val) != task->prot.type)) {
225 doe_mb->cap_offset, task->prot.vid, task->prot.type,
415 static void *pci_doe_xa_prot_entry(u16 vid, u8 prot)
417 return xa_mk_value((vid << 8) | prot);
428 u8 prot;
430 rc = pci_doe_discovery(doe_mb, &index, &vid, &prot);
435 "[%x] Found protocol %d vid: %x prot: %x\n",
436 doe_mb->cap_offset, xa_idx, vid, prot);
439 pci_doe_xa_prot_entry(vid, prot), GFP_KERNEL);
588 if (!pci_doe_supports_prot(doe_mb, task->prot.vid, task->prot.type))
634 .prot.vid = vendor,
635 .prot.type = type,