Home
last modified time | relevance | path

Searched refs:emi_port (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/dev/sfxge/common/
H A Dsiena_mcdi.c38 (((emip)->emi_port == 1) \
43 (((emip)->emi_port == 1) \
48 (((emip)->emi_port == 1) \
68 EFSYS_ASSERT(emip->emi_port == 1 || emip->emi_port == 2); in siena_mcdi_send_request()
107 EFSYS_ASSERT(emip->emi_port == 1 || emip->emi_port == 2); in siena_mcdi_poll_reboot()
134 EFSYS_ASSERT(emip->emi_port == 1 || emip->emi_port == 2); in siena_mcdi_poll_response()
154 EFSYS_ASSERT(emip->emi_port == 1 || emip->emi_port == 2); in siena_mcdi_read_response()
188 emip->emi_port = 1; in siena_mcdi_init()
190 emip->emi_port = portnum; in siena_mcdi_init()
H A Dsiena_vpd.c176 partn = (emip->emi_port == 1) in siena_vpd_init()
227 partn = (emip->emi_port == 1) in siena_vpd_size()
258 dcfg_partn = (emip->emi_port == 1) in siena_vpd_read()
540 dcfg_partn = (emip->emi_port == 1) in siena_vpd_write()
H A Dmcdi_mon.c41 #define MCDI_MON_PORT_MASK(_emip) (1U << ((_emip)->emi_port - 1))
73 EFSYS_ASSERT(emip->emi_port > 0); /* MCDI port number is one-based */ in mcdi_mon_decode_stats()
171 EFSYS_ASSERT(emip->emi_port > 0); /* MCDI port number is one-based */ in mcdi_mon_ev()
H A Dsiena_nvram.c253 if (entry->port == emip->emi_port && entry->nvtype == type) { in siena_nvram_type_to_partn()
280 if (entry->port != emip->emi_port || in siena_nvram_test()
637 dcfg_partn = (emip->emi_port == 1)
H A Defx_mcdi.c176 emip->emi_port = 0; in efx_mcdi_fini()
1366 if (emip->emi_port == 1) {
1369 } else if (emip->emi_port == 2) {
1381 if (emip->emi_port == 1) {
1384 } else if (emip->emi_port == 2) {
H A Defx_mcdi.h74 unsigned int emi_port; member
H A Dsiena_nic.c100 encp->enc_external_port = (uint8_t)enp->en_mcdi.em_emip.emi_port; in siena_board_cfg()
H A Def10_nvram.c2342 (entry->port_mask & (1u << emip->emi_port))) { in ef10_nvram_type_to_partn()
2372 (entry->port_mask & (1u << emip->emi_port))) { in ef10_nvram_partn_to_type()
H A Def10_nic.c1801 emip->emi_port = port + 1; in ef10_nic_board_cfg()