Searched refs:hermon_state_t (Results 1 - 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_fcoib.h80 int hermon_fcoib_set_id(hermon_state_t *state, int port, uint32_t rfci_qpn,
82 int hermon_fcoib_get_id_idx(hermon_state_t *state, int port,
84 int hermon_fcoib_check_exch_base_off(hermon_state_t *state, int port,
86 uint_t hermon_fcoib_qpnum_from_fexch(hermon_state_t *state, int port,
88 int hermon_fcoib_is_fexch_qpn(hermon_state_t *state, uint_t qpnum);
89 uint32_t hermon_fcoib_qpn_to_mkey(hermon_state_t *state, uint_t qpnum);
90 int hermon_fcoib_fexch_mkey_init(hermon_state_t *state, hermon_pdhdl_t pd,
92 int hermon_fcoib_fexch_mkey_fini(hermon_state_t *state, hermon_pdhdl_t pd,
94 uint32_t hermon_fcoib_fexch_relative_qpn(hermon_state_t *state, uint8_t port,
96 int hermon_fcoib_init(hermon_state_t *stat
[all...]
H A Dhermon_cmd.h677 int hermon_cmd_post(hermon_state_t *state, hermon_cmd_post_t *cmdpost);
678 int hermon_mbox_alloc(hermon_state_t *state, hermon_mbox_info_t *mbox_info,
680 void hermon_mbox_free(hermon_state_t *state, hermon_mbox_info_t *mbox_info);
681 int hermon_cmd_complete_handler(hermon_state_t *state, hermon_eqhdl_t eq,
683 int hermon_inmbox_list_init(hermon_state_t *state);
684 int hermon_intr_inmbox_list_init(hermon_state_t *state);
685 int hermon_outmbox_list_init(hermon_state_t *state);
686 int hermon_intr_outmbox_list_init(hermon_state_t *state);
687 void hermon_inmbox_list_fini(hermon_state_t *state);
688 void hermon_intr_inmbox_list_fini(hermon_state_t *stat
[all...]
H A Dhermon_fm.h283 extern void hermon_fm_init(hermon_state_t *);
284 extern void hermon_fm_fini(hermon_state_t *);
285 extern int hermon_fm_ereport_init(hermon_state_t *);
286 extern void hermon_fm_ereport_fini(hermon_state_t *);
287 extern int hermon_get_state(hermon_state_t *);
288 extern boolean_t hermon_init_failure(hermon_state_t *);
290 extern void hermon_fm_ereport(hermon_state_t *, int, int);
291 extern int hermon_regs_map_setup(hermon_state_t *, uint_t, caddr_t *, offset_t,
293 extern void hermon_regs_map_free(hermon_state_t *, ddi_acc_handle_t *);
294 extern int hermon_pci_config_setup(hermon_state_t *, ddi_acc_handle_
[all...]
H A Dhermon_mr.h291 int hermon_dma_mr_register(hermon_state_t *state, hermon_pdhdl_t pdhdl,
293 int hermon_mr_register(hermon_state_t *state, hermon_pdhdl_t pdhdl,
296 int hermon_mr_register_buf(hermon_state_t *state, hermon_pdhdl_t pdhdl,
299 int hermon_mr_mtt_bind(hermon_state_t *state, hermon_bind_info_t *bind,
302 int hermon_mr_mtt_unbind(hermon_state_t *state, hermon_bind_info_t *bind,
304 int hermon_mr_register_shared(hermon_state_t *state, hermon_mrhdl_t mrhdl,
306 int hermon_mr_deregister(hermon_state_t *state, hermon_mrhdl_t *mrhdl,
308 int hermon_mr_query(hermon_state_t *state, hermon_mrhdl_t mrhdl,
310 int hermon_mr_reregister(hermon_state_t *state, hermon_mrhdl_t mrhdl,
313 int hermon_mr_reregister_buf(hermon_state_t *stat
[all...]
H A Dhermon_misc.h455 hermon_state_t *hki64_state;
553 hermon_state_t *hls_state;
577 hermon_state_t *fmr_state;
626 int hermon_dbr_page_alloc(hermon_state_t *state, hermon_dbr_info_t **info);
627 int hermon_dbr_alloc(hermon_state_t *state, uint_t index,
630 void hermon_dbr_free(hermon_state_t *state, uint_t indx, hermon_dbr_t *record);
631 void hermon_dbr_kern_free(hermon_state_t *state);
634 int hermon_create_fmr_pool(hermon_state_t *state, hermon_pdhdl_t pdhdl,
636 int hermon_destroy_fmr_pool(hermon_state_t *state, hermon_fmrhdl_t fmrhdl);
637 int hermon_flush_fmr_pool(hermon_state_t *stat
[all...]
H A Dhermon_cq.h267 int hermon_cq_alloc(hermon_state_t *state, ibt_cq_hdl_t ibt_cqhdl,
270 int hermon_cq_free(hermon_state_t *state, hermon_cqhdl_t *cqhdl,
272 int hermon_cq_resize(hermon_state_t *state, hermon_cqhdl_t cqhdl,
274 int hermon_cq_modify(hermon_state_t *state, hermon_cqhdl_t cqhdl,
276 int hermon_cq_notify(hermon_state_t *state, hermon_cqhdl_t cqhdl,
278 int hermon_cq_poll(hermon_state_t *state, hermon_cqhdl_t cqhdl, ibt_wc_t *wc_p,
280 int hermon_cq_sched_alloc(hermon_state_t *state, ibt_cq_sched_attr_t *attr,
282 int hermon_cq_sched_free(hermon_state_t *state, hermon_cq_sched_t *cq_schedp);
283 int hermon_cq_handler(hermon_state_t *state, hermon_eqhdl_t eq,
285 int hermon_cq_err_handler(hermon_state_t *stat
[all...]
H A Dhermon_agents.h135 hermon_state_t *agl_state;
157 int hermon_agent_handlers_init(hermon_state_t *state);
158 int hermon_agent_handlers_fini(hermon_state_t *state);
H A Dhermon_srq.h161 * int hermon_srq_alloc(hermon_state_t *state, hermon_srq_info_t *srqinfo,
165 int hermon_srq_alloc(hermon_state_t *state, hermon_srq_info_t *srqinfo,
167 int hermon_srq_free(hermon_state_t *state, hermon_srqhdl_t *srqhdl,
169 int hermon_srq_modify(hermon_state_t *state, hermon_srqhdl_t srq,
171 int hermon_srq_post(hermon_state_t *state, hermon_srqhdl_t srq,
175 hermon_srqhdl_t hermon_srqhdl_from_srqnum(hermon_state_t *state, uint_t srqnum);
H A Dhermon_qp.h370 int hermon_qp_alloc(hermon_state_t *state, hermon_qp_info_t *qpinfo,
372 int hermon_special_qp_alloc(hermon_state_t *state, hermon_qp_info_t *qpinfo,
374 int hermon_qp_alloc_range(hermon_state_t *state, uint_t log2,
377 int hermon_qp_free(hermon_state_t *state, hermon_qphdl_t *qphdl,
379 int hermon_qp_query(hermon_state_t *state, hermon_qphdl_t qphdl,
381 hermon_qphdl_t hermon_qphdl_from_qpnum(hermon_state_t *state, uint_t qpnum);
382 void hermon_qp_release_qpn(hermon_state_t *state, hermon_qpn_entry_t *entry,
384 void hermon_qpn_avl_init(hermon_state_t *state);
385 void hermon_qpn_avl_fini(hermon_state_t *state);
388 int hermon_qp_modify(hermon_state_t *stat
[all...]
H A Dhermon_event.h286 int (*eq_func)(hermon_state_t *state, hermon_eqhdl_t eq,
292 int hermon_eq_init_all(hermon_state_t *state);
293 int hermon_eq_fini_all(hermon_state_t *state);
294 int hermon_eq_arm_all(hermon_state_t *state);
296 void hermon_eq_doorbell(hermon_state_t *state, uint32_t eq_cmd, uint32_t eqn,
298 void hermon_eq_overflow_handler(hermon_state_t *state, hermon_eqhdl_t eq,
300 void hermon_eq_reset_uar_baseaddr(hermon_state_t *state);
H A Dhermon_rsrc.h319 hermon_state_t *rsrc_state;
372 int hermon_rsrc_alloc(hermon_state_t *state, hermon_rsrc_type_t rsrc,
374 void hermon_rsrc_free(hermon_state_t *state, hermon_rsrc_t **hdl);
375 int hermon_rsrc_init_phase1(hermon_state_t *state);
376 int hermon_rsrc_init_phase2(hermon_state_t *state);
377 void hermon_rsrc_fini(hermon_state_t *state,
381 int hermon_rsrc_reserve(hermon_state_t *state, hermon_rsrc_type_t rsrc,
H A Dhermon_wr.h176 int hermon_post_send(hermon_state_t *state, hermon_qphdl_t qphdl,
178 int hermon_post_recv(hermon_state_t *state, hermon_qphdl_t qphdl,
180 int hermon_post_srq(hermon_state_t *state, hermon_srqhdl_t srqhdl,
184 int hermon_wrid_from_reset_handling(hermon_state_t *state, hermon_qphdl_t qp);
185 int hermon_wrid_to_reset_handling(hermon_state_t *state, hermon_qphdl_t qp);
191 void hermon_check_qp_debug(hermon_state_t *state, hermon_qphdl_t qp);
H A Dhermon_cfg.h194 int hermon_cfg_profile_init_phase1(hermon_state_t *state);
195 int hermon_cfg_profile_init_phase2(hermon_state_t *state);
196 void hermon_cfg_profile_fini(hermon_state_t *state);
H A Dhermon.h347 * The hermon_state_t structure is the HCA software state structure. It
881 hermon_state_t *hdt_state;
960 int hermon_dma_alloc(hermon_state_t *state, hermon_dma_info_t *dma_info,
962 void hermon_dma_attr_init(hermon_state_t *state, ddi_dma_attr_t *dma_attr);
964 int hermon_icm_alloc(hermon_state_t *state, hermon_rsrc_type_t type,
966 void hermon_icm_free(hermon_state_t *state, hermon_rsrc_type_t type,
968 void *hermon_icm_num_to_hdl(hermon_state_t *state, hermon_rsrc_type_t type,
970 void hermon_icm_set_num_to_hdl(hermon_state_t *state, hermon_rsrc_type_t type,
972 int hermon_device_mode(hermon_state_t *state);
977 ibt_status_t hermon_umap_ci_data_in(hermon_state_t *stat
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_event.c46 static void hermon_eq_poll(hermon_state_t *state, hermon_eqhdl_t eq);
47 static void hermon_eq_catastrophic(hermon_state_t *state);
48 static int hermon_eq_alloc(hermon_state_t *state, uint32_t log_eq_size,
50 static int hermon_eq_free(hermon_state_t *state, hermon_eqhdl_t *eqhdl);
51 static int hermon_eq_handler_init(hermon_state_t *state, hermon_eqhdl_t eq,
52 uint_t evt_type_mask, int (*eqfunc)(hermon_state_t *state,
54 static int hermon_eq_handler_fini(hermon_state_t *state, hermon_eqhdl_t eq);
55 static int hermon_port_state_change_handler(hermon_state_t *state,
57 static int hermon_comm_estbl_handler(hermon_state_t *state,
59 static int hermon_local_wq_cat_err_handler(hermon_state_t *stat
[all...]
H A Dhermon_ci.c373 hermon_state_t *state;
378 state = (hermon_state_t *)hca;
413 hermon_state_t *state;
417 state = (hermon_state_t *)hca;
451 hermon_state_t *state;
458 state = (hermon_state_t *)hca;
481 hermon_state_t *state;
486 state = (hermon_state_t *)hca;
542 hermon_state_t *state;
548 state = (hermon_state_t *)hc
[all...]
H A Dhermon_agents.c51 static int hermon_agent_list_init(hermon_state_t *state);
52 static void hermon_agent_list_fini(hermon_state_t *state);
53 static int hermon_agent_register_all(hermon_state_t *state);
54 static int hermon_agent_unregister_all(hermon_state_t *state, int num_reg);
55 static void hermon_agent_mad_resp_handling(hermon_state_t *state,
63 hermon_agent_handlers_init(hermon_state_t *state)
122 hermon_agent_handlers_fini(hermon_state_t *state)
165 hermon_state_t *state;
209 hermon_get_smlid(hermon_state_t *state, uint_t port)
259 hermon_set_port_capability(hermon_state_t *stat
[all...]
H A Dhermon_fcoib.c41 hermon_fcoib_enable(hermon_state_t *state, int port)
82 hermon_fcoib_set_id(hermon_state_t *state, int port, uint32_t rfci_qpn,
124 hermon_fcoib_get_id_idx(hermon_state_t *state, int port, ibt_fc_attr_t *fcp)
145 hermon_fcoib_check_exch_base_off(hermon_state_t *state, int port,
167 hermon_fcoib_is_fexch_qpn(hermon_state_t *state, uint_t qpnum)
181 hermon_fcoib_qpnum_from_fexch(hermon_state_t *state, int port,
199 hermon_fcoib_qpn_to_mkey(hermon_state_t *state, uint_t qpnum)
219 hermon_fcoib_fexch_relative_qpn(hermon_state_t *state, uint8_t port,
233 hermon_fcoib_fexch_mkey_init(hermon_state_t *state, hermon_pdhdl_t pd,
263 hermon_fcoib_fexch_mkey_fini(hermon_state_t *stat
[all...]
H A Dhermon_ioctl.c55 static int hermon_ioctl_flash_read(hermon_state_t *state, dev_t dev,
57 static int hermon_ioctl_flash_write(hermon_state_t *state, dev_t dev,
59 static int hermon_ioctl_flash_erase(hermon_state_t *state, dev_t dev,
61 static int hermon_ioctl_flash_init(hermon_state_t *state, dev_t dev,
63 static int hermon_ioctl_flash_fini(hermon_state_t *state, dev_t dev);
64 static int hermon_ioctl_flash_cleanup(hermon_state_t *state);
65 static int hermon_ioctl_flash_cleanup_nolock(hermon_state_t *state);
67 static int hermon_ioctl_reg_write(hermon_state_t *state, intptr_t arg,
69 static int hermon_ioctl_reg_read(hermon_state_t *state, intptr_t arg,
72 static int hermon_ioctl_write_boot_addr(hermon_state_t *stat
[all...]
H A Dhermon_stats.c44 static kstat_t *hermon_kstat_picN_create(hermon_state_t *state, int num_pic,
46 static kstat_t *hermon_kstat_cntr_create(hermon_state_t *state, int num_pic,
50 void hermon_kstat_perfcntr64_create(hermon_state_t *state, uint_t port_num);
51 static int hermon_kstat_perfcntr64_read(hermon_state_t *state, uint_t port,
100 hermon_kstat_init(hermon_state_t *state)
186 hermon_kstat_fini(hermon_state_t *state)
231 hermon_kstat_picN_create(hermon_state_t *state, int num_pic, int num_evt,
284 hermon_kstat_cntr_create(hermon_state_t *state, int num_pic,
339 hermon_state_t *state;
594 hermon_kstat_perfcntr64_create(hermon_state_t *stat
[all...]
H A Dhermon_fm.c133 * hermon_hca_fm_init(hermon_state_t *state, hermon_hca_fm_t *hca)
149 hermon_hca_fm_init(hermon_state_t *state, hermon_hca_fm_t *hca_fm)
158 * hermon_hca_fm_fini(hermon_state_t *state)
173 hermon_hca_fm_fini(hermon_state_t *state)
181 * hermon_clr_state_nolock(hermon_state_t *state, int fm_state)
206 hermon_clr_state_nolock(hermon_state_t *state, int fm_state)
217 * hermon_clr_state(hermon_state_t *state, int fm_state)
240 hermon_clr_state(hermon_state_t *state, int fm_state)
252 * hermon_set_state(hermon_state_t *state, int fm_state)
275 hermon_set_state(hermon_state_t *stat
[all...]
H A Dhermon.c79 static int hermon_drv_init(hermon_state_t *state, dev_info_t *dip,
81 static void hermon_drv_fini(hermon_state_t *state);
82 static void hermon_drv_fini2(hermon_state_t *state);
83 static int hermon_isr_init(hermon_state_t *state);
84 static void hermon_isr_fini(hermon_state_t *state);
86 static int hermon_hw_init(hermon_state_t *state);
88 static void hermon_hw_fini(hermon_state_t *state,
90 static int hermon_soft_state_init(hermon_state_t *state);
91 static void hermon_soft_state_fini(hermon_state_t *state);
92 static int hermon_icm_config_setup(hermon_state_t *stat
[all...]
H A Dhermon_cfg.c192 static void hermon_cfg_wqe_sizes(hermon_state_t *state,
195 static void hermon_check_iommu_bypass(hermon_state_t *state,
204 hermon_cfg_profile_init_phase1(hermon_state_t *state)
270 hermon_cfg_profile_init_phase2(hermon_state_t *state)
406 hermon_cfg_profile_fini(hermon_state_t *state)
420 hermon_cfg_wqe_sizes(hermon_state_t *state, hermon_cfg_profile_t *cp)
471 hermon_check_iommu_bypass(hermon_state_t *state, hermon_cfg_profile_t *cp)
H A Dhermon_rsrc.c89 static int hermon_rsrc_mbox_init(hermon_state_t *state,
91 static void hermon_rsrc_mbox_fini(hermon_state_t *state,
94 static int hermon_rsrc_sw_handles_init(hermon_state_t *state,
96 static void hermon_rsrc_sw_handles_fini(hermon_state_t *state,
99 static int hermon_rsrc_pd_handles_init(hermon_state_t *state,
101 static void hermon_rsrc_pd_handles_fini(hermon_state_t *state,
134 static int hermon_rsrc_fexch_alloc(hermon_state_t *state,
136 static void hermon_rsrc_fexch_free(hermon_state_t *state, hermon_rsrc_t *hdl);
137 static int hermon_rsrc_rfci_alloc(hermon_state_t *state,
139 static void hermon_rsrc_rfci_free(hermon_state_t *stat
[all...]
H A Dhermon_cmd.c45 static int hermon_impl_mbox_alloc(hermon_state_t *state,
49 static int hermon_impl_mboxlist_init(hermon_state_t *state,
51 static void hermon_impl_mboxlist_fini(hermon_state_t *state,
53 static int hermon_outstanding_cmd_alloc(hermon_state_t *state,
55 static void hermon_outstanding_cmd_free(hermon_state_t *state,
57 static int hermon_write_hcr(hermon_state_t *state, hermon_cmd_post_t *cmdpost,
61 static void hermon_cmd_check_status(hermon_state_t *state, int status);
72 hermon_cmd_post(hermon_state_t *state, hermon_cmd_post_t *cmdpost)
235 hermon_cmd_check_status(hermon_state_t *state, int status)
287 hermon_mbox_alloc(hermon_state_t *stat
[all...]

Completed in 164 milliseconds

12