/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_cmd.h | 683 int hermon_inmbox_list_init(hermon_state_t *state); 685 int hermon_outmbox_list_init(hermon_state_t *state); 687 void hermon_inmbox_list_fini(hermon_state_t *state); 697 int hermon_map_fa_cmd_post(hermon_state_t *state); 698 int hermon_run_fw_cmd_post(hermon_state_t *state); 701 int hermon_map_icm_cmd_post(hermon_state_t *state); 703 int hermon_unmap_icm_cmd_post(hermon_state_t *state, 706 int hermon_unmap_fa_cmd_post(hermon_state_t *state); 712 int hermon_init_hca_cmd_post(hermon_state_t *state, 722 int hermon_set_port_cmd_post(hermon_state_t *state, [all …]
|
H A D | hermon_fm.h | 283 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); 297 extern uchar_t hermon_devacc_attr_access(hermon_state_t *); 303 extern ddi_acc_handle_t hermon_get_uarhdl(hermon_state_t *); 304 extern ddi_acc_handle_t hermon_get_cmdhdl(hermon_state_t *); [all …]
|
H A D | hermon_misc.h | 455 hermon_state_t *hki64_state; 553 hermon_state_t *hls_state; 577 hermon_state_t *fmr_state; 627 int hermon_dbr_alloc(hermon_state_t *state, uint_t index, 631 void hermon_dbr_kern_free(hermon_state_t *state); 645 int hermon_ah_alloc(hermon_state_t *state, hermon_pdhdl_t pd, 647 int hermon_ah_free(hermon_state_t *state, hermon_ahhdl_t *ahhdl, 668 int hermon_port_query(hermon_state_t *state, uint_t port, 670 int hermon_port_modify(hermon_state_t *state, uint8_t port, 674 int hermon_kstat_init(hermon_state_t *state); [all …]
|
H A D | hermon_mr.h | 293 int hermon_mr_register(hermon_state_t *state, hermon_pdhdl_t pdhdl, 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 *state, hermon_mrhdl_t mr, 316 int hermon_mr_sync(hermon_state_t *state, ibt_mr_sync_t *mr_segs, 318 int hermon_mw_alloc(hermon_state_t *state, hermon_pdhdl_t pdhdl, 324 int hermon_mr_alloc_fmr(hermon_state_t *state, hermon_pdhdl_t pd, 327 int hermon_mr_register_physical_fmr(hermon_state_t *state, 329 int hermon_mr_alloc_lkey(hermon_state_t *state, hermon_pdhdl_t pd, [all …]
|
H A D | hermon_fcoib.h | 80 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 *state); [all …]
|
H A D | hermon_cq.h | 267 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, 283 int hermon_cq_handler(hermon_state_t *state, hermon_eqhdl_t eq, 285 int hermon_cq_err_handler(hermon_state_t *state, hermon_eqhdl_t eq, 290 void hermon_cq_entries_flush(hermon_state_t *state, hermon_qphdl_t qp); 291 void hermon_cq_resize_helper(hermon_state_t *state, hermon_cqhdl_t cq); 292 int hermon_cq_sched_init(hermon_state_t *state); [all …]
|
H A D | hermon_qp.h | 370 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 *state, hermon_qphdl_t qp, [all …]
|
H A D | hermon_event.h | 286 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 D | hermon_rsrc.h | 319 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 D | hermon_srq.h | 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 D | hermon_wr.h | 176 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 D | hermon.h | 880 hermon_state_t *hdt_state; 959 int hermon_dma_alloc(hermon_state_t *state, hermon_dma_info_t *dma_info, 961 void hermon_dma_attr_init(hermon_state_t *state, ddi_dma_attr_t *dma_attr); 963 int hermon_icm_alloc(hermon_state_t *state, hermon_rsrc_type_t type, 965 void hermon_icm_free(hermon_state_t *state, hermon_rsrc_type_t type, 967 void *hermon_icm_num_to_hdl(hermon_state_t *state, hermon_rsrc_type_t type, 971 int hermon_device_mode(hermon_state_t *state); 976 ibt_status_t hermon_umap_ci_data_in(hermon_state_t *state, 979 ibt_status_t hermon_umap_ci_data_out(hermon_state_t *state, 998 int hermon_rsrc_hw_entries_init(hermon_state_t *state, [all …]
|
H A D | hermon_agents.h | 135 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);
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_ci.c | 373 hermon_state_t *state; in hermon_ci_query_hca_ports() 413 hermon_state_t *state; in hermon_ci_modify_ports() 451 hermon_state_t *state; in hermon_ci_alloc_pd() 542 hermon_state_t *state; in hermon_ci_alloc_ah() 572 hermon_state_t *state; in hermon_ci_free_ah() 596 hermon_state_t *state; in hermon_ci_query_ah() 626 hermon_state_t *state; in hermon_ci_modify_ah() 758 hermon_state_t *state; in hermon_ci_free_qp() 805 hermon_state_t *state; in hermon_ci_query_qp() 829 hermon_state_t *state; in hermon_ci_modify_qp() [all …]
|
H A D | hermon_event.c | 47 static void hermon_eq_catastrophic(hermon_state_t *state); 57 static int hermon_comm_estbl_handler(hermon_state_t *state, 67 static int hermon_path_mig_handler(hermon_state_t *state, 87 hermon_eq_init_all(hermon_state_t *state) in hermon_eq_init_all() 325 hermon_eq_fini_all(hermon_state_t *state) in hermon_eq_fini_all() 371 hermon_eq_reset_uar_baseaddr(hermon_state_t *state) in hermon_eq_reset_uar_baseaddr() 392 hermon_eq_arm_all(hermon_state_t *state) in hermon_eq_arm_all() 439 hermon_state_t *state; in hermon_isr() 446 state = (hermon_state_t *)(void *)arg1; in hermon_isr() 509 hermon_eq_poll(hermon_state_t *state, hermon_eqhdl_t eq) in hermon_eq_poll() [all …]
|
H A D | hermon_ioctl.c | 104 static int hermon_flash_init(hermon_state_t *state); 107 static int hermon_flash_fini(hermon_state_t *state); 156 hermon_state_t *state; in hermon_ioctl() 720 hermon_ioctl_flash_cleanup(hermon_state_t *state) in hermon_ioctl_flash_cleanup() 1445 hermon_flash_reset(hermon_state_t *state) in hermon_flash_reset() 1979 hermon_flash_erase_chip(hermon_state_t *state) in hermon_flash_erase_chip() 2091 hermon_flash_spi_wait_wip(hermon_state_t *state) in hermon_flash_spi_wait_wip() 2367 hermon_flash_init(hermon_state_t *state) in hermon_flash_init() 2608 hermon_flash_fini(hermon_state_t *state) in hermon_flash_fini() 2687 hermon_flash_write_cfg(hermon_state_t *state, in hermon_flash_write_cfg() [all …]
|
H A D | hermon_agents.c | 51 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); 63 hermon_agent_handlers_init(hermon_state_t *state) in hermon_agent_handlers_init() 122 hermon_agent_handlers_fini(hermon_state_t *state) in hermon_agent_handlers_fini() 165 hermon_state_t *state; in hermon_agent_request_cb() 209 hermon_get_smlid(hermon_state_t *state, uint_t port) in hermon_get_smlid() 319 hermon_state_t *state; in hermon_agent_handle_req() 585 hermon_agent_list_init(hermon_state_t *state) in hermon_agent_list_init() 673 hermon_agent_list_fini(hermon_state_t *state) in hermon_agent_list_fini() [all …]
|
H A D | hermon_fm.c | 173 hermon_hca_fm_fini(hermon_state_t *state) in hermon_hca_fm_fini() 314 hermon_get_state(hermon_state_t *state) in hermon_get_state() 343 hermon_fm_init(hermon_state_t *state) in hermon_fm_init() 426 hermon_fm_fini(hermon_state_t *state) in hermon_fm_fini() 479 hermon_fm_ereport_init(hermon_state_t *state) in hermon_fm_ereport_init() 922 hermon_init_failure(hermon_state_t *state) in hermon_init_failure() 1279 hermon_get_cmdhdl(hermon_state_t *state) in hermon_get_cmdhdl() 1306 hermon_get_uarhdl(hermon_state_t *state) in hermon_get_uarhdl() 1361 hermon_get_pcihdl(hermon_state_t *state) in hermon_get_pcihdl() 1455 hermon_state_t *state = (hermon_state_t *)arg; in hermon_inter_err_chk() [all …]
|
H A D | hermon.c | 270 hermon_state_t *state; in hermon_getinfo() 305 hermon_state_t *state; in hermon_open() 457 hermon_state_t *state; in hermon_close() 546 hermon_state_t *state; in hermon_attach() 743 hermon_state_t *state; in hermon_detach() 1356 hermon_drv_fini(hermon_state_t *state) in hermon_drv_fini() 1439 hermon_isr_init(hermon_state_t *state) in hermon_isr_init() 1487 hermon_isr_fini(hermon_state_t *state) in hermon_isr_fini() 1514 hermon_size_icm(hermon_state_t *state) in hermon_size_icm() 1569 hermon_hw_init(hermon_state_t *state) in hermon_hw_init() [all …]
|
H A D | hermon_fcoib.c | 41 hermon_fcoib_enable(hermon_state_t *state, int port) in hermon_fcoib_enable() 82 hermon_fcoib_set_id(hermon_state_t *state, int port, uint32_t rfci_qpn, in hermon_fcoib_set_id() 145 hermon_fcoib_check_exch_base_off(hermon_state_t *state, int port, in hermon_fcoib_check_exch_base_off() 167 hermon_fcoib_is_fexch_qpn(hermon_state_t *state, uint_t qpnum) in hermon_fcoib_is_fexch_qpn() 181 hermon_fcoib_qpnum_from_fexch(hermon_state_t *state, int port, in hermon_fcoib_qpnum_from_fexch() 199 hermon_fcoib_qpn_to_mkey(hermon_state_t *state, uint_t qpnum) in hermon_fcoib_qpn_to_mkey() 219 hermon_fcoib_fexch_relative_qpn(hermon_state_t *state, uint8_t port, in hermon_fcoib_fexch_relative_qpn() 233 hermon_fcoib_fexch_mkey_init(hermon_state_t *state, hermon_pdhdl_t pd, in hermon_fcoib_fexch_mkey_init() 292 hermon_fcoib_query_fc(hermon_state_t *state, hermon_fcoib_t *fcoib) in hermon_fcoib_query_fc() 312 hermon_fcoib_init(hermon_state_t *state) in hermon_fcoib_init() [all …]
|
H A D | hermon_cmd.c | 45 static int hermon_impl_mbox_alloc(hermon_state_t *state, 432 hermon_inmbox_list_init(hermon_state_t *state) in hermon_inmbox_list_init() 454 hermon_intr_inmbox_list_init(hermon_state_t *state) in hermon_intr_inmbox_list_init() 476 hermon_outmbox_list_init(hermon_state_t *state) in hermon_outmbox_list_init() 520 hermon_inmbox_list_fini(hermon_state_t *state) in hermon_inmbox_list_fini() 532 hermon_intr_inmbox_list_fini(hermon_state_t *state) in hermon_intr_inmbox_list_fini() 544 hermon_outmbox_list_fini(hermon_state_t *state) in hermon_outmbox_list_fini() 1324 hermon_init_hca_cmd_post(hermon_state_t *state, in hermon_init_hca_cmd_post() 1770 hermon_unmap_fa_cmd_post(hermon_state_t *state) in hermon_unmap_fa_cmd_post() 1795 hermon_run_fw_cmd_post(hermon_state_t *state) in hermon_run_fw_cmd_post() [all …]
|
H A D | hermon_rsrc.c | 2046 hermon_state_t *state; in hermon_rsrc_hw_entry_icm_confirm() 2201 hermon_state_t *state; in hermon_rsrc_hw_entry_icm_free() 2407 hermon_state_t *state; in hermon_rsrc_pdhdl_constructor() 2410 state = (hermon_state_t *)priv; in hermon_rsrc_pdhdl_constructor() 2444 hermon_state_t *state; in hermon_rsrc_cqhdl_constructor() 2447 state = (hermon_state_t *)priv; in hermon_rsrc_cqhdl_constructor() 2481 hermon_state_t *state; in hermon_rsrc_qphdl_constructor() 2518 hermon_state_t *state; in hermon_rsrc_srqhdl_constructor() 2555 hermon_state_t *state; in hermon_rsrc_refcnt_constructor() 2592 hermon_state_t *state; in hermon_rsrc_ahhdl_constructor() [all …]
|
H A D | hermon_stats.c | 44 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, 51 static int hermon_kstat_perfcntr64_read(hermon_state_t *state, uint_t port, 100 hermon_kstat_init(hermon_state_t *state) in hermon_kstat_init() 186 hermon_kstat_fini(hermon_state_t *state) in hermon_kstat_fini() 284 hermon_kstat_cntr_create(hermon_state_t *state, int num_pic, in hermon_kstat_cntr_create() 339 hermon_state_t *state; in hermon_kstat_cntr_update() 594 hermon_kstat_perfcntr64_create(hermon_state_t *state, uint_t port_num) in hermon_kstat_perfcntr64_create() 744 hermon_state_t *state = (hermon_state_t *)arg; in hermon_kstat_perfcntr64_update_thread() 776 hermon_kstat_perfcntr64_thread_create(hermon_state_t *state) in hermon_kstat_perfcntr64_thread_create() [all …]
|
H A D | hermon_misc.c | 57 static uint_t hermon_mcg_walk_mgid_hash(hermon_state_t *state, 63 static int hermon_mcg_entry_invalidate(hermon_state_t *state, 75 hermon_dbr_new_user_page(hermon_state_t *state, uint_t index, in hermon_dbr_new_user_page() 132 hermon_user_dbr_alloc(hermon_state_t *state, uint_t index, in hermon_user_dbr_alloc() 432 hermon_dbr_kern_free(hermon_state_t *state) in hermon_dbr_kern_free() 487 hermon_ah_alloc(hermon_state_t *state, hermon_pdhdl_t pd, in hermon_ah_alloc() 639 hermon_ah_modify(hermon_state_t *state, hermon_ahhdl_t ah, in hermon_ah_modify() 1836 hermon_pd_free(hermon_state_t *state, hermon_pdhdl_t *pdhdl) in hermon_pd_free() 2058 hermon_port_modify(hermon_state_t *state, uint8_t port, in hermon_port_modify() 2359 hermon_portnum_is_valid(hermon_state_t *state, uint_t portnum) in hermon_portnum_is_valid() [all …]
|
H A D | hermon_cfg.c | 192 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) in hermon_cfg_profile_init_phase1() 270 hermon_cfg_profile_init_phase2(hermon_state_t *state) in hermon_cfg_profile_init_phase2() 406 hermon_cfg_profile_fini(hermon_state_t *state) in hermon_cfg_profile_fini() 420 hermon_cfg_wqe_sizes(hermon_state_t *state, hermon_cfg_profile_t *cp) in hermon_cfg_wqe_sizes() 471 hermon_check_iommu_bypass(hermon_state_t *state, hermon_cfg_profile_t *cp) in hermon_check_iommu_bypass()
|