Home
last modified time | relevance | path

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

/drivers/scsi/csiostor/
Dcsio_mb.h131 void (*mb_cbfn) (struct csio_hw *, struct csio_mb *);
158 void csio_mb_hello(struct csio_hw *, struct csio_mb *, uint32_t,
160 void (*)(struct csio_hw *, struct csio_mb *));
162 void csio_mb_process_hello_rsp(struct csio_hw *, struct csio_mb *,
166 void csio_mb_bye(struct csio_hw *, struct csio_mb *, uint32_t,
167 void (*)(struct csio_hw *, struct csio_mb *));
169 void csio_mb_reset(struct csio_hw *, struct csio_mb *, uint32_t, int, int,
170 void (*)(struct csio_hw *, struct csio_mb *));
172 void csio_mb_params(struct csio_hw *, struct csio_mb *, uint32_t, unsigned int,
174 void (*)(struct csio_hw *, struct csio_mb *));
[all …]
Dcsio_init.h61 void csio_scsi_intx_handler(struct csio_hw *, void *, uint32_t,
64 void csio_fwevt_intx_handler(struct csio_hw *, void *, uint32_t,
68 void csio_lnodes_block_request(struct csio_hw *);
69 void csio_lnodes_unblock_request(struct csio_hw *);
70 void csio_lnodes_block_by_port(struct csio_hw *, uint8_t);
71 void csio_lnodes_unblock_by_port(struct csio_hw *, uint8_t);
73 struct csio_lnode *csio_shost_init(struct csio_hw *, struct device *, bool,
76 void csio_lnodes_exit(struct csio_hw *, bool);
79 void csio_add_debugfs_mem(struct csio_hw *, const char *,
90 csio_get_scsi_ioreq_lock(struct csio_hw *hw, struct csio_scsim *scsim) in csio_get_scsi_ioreq_lock()
[all …]
Dcsio_hw.h261 struct csio_hw *hw; /* Pointer to HW moduel */
426 struct csio_hw { struct
557 void csio_set_reg_field(struct csio_hw *, uint32_t, uint32_t, uint32_t); argument
561 csio_core_ticks_to_us(struct csio_hw *hw, uint32_t ticks) in csio_core_ticks_to_us()
568 csio_us_to_core_ticks(struct csio_hw *hw, uint32_t us) in csio_us_to_core_ticks()
612 int csio_hw_wait_op_done_val(struct csio_hw *, int, uint32_t, int,
614 void csio_hw_tp_wr_bits_indirect(struct csio_hw *, unsigned int,
617 void csio_hw_intr_disable(struct csio_hw *);
618 int csio_hw_slow_intr_handler(struct csio_hw *);
619 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_hw.c115 static void csio_hw_mbm_cleanup(struct csio_hw *);
118 static void csio_hws_uninit(struct csio_hw *, enum csio_hw_ev);
119 static void csio_hws_configuring(struct csio_hw *, enum csio_hw_ev);
120 static void csio_hws_initializing(struct csio_hw *, enum csio_hw_ev);
121 static void csio_hws_ready(struct csio_hw *, enum csio_hw_ev);
122 static void csio_hws_quiescing(struct csio_hw *, enum csio_hw_ev);
123 static void csio_hws_quiesced(struct csio_hw *, enum csio_hw_ev);
124 static void csio_hws_resetting(struct csio_hw *, enum csio_hw_ev);
125 static void csio_hws_removing(struct csio_hw *, enum csio_hw_ev);
126 static void csio_hws_pcierr(struct csio_hw *, enum csio_hw_ev);
[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_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_chip.h158 struct csio_hw;
160 int (*chip_set_mem_win)(struct csio_hw *, uint32_t);
161 void (*chip_pcie_intr_handler)(struct csio_hw *);
162 uint32_t (*chip_flash_cfg_addr)(struct csio_hw *);
163 int (*chip_mc_read)(struct csio_hw *, int, uint32_t,
165 int (*chip_edc_read)(struct csio_hw *, int, uint32_t,
167 int (*chip_memory_rw)(struct csio_hw *, u32, int, u32,
169 void (*chip_dfs_create_ext_mem)(struct csio_hw *);
Dcsio_wr.c57 csio_get_flbuf_size(struct csio_hw *hw, struct csio_sge *sge, uint32_t reg) in csio_get_flbuf_size()
72 csio_wr_qstat_pgsz(struct csio_hw *hw) in csio_wr_qstat_pgsz()
79 csio_wr_ring_fldb(struct csio_hw *hw, struct csio_q *flq) in csio_wr_ring_fldb()
96 csio_wr_sge_intr_enable(struct csio_hw *hw, uint16_t iqid) in csio_wr_sge_intr_enable()
114 csio_wr_fill_fl(struct csio_hw *hw, struct csio_q *flq) in csio_wr_fill_fl()
150 csio_wr_update_fl(struct csio_hw *hw, struct csio_q *flq, uint16_t n) in csio_wr_update_fl()
185 csio_wr_alloc_q(struct csio_hw *hw, uint32_t qsize, uint32_t wrsize, in csio_wr_alloc_q()
336 csio_wr_iq_create_rsp(struct csio_hw *hw, struct csio_mb *mbp, int iq_idx) in csio_wr_iq_create_rsp()
414 csio_wr_iq_create(struct csio_hw *hw, void *priv, int iq_idx, in csio_wr_iq_create() argument
416 void (*cbfn) (struct csio_hw *, struct csio_mb *)) in csio_wr_iq_create()
[all …]
Dcsio_init.c69 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()
124 static int csio_setup_debugfs(struct csio_hw *hw) in csio_setup_debugfs()
146 csio_dfs_create(struct csio_hw *hw) in csio_dfs_create()
161 csio_dfs_destroy(struct csio_hw *hw) in csio_dfs_destroy()
255 csio_hw_init_workers(struct csio_hw *hw) in csio_hw_init_workers()
261 csio_hw_exit_workers(struct csio_hw *hw) in csio_hw_exit_workers()
268 csio_create_queues(struct csio_hw *hw) in csio_create_queues()
345 csio_config_queues(struct csio_hw *hw) in csio_config_queues()
473 csio_resource_alloc(struct csio_hw *hw) in csio_resource_alloc()
[all …]
Dcsio_lnode.h150 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 *,
Dcsio_hw_t4.c42 csio_t4_read_pcie_cfg4(struct csio_hw *hw, int reg) in csio_t4_read_pcie_cfg4()
75 csio_t4_set_mem_win(struct csio_hw *hw, uint32_t win) in csio_t4_set_mem_win()
111 csio_t4_pcie_intr_handler(struct csio_hw *hw) in csio_t4_pcie_intr_handler()
189 csio_t4_flash_cfg_addr(struct csio_hw *hw) in csio_t4_flash_cfg_addr()
207 csio_t4_mc_read(struct csio_hw *hw, int idx, uint32_t addr, __be32 *data, in csio_t4_mc_read()
247 csio_t4_edc_read(struct csio_hw *hw, int idx, uint32_t addr, __be32 *data, in csio_t4_edc_read()
293 csio_t4_memory_rw(struct csio_hw *hw, u32 win, int mtype, u32 addr, in csio_t4_memory_rw()
383 csio_t4_dfs_create_ext_mem(struct csio_hw *hw) in csio_t4_dfs_create_ext_mem()
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()
258 csio_ln_fdmi_done(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_done()
282 csio_ln_fdmi_rhba_cbfn(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_rhba_cbfn()
387 csio_ln_fdmi_dprt_cbfn(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_dprt_cbfn()
494 csio_ln_fdmi_dhba_cbfn(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_dhba_cbfn()
597 csio_ln_vnp_read_cbfn(struct csio_hw *hw, struct csio_mb *mbp) in csio_ln_vnp_read_cbfn()
663 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()
155 csio_t5_flash_cfg_addr(struct csio_hw *hw) in csio_t5_flash_cfg_addr()
173 csio_t5_mc_read(struct csio_hw *hw, int idx, uint32_t addr, __be32 *data, in csio_t5_mc_read()
221 csio_t5_edc_read(struct csio_hw *hw, int idx, uint32_t addr, __be32 *data, in csio_t5_edc_read()
282 csio_t5_memory_rw(struct csio_hw *hw, u32 win, int mtype, u32 addr, in csio_t5_memory_rw()
372 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 *,
227 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_cmd_wr()
282 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_cmd()
314 csio_scsi_init_ultptx_dsgl(struct csio_hw *hw, struct csio_ioreq *req, in csio_scsi_init_ultptx_dsgl()
386 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_read_wr()
439 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_write_wr()
507 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_read()
544 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_write()
580 struct csio_hw *hw = req->lnode->hwp; in csio_setup_ddp()
673 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()
300 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_host_fabric_name()
320 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_stats()
405 csio_fcoe_alloc_vnp(struct csio_hw *hw, struct csio_lnode *ln) in csio_fcoe_alloc_vnp()
486 csio_fcoe_free_vnp(struct csio_hw *hw, struct csio_lnode *ln) in csio_fcoe_free_vnp()
548 struct csio_hw *hw = csio_lnode_to_hw(pln); in csio_vport_create()
609 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 */
335 struct csio_ioreq *csio_scsi_cmpl_handler(struct csio_hw *, void *, uint32_t,
338 int csio_scsi_qconfig(struct csio_hw *);
339 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()
DMakefile11 csio_hw.o csio_hw_t4.o csio_hw_t5.o csio_isr.o \