Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/
H A Dzcons.c202 #define ZC_STATE_TO_SLAVEDEV(x) (makedevice(ddi_driver_major((x)->zc_devinfo), \
203 (minor_t)(ddi_get_instance((x)->zc_devinfo) << 1 | ZC_SLAVE_MINOR)))
274 dev_info_t *zc_devinfo; member
358 zcs->zc_devinfo = dip; in zc_attach()
402 *result = zcs->zc_devinfo; in zc_getinfo()
541 minor = ddi_get_instance(zcs->zc_devinfo) << 1 | ZC_SLAVE_MINOR; in zc_slave_open()
542 major = ddi_driver_major(zcs->zc_devinfo); in zc_slave_open()
683 major = ddi_driver_major(zcs->zc_devinfo); in zc_close()
684 minor = ddi_get_instance(zcs->zc_devinfo) << 1 | ZC_SLAVE_MINOR; in zc_close()