/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
H A D | csio_mb.h | 125 void (*mb_cbfn) (struct csio_hw *, struct csio_mb *); 134 struct csio_hw *hw; /* Hardware pointer */ 153 void csio_mb_hello(struct csio_hw *, struct csio_mb *, uint32_t, 155 void (*)(struct csio_hw *, struct csio_mb *)); 157 void csio_mb_process_hello_rsp(struct csio_hw *, struct csio_mb *, 161 void csio_mb_bye(struct csio_hw *, struct csio_mb *, uint32_t, 162 void (*)(struct csio_hw *, struct csio_mb *)); 164 void csio_mb_reset(struct csio_hw *, struct csio_mb *, uint32_t, int, int, 165 void (*)(struct csio_hw *, struct csio_mb *)); 167 void csio_mb_params(struct csio_hw *, struc [all...] |
H A D | csio_init.h | 48 #include "csio_hw.h" 60 void csio_scsi_intx_handler(struct csio_hw *, void *, uint32_t, 63 void csio_fwevt_intx_handler(struct csio_hw *, void *, uint32_t, 67 void csio_lnodes_block_request(struct csio_hw *); 68 void csio_lnodes_unblock_request(struct csio_hw *); 69 void csio_lnodes_block_by_port(struct csio_hw *, uint8_t); 70 void csio_lnodes_unblock_by_port(struct csio_hw *, uint8_t); 72 struct csio_lnode *csio_shost_init(struct csio_hw *, struct device *, bool, 75 void csio_lnodes_exit(struct csio_hw *, bool); 78 void csio_add_debugfs_mem(struct csio_hw *, cons [all...] |
H A D | csio_hw.h | 226 struct csio_hw *hw; /* Pointer to HW moduel */ 449 struct csio_hw { struct 575 void csio_set_reg_field(struct csio_hw *, uint32_t, uint32_t, uint32_t); 579 csio_core_ticks_to_us(struct csio_hw *hw, uint32_t ticks) in csio_core_ticks_to_us() 586 csio_us_to_core_ticks(struct csio_hw *hw, uint32_t us) in csio_us_to_core_ticks() 630 int csio_hw_wait_op_done_val(struct csio_hw *, int, uint32_t, int, 632 void csio_hw_tp_wr_bits_indirect(struct csio_hw *, unsigned int, 635 void csio_hw_intr_disable(struct csio_hw *); 636 int csio_hw_slow_intr_handler(struct csio_hw *); 637 int csio_handle_intr_status(struct csio_hw *, unsigne [all...] |
H A D | csio_hw_chip.h | 119 struct csio_hw; 121 int (*chip_set_mem_win)(struct csio_hw *, uint32_t); 122 void (*chip_pcie_intr_handler)(struct csio_hw *); 123 uint32_t (*chip_flash_cfg_addr)(struct csio_hw *); 124 int (*chip_mc_read)(struct csio_hw *, int, uint32_t, 126 int (*chip_edc_read)(struct csio_hw *, int, uint32_t, 128 int (*chip_memory_rw)(struct csio_hw *, u32, int, u32, 130 void (*chip_dfs_create_ext_mem)(struct csio_hw *);
|
H A D | csio_isr.c | 42 #include "csio_hw.h" 47 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_nondata_isr() 81 csio_fwevt_handler(struct csio_hw *hw) in csio_fwevt_handler() 110 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_fwevt_isr() 131 csio_fwevt_intx_handler(struct csio_hw *hw, void *wr, uint32_t len, in csio_fwevt_intx_handler() 146 csio_process_scsi_cmpl(struct csio_hw *hw, void *wr, uint32_t len, in csio_process_scsi_cmpl() 214 struct csio_hw *hw = (struct csio_hw *)i in csio_scsi_isr_handler() [all...] |
H A D | csio_hw.c | 46 #include "csio_hw.h" 89 static void csio_hw_mbm_cleanup(struct csio_hw *); 92 static void csio_hws_uninit(struct csio_hw *, enum csio_hw_ev); 93 static void csio_hws_configuring(struct csio_hw *, enum csio_hw_ev); 94 static void csio_hws_initializing(struct csio_hw *, enum csio_hw_ev); 95 static void csio_hws_ready(struct csio_hw *, enum csio_hw_ev); 96 static void csio_hws_quiescing(struct csio_hw *, enum csio_hw_ev); 97 static void csio_hws_quiesced(struct csio_hw *, enum csio_hw_ev); 98 static void csio_hws_resetting(struct csio_hw *, enum csio_hw_ev); 99 static void csio_hws_removing(struct csio_hw *, enu [all...] |
H A D | csio_wr.h | 106 struct csio_hw; 253 void (*io_cbfn) (struct csio_hw *, struct csio_ioreq *); 350 typedef void (*iq_handler_t)(struct csio_hw *, void *, uint32_t, 483 int csio_wr_alloc_q(struct csio_hw *, uint32_t, uint32_t, 485 int csio_wr_iq_create(struct csio_hw *, void *, int, 487 void (*)(struct csio_hw *, struct csio_mb *)); 488 int csio_wr_eq_create(struct csio_hw *, void *, int, int, uint8_t, 489 void (*)(struct csio_hw *, struct csio_mb *)); 490 int csio_wr_destroy_queues(struct csio_hw *, bool cmd); 493 int csio_wr_get(struct csio_hw *, in [all...] |
H A D | csio_init.c | 69 struct csio_hw *hw = file->private_data - mem; in csio_mem_read() 113 void csio_add_debugfs_mem(struct csio_hw *hw, const char *name, in csio_add_debugfs_mem() 121 static int csio_setup_debugfs(struct csio_hw *hw) in csio_setup_debugfs() 143 csio_dfs_create(struct csio_hw *hw) in csio_dfs_create() 158 csio_dfs_destroy(struct csio_hw *hw) in csio_dfs_destroy() 245 csio_hw_init_workers(struct csio_hw *hw) in csio_hw_init_workers() 251 csio_hw_exit_workers(struct csio_hw *hw) in csio_hw_exit_workers() 257 csio_create_queues(struct csio_hw *hw) in csio_create_queues() 334 csio_config_queues(struct csio_hw *hw) in csio_config_queues() 462 csio_resource_alloc(struct csio_hw *h [all...] |
H A D | csio_mb.c | 41 #include "csio_hw.h" 76 csio_mb_hello(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_hello() 78 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_mb_hello() 108 csio_mb_process_hello_rsp(struct csio_hw *hw, struct csio_mb *mbp, in csio_mb_process_hello_rsp() 140 csio_mb_bye(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_bye() 141 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_mb_bye() 162 csio_mb_reset(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_reset() 164 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_mb_reset() 193 csio_mb_params(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_params() 196 void (*cbfn)(struct csio_hw *, struc in csio_mb_params() [all...] |
H A D | csio_wr.c | 43 #include "csio_hw.h" 58 csio_get_flbuf_size(struct csio_hw *hw, struct csio_sge *sge, uint32_t reg) in csio_get_flbuf_size() 73 csio_wr_qstat_pgsz(struct csio_hw *hw) in csio_wr_qstat_pgsz() 80 csio_wr_ring_fldb(struct csio_hw *hw, struct csio_q *flq) in csio_wr_ring_fldb() 97 csio_wr_sge_intr_enable(struct csio_hw *hw, uint16_t iqid) in csio_wr_sge_intr_enable() 115 csio_wr_fill_fl(struct csio_hw *hw, struct csio_q *flq) in csio_wr_fill_fl() 151 csio_wr_update_fl(struct csio_hw *hw, struct csio_q *flq, uint16_t n) in csio_wr_update_fl() 186 csio_wr_alloc_q(struct csio_hw *hw, uint32_t qsize, uint32_t wrsize, in csio_wr_alloc_q() 338 csio_wr_iq_create_rsp(struct csio_hw *hw, struct csio_mb *mbp, int iq_idx) in csio_wr_iq_create_rsp() 416 csio_wr_iq_create(struct csio_hw *h [all...] |
H A D | csio_lnode.h | 45 #include "csio_hw.h" 150 struct csio_hw *hwp; /* Pointer to the HW module */ 236 void csio_fcoe_fwevt_handler(struct csio_hw *, __u8 cpl_op, __be64 *); 239 struct csio_lnode *csio_lnode_lookup_by_wwpn(struct csio_hw *, uint8_t *); 240 int csio_get_phy_port_stats(struct csio_hw *, uint8_t , 244 void csio_notify_lnodes(struct csio_hw *, enum csio_ln_notify); 245 void csio_disable_lnodes(struct csio_hw *, uint8_t, bool); 251 int csio_lnode_init(struct csio_lnode *, struct csio_hw *,
|
H A D | csio_hw_t5.c | 34 #include "csio_hw.h" 38 csio_t5_set_mem_win(struct csio_hw *hw, uint32_t win) in csio_t5_set_mem_win() 72 csio_t5_pcie_intr_handler(struct csio_hw *hw) in csio_t5_pcie_intr_handler() 128 csio_t5_flash_cfg_addr(struct csio_hw *hw) in csio_t5_flash_cfg_addr() 146 csio_t5_mc_read(struct csio_hw *hw, int idx, uint32_t addr, __be32 *data, in csio_t5_mc_read() 193 csio_t5_edc_read(struct csio_hw *hw, int idx, uint32_t addr, __be32 *data, in csio_t5_edc_read() 237 * @hw: the csio_hw 253 csio_t5_memory_rw(struct csio_hw *hw, u32 win, int mtype, u32 addr, in csio_t5_memory_rw() 337 * @hw: the csio_hw 343 csio_t5_dfs_create_ext_mem(struct csio_hw *h [all...] |
H A D | csio_scsi.c | 50 #include "csio_hw.h" 65 static int csio_do_abrt_cls(struct csio_hw *, 203 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_cmd_wr() 258 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_cmd() 290 csio_scsi_init_ultptx_dsgl(struct csio_hw *hw, struct csio_ioreq *req, in csio_scsi_init_ultptx_dsgl() 362 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_read_wr() 415 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_write_wr() 483 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_read() 520 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_write() 556 struct csio_hw *h in csio_setup_ddp() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
H A D | csio_mb.h | 125 void (*mb_cbfn) (struct csio_hw *, struct csio_mb *); 134 struct csio_hw *hw; /* Hardware pointer */ 153 void csio_mb_hello(struct csio_hw *, struct csio_mb *, uint32_t, 155 void (*)(struct csio_hw *, struct csio_mb *)); 157 void csio_mb_process_hello_rsp(struct csio_hw *, struct csio_mb *, 161 void csio_mb_bye(struct csio_hw *, struct csio_mb *, uint32_t, 162 void (*)(struct csio_hw *, struct csio_mb *)); 164 void csio_mb_reset(struct csio_hw *, struct csio_mb *, uint32_t, int, int, 165 void (*)(struct csio_hw *, struct csio_mb *)); 167 void csio_mb_params(struct csio_hw *, struc [all...] |
H A D | csio_init.h | 48 #include "csio_hw.h" 60 void csio_scsi_intx_handler(struct csio_hw *, void *, uint32_t, 63 void csio_fwevt_intx_handler(struct csio_hw *, void *, uint32_t, 67 void csio_lnodes_block_request(struct csio_hw *); 68 void csio_lnodes_unblock_request(struct csio_hw *); 69 void csio_lnodes_block_by_port(struct csio_hw *, uint8_t); 70 void csio_lnodes_unblock_by_port(struct csio_hw *, uint8_t); 72 struct csio_lnode *csio_shost_init(struct csio_hw *, struct device *, bool, 75 void csio_lnodes_exit(struct csio_hw *, bool); 78 void csio_add_debugfs_mem(struct csio_hw *, cons [all...] |
H A D | csio_hw.h | 226 struct csio_hw *hw; /* Pointer to HW moduel */ 449 struct csio_hw { struct 575 void csio_set_reg_field(struct csio_hw *, uint32_t, uint32_t, uint32_t); 579 csio_core_ticks_to_us(struct csio_hw *hw, uint32_t ticks) in csio_core_ticks_to_us() 586 csio_us_to_core_ticks(struct csio_hw *hw, uint32_t us) in csio_us_to_core_ticks() 630 int csio_hw_wait_op_done_val(struct csio_hw *, int, uint32_t, int, 632 void csio_hw_tp_wr_bits_indirect(struct csio_hw *, unsigned int, 635 void csio_hw_intr_disable(struct csio_hw *); 636 int csio_hw_slow_intr_handler(struct csio_hw *); 637 int csio_handle_intr_status(struct csio_hw *, unsigne [all...] |
H A D | csio_hw_chip.h | 119 struct csio_hw; 121 int (*chip_set_mem_win)(struct csio_hw *, uint32_t); 122 void (*chip_pcie_intr_handler)(struct csio_hw *); 123 uint32_t (*chip_flash_cfg_addr)(struct csio_hw *); 124 int (*chip_mc_read)(struct csio_hw *, int, uint32_t, 126 int (*chip_edc_read)(struct csio_hw *, int, uint32_t, 128 int (*chip_memory_rw)(struct csio_hw *, u32, int, u32, 130 void (*chip_dfs_create_ext_mem)(struct csio_hw *);
|
H A D | csio_isr.c | 42 #include "csio_hw.h" 47 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_nondata_isr() 81 csio_fwevt_handler(struct csio_hw *hw) in csio_fwevt_handler() 110 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_fwevt_isr() 131 csio_fwevt_intx_handler(struct csio_hw *hw, void *wr, uint32_t len, in csio_fwevt_intx_handler() 146 csio_process_scsi_cmpl(struct csio_hw *hw, void *wr, uint32_t len, in csio_process_scsi_cmpl() 214 struct csio_hw *hw = (struct csio_hw *)i in csio_scsi_isr_handler() [all...] |
H A D | csio_hw.c | 46 #include "csio_hw.h" 89 static void csio_hw_mbm_cleanup(struct csio_hw *); 92 static void csio_hws_uninit(struct csio_hw *, enum csio_hw_ev); 93 static void csio_hws_configuring(struct csio_hw *, enum csio_hw_ev); 94 static void csio_hws_initializing(struct csio_hw *, enum csio_hw_ev); 95 static void csio_hws_ready(struct csio_hw *, enum csio_hw_ev); 96 static void csio_hws_quiescing(struct csio_hw *, enum csio_hw_ev); 97 static void csio_hws_quiesced(struct csio_hw *, enum csio_hw_ev); 98 static void csio_hws_resetting(struct csio_hw *, enum csio_hw_ev); 99 static void csio_hws_removing(struct csio_hw *, enu [all...] |
H A D | csio_wr.h | 106 struct csio_hw; 253 void (*io_cbfn) (struct csio_hw *, struct csio_ioreq *); 350 typedef void (*iq_handler_t)(struct csio_hw *, void *, uint32_t, 483 int csio_wr_alloc_q(struct csio_hw *, uint32_t, uint32_t, 485 int csio_wr_iq_create(struct csio_hw *, void *, int, 487 void (*)(struct csio_hw *, struct csio_mb *)); 488 int csio_wr_eq_create(struct csio_hw *, void *, int, int, uint8_t, 489 void (*)(struct csio_hw *, struct csio_mb *)); 490 int csio_wr_destroy_queues(struct csio_hw *, bool cmd); 493 int csio_wr_get(struct csio_hw *, in [all...] |
H A D | csio_init.c | 68 struct csio_hw *hw = file->private_data - mem; in csio_mem_read() 112 void csio_add_debugfs_mem(struct csio_hw *hw, const char *name, in csio_add_debugfs_mem() 120 static int csio_setup_debugfs(struct csio_hw *hw) in csio_setup_debugfs() 142 csio_dfs_create(struct csio_hw *hw) in csio_dfs_create() 157 csio_dfs_destroy(struct csio_hw *hw) in csio_dfs_destroy() 244 csio_hw_init_workers(struct csio_hw *hw) in csio_hw_init_workers() 250 csio_hw_exit_workers(struct csio_hw *hw) in csio_hw_exit_workers() 256 csio_create_queues(struct csio_hw *hw) in csio_create_queues() 333 csio_config_queues(struct csio_hw *hw) in csio_config_queues() 461 csio_resource_alloc(struct csio_hw *h [all...] |
H A D | csio_mb.c | 41 #include "csio_hw.h" 76 csio_mb_hello(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_hello() 78 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_mb_hello() 108 csio_mb_process_hello_rsp(struct csio_hw *hw, struct csio_mb *mbp, in csio_mb_process_hello_rsp() 140 csio_mb_bye(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_bye() 141 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_mb_bye() 162 csio_mb_reset(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_reset() 164 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_mb_reset() 193 csio_mb_params(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_params() 196 void (*cbfn)(struct csio_hw *, struc in csio_mb_params() [all...] |
H A D | csio_wr.c | 43 #include "csio_hw.h" 58 csio_get_flbuf_size(struct csio_hw *hw, struct csio_sge *sge, uint32_t reg) in csio_get_flbuf_size() 73 csio_wr_qstat_pgsz(struct csio_hw *hw) in csio_wr_qstat_pgsz() 80 csio_wr_ring_fldb(struct csio_hw *hw, struct csio_q *flq) in csio_wr_ring_fldb() 97 csio_wr_sge_intr_enable(struct csio_hw *hw, uint16_t iqid) in csio_wr_sge_intr_enable() 115 csio_wr_fill_fl(struct csio_hw *hw, struct csio_q *flq) in csio_wr_fill_fl() 151 csio_wr_update_fl(struct csio_hw *hw, struct csio_q *flq, uint16_t n) in csio_wr_update_fl() 186 csio_wr_alloc_q(struct csio_hw *hw, uint32_t qsize, uint32_t wrsize, in csio_wr_alloc_q() 338 csio_wr_iq_create_rsp(struct csio_hw *hw, struct csio_mb *mbp, int iq_idx) in csio_wr_iq_create_rsp() 416 csio_wr_iq_create(struct csio_hw *h [all...] |
H A D | csio_lnode.h | 45 #include "csio_hw.h" 137 struct csio_hw *hwp; /* Pointer to the HW module */ 223 void csio_fcoe_fwevt_handler(struct csio_hw *, __u8 cpl_op, __be64 *); 226 struct csio_lnode *csio_lnode_lookup_by_wwpn(struct csio_hw *, uint8_t *); 227 int csio_get_phy_port_stats(struct csio_hw *, uint8_t , 231 void csio_notify_lnodes(struct csio_hw *, enum csio_ln_notify); 232 void csio_disable_lnodes(struct csio_hw *, uint8_t, bool); 238 int csio_lnode_init(struct csio_lnode *, struct csio_hw *,
|
H A D | csio_hw_t5.c | 34 #include "csio_hw.h" 38 csio_t5_set_mem_win(struct csio_hw *hw, uint32_t win) in csio_t5_set_mem_win() 72 csio_t5_pcie_intr_handler(struct csio_hw *hw) in csio_t5_pcie_intr_handler() 128 csio_t5_flash_cfg_addr(struct csio_hw *hw) in csio_t5_flash_cfg_addr() 146 csio_t5_mc_read(struct csio_hw *hw, int idx, uint32_t addr, __be32 *data, in csio_t5_mc_read() 193 csio_t5_edc_read(struct csio_hw *hw, int idx, uint32_t addr, __be32 *data, in csio_t5_edc_read() 237 * @hw: the csio_hw 253 csio_t5_memory_rw(struct csio_hw *hw, u32 win, int mtype, u32 addr, in csio_t5_memory_rw() 337 * @hw: the csio_hw 343 csio_t5_dfs_create_ext_mem(struct csio_hw *h [all...] |