Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/
H A Dgld.c215 #define VLAN_CAPABLE(macinfo) \ argument
216 ((macinfo)->gldm_type == DL_ETHER && \
217 (macinfo)->gldm_send_tagged != NULL)
456 gld_mac_info_t *macinfo; in gld_mac_alloc() local
458 macinfo = kmem_zalloc(sizeof (gld_mac_info_t) + GLD_MAC_RESERVED, in gld_mac_alloc()
465 macinfo->gldm_driver_version = GLD_VERSION_200; in gld_mac_alloc()
471 macinfo->gldm_GLD_version = GLD_VERSION; in gld_mac_alloc()
473 return (macinfo); in gld_mac_alloc()
485 gld_mac_free(gld_mac_info_t *macinfo) in gld_mac_free() argument
487 ASSERT(macinfo); in gld_mac_free()
[all …]
H A Dgldutil.c55 #define DLSAPLENGTH(macinfo) \ argument
56 ((macinfo)->gldm_addrlen + ABS((macinfo)->gldm_saplen))
90 gld_init_ether(gld_mac_info_t *macinfo) in gld_init_ether() argument
93 ((gld_mac_pvt_t *)macinfo->gldm_mac_pvt)->kstatp->ks_data; in gld_init_ether()
96 ASSERT(macinfo->gldm_type == DL_ETHER); in gld_init_ether()
97 ASSERT(macinfo->gldm_addrlen == 6); in gld_init_ether()
98 ASSERT(macinfo->gldm_saplen == -2); in gld_init_ether()
119 if (macinfo->gldm_driver_version != GLD_VERSION_200) in gld_init_ether()
139 gld_uninit_ether(gld_mac_info_t *macinfo) in gld_uninit_ether() argument
144 gld_interpret_ether(gld_mac_info_t *macinfo, mblk_t *mp, pktinfo_t *pktinfo, in gld_interpret_ether() argument
[all …]
H A Dllc1.c69 static mblk_t *llc1_form_udata(llc1_t *lld, llc_mac_info_t *macinfo,
71 static mblk_t *llc1_xid_reply(llc_mac_info_t *macinfo, mblk_t *mp, int sap);
72 static mblk_t *llc1_xid_ind_con(llc1_t *lld, llc_mac_info_t *macinfo,
74 static mblk_t *llc1_test_reply(llc_mac_info_t *macinfo, mblk_t *mp, int sap);
75 static mblk_t *llc1_test_ind_con(llc1_t *lld, llc_mac_info_t *macinfo,
79 static void llc1_recv(llc_mac_info_t *macinfo, mblk_t *mp);
80 static void llc1_req_raw(llc_mac_info_t *macinfo);
81 static void llc1_find_waiting(llc_mac_info_t *macinfo, mblk_t *mp, long prim);
90 static void llc1_init_kstat(llc_mac_info_t *macinfo);
91 static void llc1_uninit_kstat(llc_mac_info_t *macinfo);
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dgldpriv.h405 #define GLDM_LOCK_INIT(macinfo) \ argument
406 rw_init(&(macinfo)->gldm_lock.gldl_rw_lock, NULL, \
407 RW_DRIVER, (macinfo)->gldm_cookie); \
408 (macinfo)->gldm_GLD_flags |= GLD_LOCK_INITED
410 #define GLDM_LOCK_INITED(macinfo) \ argument
411 ((macinfo)->gldm_GLD_flags & GLD_LOCK_INITED)
413 #define GLDM_LOCK_DESTROY(macinfo) \ argument
414 if ((macinfo)->gldm_GLD_flags & GLD_LOCK_INITED) { \
415 rw_destroy(&(macinfo)->gldm_lock.gldl_rw_lock); \
416 (macinfo)->gldm_GLD_flags &= ~GLD_LOCK_INITED; \
[all …]
/titanic_41/usr/src/uts/common/io/chxge/
H A Dch.c374 gld_mac_info_t *macinfo; /* GLD stuff follows */ in ch_attach() local
392 macinfo = gld_mac_alloc(dip); in ch_attach()
393 if (macinfo == NULL) { in ch_attach()
405 gld_mac_free(macinfo); in ch_attach()
415 PRINT(("attach macinfo: %p chp: %p\n", macinfo, chp)); in ch_attach()
418 chp->ch_macp = macinfo; in ch_attach()
445 gld_mac_free(macinfo); in ch_attach()
452 macinfo->gldm_devinfo = dip; in ch_attach()
453 macinfo->gldm_private = (caddr_t)chp; in ch_attach()
454 macinfo->gldm_reset = ch_reset; in ch_attach()
[all …]
H A Dpe.c1712 gld_mac_info_t *macinfo = obj->ch_macp; in t1_os_link_changed() local
1714 gld_linkstate(macinfo, GLD_LINKSTATE_UP); in t1_os_link_changed()
1721 gld_linkstate(macinfo, GLD_LINKSTATE_DOWN); in t1_os_link_changed()
/titanic_41/usr/src/cmd/mdb/i86pc/modules/common/
H A Dintr_common.c148 gld_mac_info_t macinfo; in interrupt_print_isr() local
150 if (mdb_vread(&macinfo, sizeof (gld_mac_info_t), arg1) != -1) { in interrupt_print_isr()
152 if (macinfo.gldm_GLD_version == GLD_VERSION) in interrupt_print_isr()
153 isr_addr = (uintptr_t)macinfo.gldm_intr; in interrupt_print_isr()
/titanic_41/usr/src/tools/ctf/dwarf/common/
H A Dpro_macinfo.c422 Dwarf_Small *macinfo; in _dwarf_pro_transform_macro_info_to_disk() local
444 macinfo, (unsigned long) mac_num_bytes, error); in _dwarf_pro_transform_macro_info_to_disk()
445 if (macinfo == NULL) { in _dwarf_pro_transform_macro_info_to_disk()
450 macinfo_ptr = macinfo; in _dwarf_pro_transform_macro_info_to_disk()
/titanic_41/usr/src/uts/common/io/ath/
H A Dath_impl.h325 #define ATH_STATE(macinfo) ((ath_t *)((macinfo)->gldm_private)) argument