Searched refs:ugenp (Results 1 – 3 of 3) sorted by relevance
176 ugen_state_t *ugenp = kmem_zalloc(sizeof (ugen_state_t), in usb_ugen_get_hdl() local181 hdl->hdl_ugenp = ugenp; in usb_ugen_get_hdl()191 if ((rval = usb_get_dev_data(dip, &ugenp->ug_dev_data, in usb_ugen_get_hdl()194 USB_DPRINTF_L2(UGEN_PRINT_ATTA, ugenp->ug_log_hdl, in usb_ugen_get_hdl()201 mutex_init(&ugenp->ug_mutex, NULL, MUTEX_DRIVER, in usb_ugen_get_hdl()202 ugenp->ug_dev_data->dev_iblock_cookie); in usb_ugen_get_hdl()204 mutex_enter(&ugenp->ug_mutex); in usb_ugen_get_hdl()205 ugenp->ug_dip = dip; in usb_ugen_get_hdl()206 ugenp->ug_instance = ddi_get_instance(dip); in usb_ugen_get_hdl()207 ugenp->ug_hdl = hdl; in usb_ugen_get_hdl()[all …]
82 #define UGEN_MINOR_INSTANCE_MASK(ugenp) \ argument83 (ugenp)->ug_hdl->hdl_minor_node_instance_mask84 #define UGEN_MINOR_INSTANCE_LIMIT(ugenp) \ argument85 (ugenp)->ug_hdl->hdl_minor_node_instance_limit86 #define UGEN_MINOR_INSTANCE_SHIFT(ugenp) \ argument87 (ugenp)->ug_hdl->hdl_minor_node_instance_shift89 #define UGEN_MINOR_IDX_SHIFT(ugenp) \ argument90 (ugenp)->ug_hdl->hdl_minor_node_ugen_bits_shift91 #define UGEN_MINOR_IDX_LIMIT(ugenp) \ argument92 (ugenp)->ug_hdl->hdl_minor_node_ugen_bits_limit[all …]
1106 ugen_state_t *ugenp; in scsa2usb_ugen_open() local1113 ugenp = usb_ugen_hdl_impl->hdl_ugenp; in scsa2usb_ugen_open()1116 for (clone = ugenp->ug_minor_node_table_index + 1; in scsa2usb_ugen_open()