Lines Matching refs:cxlflash_cfg

49 	struct cxlflash_cfg *cfg = afu->parent;  in process_cmd_err()
166 struct cxlflash_cfg *cfg = afu->parent; in cmd_complete()
202 struct cxlflash_cfg *cfg = hwq->afu->parent; in flush_pending_cmds()
246 struct cxlflash_cfg *cfg = hwq->afu->parent; in context_reset()
311 struct cxlflash_cfg *cfg = afu->parent; in send_cmd_ioarrin()
355 struct cxlflash_cfg *cfg = afu->parent; in send_cmd_sq()
400 struct cxlflash_cfg *cfg = afu->parent; in wait_resp()
467 static int send_tmf(struct cxlflash_cfg *cfg, struct scsi_device *sdev, in send_tmf()
571 struct cxlflash_cfg *cfg = shost_priv(host); in cxlflash_queuecommand()
652 static void cxlflash_wait_for_pci_err_recovery(struct cxlflash_cfg *cfg) in cxlflash_wait_for_pci_err_recovery()
666 static void free_mem(struct cxlflash_cfg *cfg) in free_mem()
680 static void cxlflash_reset_sync(struct cxlflash_cfg *cfg) in cxlflash_reset_sync()
699 static void stop_afu(struct cxlflash_cfg *cfg) in stop_afu()
736 static void term_intr(struct cxlflash_cfg *cfg, enum undo_level level, in term_intr()
780 static void term_mc(struct cxlflash_cfg *cfg, u32 index) in term_mc()
819 static void term_afu(struct cxlflash_cfg *cfg) in term_afu()
854 static void notify_shutdown(struct cxlflash_cfg *cfg, bool wait) in notify_shutdown()
935 static void cxlflash_release_chrdev(struct cxlflash_cfg *cfg) in cxlflash_release_chrdev()
952 struct cxlflash_cfg *cfg = pci_get_drvdata(pdev); in cxlflash_remove()
1007 static int alloc_mem(struct cxlflash_cfg *cfg) in alloc_mem()
1034 static int init_pci(struct cxlflash_cfg *cfg) in init_pci()
1065 static int init_scsi(struct cxlflash_cfg *cfg) in init_scsi()
1193 struct cxlflash_cfg *cfg = afu->parent; in afu_set_wwpn()
1228 struct cxlflash_cfg *cfg = afu->parent; in afu_link_reset()
1264 struct cxlflash_cfg *cfg = afu->parent; in afu_err_intr_init()
1337 struct cxlflash_cfg *cfg = hwq->afu->parent; in cxlflash_sync_err_irq()
1544 struct cxlflash_cfg *cfg = afu->parent; in cxlflash_async_err_irq()
1630 static int read_vpd(struct cxlflash_cfg *cfg, u64 wwpn[]) in read_vpd()
1732 static void init_pcr(struct cxlflash_cfg *cfg) in init_pcr()
1767 static int init_global(struct cxlflash_cfg *cfg) in init_global()
1893 static int start_afu(struct cxlflash_cfg *cfg) in start_afu()
1950 static enum undo_level init_intr(struct cxlflash_cfg *cfg, in init_intr()
2006 static int init_mc(struct cxlflash_cfg *cfg, u32 index) in init_mc()
2089 static void get_num_afu_ports(struct cxlflash_cfg *cfg) in get_num_afu_ports()
2116 static int init_afu(struct cxlflash_cfg *cfg) in init_afu()
2206 static int afu_reset(struct cxlflash_cfg *cfg) in afu_reset()
2229 static void drain_ioctls(struct cxlflash_cfg *cfg) in drain_ioctls()
2242 struct cxlflash_cfg *cfg = data; in cxlflash_async_reset_host()
2269 static void cxlflash_schedule_async_reset(struct cxlflash_cfg *cfg) in cxlflash_schedule_async_reset()
2303 struct cxlflash_cfg *cfg = afu->parent; in send_afu_cmd()
2397 struct cxlflash_cfg *cfg = afu->parent; in cxlflash_afu_sync()
2430 struct cxlflash_cfg *cfg = shost_priv(host); in cxlflash_eh_abort_handler()
2477 struct cxlflash_cfg *cfg = shost_priv(host); in cxlflash_eh_device_reset_handler()
2520 struct cxlflash_cfg *cfg = shost_priv(host); in cxlflash_eh_host_reset_handler()
2581 struct cxlflash_cfg *cfg, in cxlflash_show_port_status()
2623 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port0_show()
2640 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port1_show()
2657 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port2_show()
2674 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port3_show()
2690 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in lun_mode_show()
2723 struct cxlflash_cfg *cfg = shost_priv(shost); in lun_mode_store()
2779 struct cxlflash_cfg *cfg, in cxlflash_show_port_lun_table()
2816 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port0_lun_table_show()
2833 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port1_lun_table_show()
2850 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port2_lun_table_show()
2867 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port3_lun_table_show()
2886 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in irqpoll_weight_show()
2908 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in irqpoll_weight_store()
2964 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in num_hwqs_show()
2988 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in num_hwqs_store()
3048 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in hwq_mode_show()
3073 struct cxlflash_cfg *cfg = shost_priv(shost); in hwq_mode_store()
3225 struct cxlflash_cfg *cfg = container_of(work, struct cxlflash_cfg, in cxlflash_worker_thread()
3275 struct cxlflash_cfg *cfg; in cxlflash_chr_open()
3280 cfg = container_of(inode->i_cdev, struct cxlflash_cfg, cdev); in cxlflash_chr_open()
3309 static int cxlflash_lun_provision(struct cxlflash_cfg *cfg, in cxlflash_lun_provision()
3403 static int cxlflash_afu_debug(struct cxlflash_cfg *cfg, in cxlflash_afu_debug()
3502 typedef int (*hioctl) (struct cxlflash_cfg *, void *); in cxlflash_chr_ioctl()
3504 struct cxlflash_cfg *cfg = file->private_data; in cxlflash_chr_ioctl()
3608 static int init_chrdev(struct cxlflash_cfg *cfg) in init_chrdev()
3672 struct cxlflash_cfg *cfg = NULL; in cxlflash_probe()
3684 host = scsi_host_alloc(&driver_template, sizeof(struct cxlflash_cfg)); in cxlflash_probe()
3803 struct cxlflash_cfg *cfg = pci_get_drvdata(pdev); in cxlflash_pci_error_detected()
3847 struct cxlflash_cfg *cfg = pci_get_drvdata(pdev); in cxlflash_pci_slot_reset()
3867 struct cxlflash_cfg *cfg = pci_get_drvdata(pdev); in cxlflash_pci_resume()