Searched refs:afu_idx (Results 1 - 5 of 5) sorted by relevance
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | ocxl.c | 90 static int find_dvsec_afu_ctrl(struct pci_dev *dev, u8 afu_idx) argument 99 if (idx == afu_idx) 105 static int get_max_afu_index(struct pci_dev *dev, int *afu_idx) argument 117 *afu_idx = (val & AFU_INDEX_MASK) >> AFU_INDEX_SHIFT; 119 *afu_idx = -1; 123 static int get_actag_count(struct pci_dev *dev, int afu_idx, int *actag) argument 128 pos = find_dvsec_afu_ctrl(dev, afu_idx); 167 int rc, afu_idx = -1, i, actag; local 188 rc = get_max_afu_index(dev, &afu_idx); 192 afu_idx [all...] |
/linux-master/include/misc/ |
H A D | ocxl.h | 83 * @afu_idx: The index of the AFU to get 89 struct ocxl_afu *ocxl_function_fetch_afu(struct ocxl_fn *fn, u8 afu_idx); 331 * the index 'afu_idx'. Fills in a ocxl_afu_config structure 336 u8 afu_idx);
|
/linux-master/drivers/misc/ocxl/ |
H A D | core.c | 213 static int configure_afu(struct ocxl_afu *afu, u8 afu_idx, struct pci_dev *dev) argument 217 rc = ocxl_config_read_afu(dev, &afu->fn->config, &afu->config, afu_idx); 263 static int init_afu(struct pci_dev *dev, struct ocxl_fn *fn, u8 afu_idx) argument 272 rc = configure_afu(afu, afu_idx, dev); 516 struct ocxl_afu *ocxl_function_fetch_afu(struct ocxl_fn *fn, u8 afu_idx) argument 521 if (afu->config.idx == afu_idx)
|
H A D | ocxl_internal.h | 131 struct ocxl_fn_config *fn, int afu_idx);
|
H A D | config.c | 39 static int find_dvsec_afu_ctrl(struct pci_dev *dev, u8 afu_idx) argument 56 if (idx == afu_idx) 381 struct ocxl_fn_config *fn, int afu_idx) 389 afu_idx); 653 struct ocxl_afu_config *afu, u8 afu_idx) 662 WARN_ON((afu_idx & OCXL_DVSEC_AFU_IDX_MASK) != afu_idx); 663 afu->idx = afu_idx; 380 ocxl_config_check_afu_index(struct pci_dev *dev, struct ocxl_fn_config *fn, int afu_idx) argument 652 ocxl_config_read_afu(struct pci_dev *dev, struct ocxl_fn_config *fn, struct ocxl_afu_config *afu, u8 afu_idx) argument
|
Completed in 476 milliseconds