Lines Matching refs:dev
42 static int hubd_close(dev_t dev, int flag, int otyp, cred_t *credp);
43 static int hubd_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
137 hubd_get_dip(dev_t dev)
139 minor_t minor = getminor(dev);
158 dev_t dev;
170 dev = (dev_t)arg;
171 instance = HUBD_UNIT(dev);
191 hubd_close(dev_t dev, int flag, int otyp, cred_t *credp)
193 dev_info_t *dip = hubd_get_dip(dev);
195 return (usba_hubdi_close(dip, dev, flag, otyp, credp));
200 hubd_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
203 dev_info_t *dip = hubd_get_dip(dev);
205 return (usba_hubdi_ioctl(dip, dev, cmd, arg, mode,