Home
last modified time | relevance | path

Searched refs:ugenp (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/io/usb/usba/
H A Dusba_ugen.c172 ugen_state_t *ugenp = kmem_zalloc(sizeof (ugen_state_t), in usb_ugen_get_hdl() local
177 hdl->hdl_ugenp = ugenp; in usb_ugen_get_hdl()
187 if ((rval = usb_get_dev_data(dip, &ugenp->ug_dev_data, in usb_ugen_get_hdl()
190 USB_DPRINTF_L2(UGEN_PRINT_ATTA, ugenp->ug_log_hdl, in usb_ugen_get_hdl()
197 mutex_init(&ugenp->ug_mutex, NULL, MUTEX_DRIVER, in usb_ugen_get_hdl()
198 ugenp->ug_dev_data->dev_iblock_cookie); in usb_ugen_get_hdl()
200 mutex_enter(&ugenp->ug_mutex); in usb_ugen_get_hdl()
201 ugenp->ug_dip = dip; in usb_ugen_get_hdl()
202 ugenp->ug_instance = ddi_get_instance(dip); in usb_ugen_get_hdl()
203 ugenp->ug_hdl = hdl; in usb_ugen_get_hdl()
[all …]
/titanic_41/usr/src/uts/common/sys/usb/usba/
H A Dusba_ugend.h82 #define UGEN_MINOR_INSTANCE_MASK(ugenp) \ argument
83 (ugenp)->ug_hdl->hdl_minor_node_instance_mask
84 #define UGEN_MINOR_INSTANCE_LIMIT(ugenp) \ argument
85 (ugenp)->ug_hdl->hdl_minor_node_instance_limit
86 #define UGEN_MINOR_INSTANCE_SHIFT(ugenp) \ argument
87 (ugenp)->ug_hdl->hdl_minor_node_instance_shift
89 #define UGEN_MINOR_IDX_SHIFT(ugenp) \ argument
90 (ugenp)->ug_hdl->hdl_minor_node_ugen_bits_shift
91 #define UGEN_MINOR_IDX_LIMIT(ugenp) \ argument
92 (ugenp)->ug_hdl->hdl_minor_node_ugen_bits_limit
[all …]
/titanic_41/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c1106 ugen_state_t *ugenp; in scsa2usb_ugen_open() local
1113 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()