Home
last modified time | relevance | path

Searched refs:csio_hw (Results 1 – 18 of 18) sorted by relevance

/drivers/scsi/csiostor/
Dcsio_mb.h125 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 *, struct csio_mb *, uint32_t, unsigned int,
[all …]
Dcsio_init.h60 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 *, const char *,
89 csio_get_scsi_ioreq_lock(struct csio_hw *hw, struct csio_scsim *scsim) in csio_get_scsi_ioreq_lock()
[all …]
Dcsio_hw.h226 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); argument
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 *, unsigned int,
[all …]
Dcsio_mb.c76 csio_mb_hello(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_hello() argument
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() argument
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() argument
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 *, struct csio_mb *)) in csio_mb_params() argument
240 csio_mb_process_read_params_rsp(struct csio_hw *hw, struct csio_mb *mbp, in csio_mb_process_read_params_rsp()
[all …]
Dcsio_wr.h106 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 *, int, uint32_t,
[all …]
Dcsio_hw_chip.h119 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 *);
Dcsio_isr.c47 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 *)iq->owner; in csio_scsi_isr_handler()
259 struct csio_hw *hw; in csio_scsi_isr()
264 hw = (struct csio_hw *)iq->owner; in csio_scsi_isr()
285 csio_scsi_intx_handler(struct csio_hw *hw, void *wr, uint32_t len, in csio_scsi_intx_handler()
304 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_fcoe_isr()
[all …]
Dcsio_hw.c89 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 *, enum csio_hw_ev);
100 static void csio_hws_pcierr(struct csio_hw *, enum csio_hw_ev);
[all …]
Dcsio_init.c68 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 *hw) in csio_resource_alloc()
[all …]
Dcsio_wr.c58 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 *hw, void *priv, int iq_idx, in csio_wr_iq_create() argument
418 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_wr_iq_create()
[all …]
Dcsio_lnode.h137 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 *,
Dcsio_lnode.c64 void (*io_cbfn) (struct csio_hw *, struct csio_ioreq *),
115 csio_ln_lookup_by_portid(struct csio_hw *hw, uint8_t portid) in csio_ln_lookup_by_portid()
138 csio_ln_lookup_by_vnpi(struct csio_hw *hw, uint32_t vnp_id) in csio_ln_lookup_by_vnpi()
178 csio_lnode_lookup_by_wwpn(struct csio_hw *hw, uint8_t *wwpn) in csio_lnode_lookup_by_wwpn()
267 csio_ln_fdmi_done(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_done()
291 csio_ln_fdmi_rhba_cbfn(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_rhba_cbfn()
404 csio_ln_fdmi_dprt_cbfn(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_dprt_cbfn()
511 csio_ln_fdmi_dhba_cbfn(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_dhba_cbfn()
615 csio_ln_vnp_read_cbfn(struct csio_hw *hw, struct csio_mb *mbp) in csio_ln_vnp_read_cbfn()
681 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_ln_vnp_read()
[all …]
Dcsio_hw_t5.c38 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()
253 csio_t5_memory_rw(struct csio_hw *hw, u32 win, int mtype, u32 addr, in csio_t5_memory_rw()
343 csio_t5_dfs_create_ext_mem(struct csio_hw *hw) in csio_t5_dfs_create_ext_mem()
Dcsio_scsi.c65 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 *hw = req->lnode->hwp; in csio_setup_ddp()
649 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_abrt_cls_wr()
[all …]
Dcsio_attr.c213 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_host_port_id()
229 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_host_port_type()
248 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_host_port_state()
273 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_host_speed()
312 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_host_fabric_name()
332 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_stats()
417 csio_fcoe_alloc_vnp(struct csio_hw *hw, struct csio_lnode *ln) in csio_fcoe_alloc_vnp()
498 csio_fcoe_free_vnp(struct csio_hw *hw, struct csio_lnode *ln) in csio_fcoe_free_vnp()
557 struct csio_hw *hw = csio_lnode_to_hw(pln); in csio_vport_create()
618 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_vport_delete()
[all …]
Dcsio_scsi.h148 struct csio_hw *hw; /* Pointer to HW moduel */
345 struct csio_ioreq *csio_scsi_cmpl_handler(struct csio_hw *, void *, uint32_t,
348 int csio_scsi_qconfig(struct csio_hw *);
349 int csio_scsim_init(struct csio_scsim *, struct csio_hw *);
Dcsio_rnode.c192 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_rn_dup_flowid()
218 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_alloc_rnode()
242 struct csio_hw *hw = csio_lnode_to_hw(csio_rnode_to_lnode(rn)); in csio_free_rnode()
551 struct csio_hw *hw = csio_lnode_to_hw(ln); in __csio_reg_rnode()
568 struct csio_hw *hw = csio_lnode_to_hw(ln); in __csio_unreg_rnode()
DMakefile12 csio_hw.o csio_hw_t5.o csio_isr.o \