/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_phy.c | 83 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_phy_probe() 130 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_phy_verify() 149 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_phy_led_set() 163 EFSYS_ASSERT3U(mode, <, EFX_PHY_LED_NMODES); in efx_phy_led_set() 189 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_phy_adv_cap_get() 395 EFSYS_ASSERT3U(type, <, EFX_PHY_NSTATS); in efx_phy_stat_name() 463 EFSYS_ASSERT3U(type, <, EFX_BIST_TYPE_NTYPES); in efx_bist_start() 502 EFSYS_ASSERT3U(type, <, EFX_BIST_TYPE_NTYPES); in efx_bist_poll() 503 EFSYS_ASSERT3U(epp->ep_current_bist, ==, type); in efx_bist_poll() 536 EFSYS_ASSERT3U(type, <, EFX_BIST_TYPE_NTYPES); in efx_bist_stop() [all …]
|
H A D | efx_nvram.c | 161 EFSYS_ASSERT3U(type, <, EFX_NVRAM_NTYPES); in efx_nvram_size() 195 EFSYS_ASSERT3U(type, <, EFX_NVRAM_NTYPES); 227 EFSYS_ASSERT3U(type, <, EFX_NVRAM_NTYPES); in efx_nvram_rw_start() 265 EFSYS_ASSERT3U(type, <, EFX_NVRAM_NTYPES); in efx_nvram_read_chunk() 300 EFSYS_ASSERT3U(type, <, EFX_NVRAM_NTYPES); in efx_nvram_erase() 341 EFSYS_ASSERT3U(type, <, EFX_NVRAM_NTYPES); in efx_nvram_write_chunk() 373 EFSYS_ASSERT3U(type, <, EFX_NVRAM_NTYPES); in efx_nvram_rw_finish() 398 EFSYS_ASSERT3U(type, <, EFX_NVRAM_NTYPES); 439 EFSYS_ASSERT3U(type, <, EFX_NVRAM_NTYPES); in efx_nvram_validate() 606 EFSYS_ASSERT3U(desclen, <=, [all …]
|
H A D | efx_mon.c | 53 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mon_name() 56 EFSYS_ASSERT3U(encp->enc_mon_type, <, EFX_MON_NTYPES); in efx_mon_name() 80 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mon_init() 81 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE); in efx_mon_init() 215 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mon_stat_name() 217 EFSYS_ASSERT3U(id, <, EFX_MON_NSTATS); in efx_mon_stat_name() 232 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mon_stats_update() 233 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_MON); in efx_mon_stats_update() 246 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mon_fini() 247 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE); in efx_mon_fini() [all …]
|
H A D | efx_mac.c | 96 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mac_pdu_set() 97 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT); in efx_mac_pdu_set() 141 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mac_addr_set() 191 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mac_filter_set() 229 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mac_drain() 258 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mac_up() 286 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mac_fcntl_set() 356 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mac_fcntl_get() 384 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); 588 EFSYS_ASSERT3U(id, <, EFX_MAC_NSTATS); in efx_mac_stat_name() [all …]
|
H A D | efx_port.c | 42 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_port_init() 43 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE); in efx_port_init() 44 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_NIC); in efx_port_init() 108 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_port_poll() 109 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT); in efx_port_poll() 141 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_port_loopback_set() 142 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT); in efx_port_loopback_set() 219 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_loopback_type_name() 220 EFSYS_ASSERT3U(type, <, EFX_LOOPBACK_NTYPES); in efx_loopback_type_name() 236 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_port_fini() [all …]
|
H A D | efx_wol.c | 43 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_wol_init() 44 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE); in efx_wol_init() 74 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_wol_filter_clear() 75 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_WOL); in efx_wol_filter_clear() 116 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_wol_filter_add() 117 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_WOL); in efx_wol_filter_add() 178 EFSYS_ASSERT3U(paramp->ewp_bitmap.value_len, <=, in efx_wol_filter_add() 199 EFSYS_ASSERT3U(type, !=, type); in efx_wol_filter_add() 236 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_wol_filter_remove() 277 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_lightsout_offload_add() [all …]
|
H A D | efx_intr.c | 126 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_intr_init() 127 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_NIC); in efx_intr_init() 189 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_intr_fini() 190 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_NIC); in efx_intr_fini() 205 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_intr_enable() 218 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_intr_disable() 231 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_intr_disable_unlocked() 246 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_intr_trigger() 261 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_intr_status_line() 276 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_intr_status_message() [all …]
|
H A D | efx_nic.c | 246 EFSYS_ASSERT3U(family, >, EFX_FAMILY_INVALID); in efx_nic_create() 247 EFSYS_ASSERT3U(family, <, EFX_FAMILY_NTYPES); in efx_nic_create() 346 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_nic_probe() 382 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_nic_set_drv_limits() 408 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_nic_get_bar_region() 444 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_nic_get_vi_pool() 480 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_nic_init() 509 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_nic_fini() 528 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_nic_unprobe() 553 EFSYS_ASSERT3U(enp->en_mod_flags, ==, 0); in efx_nic_destroy() [all …]
|
H A D | efx_vpd.c | 95 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_vpd_init() 150 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_vpd_size() 151 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_VPD); in efx_vpd_size() 173 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_vpd_read() 196 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_vpd_verify() 219 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_vpd_reinit() 250 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_vpd_get() 274 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_vpd_set() 677 EFSYS_ASSERT3U(taglen, <, 0x100); in efx_vpd_hunk_next() 748 EFSYS_ASSERT3U(taglen, <, 0x100); in efx_vpd_hunk_get() [all …]
|
H A D | efx_rx.c | 182 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_rx_init() 247 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_rx_fini() 249 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_RX); in efx_rx_fini() 250 EFSYS_ASSERT3U(enp->en_rx_qcount, ==, 0); in efx_rx_fini() 267 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_rx_scatter_enable() 268 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_RX); in efx_rx_scatter_enable() 289 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_rx_hash_support_get() 290 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_RX); in efx_rx_hash_support_get() 315 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_rx_scale_support_get() 1014 EFSYS_ASSERT3U(added - completed + n, <=, in siena_rx_qpost() [all …]
|
H A D | efx_tx.c | 209 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_tx_init() 247 EFSYS_ASSERT3U(enp->en_tx_qcount, ==, 0); in efx_tx_init() 276 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_tx_fini() 278 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_TX); in efx_tx_fini() 279 EFSYS_ASSERT3U(enp->en_tx_qcount, ==, 0); in efx_tx_fini() 305 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_tx_qcreate() 306 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_TX); in efx_tx_qcreate() 351 EFSYS_ASSERT3U(etp->et_magic, ==, EFX_TXQ_MAGIC); in efx_tx_qdestroy() 374 EFSYS_ASSERT3U(etp->et_magic, ==, EFX_TXQ_MAGIC); in efx_tx_qpost() 904 EFSYS_ASSERT3U(label, <, EFX_EV_TX_NLABELS); in siena_tx_qcreate() [all …]
|
H A D | efx_sram.c | 49 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_sram_buf_tbl_set() 50 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_NIC); in efx_sram_buf_tbl_set() 98 EFSYS_ASSERT3U(id, ==, stop); in efx_sram_buf_tbl_set() 171 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_sram_buf_tbl_clear() 172 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_NIC); in efx_sram_buf_tbl_clear() 190 EFSYS_ASSERT3U(stop, <, EFX_BUF_TBL_SIZE); in efx_sram_buf_tbl_clear() 312 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_sram_test() 314 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_NIC); in efx_sram_test() 325 EFSYS_ASSERT3U(type, <, EFX_PATTERN_NTYPES); in efx_sram_test()
|
H A D | efx_lic.c | 1327 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_lic_init() 1374 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_lic_fini() 1390 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_lic_update_licenses() 1412 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_lic_get_key_stats() 1435 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_lic_app_state() 1467 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_lic_get_id() 1503 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_lic_find_start() 1530 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_lic_find_end() 1558 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_lic_find_key() 1585 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_lic_validate_key() [all …]
|
H A D | efx_ev.c | 146 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_ev_init() 179 EFSYS_ASSERT3U(enp->en_ev_qcount, ==, 0); in efx_ev_init() 205 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_ev_fini() 207 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_EV); in efx_ev_fini() 210 EFSYS_ASSERT3U(enp->en_ev_qcount, ==, 0); in efx_ev_fini() 233 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_ev_qcreate() 234 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_EV); in efx_ev_qcreate() 274 EFSYS_ASSERT3U(eep->ee_magic, ==, EFX_EVQ_MAGIC); in efx_ev_qdestroy() 294 EFSYS_ASSERT3U(eep->ee_magic, ==, EFX_EVQ_MAGIC); in efx_ev_qprime() 321 EFSYS_ASSERT3U(eep->ee_magic, ==, EFX_EVQ_MAGIC); in efx_ev_qpending() [all …]
|
H A D | efx_filter.c | 101 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_FILTER); in efx_filter_insert() 115 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_FILTER); in efx_filter_remove() 155 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_filter_init() 156 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE); in efx_filter_init() 205 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_filter_fini() 206 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE); in efx_filter_fini() 223 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_filter_supported_filters() 252 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); 1134 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in siena_filter_fini() 1258 EFSYS_ASSERT3U(filter_idx, <, sftp->sft_size); in siena_filter_add() [all …]
|
H A D | efx_mcdi.c | 95 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mcdi_init() 96 EFSYS_ASSERT3U(enp->en_mod_flags, ==, 0); in efx_mcdi_init() 163 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mcdi_fini() 164 EFSYS_ASSERT3U(enp->en_mod_flags, ==, EFX_MOD_MCDI); in efx_mcdi_fini() 254 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mcdi_request_start() 255 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_MCDI); in efx_mcdi_request_start() 503 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mcdi_request_poll() 504 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_MCDI); in efx_mcdi_request_poll() 566 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mcdi_request_abort() 567 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_MCDI); in efx_mcdi_request_abort() [all …]
|
H A D | ef10_rx.c | 59 EFSYS_ASSERT3U(MC_CMD_INIT_RXQ_OUT_LEN, ==, 0); in efx_mcdi_init_rxq() 60 EFSYS_ASSERT3U(size, <=, EFX_RXQ_MAXNDESCS); in efx_mcdi_init_rxq() 352 EFSYS_ASSERT3U(n, ==, MC_CMD_RSS_CONTEXT_SET_KEY_IN_TOEPLITZ_KEY_LEN); in efx_mcdi_rss_context_set_key() 488 EFSYS_ASSERT3U(alg, ==, EFX_RX_HASHALG_TOEPLITZ); in ef10_rx_scale_mode_set() 489 EFSYS_ASSERT3U(insert, ==, B_TRUE); in ef10_rx_scale_mode_set() 652 EFSYS_ASSERT3U(added - completed + n, <=, in ef10_rx_qpost() 752 EFSYS_ASSERT3U(label, <, EFX_EV_RX_NLABELS); in ef10_rx_qcreate() 753 EFSYS_ASSERT3U(enp->en_rx_qcount + 1, <, encp->enc_rxq_limit); in ef10_rx_qcreate()
|
H A D | siena_mcdi.c | 73 EFSYS_ASSERT3U(hdr_len, ==, sizeof (efx_dword_t)); in siena_mcdi_send_request() 226 EFSYS_ASSERT3U(enp->en_family, ==, EFX_FAMILY_SIENA); in siena_mcdi_feature_supported()
|
H A D | siena_nic.c | 196 EFSYS_ASSERT3U(enp->en_family, ==, EFX_FAMILY_SIENA); in siena_nic_probe() 305 EFSYS_ASSERT3U(enp->en_family, ==, EFX_FAMILY_SIENA); in siena_nic_reset() 380 EFSYS_ASSERT3U(enp->en_family, ==, EFX_FAMILY_SIENA); in siena_nic_init()
|
H A D | ef10_ev.c | 960 EFSYS_ASSERT3U(label, <, EFX_ARRAY_SIZE(eep->ee_rxq_state)); in ef10_ev_rxlabel_init() 963 EFSYS_ASSERT3U(eersp->eers_rx_mask, ==, 0); in ef10_ev_rxlabel_init() 976 EFSYS_ASSERT3U(label, <, EFX_ARRAY_SIZE(eep->ee_rxq_state)); in ef10_ev_rxlabel_fini() 979 EFSYS_ASSERT3U(eersp->eers_rx_mask, !=, 0); in ef10_ev_rxlabel_fini()
|
H A D | siena_sram.c | 44 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in siena_sram_init()
|
H A D | mcdi_mon.c | 210 EFSYS_ASSERT3U(id, ==, MCDI_MON_NEXT_PAGE); in mcdi_mon_decode_stats() 278 EFSYS_ASSERT3U(sensor, <, (8 * encp->enc_mcdi_sensor_mask_size)); in mcdi_mon_ev()
|
H A D | ef10_nic.c | 145 EFSYS_ASSERT3U(enp->en_vport_id, ==, EVB_PORT_ID_NULL); in efx_mcdi_vadaptor_alloc() 731 EFSYS_ASSERT3U(max_piobuf_count, <=, in ef10_nic_alloc_piobufs() 812 EFSYS_ASSERT3U(blk_per_buf, <=, (8 * sizeof (*map))); in ef10_nic_pio_alloc() 1271 EFSYS_ASSERT3U(blks_per_piobuf, <=, 32); in ef10_nic_set_drv_limits()
|
H A D | ef10_vpd.c | 51 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE); in ef10_vpd_init()
|
H A D | ef10_nvram.c | 595 EFSYS_ASSERT3U((len & 3), ==, 0); in checksum_tlv_partition() 1734 EFSYS_ASSERT3U(partn, ==, NVRAM_PARTITION_TYPE_DYNAMIC_CONFIG); in ef10_nvram_partn_write_segment_tlv() 2179 EFSYS_ASSERT3U(type, <, EFX_NVRAM_NTYPES); in ef10_nvram_type_to_partn()
|