Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cfg.c358 cp->cp_num_ports = devlim->num_ports; in hermon_cfg_profile_init_phase2()
359 if (cp->cp_num_ports > HERMON_MAX_PORTS) { in hermon_cfg_profile_init_phase2()
362 cp->cp_num_ports, HERMON_MAX_PORTS); in hermon_cfg_profile_init_phase2()
363 cp->cp_num_ports = HERMON_MAX_PORTS; in hermon_cfg_profile_init_phase2()
H A Dhermon_stats.c119 numports = state->hs_cfg_profile->cp_num_ports; in hermon_kstat_init()
204 numports = state->hs_cfg_profile->cp_num_ports; in hermon_kstat_fini()
379 numports = state->hs_cfg_profile->cp_num_ports; in hermon_kstat_cntr_update()
755 for (i = 0; i < state->hs_cfg_profile->cp_num_ports; i++) { in hermon_kstat_perfcntr64_update_thread()
934 for (i = 0; i < state->hs_cfg_profile->cp_num_ports; in hermon_kstat_perfcntr64_update()
H A Dhermon_fcoib.c337 fcoib->hfc_nports = numports = state->hs_cfg_profile->cp_num_ports; in hermon_fcoib_init()
H A Dhermon_agents.c601 num_ports = state->hs_cfg_profile->cp_num_ports; in hermon_agent_list_init()
H A Dhermon.c2184 num_ports = state->hs_cfg_profile->cp_num_ports; in hermon_hw_fini()
2690 maxval = ((uint64_t)state->hs_cfg_profile->cp_num_ports << in hermon_soft_state_init()
2692 val = ((uint64_t)state->hs_cfg_profile->cp_num_ports << in hermon_soft_state_init()
2705 val = state->hs_cfg_profile->cp_num_ports; in hermon_soft_state_init()
3465 num_ports = cfgprof->cp_num_ports; in hermon_hca_port_init()
4854 state->hs_cfg_profile->cp_num_ports) != HERMON_CMD_SUCCESS) { in hermon_quiesce()
H A Dhermon_event.c1142 if ((port == 0) || (port > state->hs_cfg_profile->cp_num_ports)) { in hermon_port_state_change_handler()
H A Dhermon_misc.c2363 max_port = state->hs_cfg_profile->cp_num_ports; in hermon_portnum_is_valid()
H A Dhermon_ci.c388 end = start + (state->hs_cfg_profile->cp_num_ports - 1); in hermon_ci_query_hca_ports()
H A Dhermon_ioctl.c882 info.ap_num_ports = (uint8_t)state->hs_cfg_profile->cp_num_ports; in hermon_ioctl_ports()
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_cfg.c446 cp->cp_num_ports = tavor_num_ports; in tavor_cfg_profile_init_phase2()
484 cp->cp_num_ports = TAVOR_NUM_PORTS; in tavor_cfg_profile_init_phase2()
522 cp->cp_num_ports = TAVOR_NUM_PORTS; in tavor_cfg_profile_init_phase2()
561 cp->cp_num_ports = TAVOR_NUM_PORTS; in tavor_cfg_profile_init_phase2()
695 cp->cp_num_ports = num_ports; in tavor_cfg_prop_lookup()
H A Dtavor_stats.c135 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_init()
220 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_fini()
392 numports = state->ts_cfg_profile->cp_num_ports; in tavor_kstat_cntr_update()
646 for (i = 0; i < state->ts_cfg_profile->cp_num_ports; i++) { in tavor_kstat_perfcntr64_update_thread()
773 for (i = 0; i < state->ts_cfg_profile->cp_num_ports; in tavor_kstat_perfcntr64_update()
H A Dtavor.c1447 num_ports = state->ts_cfg_profile->cp_num_ports; in tavor_hw_fini()
1781 val = ((uint64_t)state->ts_cfg_profile->cp_num_ports << in tavor_soft_state_init()
1794 val = state->ts_cfg_profile->cp_num_ports; in tavor_soft_state_init()
2039 num_ports = cfgprof->cp_num_ports; in tavor_hca_port_init()
3073 state->ts_cfg_profile->cp_num_ports) != TAVOR_CMD_SUCCESS) { in tavor_quiesce()
H A Dtavor_agents.c362 num_ports = state->ts_cfg_profile->cp_num_ports; in tavor_agent_list_init()
H A Dtavor_event.c1236 if ((port == 0) || (port > state->ts_cfg_profile->cp_num_ports)) { in tavor_port_state_change_handler()
H A Dtavor_misc.c2077 max_port = state->ts_cfg_profile->cp_num_ports; in tavor_portnum_is_valid()
H A Dtavor_ci.c387 end = start + (state->ts_cfg_profile->cp_num_ports - 1); in tavor_ci_query_hca_ports()
H A Dtavor_ioctl.c780 info.tp_num_ports = (uint8_t)state->ts_cfg_profile->cp_num_ports; in tavor_ioctl_ports()
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_cfg.h157 uint32_t cp_num_ports; member
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_cfg.h168 uint32_t cp_num_ports; member