Searched refs:DLS_MINOR2INST (Results 1 – 5 of 5) sorted by relevance
67 #define DLS_MINOR2INST(minor) ((int)((minor) - 1)) macro
1063 DLS_MINOR2INST(getminor(dev))); in dls_devnet_hold_by_dev()1069 if (DLS_MINOR2INST(getminor(dev)) <= DLS_MAX_PPA) in dls_devnet_hold_by_dev()1227 DLS_MINOR2INST(getminor(dev))); in dls_devnet_dev2linkid()
772 DLS_MINOR2INST(getminor(dev))); in dls_link_devinfo()
158 statep->ds_instance = DLS_MINOR2INST(mac_minor(mh)); in i_dld_str_walker()212 return (DLS_MINOR2INST(minor)); in dld_devt_to_instance()253 *resp = (void *)(uintptr_t)DLS_MINOR2INST(minor); in dld_getinfo()
357 ppa = DLS_MINOR2INST(minor); in softmac_create()965 ppa = DLS_MINOR2INST(minor); in softmac_destroy()