| /linux-4.4.14/drivers/misc/cxl/ | 
| D | native.c | 23 static int afu_control(struct cxl_afu *afu, u64 command,  in afu_control()65 static int afu_enable(struct cxl_afu *afu)  in afu_enable()
 74 int cxl_afu_disable(struct cxl_afu *afu)  in cxl_afu_disable()
 83 int __cxl_afu_reset(struct cxl_afu *afu)  in __cxl_afu_reset()
 93 int cxl_afu_check_and_enable(struct cxl_afu *afu)  in cxl_afu_check_and_enable()
 104 int cxl_psl_purge(struct cxl_afu *afu)  in cxl_psl_purge()
 186 int cxl_alloc_spa(struct cxl_afu *afu)  in cxl_alloc_spa()
 209 static void attach_spa(struct cxl_afu *afu)  in attach_spa()
 223 static inline void detach_spa(struct cxl_afu *afu)  in detach_spa()
 228 void cxl_release_spa(struct cxl_afu *afu)  in cxl_release_spa()
 [all …]
 
 | 
| D | file.c | 32 #define CXL_AFU_MINOR_D(afu) (CXL_CARD_MINOR(afu->adapter) + 1 + (3 * afu->slice))  argument33 #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
 453 static int cxl_add_chardev(struct cxl_afu *afu, dev_t devt, struct cdev *cdev,  in cxl_add_chardev()
 482 int cxl_chardev_d_afu_add(struct cxl_afu *afu)  in cxl_chardev_d_afu_add()
 489 int cxl_chardev_m_afu_add(struct cxl_afu *afu)  in cxl_chardev_m_afu_add()
 [all …]
 
 | 
| D | pci.c | 93 #define AFUD_READ(afu, off)		in_be64(afu->afu_desc_mmio + off)  argument94 #define AFUD_READ_LE(afu, off)		in_le64(afu->afu_desc_mmio + off)  argument
 98 #define AFUD_READ_INFO(afu)		AFUD_READ(afu, 0x0)  argument
 107 #define AFUD_READ_CR(afu)		AFUD_READ(afu, 0x20)  argument
 109 #define AFUD_READ_CR_OFF(afu)		AFUD_READ(afu, 0x28)  argument
 110 #define AFUD_READ_PPPSA(afu)		AFUD_READ(afu, 0x30)  argument
 114 #define AFUD_READ_PPPSA_OFF(afu)	AFUD_READ(afu, 0x38)  argument
 115 #define AFUD_READ_EB(afu)		AFUD_READ(afu, 0x40)  argument
 117 #define AFUD_READ_EB_OFF(afu)		AFUD_READ(afu, 0x48)  argument
 119 u16 cxl_afu_cr_read16(struct cxl_afu *afu, int cr, u64 off)  in cxl_afu_cr_read16()
 [all …]
 
 | 
| D | sysfs.c | 157 	struct cxl_afu *afu = to_afu_chardev_m(device);  in mmio_size_show_master()  local166 	struct cxl_afu *afu = to_afu_chardev_m(device);  in pp_mmio_off_show()  local
 175 	struct cxl_afu *afu = to_afu_chardev_m(device);  in pp_mmio_len_show()  local
 193 	struct cxl_afu *afu = to_cxl_afu(device);  in mmio_size_show()  local
 204 	struct cxl_afu *afu = to_cxl_afu(device);  in reset_store_afu()  local
 227 	struct cxl_afu *afu = to_cxl_afu(device);  in irqs_min_show()  local
 236 	struct cxl_afu *afu = to_cxl_afu(device);  in irqs_max_show()  local
 245 	struct cxl_afu *afu = to_cxl_afu(device);  in irqs_max_store()  local
 266 	struct cxl_afu *afu = to_cxl_afu(device);  in modes_supported_show()  local
 280 	struct cxl_afu *afu = to_cxl_afu(device);  in prefault_mode_show()  local
 [all …]
 
 | 
| D | vphb.c | 46 	struct cxl_afu *afu;  in cxl_pci_enable_device_hook()  local117 	struct cxl_afu *afu;  in cxl_pcie_config_info()  local
 151 	struct cxl_afu *afu;  in cxl_config_link_ok()  local
 232 int cxl_pci_vphb_add(struct cxl_afu *afu)  in cxl_pci_vphb_add()
 275 void cxl_pci_vphb_reconfigure(struct cxl_afu *afu)  in cxl_pci_vphb_reconfigure()
 284 void cxl_pci_vphb_remove(struct cxl_afu *afu)  in cxl_pci_vphb_remove()
 
 | 
| D | irq.c | 48 	struct cxl_afu *afu = data;  in cxl_slice_irq_err()  local182 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
 352 int cxl_register_serr_irq(struct cxl_afu *afu)  in cxl_register_serr_irq()
 377 void cxl_release_serr_irq(struct cxl_afu *afu)  in cxl_release_serr_irq()
 388 int cxl_register_psl_irq(struct cxl_afu *afu)  in cxl_register_psl_irq()
 406 void cxl_release_psl_irq(struct cxl_afu *afu)  in cxl_release_psl_irq()
 
 | 
| D | api.c | 22 	struct cxl_afu *afu;  in cxl_dev_context_init()  local77 	struct cxl_afu *afu;  in cxl_get_phys_dev()  local
 332 	struct cxl_afu *afu = ctx->afu;  in cxl_psa_map()  local
 353 	struct cxl_afu *afu = ctx->afu;  in cxl_afu_reset()  local
 364 void cxl_perst_reloads_same_image(struct cxl_afu *afu,  in cxl_perst_reloads_same_image()
 
 | 
| 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 | context.c | 37 int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master,  in cxl_context_init()240 void cxl_context_detach_all(struct cxl_afu *afu)  in cxl_context_detach_all()
 
 | 
| D | main.c | 64 	struct cxl_afu *afu;  in cxl_slbia_core()  local177 int cxl_afu_select_best_mode(struct cxl_afu *afu)  in cxl_afu_select_best_mode()
 
 | 
| D | cxl.h | 417 	struct cxl_afu *afu;  member482 	struct cxl_afu *afu[CXL_MAX_SLICES];  member
 571 static inline void __iomem *_cxl_p1n_addr(struct cxl_afu *afu, cxl_p1n_reg_t reg)  in _cxl_p1n_addr()
 577 static inline void cxl_p1n_write(struct cxl_afu *afu, cxl_p1n_reg_t reg, u64 val)  in cxl_p1n_write()
 583 static inline u64 cxl_p1n_read(struct cxl_afu *afu, cxl_p1n_reg_t reg)  in cxl_p1n_read()
 591 static inline void __iomem *_cxl_p2n_addr(struct cxl_afu *afu, cxl_p2n_reg_t reg)  in _cxl_p2n_addr()
 596 static inline void cxl_p2n_write(struct cxl_afu *afu, cxl_p2n_reg_t reg, u64 val)  in cxl_p2n_write()
 602 static inline u64 cxl_p2n_read(struct cxl_afu *afu, cxl_p2n_reg_t reg)  in cxl_p2n_read()
 610 static inline u64 cxl_afu_cr_read64(struct cxl_afu *afu, int cr, u64 off)  in cxl_afu_cr_read64()
 619 static inline u32 cxl_afu_cr_read32(struct cxl_afu *afu, int cr, u64 off)  in cxl_afu_cr_read32()
 
 | 
| /linux-4.4.14/drivers/scsi/cxlflash/ | 
| D | common.h | 93 	struct afu *afu;  member149 struct afu {  struct
 156 	struct afu_cmd cmd[CXLFLASH_NUM_CMDS];  argument
 164 	struct cxlflash_afu_map __iomem *afu_map;	/* entire MMIO map */  argument
 165 	struct sisl_host_map __iomem *host_map;		/* MC host map */
 166 	struct sisl_ctrl_map __iomem *ctrl_map;		/* MC control map */
 168 	ctx_hndl_t ctx_hndl;	/* master's context handle */
 169 	u64 *hrrq_start;
 170 	u64 *hrrq_end;
 194 int cxlflash_afu_sync(struct afu *, ctx_hndl_t, res_hndl_t, u8);  argument
 
 | 
| D | main.c | 49 static struct afu_cmd *cmd_checkout(struct afu *afu)  in cmd_checkout()221 	struct afu *afu = cmd->parent;  in cmd_complete()  local
 267 	struct afu *afu = cmd->parent;  in context_reset()  local
 318 static int send_cmd(struct afu *afu, struct afu_cmd *cmd)  in send_cmd()
 381 static void wait_resp(struct afu *afu, struct afu_cmd *cmd)  in wait_resp()
 405 static int send_tmf(struct afu *afu, struct scsi_cmnd *scp, u64 tmfcmd)  in send_tmf()
 497 	struct afu *afu = cfg->afu;  in cxlflash_queuecommand()  local
 616 	struct afu *afu = cfg->afu;  in free_mem()  local
 639 	struct afu *afu = cfg->afu;  in stop_afu()  local
 662 	struct afu *afu = cfg->afu;  in term_mc()  local
 [all …]
 
 | 
| D | vlun.c | 504 static int grow_lxt(struct afu *afu,  in grow_lxt()617 static int shrink_lxt(struct afu *afu,  in shrink_lxt()
 734 	struct afu *afu = cfg->afu;  in _cxlflash_vlun_resize()  local
 817 	struct afu *afu = cfg->afu;  in cxlflash_restore_luntable()  local
 862 	struct afu *afu = cfg->afu;  in init_luntable()  local
 1041 static int clone_lxt(struct afu *afu,  in clone_lxt()
 1125 	struct afu *afu = cfg->afu;  in cxlflash_disk_clone()  local
 
 | 
| D | superpipe.c | 252 	struct afu *afu = cfg->afu;  in afu_attach()  local612 	struct afu *afu = cfg->afu;  in _cxlflash_disk_release()  local
 724 	struct afu *afu = cfg->afu;  in destroy_context()  local
 761 	struct afu *afu = cfg->afu;  in create_context()  local
 1293 	struct afu *afu = cfg->afu;  in cxlflash_disk_attach()  local
 1500 	struct afu *afu = cfg->afu;  in recover_context()  local
 1610 	struct afu *afu = cfg->afu;  in cxlflash_afu_recover()  local
 1896 	struct afu *afu = cfg->afu;  in cxlflash_disk_direct_open()  local
 2021 	struct afu *afu = cfg->afu;  in cxlflash_ioctl()  local
 
 |