Lines Matching defs:pos
74 static int find_dvsec_from_pos(struct pci_dev *dev, int dvsec_id, int pos)
76 int vsec = pos;
107 int pos;
110 pos = find_dvsec_from_pos(dev, OCXL_DVSEC_FUNC_ID, 0);
111 if (!pos)
114 pci_read_config_dword(dev, pos + OCXL_DVSEC_FUNC_OFF_INDEX, &val);
124 int pos;
127 pos = find_dvsec_afu_ctrl(dev, afu_idx);
128 if (!pos)
131 pci_read_config_word(dev, pos + OCXL_DVSEC_AFU_CTRL_ACTAG_SUP,