Home
last modified time | relevance | path

Searched refs:EFX_ARRAY_SIZE (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Dsiena_nic.c498 EFX_STATIC_ASSERT(EFX_ARRAY_SIZE(__siena_register_masks) in siena_nic_register_test()
499 == EFX_ARRAY_SIZE(__siena_registers) * 4); in siena_nic_register_test()
501 nitems = EFX_ARRAY_SIZE(__siena_registers); in siena_nic_register_test()
512 EFX_STATIC_ASSERT(EFX_ARRAY_SIZE(__siena_table_masks) in siena_nic_register_test()
513 == EFX_ARRAY_SIZE(__siena_tables) * 4); in siena_nic_register_test()
515 nitems = EFX_ARRAY_SIZE(__siena_tables); in siena_nic_register_test()
526 EFX_ARRAY_SIZE(__siena_registers))) != 0) in siena_nic_register_test()
531 EFX_ARRAY_SIZE(__siena_tables))) != 0) in siena_nic_register_test()
536 EFX_ARRAY_SIZE(__siena_tables))) != 0) in siena_nic_register_test()
540 EFX_PATTERN_BIT_SWEEP, EFX_ARRAY_SIZE(__siena_tables))) != 0) in siena_nic_register_test()
H A Dmcdi_mon.c176 uint32_t stat_mask[(EFX_ARRAY_SIZE(mcdi_sensor_map) + 31) / 32]; in mcdi_mon_decode_stats()
190 MIN((8 * sensor_mask_size), EFX_ARRAY_SIZE(mcdi_sensor_map)); in mcdi_mon_decode_stats()
285 if (sensor >= EFX_ARRAY_SIZE(mcdi_sensor_map)) { in mcdi_mon_ev()
H A Dsiena_nvram.c243 for (i = 0; i < EFX_ARRAY_SIZE(siena_parttbl); i++) { in siena_nvram_type_to_partn()
271 for (i = 0; i < EFX_ARRAY_SIZE(siena_parttbl); i++) { in siena_nvram_test()
508 for (i = 0; i < EFX_ARRAY_SIZE(siena_parttbl); i++) {
H A Defx_port.c215 EFX_STATIC_ASSERT(EFX_ARRAY_SIZE(__efx_loopback_type_name) == in efx_loopback_type_name()
H A Def10_filter.c1066 EFX_ARRAY_SIZE(eftp->eft_mulcst_filter_indexes)) {
1184 for (i = 0; i < EFX_ARRAY_SIZE(table->eft_entry); i++) { in ef10_filter_remove_old()
1427 for (i = 0; i < EFX_ARRAY_SIZE(table->eft_entry); i++) {
H A Def10_ev.c960 EFSYS_ASSERT3U(label, <, EFX_ARRAY_SIZE(eep->ee_rxq_state)); in ef10_ev_rxlabel_init()
976 EFSYS_ASSERT3U(label, <, EFX_ARRAY_SIZE(eep->ee_rxq_state)); in ef10_ev_rxlabel_fini()
H A Def10_nic.c732 EFX_ARRAY_SIZE(enp->en_arch.ef10.ena_piobuf_handle)); in ef10_nic_alloc_piobufs()
1098 for (i = 0; i < EFX_ARRAY_SIZE(__ef10_external_port_mappings); ++i) { in ef10_external_port_mapping()
H A Def10_nvram.c2153 *parttbl_rowsp = EFX_ARRAY_SIZE(hunt_parttbl); in ef10_parttbl_get()
2158 *parttbl_rowsp = EFX_ARRAY_SIZE(medford_parttbl); in ef10_parttbl_get()
H A Defx.h45 #define EFX_ARRAY_SIZE(_array) \ macro
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tx.c1094 ASSERT3U(index, <, EFX_ARRAY_SIZE(sp->s_stp)); in sfxge_tx_qinit()
1096 ASSERT3U(evq, <, EFX_ARRAY_SIZE(sp->s_sep)); in sfxge_tx_qinit()
2658 if (txq + tx_scale > EFX_ARRAY_SIZE(sp->s_stp)) { in sfxge_tx_init()
2671 ASSERT3U(txq, <=, EFX_ARRAY_SIZE(sp->s_stp)); in sfxge_tx_init()
2682 index = EFX_ARRAY_SIZE(sp->s_stp); in sfxge_tx_init()
2714 for (index = 0; index < EFX_ARRAY_SIZE(sp->s_stp); index++) { in sfxge_tx_start()
3038 index = EFX_ARRAY_SIZE(sp->s_stp); in sfxge_tx_stop()
3068 index = EFX_ARRAY_SIZE(sp->s_stp); in sfxge_tx_stop()
3083 index = EFX_ARRAY_SIZE(sp->s_stp); in sfxge_tx_fini()
H A Dsfxge.c527 index = EFX_ARRAY_SIZE(sp->s_stp); in sfxge_can_destroy()