Searched defs:afu (Results 1 - 15 of 15) sorted by relevance

/linux-4.4.14/drivers/misc/cxl/
H A Dcontext.c37 int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master, cxl_context_init() argument
240 void cxl_context_detach_all(struct cxl_afu *afu) cxl_context_detach_all() argument
H A Ddebugfs.c83 int cxl_debugfs_afu_add(struct cxl_afu *afu) cxl_debugfs_afu_add() argument
113 void cxl_debugfs_afu_remove(struct cxl_afu *afu) cxl_debugfs_afu_remove() argument
H A Dmain.c64 struct cxl_afu *afu; cxl_slbia_core() local
177 int cxl_afu_select_best_mode(struct cxl_afu *afu) cxl_afu_select_best_mode() argument
H A Dapi.c22 struct cxl_afu *afu; cxl_dev_context_init() local
77 struct cxl_afu *afu; cxl_get_phys_dev() local
332 struct cxl_afu *afu = ctx->afu; cxl_psa_map() local
353 struct cxl_afu *afu = ctx->afu; cxl_afu_reset() local
364 void cxl_perst_reloads_same_image(struct cxl_afu *afu, cxl_perst_reloads_same_image() argument
H A Dirq.c48 struct cxl_afu *afu = data; cxl_slice_irq_err() local
182 static irqreturn_t fail_psl_irq(struct cxl_afu *afu, struct cxl_irq_info *irq_info) fail_psl_irq() argument
194 struct cxl_afu *afu = data; cxl_irq_multiplexed() local
352 int cxl_register_serr_irq(struct cxl_afu *afu) cxl_register_serr_irq() argument
377 void cxl_release_serr_irq(struct cxl_afu *afu) cxl_release_serr_irq() argument
388 int cxl_register_psl_irq(struct cxl_afu *afu) cxl_register_psl_irq() argument
406 void cxl_release_psl_irq(struct cxl_afu *afu) cxl_release_psl_irq() argument
H A Dvphb.c46 struct cxl_afu *afu; cxl_pci_enable_device_hook() local
117 struct cxl_afu *afu; cxl_pcie_config_info() local
151 struct cxl_afu *afu; cxl_config_link_ok() local
232 int cxl_pci_vphb_add(struct cxl_afu *afu) cxl_pci_vphb_add() argument
275 void cxl_pci_vphb_reconfigure(struct cxl_afu *afu) cxl_pci_vphb_reconfigure() argument
284 void cxl_pci_vphb_remove(struct cxl_afu *afu) cxl_pci_vphb_remove() argument
H A Dfile.c51 struct cxl_afu *afu; __afu_open() local
453 static int cxl_add_chardev(struct cxl_afu *afu, dev_t devt, struct cdev *cdev, cxl_add_chardev() argument
482 int cxl_chardev_d_afu_add(struct cxl_afu *afu) cxl_chardev_d_afu_add() argument
489 int cxl_chardev_m_afu_add(struct cxl_afu *afu) cxl_chardev_m_afu_add() argument
496 int cxl_chardev_s_afu_add(struct cxl_afu *afu) cxl_chardev_s_afu_add() argument
503 void cxl_chardev_afu_remove(struct cxl_afu *afu) cxl_chardev_afu_remove() argument
522 int cxl_register_afu(struct cxl_afu *afu) cxl_register_afu() argument
H A Dnative.c23 static int afu_control(struct cxl_afu *afu, u64 command, afu_control() argument
65 static int afu_enable(struct cxl_afu *afu) afu_enable() argument
74 int cxl_afu_disable(struct cxl_afu *afu) cxl_afu_disable() argument
83 int __cxl_afu_reset(struct cxl_afu *afu) __cxl_afu_reset() argument
93 int cxl_afu_check_and_enable(struct cxl_afu *afu) cxl_afu_check_and_enable() argument
104 int cxl_psl_purge(struct cxl_afu *afu) cxl_psl_purge() argument
186 int cxl_alloc_spa(struct cxl_afu *afu) cxl_alloc_spa() argument
209 static void attach_spa(struct cxl_afu *afu) attach_spa() argument
223 static inline void detach_spa(struct cxl_afu *afu) detach_spa() argument
228 void cxl_release_spa(struct cxl_afu *afu) cxl_release_spa() argument
268 int cxl_afu_slbia(struct cxl_afu *afu) cxl_afu_slbia() argument
289 static int cxl_write_sstp(struct cxl_afu *afu, u64 sstp0, u64 sstp1) cxl_write_sstp() argument
454 static int activate_afu_directed(struct cxl_afu *afu) activate_afu_directed() argument
561 static int deactivate_afu_directed(struct cxl_afu *afu) deactivate_afu_directed() argument
578 static int activate_dedicated_process(struct cxl_afu *afu) activate_dedicated_process() argument
603 struct cxl_afu *afu = ctx->afu; attach_dedicated() local
643 static int deactivate_dedicated_process(struct cxl_afu *afu) deactivate_dedicated_process() argument
655 int _cxl_afu_deactivate_mode(struct cxl_afu *afu, int mode) _cxl_afu_deactivate_mode() argument
664 int cxl_afu_deactivate_mode(struct cxl_afu *afu) cxl_afu_deactivate_mode() argument
669 int cxl_afu_activate_mode(struct cxl_afu *afu, int mode) cxl_afu_activate_mode() argument
736 int cxl_get_irq(struct cxl_afu *afu, struct cxl_irq_info *info) cxl_get_irq() argument
758 static void recover_psl_err(struct cxl_afu *afu, u64 errstat) recover_psl_err() argument
783 int cxl_check_error(struct cxl_afu *afu) cxl_check_error() argument
H A Dsysfs.c157 struct cxl_afu *afu = to_afu_chardev_m(device); mmio_size_show_master() local
166 struct cxl_afu *afu = to_afu_chardev_m(device); pp_mmio_off_show() local
175 struct cxl_afu *afu = to_afu_chardev_m(device); pp_mmio_len_show() local
193 struct cxl_afu *afu = to_cxl_afu(device); mmio_size_show() local
204 struct cxl_afu *afu = to_cxl_afu(device); reset_store_afu() local
227 struct cxl_afu *afu = to_cxl_afu(device); irqs_min_show() local
236 struct cxl_afu *afu = to_cxl_afu(device); irqs_max_show() local
245 struct cxl_afu *afu = to_cxl_afu(device); irqs_max_store() local
266 struct cxl_afu *afu = to_cxl_afu(device); modes_supported_show() local
280 struct cxl_afu *afu = to_cxl_afu(device); prefault_mode_show() local
296 struct cxl_afu *afu = to_cxl_afu(device); prefault_mode_store() local
317 struct cxl_afu *afu = to_cxl_afu(device); mode_show() local
329 struct cxl_afu *afu = to_cxl_afu(device); mode_store() local
389 struct cxl_afu *afu = to_cxl_afu(container_of(kobj, afu_eb_read() local
470 struct cxl_afu *afu = to_cxl_afu(container_of(kobj->parent, struct device, kobj)); afu_read_config() local
510 static struct afu_config_record *cxl_sysfs_afu_new_cr(struct cxl_afu *afu, int cr_idx) cxl_sysfs_afu_new_cr() argument
563 void cxl_sysfs_afu_remove(struct cxl_afu *afu) cxl_sysfs_afu_remove() argument
581 int cxl_sysfs_afu_add(struct cxl_afu *afu) cxl_sysfs_afu_add() argument
634 int cxl_sysfs_afu_m_add(struct cxl_afu *afu) cxl_sysfs_afu_m_add() argument
651 void cxl_sysfs_afu_m_remove(struct cxl_afu *afu) cxl_sysfs_afu_m_remove() argument
H A Dpci.c119 u16 cxl_afu_cr_read16(struct cxl_afu *afu, int cr, u64 off) cxl_afu_cr_read16() argument
128 u8 cxl_afu_cr_read8(struct cxl_afu *afu, int cr, u64 off) cxl_afu_cr_read8() argument
289 static void dump_afu_descriptor(struct cxl_afu *afu) dump_afu_descriptor() argument
422 static int init_implementation_afu_regs(struct cxl_afu *afu) init_implementation_afu_regs() argument
560 static int cxl_map_slice_regs(struct cxl_afu *afu, struct cxl *adapter, struct pci_dev *dev) cxl_map_slice_regs() argument
590 static void cxl_unmap_slice_regs(struct cxl_afu *afu) cxl_unmap_slice_regs() argument
608 struct cxl_afu *afu = to_cxl_afu(dev); cxl_release_afu() local
620 struct cxl_afu *afu; cxl_alloc_afu() local
641 static int cxl_read_afu_descriptor(struct cxl_afu *afu) cxl_read_afu_descriptor() argument
686 static int cxl_afu_descriptor_looks_ok(struct cxl_afu *afu) cxl_afu_descriptor_looks_ok() argument
709 static int sanitise_afu_regs(struct cxl_afu *afu) sanitise_afu_regs() argument
769 ssize_t cxl_afu_read_err_buffer(struct cxl_afu *afu, char *buf, cxl_afu_read_err_buffer() argument
806 static int cxl_configure_afu(struct cxl_afu *afu, struct cxl *adapter, struct pci_dev *dev) cxl_configure_afu() argument
847 static void cxl_deconfigure_afu(struct cxl_afu *afu) cxl_deconfigure_afu() argument
856 struct cxl_afu *afu; cxl_init_afu() local
903 static void cxl_remove_afu(struct cxl_afu *afu) cxl_remove_afu() argument
1306 struct cxl_afu *afu; cxl_remove() local
1321 static pci_ers_result_t cxl_vphb_error_detected(struct cxl_afu *afu, cxl_vphb_error_detected() argument
1354 struct cxl_afu *afu; cxl_pci_error_detected() local
1475 struct cxl_afu *afu; cxl_pci_slot_reset() local
1547 struct cxl_afu *afu; cxl_pci_resume() local
H A Dcxl.h417 struct cxl_afu *afu; member in struct:cxl_context
482 struct cxl_afu *afu[CXL_MAX_SLICES]; member in struct:cxl
571 static inline void __iomem *_cxl_p1n_addr(struct cxl_afu *afu, cxl_p1n_reg_t reg) _cxl_p1n_addr() argument
577 static inline void cxl_p1n_write(struct cxl_afu *afu, cxl_p1n_reg_t reg, u64 val) cxl_p1n_write() argument
583 static inline u64 cxl_p1n_read(struct cxl_afu *afu, cxl_p1n_reg_t reg) cxl_p1n_read() argument
591 static inline void __iomem *_cxl_p2n_addr(struct cxl_afu *afu, cxl_p2n_reg_t reg) _cxl_p2n_addr() argument
596 static inline void cxl_p2n_write(struct cxl_afu *afu, cxl_p2n_reg_t reg, u64 val) cxl_p2n_write() argument
602 static inline u64 cxl_p2n_read(struct cxl_afu *afu, cxl_p2n_reg_t reg) cxl_p2n_read() argument
610 static inline u64 cxl_afu_cr_read64(struct cxl_afu *afu, int cr, u64 off) cxl_afu_cr_read64() argument
619 static inline u32 cxl_afu_cr_read32(struct cxl_afu *afu, int cr, u64 off) cxl_afu_cr_read32() argument
/linux-4.4.14/drivers/scsi/cxlflash/
H A Dcommon.h93 struct afu *afu; member in struct:cxlflash_cfg
149 struct afu { struct
H A Dvlun.c504 static int grow_lxt(struct afu *afu, grow_lxt() argument
617 static int shrink_lxt(struct afu *afu, shrink_lxt() argument
734 struct afu *afu = cfg->afu; _cxlflash_vlun_resize() local
817 struct afu *afu = cfg->afu; cxlflash_restore_luntable() local
862 struct afu *afu = cfg->afu; init_luntable() local
1041 static int clone_lxt(struct afu *afu, clone_lxt() argument
1125 struct afu *afu = cfg->afu; cxlflash_disk_clone() local
H A Dmain.c49 static struct afu_cmd *cmd_checkout(struct afu *afu) cmd_checkout() argument
221 struct afu *afu = cmd->parent; cmd_complete() local
267 struct afu *afu = cmd->parent; context_reset() local
318 static int send_cmd(struct afu *afu, struct afu_cmd *cmd) send_cmd() argument
381 static void wait_resp(struct afu *afu, struct afu_cmd *cmd) wait_resp() argument
405 static int send_tmf(struct afu *afu, struct scsi_cmnd *scp, u64 tmfcmd) send_tmf() argument
497 struct afu *afu = cfg->afu; cxlflash_queuecommand() local
616 struct afu *afu = cfg->afu; free_mem() local
639 struct afu *afu = cfg->afu; stop_afu() local
662 struct afu *afu = cfg->afu; term_mc() local
1020 static int afu_set_wwpn(struct afu *afu, int port, __be64 __iomem *fc_regs, afu_set_wwpn() argument
1066 static void afu_link_reset(struct afu *afu, int port, __be64 __iomem *fc_regs) afu_link_reset() argument
1140 static void afu_err_intr_init(struct afu *afu) afu_err_intr_init() argument
1202 struct afu *afu = (struct afu *)data; cxlflash_sync_err_irq() local
1234 struct afu *afu = (struct afu *)data; cxlflash_rrq_irq() local
1276 struct afu *afu = (struct afu *)data; cxlflash_async_err_irq() local
1466 struct afu *afu = cfg->afu; init_pcr() local
1501 struct afu *afu = cfg->afu; init_global() local
1585 struct afu *afu = cfg->afu; start_afu() local
1626 struct afu *afu = cfg->afu; init_mc() local
1715 struct afu *afu = cfg->afu; init_afu() local
1797 int cxlflash_afu_sync(struct afu *afu, ctx_hndl_t ctx_hndl_u, cxlflash_afu_sync() argument
1895 struct afu *afu = cfg->afu; cxlflash_eh_device_reset_handler() local
2003 static ssize_t cxlflash_show_port_status(u32 port, struct afu *afu, char *buf) cxlflash_show_port_status() argument
2040 struct afu *afu = cfg->afu; port0_show() local
2059 struct afu *afu = cfg->afu; port1_show() local
2077 struct afu *afu = cfg->afu; lun_mode_show() local
2110 struct afu *afu = cfg->afu; lun_mode_store() local
2179 struct afu *afu = cfg->afu; port0_lun_table_show() local
2198 struct afu *afu = cfg->afu; port1_lun_table_show() local
2303 struct afu *afu = cfg->afu; cxlflash_worker_thread() local
2146 cxlflash_show_port_lun_table(u32 port, struct afu *afu, char *buf) cxlflash_show_port_lun_table() argument
H A Dsuperpipe.c252 struct afu *afu = cfg->afu; afu_attach() local
612 struct afu *afu = cfg->afu; _cxlflash_disk_release() local
724 struct afu *afu = cfg->afu; destroy_context() local
761 struct afu *afu = cfg->afu; create_context() local
1293 struct afu *afu = cfg->afu; cxlflash_disk_attach() local
1500 struct afu *afu = cfg->afu; recover_context() local
1610 struct afu *afu = cfg->afu; cxlflash_afu_recover() local
1896 struct afu *afu = cfg->afu; cxlflash_disk_direct_open() local
2021 struct afu *afu = cfg->afu; cxlflash_ioctl() local

Completed in 243 milliseconds