| /linux-4.1.27/drivers/misc/cxl/ | 
| D | native.c | 23 static int afu_control(struct cxl_afu *afu, u64 command,  in afu_control() 58 static int afu_enable(struct cxl_afu *afu)  in afu_enable() 67 int cxl_afu_disable(struct cxl_afu *afu)  in cxl_afu_disable() 76 int cxl_afu_reset(struct cxl_afu *afu)  in cxl_afu_reset() 86 static int afu_check_and_enable(struct cxl_afu *afu)  in afu_check_and_enable() 93 int cxl_psl_purge(struct cxl_afu *afu)  in cxl_psl_purge() 164 static int alloc_spa(struct cxl_afu *afu)  in alloc_spa() 198 static void release_spa(struct cxl_afu *afu)  in release_spa() 232 int cxl_afu_slbia(struct cxl_afu *afu)  in cxl_afu_slbia() 248 static int cxl_write_sstp(struct cxl_afu *afu, u64 sstp0, u64 sstp1)  in cxl_write_sstp() [all …] 
 | 
| D | file.c | 32 #define CXL_AFU_MINOR_D(afu) (CXL_CARD_MINOR(afu->adapter) + 1 + (3 * afu->slice))  argument 33 #define CXL_AFU_MINOR_M(afu) (CXL_AFU_MINOR_D(afu) + 1)  argument 34 #define CXL_AFU_MINOR_S(afu) (CXL_AFU_MINOR_D(afu) + 2)  argument 35 #define CXL_AFU_MKDEV_D(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_D(afu))  argument 36 #define CXL_AFU_MKDEV_M(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_M(afu))  argument 37 #define CXL_AFU_MKDEV_S(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_S(afu))  argument 51 	struct cxl_afu *afu;  in __afu_open()  local 399 static int cxl_add_chardev(struct cxl_afu *afu, dev_t devt, struct cdev *cdev,  in cxl_add_chardev() 428 int cxl_chardev_d_afu_add(struct cxl_afu *afu)  in cxl_chardev_d_afu_add() 435 int cxl_chardev_m_afu_add(struct cxl_afu *afu)  in cxl_chardev_m_afu_add() [all …] 
 | 
| D | sysfs.c | 131 	struct cxl_afu *afu = to_afu_chardev_m(device);  in mmio_size_show_master()  local 140 	struct cxl_afu *afu = to_afu_chardev_m(device);  in pp_mmio_off_show()  local 149 	struct cxl_afu *afu = to_afu_chardev_m(device);  in pp_mmio_len_show()  local 167 	struct cxl_afu *afu = to_cxl_afu(device);  in mmio_size_show()  local 178 	struct cxl_afu *afu = to_cxl_afu(device);  in reset_store_afu()  local 201 	struct cxl_afu *afu = to_cxl_afu(device);  in irqs_min_show()  local 210 	struct cxl_afu *afu = to_cxl_afu(device);  in irqs_max_show()  local 219 	struct cxl_afu *afu = to_cxl_afu(device);  in irqs_max_store()  local 240 	struct cxl_afu *afu = to_cxl_afu(device);  in modes_supported_show()  local 254 	struct cxl_afu *afu = to_cxl_afu(device);  in prefault_mode_show()  local [all …] 
 | 
| D | pci.c | 92 #define AFUD_READ(afu, off)		in_be64(afu->afu_desc_mmio + off)  argument 96 #define AFUD_READ_INFO(afu)		AFUD_READ(afu, 0x0)  argument 105 #define AFUD_READ_CR(afu)		AFUD_READ(afu, 0x20)  argument 107 #define AFUD_READ_CR_OFF(afu)		AFUD_READ(afu, 0x28)  argument 108 #define AFUD_READ_PPPSA(afu)		AFUD_READ(afu, 0x30)  argument 112 #define AFUD_READ_PPPSA_OFF(afu)	AFUD_READ(afu, 0x38)  argument 113 #define AFUD_READ_EB(afu)		AFUD_READ(afu, 0x40)  argument 115 #define AFUD_READ_EB_OFF(afu)		AFUD_READ(afu, 0x48)  argument 117 u16 cxl_afu_cr_read16(struct cxl_afu *afu, int cr, u64 off)  in cxl_afu_cr_read16() 126 u8 cxl_afu_cr_read8(struct cxl_afu *afu, int cr, u64 off)  in cxl_afu_cr_read8() [all …] 
 | 
| D | irq.c | 48 	struct cxl_afu *afu = data;  in cxl_slice_irq_err()  local 182 static irqreturn_t fail_psl_irq(struct cxl_afu *afu, struct cxl_irq_info *irq_info)  in fail_psl_irq() 194 	struct cxl_afu *afu = data;  in cxl_irq_multiplexed()  local 349 int cxl_register_serr_irq(struct cxl_afu *afu)  in cxl_register_serr_irq() 374 void cxl_release_serr_irq(struct cxl_afu *afu)  in cxl_release_serr_irq() 382 int cxl_register_psl_irq(struct cxl_afu *afu)  in cxl_register_psl_irq() 400 void cxl_release_psl_irq(struct cxl_afu *afu)  in cxl_release_psl_irq()
  | 
| D | context.c | 37 int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master,  in cxl_context_init() 208 void cxl_context_detach_all(struct cxl_afu *afu)  in cxl_context_detach_all()
  | 
| D | debugfs.c | 83 int cxl_debugfs_afu_add(struct cxl_afu *afu)  in cxl_debugfs_afu_add() 113 void cxl_debugfs_afu_remove(struct cxl_afu *afu)  in cxl_debugfs_afu_remove()
  | 
| D | main.c | 64 	struct cxl_afu *afu;  in cxl_slbia_core()  local 177 int cxl_afu_select_best_mode(struct cxl_afu *afu)  in cxl_afu_select_best_mode()
  | 
| D | cxl.h | 406 	struct cxl_afu *afu;  member 466 	struct cxl_afu *afu[CXL_MAX_SLICES];  member 537 static inline void __iomem *_cxl_p1n_addr(struct cxl_afu *afu, cxl_p1n_reg_t reg)  in _cxl_p1n_addr() 543 #define cxl_p1n_write(afu, reg, val) \  argument 545 #define cxl_p1n_read(afu, reg) \  argument 548 static inline void __iomem *_cxl_p2n_addr(struct cxl_afu *afu, cxl_p2n_reg_t reg)  in _cxl_p2n_addr() 553 #define cxl_p2n_write(afu, reg, val) \  argument 555 #define cxl_p2n_read(afu, reg) \  argument 559 #define cxl_afu_cr_read64(afu, cr, off) \  argument 561 #define cxl_afu_cr_read32(afu, cr, off) \  argument
  |