Lines Matching refs:ocs_hw_t
73 static void ocs_hw_adjust_wqs(ocs_hw_t *hw);
74 static uint32_t ocs_hw_get_num_chutes(ocs_hw_t *hw);
77 static int32_t ocs_hw_command_process(ocs_hw_t *, int32_t, uint8_t *, size_t);
78 static int32_t ocs_hw_mq_process(ocs_hw_t *, int32_t, sli4_queue_t *);
79 static int32_t ocs_hw_cb_read_fcf(ocs_hw_t *, int32_t, uint8_t *, void *);
80 static int32_t ocs_hw_cb_node_attach(ocs_hw_t *, int32_t, uint8_t *, void *);
81 static int32_t ocs_hw_cb_node_free(ocs_hw_t *, int32_t, uint8_t *, void *);
82 static int32_t ocs_hw_cb_node_free_all(ocs_hw_t *, int32_t, uint8_t *, void *);
83 static ocs_hw_rtn_e ocs_hw_setup_io(ocs_hw_t *);
84 static ocs_hw_rtn_e ocs_hw_init_io(ocs_hw_t *);
85 static int32_t ocs_hw_flush(ocs_hw_t *);
86 static int32_t ocs_hw_command_cancel(ocs_hw_t *);
87 static int32_t ocs_hw_io_cancel(ocs_hw_t *);
88 static void ocs_hw_io_quarantine(ocs_hw_t *hw, hw_wq_t *wq, ocs_hw_io_t *io);
89 static void ocs_hw_io_restore_sgl(ocs_hw_t *, ocs_hw_io_t *);
90 static int32_t ocs_hw_io_ini_sge(ocs_hw_t *, ocs_hw_io_t *, ocs_dma_t *, uint32_t, ocs_dma_t *);
91 static ocs_hw_rtn_e ocs_hw_firmware_write_lancer(ocs_hw_t *hw, ocs_dma_t *dma, uint32_t size, uint3…
92 static int32_t ocs_hw_cb_fw_write(ocs_hw_t *, int32_t, uint8_t *, void *);
93 static int32_t ocs_hw_cb_sfp(ocs_hw_t *, int32_t, uint8_t *, void *);
94 static int32_t ocs_hw_cb_temp(ocs_hw_t *, int32_t, uint8_t *, void *);
95 static int32_t ocs_hw_cb_link_stat(ocs_hw_t *, int32_t, uint8_t *, void *);
96 static int32_t ocs_hw_cb_host_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg);
97 static void ocs_hw_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg);
98 static int32_t ocs_hw_clp_resp_get_value(ocs_hw_t *hw, const char *keyword, char *value, uint32_t v…
99 typedef void (*ocs_hw_dmtf_clp_cb_t)(ocs_hw_t *hw, int32_t status, uint32_t result_len, void *arg);
100 static ocs_hw_rtn_e ocs_hw_exec_dmtf_clp_cmd(ocs_hw_t *hw, ocs_dma_t *dma_cmd, ocs_dma_t *dma_resp,…
101 static void ocs_hw_linkcfg_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint32_t result_len, void *arg…
103 static int32_t __ocs_read_topology_cb(ocs_hw_t *, int32_t, uint8_t *, void *);
104 static ocs_hw_rtn_e ocs_hw_get_linkcfg(ocs_hw_t *, uint32_t, ocs_hw_port_control_cb_t, void *);
105 static ocs_hw_rtn_e ocs_hw_get_linkcfg_lancer(ocs_hw_t *, uint32_t, ocs_hw_port_control_cb_t, void …
106 static ocs_hw_rtn_e ocs_hw_get_linkcfg_skyhawk(ocs_hw_t *, uint32_t, ocs_hw_port_control_cb_t, void…
107 static ocs_hw_rtn_e ocs_hw_set_linkcfg(ocs_hw_t *, ocs_hw_linkcfg_e, uint32_t, ocs_hw_port_control_…
108 static ocs_hw_rtn_e ocs_hw_set_linkcfg_lancer(ocs_hw_t *, ocs_hw_linkcfg_e, uint32_t, ocs_hw_port_c…
109 static ocs_hw_rtn_e ocs_hw_set_linkcfg_skyhawk(ocs_hw_t *, ocs_hw_linkcfg_e, uint32_t, ocs_hw_port_…
111 static ocs_hw_rtn_e ocs_hw_set_eth_license(ocs_hw_t *hw, uint32_t license);
112 static ocs_hw_rtn_e ocs_hw_set_dif_seed(ocs_hw_t *hw);
113 static ocs_hw_rtn_e ocs_hw_set_dif_mode(ocs_hw_t *hw);
116 static ocs_hw_rtn_e ocs_hw_config_auto_xfer_rdy_t10pi(ocs_hw_t *hw, uint8_t *buf);
117 static ocs_hw_rtn_e ocs_hw_config_set_fdt_xfer_hint(ocs_hw_t *hw, uint32_t fdt_xfer_hint);
119 static int32_t ocs_hw_config_mrq(ocs_hw_t *hw, uint8_t, uint16_t, uint16_t);
120 static ocs_hw_rtn_e ocs_hw_config_watchdog_timer(ocs_hw_t *hw);
121 static ocs_hw_rtn_e ocs_hw_config_sli_port_health_check(ocs_hw_t *hw, uint8_t query, uint8_t enable…
124 static int32_t ocs_hw_domain_add(ocs_hw_t *, ocs_domain_t *);
125 static int32_t ocs_hw_domain_del(ocs_hw_t *, ocs_domain_t *);
140 static int32_t __ocs_hw_domain_cb(ocs_hw_t *, int32_t, uint8_t *, void *);
141 static int32_t __ocs_hw_port_cb(ocs_hw_t *, int32_t, uint8_t *, void *);
142 static int32_t __ocs_hw_port_realloc_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg);
145 static void ocs_hw_check_sec_hio_list(ocs_hw_t *hw);
149 static void shutdown_target_wqe_timer(ocs_hw_t *hw);
164 ocs_hw_add_io_timed_wqe(ocs_hw_t *hw, ocs_hw_io_t *io) in ocs_hw_add_io_timed_wqe()
179 ocs_hw_remove_io_timed_wqe(ocs_hw_t *hw, ocs_hw_io_t *io) in ocs_hw_remove_io_timed_wqe()
239 ocs_hw_get_num_chutes(ocs_hw_t *hw) in ocs_hw_get_num_chutes()
252 ocs_hw_link_event_init(ocs_hw_t *hw) in ocs_hw_link_event_init()
278 ocs_hw_read_max_dump_size(ocs_hw_t *hw) in ocs_hw_read_max_dump_size()
339 ocs_hw_setup(ocs_hw_t *hw, ocs_os_handle_t os, sli4_port_type_e port_type) in ocs_hw_setup()
362 ocs_memset(hw, 0, sizeof(ocs_hw_t)); in ocs_hw_setup()
534 ocs_hw_init(ocs_hw_t *hw) in ocs_hw_init()
1046 ocs_hw_config_mrq(ocs_hw_t *hw, uint8_t mode, uint16_t vlanid, uint16_t fcf_index) in ocs_hw_config_mrq()
1137 ocs_hw_t *hw = (ocs_hw_t *)arg; in ocs_hw_init_linkcfg_cb()
1159 ocs_hw_teardown(ocs_hw_t *hw) in ocs_hw_teardown()
1314 ocs_hw_reset(ocs_hw_t *hw, ocs_hw_reset_e reset) in ocs_hw_reset()
1466 ocs_hw_get_num_eq(ocs_hw_t *hw) in ocs_hw_get_num_eq()
1472 ocs_hw_get_fw_timed_out(ocs_hw_t *hw) in ocs_hw_get_fw_timed_out()
1482 ocs_hw_get(ocs_hw_t *hw, ocs_hw_property_e prop, uint32_t *value) in ocs_hw_get()
1770 ocs_hw_get_ptr(ocs_hw_t *hw, ocs_hw_property_e prop) in ocs_hw_get_ptr()
1810 ocs_hw_set(ocs_hw_t *hw, ocs_hw_property_e prop, uint32_t value) in ocs_hw_set()
2032 ocs_hw_set_ptr(ocs_hw_t *hw, ocs_hw_property_e prop, void *value) in ocs_hw_set_ptr()
2075 ocs_hw_event_check(ocs_hw_t *hw, uint32_t vector) in ocs_hw_event_check()
2116 ocs_hw_t *hw = seq->hw; in ocs_hw_unsol_process_bounce()
2125 ocs_hw_process(ocs_hw_t *hw, uint32_t vector, uint32_t max_isr_time_msec) in ocs_hw_process()
2179 ocs_hw_eq_process(ocs_hw_t *hw, hw_eq_t *eq, uint32_t max_isr_time_msec) in ocs_hw_eq_process()
2250 ocs_hw_cmd_submit_pending(ocs_hw_t *hw) in ocs_hw_cmd_submit_pending()
2297 ocs_hw_command(ocs_hw_t *hw, uint8_t *cmd, uint32_t opts, void *cb, void *arg) in ocs_hw_command()
2392 ocs_hw_callback(ocs_hw_t *hw, ocs_hw_callback_e which, void *func, void *arg) in ocs_hw_callback()
2446 ocs_hw_port_alloc(ocs_hw_t *hw, ocs_sli_port_t *sport, ocs_domain_t *domain, in ocs_hw_port_alloc()
2529 ocs_hw_port_attach(ocs_hw_t *hw, ocs_sli_port_t *sport, uint32_t fc_id) in ocs_hw_port_attach()
2574 ocs_hw_cb_port_control(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_port_control()
2623 ocs_hw_port_control(ocs_hw_t *hw, ocs_hw_port_e ctrl, uintptr_t value, ocs_hw_port_control_cb_t cb,… in ocs_hw_port_control()
2738 ocs_hw_port_free(ocs_hw_t *hw, ocs_sli_port_t *sport) in ocs_hw_port_free()
2783 ocs_hw_domain_alloc(ocs_hw_t *hw, ocs_domain_t *domain, uint32_t fcf, uint32_t vlan) in ocs_hw_domain_alloc()
2840 ocs_hw_domain_attach(ocs_hw_t *hw, ocs_domain_t *domain, uint32_t fc_id) in ocs_hw_domain_attach()
2884 ocs_hw_domain_free(ocs_hw_t *hw, ocs_domain_t *domain) in ocs_hw_domain_free()
2922 ocs_hw_domain_force_free(ocs_hw_t *hw, ocs_domain_t *domain) in ocs_hw_domain_force_free()
2946 ocs_hw_node_alloc(ocs_hw_t *hw, ocs_remote_node_t *rnode, uint32_t fc_addr, in ocs_hw_node_alloc()
2990 ocs_hw_node_attach(ocs_hw_t *hw, ocs_remote_node_t *rnode, ocs_dma_t *sparms) in ocs_hw_node_attach()
3073 ocs_hw_node_free_resources(ocs_hw_t *hw, ocs_remote_node_t *rnode) in ocs_hw_node_free_resources()
3116 ocs_hw_node_detach(ocs_hw_t *hw, ocs_remote_node_t *rnode) in ocs_hw_node_detach()
3194 ocs_hw_node_free_all(ocs_hw_t *hw) in ocs_hw_node_free_all()
3234 ocs_hw_node_group_alloc(ocs_hw_t *hw, ocs_remote_node_group_t *ngroup) in ocs_hw_node_group_alloc()
3254 ocs_hw_node_group_attach(ocs_hw_t *hw, ocs_remote_node_group_t *ngroup, ocs_remote_node_t *rnode) in ocs_hw_node_group_attach()
3282 ocs_hw_node_group_free(ocs_hw_t *hw, ocs_remote_node_group_t *ngroup) in ocs_hw_node_group_free()
3355 _ocs_hw_io_alloc(ocs_hw_t *hw) in _ocs_hw_io_alloc()
3385 ocs_hw_io_alloc(ocs_hw_t *hw) in ocs_hw_io_alloc()
3413 ocs_hw_io_activate_port_owned(ocs_hw_t *hw, ocs_hw_io_t *io) in ocs_hw_io_activate_port_owned()
3444 ocs_hw_io_free_move_correct_list(ocs_hw_t *hw, ocs_hw_io_t *io) in ocs_hw_io_free_move_correct_list()
3471 ocs_hw_io_free_common(ocs_hw_t *hw, ocs_hw_io_t *io) in ocs_hw_io_free_common()
3490 ocs_hw_t *hw = io->hw; in ocs_hw_io_free_port_owned()
3519 ocs_hw_t *hw = io->hw; in ocs_hw_io_free_internal()
3545 ocs_hw_io_free(ocs_hw_t *hw, ocs_hw_io_t *io) in ocs_hw_io_free()
3572 ocs_hw_io_inuse(ocs_hw_t *hw, ocs_hw_io_t *io) in ocs_hw_io_inuse()
3722 ocs_hw_check_sec_hio_list(ocs_hw_t *hw) in ocs_hw_check_sec_hio_list()
3837 ocs_hw_srrs_send(ocs_hw_t *hw, ocs_hw_io_type_e type, ocs_hw_io_t *io, in ocs_hw_srrs_send()
4049 ocs_hw_io_send(ocs_hw_t *hw, ocs_hw_io_type_e type, ocs_hw_io_t *io, in ocs_hw_io_send()
4352 ocs_hw_send_frame(ocs_hw_t *hw, fc_header_le_t *hdr, uint8_t sof, uint8_t eof, ocs_dma_t *payload, in ocs_hw_send_frame()
4402 ocs_hw_io_register_sgl(ocs_hw_t *hw, ocs_hw_io_t *io, ocs_dma_t *sgl, uint32_t sgl_count) in ocs_hw_io_register_sgl()
4416 ocs_hw_io_restore_sgl(ocs_hw_t *hw, ocs_hw_io_t *io) in ocs_hw_io_restore_sgl()
4452 ocs_hw_io_init_sges(ocs_hw_t *hw, ocs_hw_io_t *io, ocs_hw_io_type_e type) in ocs_hw_io_init_sges()
4564 ocs_hw_io_add_seed_sge(ocs_hw_t *hw, ocs_hw_io_t *io, ocs_hw_dif_info_t *dif_info) in ocs_hw_io_add_seed_sge()
4666 ocs_hw_io_overflow_sgl(ocs_hw_t *hw, ocs_hw_io_t *io) in ocs_hw_io_overflow_sgl()
4749 ocs_hw_io_add_sge(ocs_hw_t *hw, ocs_hw_io_t *io, uintptr_t addr, uint32_t length) in ocs_hw_io_add_sge()
4818 ocs_hw_io_add_dif_sge(ocs_hw_t *hw, ocs_hw_io_t *io, uintptr_t addr) in ocs_hw_io_add_dif_sge()
4878 ocs_hw_io_abort(ocs_hw_t *hw, ocs_hw_io_t *io_to_abort, uint32_t send_abts, void *cb, void *arg) in ocs_hw_io_abort()
5023 ocs_hw_io_get_xid(ocs_hw_t *hw, ocs_hw_io_t *io) in ocs_hw_io_get_xid()
5092 ocs_hw_firmware_write(ocs_hw_t *hw, ocs_dma_t *dma, uint32_t size, uint32_t offset, int last, ocs_h… in ocs_hw_firmware_write()
5124 ocs_hw_firmware_write_lancer(ocs_hw_t *hw, ocs_dma_t *dma, uint32_t size, uint32_t offset, int last… in ocs_hw_firmware_write_lancer()
5184 ocs_hw_cb_fw_write(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_fw_write()
5232 ocs_hw_cb_sfp(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_sfp()
5271 ocs_hw_get_sfp(ocs_hw_t *hw, uint16_t page, ocs_hw_sfp_cb_t cb, void *arg) in ocs_hw_get_sfp()
5331 ocs_hw_get_temperature(ocs_hw_t *hw, ocs_hw_temp_cb_t cb, void *arg) in ocs_hw_get_temperature()
5383 ocs_hw_cb_temp(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_temp()
5430 ocs_hw_get_link_stats(ocs_hw_t *hw, in ocs_hw_get_link_stats()
5489 ocs_hw_cb_link_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_link_stat()
5571 ocs_hw_get_host_stats(ocs_hw_t *hw, uint8_t cc, ocs_hw_host_stat_cb_t cb, void *arg) in ocs_hw_get_host_stats()
5625 ocs_hw_cb_host_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_host_stat()
5823 ocs_hw_set_linkcfg(ocs_hw_t *hw, ocs_hw_linkcfg_e value, uint32_t opts, ocs_hw_port_control_cb_t cb… in ocs_hw_set_linkcfg()
5854 ocs_hw_set_linkcfg_lancer(ocs_hw_t *hw, ocs_hw_linkcfg_e value, uint32_t opts, ocs_hw_port_control_… in ocs_hw_set_linkcfg_lancer()
5921 ocs_hw_set_active_link_config_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_set_active_link_config_cb()
5953 ocs_hw_set_linkcfg_skyhawk(ocs_hw_t *hw, ocs_hw_linkcfg_e value, uint32_t opts, ocs_hw_port_control… in ocs_hw_set_linkcfg_skyhawk()
6017 ocs_hw_get_linkcfg(ocs_hw_t *hw, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) in ocs_hw_get_linkcfg()
6047 ocs_hw_get_linkcfg_lancer(ocs_hw_t *hw, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) in ocs_hw_get_linkcfg_lancer()
6113 ocs_hw_get_active_link_config_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_get_active_link_config_cb()
6149 ocs_hw_get_linkcfg_skyhawk(ocs_hw_t *hw, uint32_t opts, ocs_hw_port_control_cb_t cb, void *arg) in ocs_hw_get_linkcfg_skyhawk()
6213 ocs_hw_set_dif_seed(ocs_hw_t *hw) in ocs_hw_set_dif_seed()
6249 ocs_hw_set_dif_mode(ocs_hw_t *hw) in ocs_hw_set_dif_mode()
6280 ocs_hw_t *hw = (ocs_hw_t *)arg; in ocs_hw_watchdog_timer_cb()
6287 ocs_hw_cb_cfg_watchdog(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_cfg_watchdog()
6315 ocs_hw_config_watchdog_timer(ocs_hw_t *hw) in ocs_hw_config_watchdog_timer()
6343 ocs_hw_config_auto_xfer_rdy_t10pi(ocs_hw_t *hw, uint8_t *buf) in ocs_hw_config_auto_xfer_rdy_t10pi()
6398 ocs_hw_config_sli_port_health_check(ocs_hw_t *hw, uint8_t query, uint8_t enable) in ocs_hw_config_sli_port_health_check()
6433 ocs_hw_config_set_fdt_xfer_hint(ocs_hw_t *hw, uint32_t fdt_xfer_hint) in ocs_hw_config_set_fdt_xfer_hint()
6468 ocs_hw_linkcfg_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint32_t result_len, void *arg) in ocs_hw_linkcfg_dmtf_clp_cb()
6518 ocs_hw_set_dump_location(ocs_hw_t *hw, uint32_t num_buffers, ocs_dma_t *dump_buffers, uint8_t fdb) in ocs_hw_set_dump_location()
6608 ocs_hw_set_eth_license(ocs_hw_t *hw, uint32_t license) in ocs_hw_set_eth_license()
6673 ocs_hw_exec_dmtf_clp_cmd(ocs_hw_t *hw, ocs_dma_t *dma_cmd, ocs_dma_t *dma_resp, uint32_t opts, ocs_… in ocs_hw_exec_dmtf_clp_cmd()
6744 ocs_hw_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_dmtf_clp_cb()
6835 ocs_hw_clp_resp_get_value(ocs_hw_t *hw, const char *keyword, char *value, uint32_t value_len, const… in ocs_hw_clp_resp_get_value()
6892 ocs_hw_raise_ue(ocs_hw_t *hw, uint8_t dump) in ocs_hw_raise_ue()
6924 ocs_hw_cb_dump_get(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_dump_get()
6971 ocs_hw_dump_get(ocs_hw_t *hw, ocs_dma_t *dma, uint32_t size, uint32_t offset, ocs_hw_dump_get_cb_t … in ocs_hw_dump_get()
7044 ocs_hw_cb_dump_clear(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_dump_clear()
7082 ocs_hw_dump_clear(ocs_hw_t *hw, ocs_hw_dump_clear_cb_t cb, void *arg) in ocs_hw_dump_clear()
7148 ocs_hw_get_port_protocol_cb(ocs_hw_t *hw, int32_t status, in ocs_hw_get_port_protocol_cb()
7220 ocs_hw_get_port_protocol(ocs_hw_t *hw, uint32_t pci_func, in ocs_hw_get_port_protocol()
7300 ocs_hw_set_port_protocol_cb2(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_set_port_protocol_cb2()
7339 ocs_hw_set_port_protocol_cb1(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_set_port_protocol_cb1()
7513 ocs_hw_set_port_protocol(ocs_hw_t *hw, ocs_hw_port_protocol_e new_protocol, in ocs_hw_set_port_protocol()
7591 ocs_hw_get_profile_list_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_get_profile_list_cb()
7654 ocs_hw_get_profile_list(ocs_hw_t *hw, ocs_get_profile_list_cb_t cb, void* ul_arg) in ocs_hw_get_profile_list()
7722 ocs_hw_get_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_get_active_profile_cb()
7763 ocs_hw_get_active_profile(ocs_hw_t *hw, ocs_get_active_profile_cb_t cb, void* ul_arg) in ocs_hw_get_active_profile()
7822 ocs_hw_get_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_get_nvparms_cb()
7860 ocs_hw_get_nvparms(ocs_hw_t *hw, ocs_get_nvparms_cb_t cb, void* ul_arg) in ocs_hw_get_nvparms()
7914 ocs_hw_set_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_set_nvparms_cb()
7957 ocs_hw_set_nvparms(ocs_hw_t *hw, ocs_set_nvparms_cb_t cb, uint8_t *wwpn, in ocs_hw_set_nvparms()
8004 ocs_hw_io_get_count(ocs_hw_t *hw, ocs_hw_io_count_type_e io_count_type) in ocs_hw_io_get_count()
8050 ocs_hw_get_rqes_produced_count(ocs_hw_t *hw) in ocs_hw_get_rqes_produced_count()
8087 ocs_hw_set_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_set_active_profile_cb()
8122 ocs_hw_set_active_profile(ocs_hw_t *hw, ocs_set_active_profile_cb_t cb, uint32_t profile_id, void* … in ocs_hw_set_active_profile()
8226 ocs_hw_domain_add(ocs_hw_t *hw, ocs_domain_t *domain) in ocs_hw_domain_add()
8274 ocs_hw_domain_del(ocs_hw_t *hw, ocs_domain_t *domain) in ocs_hw_domain_del()
8331 ocs_hw_domain_get(ocs_hw_t *hw, uint16_t fcfi) in ocs_hw_domain_get()
8349 ocs_hw_domain_get_indexed(ocs_hw_t *hw, uint16_t fcf_index) in ocs_hw_domain_get_indexed()
8381 ocs_hw_io_quarantine(ocs_hw_t *hw, hw_wq_t *wq, ocs_hw_io_t *io) in ocs_hw_io_quarantine()
8422 ocs_hw_cq_process(ocs_hw_t *hw, hw_cq_t *cq) in ocs_hw_cq_process()
8539 ocs_hw_wq_process(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe, int32_t status, uint16_t rid) in ocs_hw_wq_process()
8584 ocs_hw_t *hw = io->hw; in ocs_hw_wq_process_io()
8847 ocs_hw_t *hw = io->hw; in ocs_hw_wq_process_abort()
8916 ocs_hw_xabt_process(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe, uint16_t rid) in ocs_hw_xabt_process()
8998 ocs_hw_adjust_wqs(ocs_hw_t *hw) in ocs_hw_adjust_wqs()
9057 ocs_hw_command_process(ocs_hw_t *hw, int32_t status, uint8_t *mqe, size_t size) in ocs_hw_command_process()
9098 ocs_hw_mq_process(ocs_hw_t *hw, int32_t status, sli4_queue_t *mq) in ocs_hw_mq_process()
9120 ocs_hw_read_fcf(ocs_hw_t *hw, uint32_t index) in ocs_hw_read_fcf()
9163 ocs_hw_cb_read_fcf(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_read_fcf()
9246 ocs_hw_t *hw = ctx; in ocs_hw_cb_link()
9310 ocs_hw_t *hw = ctx; in ocs_hw_cb_fip()
9383 ocs_hw_cb_node_attach(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_node_attach()
9411 ocs_hw_cb_node_free(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_node_free()
9455 ocs_hw_cb_node_free_all(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_node_free_all()
9497 ocs_hw_setup_io(ocs_hw_t *hw) in ocs_hw_setup_io()
9610 ocs_hw_init_io(ocs_hw_t *hw) in ocs_hw_init_io()
9687 ocs_hw_flush(ocs_hw_t *hw) in ocs_hw_flush()
9700 ocs_hw_command_cancel(ocs_hw_t *hw) in ocs_hw_command_cancel()
9736 ocs_hw_io_lookup(ocs_hw_t *hw, uint32_t xri) in ocs_hw_io_lookup()
9750 ocs_hw_io_cancel_cleanup(ocs_hw_t *hw, ocs_hw_io_t *io) in ocs_hw_io_cancel_cleanup()
9785 ocs_hw_io_cancel(ocs_hw_t *hw) in ocs_hw_io_cancel()
9856 ocs_hw_io_ini_sge(ocs_hw_t *hw, ocs_hw_io_t *io, ocs_dma_t *cmnd, uint32_t cmnd_size, in ocs_hw_io_ini_sge()
9883 __ocs_read_topology_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in __ocs_read_topology_cb()
9961 ocs_hw_t *hw = sport->hw; in __ocs_hw_port_common()
9988 ocs_hw_t *hw = sport->hw; in __ocs_hw_port_free_report_fail()
10013 ocs_hw_t *hw = sport->hw; in __ocs_hw_port_freed()
10044 ocs_hw_t *hw = sport->hw; in __ocs_hw_port_attach_report_fail()
10078 ocs_hw_t *hw = sport->hw; in __ocs_hw_port_free_unreg_vpi()
10125 ocs_hw_t *hw = sport->hw; in __ocs_hw_port_free_nop()
10153 ocs_hw_t *hw = sport->hw; in __ocs_hw_port_attached()
10186 ocs_hw_t *hw = sport->hw; in __ocs_hw_port_attach_reg_vpi()
10226 ocs_hw_t *hw = sport->hw; in __ocs_hw_port_done()
10252 ocs_hw_t *hw = sport->hw; in __ocs_hw_port_allocated()
10306 ocs_hw_t *hw = sport->hw; in __ocs_hw_port_alloc_report_fail()
10342 ocs_hw_t *hw = sport->hw; in __ocs_hw_port_alloc_read_sparm64()
10435 ocs_hw_t *hw = sport->hw; in __ocs_hw_port_alloc_init_vpi()
10486 __ocs_hw_port_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in __ocs_hw_port_cb()
10506 __ocs_hw_port_realloc_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in __ocs_hw_port_realloc_cb()
10545 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_common()
10566 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_alloc_report_fail()
10598 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_attached()
10630 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_attach_report_fail()
10663 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_attach_reg_vfi()
10702 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_allocated()
10744 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_alloc_read_sparm64()
10786 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_alloc_init_vfi()
10824 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_alloc_reg_fcfi()
10916 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_init()
10951 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_free_report_fail()
10988 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_freed()
11021 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_free_redisc_fcf()
11062 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_free_unreg_fcfi()
11115 ocs_hw_t *hw = domain->hw; in __ocs_hw_domain_free_unreg_vfi()
11171 __ocs_hw_domain_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in __ocs_hw_domain_cb()
11191 target_wqe_timer_nop_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in target_wqe_timer_nop_cb()
11255 ocs_hw_t *hw = (ocs_hw_t *)arg; in target_wqe_timer_cb()
11267 shutdown_target_wqe_timer(ocs_hw_t *hw) in shutdown_target_wqe_timer()
11306 ocs_hw_is_io_port_owned(ocs_hw_t *hw, ocs_hw_io_t *io) in ocs_hw_is_io_port_owned()
11325 ocs_hw_is_xri_port_owned(ocs_hw_t *hw, uint32_t xri) in ocs_hw_is_xri_port_owned()
11342 ocs_hw_reclaim_xri(ocs_hw_t *hw, uint16_t xri_base, uint16_t xri_count) in ocs_hw_reclaim_xri()
11380 ocs_hw_cb_post_xri(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_post_xri()
11406 ocs_hw_post_xri(ocs_hw_t *hw, uint32_t xri_start, uint32_t num_to_post) in ocs_hw_post_xri()
11443 ocs_hw_xri_move_to_port_owned(ocs_hw_t *hw, uint32_t num_xri) in ocs_hw_xri_move_to_port_owned()
11510 ocs_hw_cb_release_xri(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_cb_release_xri()
11542 ocs_hw_xri_move_to_host_owned(ocs_hw_t *hw, uint8_t num_xri) in ocs_hw_xri_move_to_host_owned()
11582 ocs_hw_rx_buffer_alloc(ocs_hw_t *hw, uint32_t rqindex, uint32_t count, uint32_t size) in ocs_hw_rx_buffer_alloc()
11622 ocs_hw_rx_buffer_free(ocs_hw_t *hw, ocs_hw_rq_buffer_t *rq_buf, uint32_t count) in ocs_hw_rx_buffer_free()
11644 ocs_hw_rx_allocate(ocs_hw_t *hw) in ocs_hw_rx_allocate()
11695 ocs_hw_rx_post(ocs_hw_t *hw) in ocs_hw_rx_post()
11737 ocs_hw_rx_free(ocs_hw_t *hw) in ocs_hw_rx_free()
11778 ocs_hw_async_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_async_cb()
11804 ocs_hw_async_call(ocs_hw_t *hw, ocs_hw_async_cb_t callback, void *arg) in ocs_hw_async_call()
11847 ocs_hw_reqtag_init(ocs_hw_t *hw) in ocs_hw_reqtag_init()
11872 ocs_hw_reqtag_alloc(ocs_hw_t *hw, void (*callback)(void *arg, uint8_t *cqe, int32_t status), void *… in ocs_hw_reqtag_alloc()
11898 ocs_hw_reqtag_free(ocs_hw_t *hw, hw_wq_callback_t *wqcb) in ocs_hw_reqtag_free()
11918 ocs_hw_reqtag_get_instance(ocs_hw_t *hw, uint32_t instance_index) in ocs_hw_reqtag_get_instance()
11940 ocs_hw_reqtag_reset(ocs_hw_t *hw) in ocs_hw_reqtag_reset()
12008 ocs_hw_reque_xri( ocs_hw_t *hw, ocs_hw_io_t *io ) in ocs_hw_reque_xri()
12091 ocs_hw_get_config_persistent_topology(ocs_hw_t *hw) in ocs_hw_get_config_persistent_topology()
12137 ocs_hw_set_persistent_topolgy_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) in ocs_hw_set_persistent_topolgy_cb()
12179 ocs_hw_set_persistent_topology(ocs_hw_t *hw, uint32_t topology, uint32_t opts) in ocs_hw_set_persistent_topology()
12520 static int32_t ocs_hw_workaround_match(ocs_hw_t *hw, hw_workaround_t *w);
12570 ocs_hw_workaround_match(ocs_hw_t *hw, hw_workaround_t *w) in ocs_hw_workaround_match()