Searched refs:enp (Results 1 - 25 of 76) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_intr.c39 __in efx_nic_t *enp,
43 _NOTE(ARGUNUSED(enp, type, esmp))
50 __in efx_nic_t *enp)
52 _NOTE(ARGUNUSED(enp))
58 __in efx_nic_t *enp)
60 _NOTE(ARGUNUSED(enp))
66 __in efx_nic_t *enp)
68 _NOTE(ARGUNUSED(enp))
74 __in efx_nic_t *enp,
82 EFSYS_ASSERT(enp
38 ef10_intr_init( __in efx_nic_t *enp, __in efx_intr_type_t type, __in efsys_mem_t *esmp) argument
49 ef10_intr_enable( __in efx_nic_t *enp) argument
57 ef10_intr_disable( __in efx_nic_t *enp) argument
65 ef10_intr_disable_unlocked( __in efx_nic_t *enp) argument
73 efx_mcdi_trigger_interrupt( __in efx_nic_t *enp, __in unsigned int level) argument
118 ef10_intr_trigger( __in efx_nic_t *enp, __in unsigned int level) argument
148 ef10_intr_status_line( __in efx_nic_t *enp, __out boolean_t *fatalp, __out uint32_t *qmaskp) argument
168 ef10_intr_status_message( __in efx_nic_t *enp, __in unsigned int message, __out boolean_t *fatalp) argument
183 ef10_intr_fatal( __in efx_nic_t *enp) argument
191 ef10_intr_fini( __in efx_nic_t *enp) argument
[all...]
H A Defx_intr.c39 __in efx_nic_t *enp,
45 __in efx_nic_t *enp);
49 __in efx_nic_t *enp);
53 __in efx_nic_t *enp);
57 __in efx_nic_t *enp,
62 __in efx_nic_t *enp);
66 __in efx_nic_t *enp,
72 __in efx_nic_t *enp,
78 __in efx_nic_t *enp);
82 __in efx_nic_t *enp);
117 efx_intr_init( __in efx_nic_t *enp, __in efx_intr_type_t type, __in efsys_mem_t *esmp) argument
183 efx_intr_fini( __in efx_nic_t *enp) argument
199 efx_intr_enable( __in efx_nic_t *enp) argument
212 efx_intr_disable( __in efx_nic_t *enp) argument
225 efx_intr_disable_unlocked( __in efx_nic_t *enp) argument
239 efx_intr_trigger( __in efx_nic_t *enp, __in unsigned int level) argument
253 efx_intr_status_line( __in efx_nic_t *enp, __out boolean_t *fatalp, __out uint32_t *qmaskp) argument
268 efx_intr_status_message( __in efx_nic_t *enp, __in unsigned int message, __out boolean_t *fatalp) argument
283 efx_intr_fatal( __in efx_nic_t *enp) argument
303 siena_intr_init( __in efx_nic_t *enp, __in efx_intr_type_t type, __in efsys_mem_t *esmp) argument
344 siena_intr_enable( __in efx_nic_t *enp) argument
358 siena_intr_disable( __in efx_nic_t *enp) argument
371 siena_intr_disable_unlocked( __in efx_nic_t *enp) argument
384 siena_intr_trigger( __in efx_nic_t *enp, __in unsigned int level) argument
437 siena_intr_check_fatal( __in efx_nic_t *enp) argument
461 siena_intr_status_line( __in efx_nic_t *enp, __out boolean_t *fatalp, __out uint32_t *qmaskp) argument
488 siena_intr_status_message( __in efx_nic_t *enp, __in unsigned int message, __out boolean_t *fatalp) argument
506 siena_intr_fatal( __in efx_nic_t *enp) argument
562 siena_intr_fini( __in efx_nic_t *enp) argument
[all...]
H A Defx_port.c36 __in efx_nic_t *enp)
38 efx_port_t *epp = &(enp->en_port);
42 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
43 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE);
44 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_NIC);
46 if (enp->en_mod_flags & EFX_MOD_PORT) {
51 enp->en_mod_flags |= EFX_MOD_PORT;
58 if ((rc = efx_mac_select(enp)) != 0)
61 epp->ep_emop->emo_reconfigure(enp);
64 (void) efx_port_poll(enp, NUL
35 efx_port_init( __in efx_nic_t *enp) argument
99 efx_port_poll( __in efx_nic_t *enp, __out_opt efx_link_mode_t *link_modep) argument
131 efx_port_loopback_set( __in efx_nic_t *enp, __in efx_link_mode_t link_mode, __in efx_loopback_type_t loopback_type) argument
211 efx_loopback_type_name( __in efx_nic_t *enp, __in efx_loopback_type_t type) argument
230 efx_port_fini( __in efx_nic_t *enp) argument
[all...]
H A Defx_mon.c49 __in efx_nic_t *enp)
51 efx_nic_cfg_t *encp = &(enp->en_nic_cfg);
53 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
73 __in efx_nic_t *enp)
75 efx_nic_cfg_t *encp = &(enp->en_nic_cfg);
76 efx_mon_t *emp = &(enp->en_mon);
80 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
81 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE);
83 if (enp->en_mod_flags & EFX_MOD_MON) {
88 enp
48 efx_mon_name( __in efx_nic_t *enp) argument
72 efx_mon_init( __in efx_nic_t *enp) argument
210 efx_mon_stat_name( __in efx_nic_t *enp, __in efx_mon_stat_t id) argument
224 efx_mon_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_MON_NSTATS) efx_mon_stat_value_t *values) argument
241 efx_mon_fini( __in efx_nic_t *enp) argument
[all...]
H A Def10_vpd.c43 __in efx_nic_t *enp)
51 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE);
52 EFSYS_ASSERT(enp->en_family == EFX_FAMILY_HUNTINGTON ||
53 enp->en_family == EFX_FAMILY_MEDFORD);
55 if (enp->en_nic_cfg.enc_vpd_is_global) {
58 pci_pf = enp->en_nic_cfg.enc_pf;
69 rc = ef10_nvram_partn_read_tlv(enp,
85 enp->en_arch.ef10.ena_svpd = svpd;
86 enp->en_arch.ef10.ena_svpd_length = svpd_size;
94 EFSYS_KMEM_FREE(enp
42 ef10_vpd_init( __in efx_nic_t *enp) argument
102 ef10_vpd_size( __in efx_nic_t *enp, __out size_t *sizep) argument
130 ef10_vpd_read( __in efx_nic_t *enp, __out_bcount(size) caddr_t data, __in size_t size) argument
180 ef10_vpd_verify( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size) argument
262 ef10_vpd_reinit( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size) argument
304 ef10_vpd_get( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size, __inout efx_vpd_value_t *evvp) argument
349 ef10_vpd_set( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size, __in efx_vpd_value_t *evvp) argument
387 ef10_vpd_next( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size, __out efx_vpd_value_t *evvp, __inout unsigned int *contp) argument
400 ef10_vpd_write( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size) argument
443 ef10_vpd_fini( __in efx_nic_t *enp) argument
[all...]
H A Dsiena_sram.c38 __in efx_nic_t *enp)
40 efx_nic_cfg_t *encp = &(enp->en_nic_cfg);
44 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
45 EFSYS_ASSERT(enp->en_family == EFX_FAMILY_SIENA);
53 EFX_BAR_WRITEO(enp, FR_AZ_SRM_TX_DC_CFG_REG, &oword);
56 EFX_BAR_WRITEO(enp, FR_AZ_TX_DC_CFG_REG, &oword);
60 EFX_BAR_WRITEO(enp, FR_AZ_SRM_RX_DC_CFG_REG, &oword);
63 EFX_BAR_WRITEO(enp, FR_AZ_RX_DC_CFG_REG, &oword);
67 EFX_BAR_WRITEO(enp, FR_AZ_RX_DC_PF_WM_REG, &oword);
71 EFX_BAR_WRITEO(enp, FR_AZ_SRM_UPD_EVQ_RE
37 siena_sram_init( __in efx_nic_t *enp) argument
77 siena_sram_test( __in efx_nic_t *enp, __in efx_sram_pattern_fn_t func) argument
[all...]
H A Dsiena_impl.h47 __in efx_nic_t *enp);
51 __in efx_nic_t *enp);
55 __in efx_nic_t *enp);
61 __in efx_nic_t *enp);
67 __in efx_nic_t *enp);
71 __in efx_nic_t *enp);
77 __in efx_nic_t *enp);
83 __in efx_nic_t *enp,
92 __in efx_nic_t *enp,
97 __in efx_nic_t *enp,
[all...]
H A Defx_phy.c76 __in efx_nic_t *enp)
78 efx_port_t *epp = &(enp->en_port);
79 efx_nic_cfg_t *encp = &(enp->en_nic_cfg);
83 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
89 switch (enp->en_family) {
125 __in efx_nic_t *enp)
127 efx_port_t *epp = &(enp->en_port);
130 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
131 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
133 return (epop->epo_verify(enp));
75 efx_phy_probe( __in efx_nic_t *enp) argument
124 efx_phy_verify( __in efx_nic_t *enp) argument
139 efx_phy_led_set( __in efx_nic_t *enp, __in efx_phy_led_mode_t mode) argument
182 efx_phy_adv_cap_get( __in efx_nic_t *enp, __in uint32_t flag, __out uint32_t *maskp) argument
209 efx_phy_adv_cap_set( __in efx_nic_t *enp, __in uint32_t mask) argument
258 efx_phy_lp_cap_get( __in efx_nic_t *enp, __out uint32_t *maskp) argument
271 efx_phy_oui_get( __in efx_nic_t *enp, __out uint32_t *ouip) argument
285 efx_phy_media_type_get( __in efx_nic_t *enp, __out efx_phy_media_type_t *typep) argument
301 efx_phy_module_get_info( __in efx_nic_t *enp, __in uint8_t dev_addr, __in uint8_t offset, __in uint8_t len, __out_bcount(len) uint8_t *data) argument
389 efx_phy_stat_name( __in efx_nic_t *enp, __in efx_phy_stat_t type) argument
403 efx_phy_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_PHY_NSTATS) uint32_t *stat) argument
423 efx_bist_enable_offline( __in efx_nic_t *enp) argument
452 efx_bist_start( __in efx_nic_t *enp, __in efx_bist_type_t type) argument
487 efx_bist_poll( __in efx_nic_t *enp, __in efx_bist_type_t type, __out efx_bist_result_t *resultp, __out_opt uint32_t *value_maskp, __out_ecount_opt(count) unsigned long *valuesp, __in size_t count) argument
526 efx_bist_stop( __in efx_nic_t *enp, __in efx_bist_type_t type) argument
549 efx_phy_unprobe( __in efx_nic_t *enp) argument
[all...]
H A Dmcdi_mon.h46 __in efx_nic_t *enp);
50 __in efx_nic_t *enp);
55 __in efx_nic_t *enp,
62 __in efx_nic_t *enp,
H A Dsiena_nic.c39 __in efx_nic_t *enp,
54 efx_mcdi_execute(enp, &req);
80 __in efx_nic_t *enp)
82 efx_nic_cfg_t *encp = &(enp->en_nic_cfg);
90 encp->enc_external_port = (uint8_t)enp->en_mcdi.em_emip.emi_port;
93 if ((rc = efx_mcdi_get_board_cfg(enp, &board_type,
104 enp->en_features |= EFX_FEATURE_TURBO;
128 rc = efx_mcdi_get_resource_limits(enp, &nevq, &nrxq, &ntxq);
162 __in efx_nic_t *enp)
164 efx_nic_cfg_t *encp = &(enp
38 siena_nic_get_partn_mask( __in efx_nic_t *enp, __out unsigned int *maskp) argument
79 siena_board_cfg( __in efx_nic_t *enp) argument
161 siena_phy_cfg( __in efx_nic_t *enp) argument
186 siena_nic_probe( __in efx_nic_t *enp) argument
299 siena_nic_reset( __in efx_nic_t *enp) argument
345 siena_nic_rx_cfg( __in efx_nic_t *enp) argument
365 siena_nic_usrev_dis( __in efx_nic_t *enp) argument
375 siena_nic_init( __in efx_nic_t *enp) argument
411 siena_nic_fini( __in efx_nic_t *enp) argument
418 siena_nic_unprobe( __in efx_nic_t *enp) argument
488 siena_nic_register_test( __in efx_nic_t *enp) argument
[all...]
H A Defx_rx.c39 __in efx_nic_t *enp);
43 __in efx_nic_t *enp);
48 __in efx_nic_t *enp,
55 __in efx_nic_t *enp,
62 __in efx_nic_t *enp,
68 __in efx_nic_t *enp,
74 __in efx_nic_t *enp,
82 __in efx_nic_t *enp,
111 __in efx_nic_t *enp,
177 __inout efx_nic_t *enp)
176 efx_rx_init( __inout efx_nic_t *enp) argument
242 efx_rx_fini( __in efx_nic_t *enp) argument
260 efx_rx_scatter_enable( __in efx_nic_t *enp, __in unsigned int buf_size) argument
283 efx_rx_hash_support_get( __in efx_nic_t *enp, __out efx_rx_hash_support_t *supportp) argument
309 efx_rx_scale_support_get( __in efx_nic_t *enp, __out efx_rx_scale_support_t *supportp) argument
335 efx_rx_scale_mode_set( __in efx_nic_t *enp, __in efx_rx_hash_alg_t alg, __in efx_rx_hash_type_t type, __in boolean_t insert) argument
363 efx_rx_scale_key_set( __in efx_nic_t *enp, __in_ecount(n) uint8_t *key, __in size_t n) argument
388 efx_rx_scale_tbl_set( __in efx_nic_t *enp, __in_ecount(n) unsigned int *table, __in size_t n) argument
420 efx_nic_t *enp = erp->er_enp; local
434 efx_nic_t *enp = erp->er_enp; local
446 efx_nic_t *enp = erp->er_enp; local
467 efx_nic_t *enp = erp->er_enp; local
476 efx_rx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efx_rxq_type_t type, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in efx_evq_t *eep, __deref_out efx_rxq_t **erpp) argument
531 efx_nic_t *enp = erp->er_enp; local
540 efx_psuedo_hdr_pkt_length_get( __in efx_nic_t *enp, __in uint8_t *buffer, __out uint16_t *lengthp) argument
552 efx_psuedo_hdr_hash_get( __in efx_nic_t *enp, __in efx_rx_hash_alg_t func, __in uint8_t *buffer) argument
567 siena_rx_init( __in efx_nic_t *enp) argument
604 siena_rx_scatter_enable( __in efx_nic_t *enp, __in unsigned int buf_size) argument
710 siena_rx_scale_mode_set( __in efx_nic_t *enp, __in efx_rx_hash_alg_t alg, __in efx_rx_hash_type_t type, __in boolean_t insert) argument
757 siena_rx_scale_key_set( __in efx_nic_t *enp, __in_ecount(n) uint8_t *key, __in size_t n) argument
882 siena_rx_scale_tbl_set( __in efx_nic_t *enp, __in_ecount(n) unsigned int *table, __in size_t n) argument
960 siena_rx_prefix_hash( __in efx_nic_t *enp, __in efx_rx_hash_alg_t func, __in uint8_t *buffer) argument
985 siena_rx_prefix_pktlen( __in efx_nic_t *enp, __in uint8_t *buffer, __out uint16_t *lengthp) argument
1043 efx_nic_t *enp = erp->er_enp; local
1073 efx_nic_t *enp = erp->er_enp; local
1091 efx_nic_t *enp = erp->er_enp; local
1108 siena_rx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efx_rxq_type_t type, __in efsys_mem_t *esmp, __in size_t n, __in uint32_t id, __in efx_evq_t *eep, __in efx_rxq_t *erp) argument
1203 efx_nic_t *enp = erp->er_enp; local
1220 siena_rx_fini( __in efx_nic_t *enp) argument
[all...]
H A Def10_nic.c43 __in efx_nic_t *enp,
51 EFSYS_ASSERT(enp->en_family == EFX_FAMILY_HUNTINGTON ||
52 enp->en_family == EFX_FAMILY_MEDFORD);
61 efx_mcdi_execute(enp, &req);
87 __in efx_nic_t *enp,
95 EFSYS_ASSERT(enp->en_family == EFX_FAMILY_HUNTINGTON ||
96 enp->en_family == EFX_FAMILY_MEDFORD);
105 efx_mcdi_execute(enp, &req);
137 __in efx_nic_t *enp,
145 EFSYS_ASSERT3U(enp
42 efx_mcdi_get_port_assignment( __in efx_nic_t *enp, __out uint32_t *portp) argument
86 efx_mcdi_get_port_modes( __in efx_nic_t *enp, __out uint32_t *modesp) argument
136 efx_mcdi_vadaptor_alloc( __in efx_nic_t *enp, __in uint32_t port_id) argument
175 efx_mcdi_vadaptor_free( __in efx_nic_t *enp, __in uint32_t port_id) argument
209 efx_mcdi_get_mac_address_pf( __in efx_nic_t *enp, __out_ecount_opt(6) uint8_t mac_addrp[6]) argument
267 efx_mcdi_get_mac_address_vf( __in efx_nic_t *enp, __out_ecount_opt(6) uint8_t mac_addrp[6]) argument
330 efx_mcdi_get_clock( __in efx_nic_t *enp, __out uint32_t *sys_freqp) argument
380 efx_mcdi_get_vector_cfg( __in efx_nic_t *enp, __out_opt uint32_t *vec_basep, __out_opt uint32_t *pf_nvecp, __out_opt uint32_t *vf_nvecp) argument
428 efx_mcdi_get_capabilities( __in efx_nic_t *enp, __out uint32_t *flagsp, __out uint32_t *flags2p) argument
476 efx_mcdi_alloc_vis( __in efx_nic_t *enp, __in uint32_t min_vi_count, __in uint32_t max_vi_count, __out uint32_t *vi_basep, __out uint32_t *vi_countp, __out uint32_t *vi_shiftp) argument
539 efx_mcdi_free_vis( __in efx_nic_t *enp) argument
572 efx_mcdi_alloc_piobuf( __in efx_nic_t *enp, __out efx_piobuf_handle_t *handlep) argument
620 efx_mcdi_free_piobuf( __in efx_nic_t *enp, __in efx_piobuf_handle_t handle) argument
654 efx_mcdi_link_piobuf( __in efx_nic_t *enp, __in uint32_t vi_index, __in efx_piobuf_handle_t handle) argument
690 efx_mcdi_unlink_piobuf( __in efx_nic_t *enp, __in uint32_t vi_index) argument
724 ef10_nic_alloc_piobufs( __in efx_nic_t *enp, __in uint32_t max_piobuf_count) argument
760 ef10_nic_free_piobufs( __in efx_nic_t *enp) argument
777 ef10_nic_pio_alloc( __inout efx_nic_t *enp, __out uint32_t *bufnump, __out efx_piobuf_handle_t *handlep, __out uint32_t *blknump, __out uint32_t *offsetp, __out size_t *sizep) argument
842 ef10_nic_pio_free( __inout efx_nic_t *enp, __in uint32_t bufnum, __in uint32_t blknum) argument
874 ef10_nic_pio_link( __inout efx_nic_t *enp, __in uint32_t vi_index, __in efx_piobuf_handle_t handle) argument
883 ef10_nic_pio_unlink( __inout efx_nic_t *enp, __in uint32_t vi_index) argument
891 ef10_get_datapath_caps( __in efx_nic_t *enp) argument
988 ef10_get_privilege_mask( __in efx_nic_t *enp, __out uint32_t *maskp) argument
1078 ef10_external_port_mapping( __in efx_nic_t *enp, __in uint32_t port, __out uint8_t *external_portp) argument
1132 ef10_nic_probe( __in efx_nic_t *enp) argument
1221 ef10_nic_set_drv_limits( __inout efx_nic_t *enp, __in efx_drv_limits_t *edlp) argument
1296 ef10_nic_reset( __in efx_nic_t *enp) argument
1343 ef10_nic_init( __in efx_nic_t *enp) argument
1506 ef10_nic_get_vi_pool( __in efx_nic_t *enp, __out uint32_t *vi_countp) argument
1523 ef10_nic_get_bar_region( __in efx_nic_t *enp, __in efx_nic_region_t region, __out uint32_t *offsetp, __out size_t *sizep) argument
1566 ef10_nic_fini( __in efx_nic_t *enp) argument
1592 ef10_nic_unprobe( __in efx_nic_t *enp) argument
1604 ef10_nic_register_test( __in efx_nic_t *enp) argument
[all...]
H A Defx_mac.c38 __in efx_nic_t *enp);
88 __in efx_nic_t *enp,
91 efx_port_t *epp = &(enp->en_port);
96 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
97 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
112 if ((rc = emop->emo_pdu_set(enp)) != 0)
132 __in efx_nic_t *enp,
135 efx_port_t *epp = &(enp->en_port);
141 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
142 EFSYS_ASSERT3U(enp
87 efx_mac_pdu_set( __in efx_nic_t *enp, __in size_t pdu) argument
131 efx_mac_addr_set( __in efx_nic_t *enp, __in uint8_t *addr) argument
176 efx_mac_filter_set( __in efx_nic_t *enp, __in boolean_t all_unicst, __in boolean_t mulcst, __in boolean_t all_mulcst, __in boolean_t brdcst) argument
221 efx_mac_drain( __in efx_nic_t *enp, __in boolean_t enabled) argument
250 efx_mac_up( __in efx_nic_t *enp, __out boolean_t *mac_upp) argument
273 efx_mac_fcntl_set( __in efx_nic_t *enp, __in unsigned int fcntl, __in boolean_t autoneg) argument
348 efx_mac_fcntl_get( __in efx_nic_t *enp, __out unsigned int *fcntl_wantedp, __out unsigned int *fcntl_linkp) argument
373 efx_mac_multicast_list_set( __in efx_nic_t *enp, __in_ecount(6*count) uint8_t const *addrs, __in int count) argument
449 efx_mac_filter_default_rxq_set( __in efx_nic_t *enp, __in efx_rxq_t *erp, __in boolean_t using_rss) argument
476 efx_mac_filter_default_rxq_clear( __in efx_nic_t *enp) argument
581 efx_mac_stat_name( __in efx_nic_t *enp, __in unsigned int id) argument
595 efx_mac_stats_upload( __in efx_nic_t *enp, __in efsys_mem_t *esmp) argument
626 efx_mac_stats_periodic( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __in uint16_t period_ms, __in boolean_t events) argument
661 efx_mac_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *essp, __inout_opt uint32_t *generationp) argument
685 efx_mac_select( __in efx_nic_t *enp) argument
772 siena_mac_multicast_list_set( __in efx_nic_t *enp) argument
[all...]
H A Dhunt_impl.h68 __in efx_nic_t *enp);
77 __in efx_nic_t *enp);
81 __in efx_nic_t *enp,
86 __in efx_nic_t *enp,
97 __in efx_nic_t *enp,
H A Defx_nic.c111 __in efx_nic_t *enp)
123 EFX_BAR_TBL_WRITEO(enp, FR_AZ_DRIVER_REG, 0, &oword, B_TRUE);
126 EFX_BAR_TBL_WRITEO(enp, FR_AZ_DRIVER_REG, 1, &oword, B_TRUE);
128 EFX_BAR_TBL_READO(enp, FR_AZ_DRIVER_REG, 0, &oword, B_TRUE);
134 EFX_BAR_TBL_READO(enp, FR_AZ_DRIVER_REG, 1, &oword, B_TRUE);
146 EFX_BAR_TBL_WRITEO(enp, FR_AZ_DRIVER_REG, 0, &oword, B_TRUE);
149 EFX_BAR_TBL_WRITEO(enp, FR_AZ_DRIVER_REG, 1, &oword, B_TRUE);
151 EFX_BAR_TBL_READO(enp, FR_AZ_DRIVER_REG, 0, &oword, B_TRUE);
157 EFX_BAR_TBL_READO(enp, FR_AZ_DRIVER_REG, 1, &oword, B_TRUE);
243 efx_nic_t *enp; local
110 efx_nic_biu_test( __in efx_nic_t *enp) argument
340 efx_nic_probe( __in efx_nic_t *enp) argument
375 efx_nic_set_drv_limits( __inout efx_nic_t *enp, __in efx_drv_limits_t *edlp) argument
399 efx_nic_get_bar_region( __in efx_nic_t *enp, __in efx_nic_region_t region, __out uint32_t *offsetp, __out size_t *sizep) argument
434 efx_nic_get_vi_pool( __in efx_nic_t *enp, __out uint32_t *evq_countp, __out uint32_t *rxq_countp, __out uint32_t *txq_countp) argument
474 efx_nic_init( __in efx_nic_t *enp) argument
504 efx_nic_fini( __in efx_nic_t *enp) argument
523 efx_nic_unprobe( __in efx_nic_t *enp) argument
547 efx_nic_destroy( __in efx_nic_t *enp) argument
569 efx_nic_reset( __in efx_nic_t *enp) argument
610 efx_nic_cfg_get( __in efx_nic_t *enp) argument
621 efx_nic_register_test( __in efx_nic_t *enp) argument
643 efx_nic_test_registers( __in efx_nic_t *enp, __in efx_register_set_t *rsp, __in size_t count) argument
720 efx_nic_test_tables( __in efx_nic_t *enp, __in efx_register_set_t *rsp, __in efx_pattern_type_t pattern, __in size_t count) argument
882 efx_mcdi_get_loopback_modes( __in efx_nic_t *enp) argument
[all...]
H A Def10_impl.h72 __in efx_nic_t *enp);
76 __in efx_nic_t *enp);
80 __in efx_nic_t *enp,
128 __in efx_nic_t *enp,
134 __in efx_nic_t *enp);
138 __in efx_nic_t *enp);
142 __in efx_nic_t *enp);
146 __in efx_nic_t *enp,
151 __in efx_nic_t *enp,
157 __in efx_nic_t *enp,
[all...]
H A Def10_mcdi.c46 __in efx_nic_t *enp,
49 efx_mcdi_iface_t *emip = &(enp->en_mcdi.em_emip);
54 EFSYS_ASSERT(enp->en_family == EFX_FAMILY_HUNTINGTON ||
55 enp->en_family == EFX_FAMILY_MEDFORD);
56 EFSYS_ASSERT(enp->en_features & EFX_FEATURE_MCDI_DMA);
81 EFX_BAR_WRITED(enp, ER_DZ_MC_DB_HWRD_REG, &dword, B_FALSE);
84 (void) ef10_mcdi_poll_reboot(enp);
87 efx_mcdi_new_epoch(enp);
101 __in efx_nic_t *enp)
103 efx_mcdi_iface_t *emip = &(enp
45 ef10_mcdi_init( __in efx_nic_t *enp, __in const efx_mcdi_transport_t *emtp) argument
100 ef10_mcdi_fini( __in efx_nic_t *enp) argument
109 ef10_mcdi_send_request( __in efx_nic_t *enp, __in void *hdrp, __in size_t hdr_len, __in void *sdup, __in size_t sdu_len) argument
151 ef10_mcdi_poll_response( __in efx_nic_t *enp) argument
163 ef10_mcdi_read_response( __in efx_nic_t *enp, __out_bcount(length) void *bufferp, __in size_t offset, __in size_t length) argument
182 ef10_mcdi_poll_reboot( __in efx_nic_t *enp) argument
229 ef10_mcdi_feature_supported( __in efx_nic_t *enp, __in efx_mcdi_feature_id_t id, __out boolean_t *supportedp) argument
[all...]
H A Dsiena_mcdi.c54 __in efx_nic_t *enp,
60 efx_mcdi_iface_t *emip = &(enp->en_mcdi.em_emip);
66 EFSYS_ASSERT(enp->en_family == EFX_FAMILY_SIENA);
75 EFX_BAR_TBL_WRITED(enp, FR_CZ_MC_TREG_SMEM, pdur, &dword, B_TRUE);
80 EFX_BAR_TBL_WRITED(enp, FR_CZ_MC_TREG_SMEM,
86 EFX_BAR_TBL_WRITED(enp, FR_CZ_MC_TREG_SMEM, dbr, &dword, B_FALSE);
91 __in efx_nic_t *enp)
99 _NOTE(ARGUNUSED(enp))
102 efx_mcdi_iface_t *emip = &(enp->en_mcdi.em_emip);
107 EFSYS_ASSERT(enp
53 siena_mcdi_send_request( __in efx_nic_t *enp, __in void *hdrp, __in size_t hdr_len, __in void *sdup, __in size_t sdu_len) argument
90 siena_mcdi_poll_reboot( __in efx_nic_t *enp) argument
128 siena_mcdi_poll_response( __in efx_nic_t *enp) argument
143 siena_mcdi_read_response( __in efx_nic_t *enp, __out_bcount(length) void *bufferp, __in size_t offset, __in size_t length) argument
166 siena_mcdi_init( __in efx_nic_t *enp, __in const efx_mcdi_transport_t *mtp) argument
212 siena_mcdi_fini( __in efx_nic_t *enp) argument
219 siena_mcdi_feature_supported( __in efx_nic_t *enp, __in efx_mcdi_feature_id_t id, __out boolean_t *supportedp) argument
[all...]
H A Defx_nvram.c78 __in efx_nic_t *enp)
83 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
84 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE);
85 EFSYS_ASSERT(!(enp->en_mod_flags & EFX_MOD_NVRAM));
87 switch (enp->en_family) {
112 enp->en_envop = envop;
113 enp->en_mod_flags |= EFX_MOD_NVRAM;
127 __in efx_nic_t *enp)
129 const efx_nvram_ops_t *envop = enp->en_envop;
132 EFSYS_ASSERT3U(enp
77 efx_nvram_init( __in efx_nic_t *enp) argument
126 efx_nvram_test( __in efx_nic_t *enp) argument
149 efx_nvram_size( __in efx_nic_t *enp, __in efx_nvram_type_t type, __out size_t *sizep) argument
181 efx_nvram_get_version( __in efx_nic_t *enp, __in efx_nvram_type_t type, __out uint32_t *subtypep, __out_ecount(4) uint16_t version[4]) argument
215 efx_nvram_rw_start( __in efx_nic_t *enp, __in efx_nvram_type_t type, __out_opt size_t *chunk_sizep) argument
251 efx_nvram_read_chunk( __in efx_nic_t *enp, __in efx_nvram_type_t type, __in unsigned int offset, __out_bcount(size) caddr_t data, __in size_t size) argument
287 efx_nvram_erase( __in efx_nic_t *enp, __in efx_nvram_type_t type) argument
327 efx_nvram_write_chunk( __in efx_nic_t *enp, __in efx_nvram_type_t type, __in unsigned int offset, __in_bcount(size) caddr_t data, __in size_t size) argument
363 efx_nvram_rw_finish( __in efx_nic_t *enp, __in efx_nvram_type_t type) argument
385 efx_nvram_set_version( __in efx_nic_t *enp, __in efx_nvram_type_t type, __in_ecount(4) uint16_t version[4]) argument
425 efx_nvram_validate( __in efx_nic_t *enp, __in efx_nvram_type_t type, __in_bcount(partn_size) caddr_t partn_data, __in size_t partn_size) argument
462 efx_nvram_fini( __in efx_nic_t *enp) argument
484 efx_mcdi_nvram_partitions( __in efx_nic_t *enp, __out_bcount(size) caddr_t data, __in size_t size, __out unsigned int *npartnp) argument
545 efx_mcdi_nvram_metadata( __in efx_nic_t *enp, __in uint32_t partn, __out uint32_t *subtypep, __out_ecount(4) uint16_t version[4], __out_bcount_opt(size) char *descp, __in size_t size) argument
636 efx_mcdi_nvram_info( __in efx_nic_t *enp, __in uint32_t partn, __out_opt size_t *sizep, __out_opt uint32_t *addressp, __out_opt uint32_t *erase_sizep, __out_opt uint32_t *write_sizep) argument
697 efx_mcdi_nvram_update_start( __in efx_nic_t *enp, __in uint32_t partn) argument
731 efx_mcdi_nvram_read( __in efx_nic_t *enp, __in uint32_t partn, __in uint32_t offset, __out_bcount(size) caddr_t data, __in size_t size, __in uint32_t mode) argument
788 efx_mcdi_nvram_erase( __in efx_nic_t *enp, __in uint32_t partn, __in uint32_t offset, __in size_t size) argument
831 efx_mcdi_nvram_write( __in efx_nic_t *enp, __in uint32_t partn, __in uint32_t offset, __out_bcount(size) caddr_t data, __in size_t size) argument
887 efx_mcdi_nvram_update_finish( __in efx_nic_t *enp, __in uint32_t partn, __in boolean_t reboot) argument
925 efx_mcdi_nvram_test( __in efx_nic_t *enp, __in uint32_t partn) argument
[all...]
H A Dsiena_vpd.c40 __in efx_nic_t *enp,
60 if ((rc = siena_nvram_partn_size(enp, partn, &size)) != 0)
63 EFSYS_KMEM_ALLOC(enp->en_esip, size, scfg);
69 if ((rc = siena_nvram_partn_read(enp, partn, 0,
97 if ((rc = siena_nvram_partn_read(enp, partn, SIENA_NVRAM_CHUNK,
116 EFSYS_KMEM_ALLOC(enp->en_esip, vpd_length, svpd);
124 EFSYS_KMEM_FREE(enp->en_esip, size, scfg);
144 EFSYS_KMEM_FREE(enp->en_esip, size, scfg);
156 __in efx_nic_t *enp)
158 efx_mcdi_iface_t *emip = &(enp
39 siena_vpd_get_static( __in efx_nic_t *enp, __in uint32_t partn, __deref_out_bcount_opt(*sizep) caddr_t *svpdp, __out size_t *sizep) argument
155 siena_vpd_init( __in efx_nic_t *enp) argument
199 siena_vpd_size( __in efx_nic_t *enp, __out size_t *sizep) argument
233 siena_vpd_read( __in efx_nic_t *enp, __out_bcount(size) caddr_t data, __in size_t size) argument
285 siena_vpd_verify( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size) argument
367 siena_vpd_reinit( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size) argument
409 siena_vpd_get( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size, __inout efx_vpd_value_t *evvp) argument
453 siena_vpd_set( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size, __in efx_vpd_value_t *evvp) argument
490 siena_vpd_next( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size, __out efx_vpd_value_t *evvp, __inout unsigned int *contp) argument
503 siena_vpd_write( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size) argument
598 siena_vpd_fini( __in efx_nic_t *enp) argument
[all...]
H A Defx_bootcfg.c48 __in efx_nic_t *enp,
52 _NOTE(ARGUNUSED(enp))
64 __in efx_nic_t *enp,
108 if (efx_bootcfg_csum(enp, data, size) != 0) {
130 __in efx_nic_t *enp,
139 rc = efx_nvram_size(enp, EFX_NVRAM_BOOTROM_CFG, &sector_length);
152 EFSYS_KMEM_ALLOC(enp->en_esip, sector_length, payload);
160 if ((rc = efx_nvram_rw_start(enp, EFX_NVRAM_BOOTROM_CFG, NULL)) != 0)
163 rc = efx_nvram_read_chunk(enp, EFX_NVRAM_BOOTROM_CFG, 0,
166 efx_nvram_rw_finish(enp, EFX_NVRAM_BOOTROM_CF
47 efx_bootcfg_csum( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size) argument
63 efx_bootcfg_verify( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size, __out_opt size_t *usedp) argument
129 efx_bootcfg_read( __in efx_nic_t *enp, __out_bcount(size) caddr_t data, __in size_t size) argument
242 efx_bootcfg_write( __in efx_nic_t *enp, __in_bcount(size) caddr_t data, __in size_t size) argument
[all...]
H A Defx_mcdi.c89 __in efx_nic_t *enp,
95 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
96 EFSYS_ASSERT3U(enp->en_mod_flags, ==, 0);
98 switch (enp->en_family) {
123 if (enp->en_features & EFX_FEATURE_MCDI_DMA) {
130 enp->en_mcdi.em_emtp = emtp;
133 if ((rc = emcop->emco_init(enp, emtp)) != 0)
137 enp->en_mcdi.em_emcop = emcop;
138 enp->en_mod_flags |= EFX_MOD_MCDI;
149 enp
88 efx_mcdi_init( __in efx_nic_t *enp, __in const efx_mcdi_transport_t *emtp) argument
157 efx_mcdi_fini( __in efx_nic_t *enp) argument
177 efx_mcdi_new_epoch( __in efx_nic_t *enp) argument
190 efx_mcdi_send_request( __in efx_nic_t *enp, __in void *hdrp, __in size_t hdr_len, __in void *sdup, __in size_t sdu_len) argument
203 efx_mcdi_poll_reboot( __in efx_nic_t *enp) argument
214 efx_mcdi_poll_response( __in efx_nic_t *enp) argument
225 efx_mcdi_read_response( __in efx_nic_t *enp, __out void *bufferp, __in size_t offset, __in size_t length) argument
237 efx_mcdi_request_start( __in efx_nic_t *enp, __in efx_mcdi_req_t *emrp, __in boolean_t ev_cpl) argument
335 efx_mcdi_read_response_header( __in efx_nic_t *enp, __inout efx_mcdi_req_t *emrp) argument
450 efx_mcdi_finish_response( __in efx_nic_t *enp, __in efx_mcdi_req_t *emrp) argument
495 efx_mcdi_request_poll( __in efx_nic_t *enp) argument
558 efx_mcdi_request_abort( __in efx_nic_t *enp) argument
672 efx_mcdi_raise_exception( __in efx_nic_t *enp, __in_opt efx_mcdi_req_t *emrp, __in int rc) argument
698 efx_mcdi_execute( __in efx_nic_t *enp, __inout efx_mcdi_req_t *emrp) argument
712 efx_mcdi_execute_quiet( __in efx_nic_t *enp, __inout efx_mcdi_req_t *emrp) argument
726 efx_mcdi_ev_cpl( __in efx_nic_t *enp, __in unsigned int seq, __in unsigned int outlen, __in int errcode) argument
784 efx_mcdi_get_proxy_handle( __in efx_nic_t *enp, __in efx_mcdi_req_t *emrp, __out uint32_t *handlep) argument
817 efx_mcdi_ev_proxy_response( __in efx_nic_t *enp, __in unsigned int handle, __in unsigned int status) argument
839 efx_mcdi_ev_death( __in efx_nic_t *enp, __in int rc) argument
892 efx_mcdi_version( __in efx_nic_t *enp, __out_ecount_opt(4) uint16_t versionp[4], __out_opt uint32_t *buildp, __out_opt efx_mcdi_boot_t *statusp) argument
1008 efx_mcdi_do_reboot( __in efx_nic_t *enp, __in boolean_t after_assertion) argument
1058 efx_mcdi_reboot( __in efx_nic_t *enp) argument
1065 efx_mcdi_exit_assertion_handler( __in efx_nic_t *enp) argument
1072 efx_mcdi_read_assertion( __in efx_nic_t *enp) argument
1173 efx_mcdi_drv_attach( __in efx_nic_t *enp, __in boolean_t attach) argument
1251 efx_mcdi_get_board_cfg( __in efx_nic_t *enp, __out_opt uint32_t *board_typep, __out_opt efx_dword_t *capabilitiesp, __out_ecount_opt(6) uint8_t mac_addrp[6]) argument
1332 efx_mcdi_get_resource_limits( __in efx_nic_t *enp, __out_opt uint32_t *nevqp, __out_opt uint32_t *nrxqp, __out_opt uint32_t *ntxqp) argument
1380 efx_mcdi_get_phy_cfg( __in efx_nic_t *enp) argument
1482 efx_mcdi_firmware_update_supported( __in efx_nic_t *enp, __out boolean_t *supportedp) argument
1507 efx_mcdi_macaddr_change_supported( __in efx_nic_t *enp, __out boolean_t *supportedp) argument
1532 efx_mcdi_link_control_supported( __in efx_nic_t *enp, __out boolean_t *supportedp) argument
1557 efx_mcdi_mac_spoofing_supported( __in efx_nic_t *enp, __out boolean_t *supportedp) argument
1590 efx_mcdi_bist_enable_offline( __in efx_nic_t *enp) argument
1622 efx_mcdi_bist_start( __in efx_nic_t *enp, __in efx_bist_type_t type) argument
1686 efx_mcdi_log_ctrl( __in efx_nic_t *enp) argument
1733 efx_mcdi_mac_stats( __in efx_nic_t *enp, __in_opt efsys_mem_t *esmp, __in efx_stats_action_t action) argument
1806 efx_mcdi_mac_stats_clear( __in efx_nic_t *enp) argument
1823 efx_mcdi_mac_stats_upload( __in efx_nic_t *enp, __in efsys_mem_t *esmp) argument
1846 efx_mcdi_mac_stats_periodic( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __in uint16_t period, __in boolean_t events) argument
1889 efx_mcdi_get_function_info( __in efx_nic_t *enp, __out uint32_t *pfp, __out_opt uint32_t *vfp) argument
1933 efx_mcdi_privilege_mask( __in efx_nic_t *enp, __in uint32_t pf, __in uint32_t vf, __out uint32_t *maskp) argument
1982 efx_mcdi_set_workaround( __in efx_nic_t *enp, __in uint32_t type, __in boolean_t enabled, __out_opt uint32_t *flagsp) argument
2027 efx_mcdi_get_workarounds( __in efx_nic_t *enp, __out_opt uint32_t *implementedp, __out_opt uint32_t *enabledp) argument
2074 efx_mcdi_get_phy_media_info( __in efx_nic_t *enp, __in uint32_t mcdi_page, __in uint8_t offset, __in uint8_t len, __out_bcount(len) uint8_t *data) argument
2156 efx_mcdi_phy_module_get_info( __in efx_nic_t *enp, __in uint8_t dev_addr, __in uint8_t offset, __in uint8_t len, __out_bcount(len) uint8_t *data) argument
[all...]
H A Dmedford_impl.h60 __in efx_nic_t *enp);
H A Defx_wol.c38 __in efx_nic_t *enp)
40 efx_nic_cfg_t *encp = &(enp->en_nic_cfg);
43 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
44 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE);
45 EFSYS_ASSERT(!(enp->en_mod_flags & EFX_MOD_WOL));
53 EFSYS_ASSERT3U(enp->en_family, ==, EFX_FAMILY_SIENA);
55 enp->en_mod_flags |= EFX_MOD_WOL;
67 __in efx_nic_t *enp)
74 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
75 EFSYS_ASSERT3U(enp
37 efx_wol_init( __in efx_nic_t *enp) argument
66 efx_wol_filter_clear( __in efx_nic_t *enp) argument
104 efx_wol_filter_add( __in efx_nic_t *enp, __in efx_wol_type_t type, __in efx_wol_param_t *paramp, __out uint32_t *filter_idp) argument
227 efx_wol_filter_remove( __in efx_nic_t *enp, __in uint32_t filter_id) argument
265 efx_lightsout_offload_add( __in efx_nic_t *enp, __in efx_lightsout_offload_type_t type, __in efx_lightsout_offload_param_t *paramp, __out uint32_t *filter_idp) argument
348 efx_lightsout_offload_remove( __in efx_nic_t *enp, __in efx_lightsout_offload_type_t type, __in uint32_t filter_id) argument
404 efx_wol_fini( __in efx_nic_t *enp) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dentry.c35 Dbg_ent_entry(Lm_list *lml, uchar_t osabi, Half mach, Ent_desc *enp) argument
46 if (enp->ec_name != NULL)
47 dbg_print(lml, MSG_ORIG(MSG_ECR_NAME), enp->ec_name);
50 conv_ent_flags(enp->ec_flags, &buf.ent_flags));
53 (enp->ec_is_name ? enp->ec_is_name : MSG_INTL(MSG_STR_NULL)),
54 conv_sec_flags(osabi, mach, enp->ec_attrmask, 0, &buf.sec_flags));
57 (enp->ec_segment->sg_name ? enp->ec_segment->sg_name :
59 conv_sec_flags(osabi, mach, enp
79 Ent_desc *enp; local
[all...]

Completed in 98 milliseconds

1234