Home
last modified time | relevance | path

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

/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Ddevice.h110 dev_t devt; member
335 if (dev->devt) { in device_initialize()
336 unit = MINOR(dev->devt); in device_initialize()
366 if (dev->devt == 0) in device_add()
385 struct device *parent, dev_t devt, void *drvdata, in device_create_with_groups() argument
414 if (dev->devt) { in device_register()
415 unit = MINOR(dev->devt); in device_register()
429 if (dev->devt == 0) in device_register()
430 dev->devt = makedev(0, device_get_unit(bsddev)); in device_register()
477 device_destroy(struct class *class, dev_t devt) in device_destroy() argument
[all …]
H A Dmiscdevice.h62 if (cdev_add(misc->cdev, misc->this_device->devt, 1)) in misc_register()
70 device_destroy(&linux_class_misc, misc->this_device->devt); in misc_deregister()
/freebsd-13.1/sys/dev/sound/
H A Dclone.c74 struct cdev *devt; member
145 (ce->devt != NULL && ce->devt->si_threadcount != 0)) in snd_clone_busy()
342 ce->devt->si_threadcount != 0) { in snd_clone_gc()
347 destroy_dev(ce->devt); in snd_clone_gc()
369 if (ce->devt != NULL) in snd_clone_destroy()
370 destroy_dev(ce->devt); in snd_clone_destroy()
505 SND_CLONE_ASSERT(ce->devt == NULL, ("ce->devt not NULL")); in snd_clone_register()
513 ce->devt = dev; in snd_clone_register()
592 if (ce->devt != NULL && (bce == NULL || in snd_clone_alloc()
704 *dev = ce->devt; in snd_clone_alloc()
/freebsd-13.1/bin/pax/
H A Dtables.h124 typedef struct devt { struct
126 struct devt *fow; /* new device map list */ argument
/freebsd-13.1/sys/dev/tdfx/
H A Dtdfx_vars.h97 struct cdev *devt; member
H A Dtdfx_pci.c247 tdfx_info->devt = make_dev(&tdfx_cdev, device_get_unit(dev), in tdfx_attach()
249 tdfx_info->devt->si_drv1 = tdfx_info; in tdfx_attach()
284 destroy_dev(tdfx_info->devt); in tdfx_detach()
/freebsd-13.1/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c438 device_create(struct class *class, struct device *parent, dev_t devt, in device_create() argument
447 dev->devt = devt; in device_create()
460 dev_t devt, void *drvdata, const struct attribute_group **groups, in device_create_groups_vargs() argument
475 dev->devt = devt; in device_create_groups_vargs()
2387 if (dev->devt != 0) { in linux_cdev_device_add()
2399 ret = cdev_add(ldev, dev->devt, 1); in linux_cdev_device_add()
2404 if (ret != 0 && dev->devt != 0) in linux_cdev_device_add()
2414 if (dev->devt != 0) in linux_cdev_device_del()
/freebsd-13.1/sys/dev/ce/
H A Dif_ce.c158 struct cdev *devt; member
586 d->devt = make_dev (&ce_cdevsw, b->num*NCHAN+c->num, UID_ROOT, in ce_attach()
662 destroy_dev (d->devt); in ce_detach()
/freebsd-13.1/sys/dev/cp/
H A Dif_cp.c126 struct cdev *devt; member
525 d->devt = make_dev (&cp_cdevsw, b->num*NCHAN+c->num, UID_ROOT, in cp_attach()
610 destroy_dev (d->devt); in cp_detach()
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-pciercx-defs.h1411 uint32_t devt : 2; /**< DEVSEL Timing member
1459 uint32_t devt : 2;
1675 uint32_t devt : 2; /**< DEVSEL Timing member
1709 uint32_t devt : 2;
H A Dcvmx-pci-defs.h935 …uint32_t devt : 2; /**< DEVSEL# timing (for PCI only/for PCIX = don't car… member
987 uint32_t devt : 2;
H A Dcvmx-pcieepx-defs.h1418 uint32_t devt : 2; /**< DEVSEL Timing member
1466 uint32_t devt : 2;
/freebsd-13.1/sys/ofed/drivers/infiniband/core/
H A Dib_ucm.c1294 ucm_dev->dev.devt = ucm_dev->cdev.dev; in ib_ucm_add_one()
/freebsd-13.1/contrib/ncurses/include/
H A DCaps.uwin570 device_type devt str dv - - ----- Indicate language/codeset support
H A DCaps.hpux11719 device_type devt str dv - - ----- Indicate language/codeset support
H A DCaps711 device_type devt str dv - - ----- Indicate language/codeset support
H A DCaps.osf1r5580 device_type devt str dv - - ----- Indicate language/codeset support
H A DCaps.aix4813 device_type devt str dv - - ----- Indicate language/codeset support
H A DCaps.keys801 device_type devt str dv - - ----- Indicate language/codeset support