Lines Matching refs:dev
52 static int niumx_close(dev_t dev, int flags, int otyp, cred_t *credp);
53 static int niumx_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
55 static int niumx_prop_op(dev_t dev, dev_info_t *dip, ddi_prop_op_t prop_op,
79 static void niumxtool_fill_in_intr_devs(pcitool_intr_dev_t *dev,
134 niumx_close(dev_t dev, int flags, int otyp, cred_t *credp)
137 minor_t minor = getminor(dev);
161 niumx_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp,
167 int minor = getminor(dev);
216 static int niumx_prop_op(dev_t dev, dev_info_t *dip, ddi_prop_op_t prop_op,
219 return (ddi_prop_op(dev, dip, prop_op, flags, name, valuep, lengthp));
244 niumxtool_fill_in_intr_devs(pcitool_intr_dev_t *dev, char *driver_name,
247 (void) strncpy(dev->driver_name, driver_name, MAXMODCONFNAME-1);
248 dev->driver_name[MAXMODCONFNAME] = '\0';
249 (void) strncpy(dev->path, path_name, MAXPATHLEN-1);
250 dev->dev_inst = instance;
363 niumxtool_fill_in_intr_devs(&iget_p->dev[0],