Home
last modified time | relevance | path

Searched refs:device_destroy (Results 1 – 25 of 81) sorted by relevance

1234

/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvugbm.c186 device_destroy(struct vugbm_device *dev) in device_destroy() function
199 dev->device_destroy(dev); in vugbm_device_destroy()
218 dev->device_destroy = device_destroy; in vugbm_device_init()
232 dev->device_destroy = udmabuf_device_destroy; in vugbm_device_init()
243 dev->device_destroy = mem_device_destroy; in vugbm_device_init()
H A Dvugbm.h36 void (*device_destroy)(struct vugbm_device *dev); member
/openbmc/linux/arch/mips/kernel/
H A Drtlx-mt.c102 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_init()
130 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_init()
142 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_exit()
/openbmc/linux/drivers/s390/char/
H A Dtape_class.c94 device_destroy(tape_class, tcd->char_device->dev); in register_tape_dev()
110 device_destroy(tape_class, tcd->char_device->dev); in unregister_tape_dev()
H A Dfs3270.c530 device_destroy(class3270, MKDEV(IBM_FS3270_MAJOR, minor)); in fs3270_destroy_cb()
558 device_destroy(class3270, MKDEV(IBM_FS3270_MAJOR, 0)); in fs3270_exit()
H A Dhmcdrv_dev.c360 device_destroy(hmcdrv_dev_class, hmcdrv_dev_no); in hmcdrv_dev_exit()
/openbmc/linux/drivers/char/xillybus/
H A Dxillybus_class.c157 device_destroy(&xillybus_class, MKDEV(unit->major, in xillybus_init_chrdev()
198 device_destroy(&xillybus_class, MKDEV(unit->major, minor)); in xillybus_cleanup_chrdev()
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-srv-sysfs.c237 device_destroy(&rnbd_dev_class, MKDEV(0, 0)); in rnbd_srv_create_sysfs_files()
248 device_destroy(&rnbd_dev_class, MKDEV(0, 0)); in rnbd_srv_destroy_sysfs_files()
H A Drnbd-clt-sysfs.c671 device_destroy(&rnbd_dev_class, MKDEV(0, 0)); in rnbd_clt_create_sysfs_files()
683 device_destroy(&rnbd_dev_class, MKDEV(0, 0)); in rnbd_clt_destroy_sysfs_files()
/openbmc/linux/fs/pstore/
H A Dpmsg.c91 device_destroy(pmsg_class, MKDEV(pmsg_major, 0)); in pstore_unregister_pmsg()
/openbmc/linux/drivers/dca/
H A Ddca-sysfs.c32 device_destroy(dca_class, MKDEV(0, slot + 1)); in dca_sysfs_remove_req()
/openbmc/linux/drivers/usb/core/
H A Dfile.c184 device_destroy(&usbmisc_class, MKDEV(USB_MAJOR, intf->minor)); in usb_deregister_dev()
/openbmc/linux/fs/coda/
H A Dpsdev.c411 device_destroy(coda_psdev_class, MKDEV(CODA_PSDEV_MAJOR, i)); in init_coda()
429 device_destroy(coda_psdev_class, MKDEV(CODA_PSDEV_MAJOR, i)); in exit_coda()
/openbmc/linux/arch/x86/kernel/
H A Dcpuid.c147 device_destroy(&cpuid_class, MKDEV(CPUID_MAJOR, cpu)); in cpuid_device_destroy()
H A Dmsr.c258 device_destroy(&msr_class, MKDEV(MSR_MAJOR, cpu)); in msr_device_destroy()
/openbmc/linux/drivers/tty/vt/
H A Dvc_screen.c803 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 1)); in vcs_remove_sysfs()
804 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 65)); in vcs_remove_sysfs()
805 device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 129)); in vcs_remove_sysfs()
/openbmc/linux/drivers/platform/x86/dell/dell-wmi-sysman/
H A Dsysman.c604 device_destroy(fw_attr_class, MKDEV(0, 0)); in sysman_init()
621 device_destroy(fw_attr_class, MKDEV(0, 0)); in sysman_exit()
/openbmc/linux/drivers/char/
H A Dmisc.c280 device_destroy(&misc_class, MKDEV(MISC_MAJOR, misc->minor)); in misc_deregister()
/openbmc/linux/net/netfilter/
H A Dxt_IDLETIMER.c519 device_destroy(idletimer_tg_class, MKDEV(0, 0)); in idletimer_tg_init()
530 device_destroy(idletimer_tg_class, MKDEV(0, 0)); in idletimer_tg_exit()
/openbmc/linux/drivers/net/ipvlan/
H A Dipvtap.c180 device_destroy(&ipvtap_class, devt); in ipvtap_device_event()
/openbmc/linux/drivers/net/
H A Dmacvtap.c193 device_destroy(&macvtap_class, devt); in macvtap_device_event()
/openbmc/linux/drivers/block/aoe/
H A Daoechr.c318 device_destroy(&aoe_class, MKDEV(AOE_MAJOR, chardevs[i].minor)); in aoechr_exit()
/openbmc/linux/drivers/dma-buf/
H A Ddma-heap.c294 device_destroy(dma_heap_class, heap->heap_devt); in dma_heap_add()
/openbmc/linux/drivers/staging/vme_user/
H A Dvme_user.c659 device_destroy(vme_user_sysfs_class, MKDEV(VME_MAJOR, i)); in vme_user_probe()
699 device_destroy(vme_user_sysfs_class, MKDEV(VME_MAJOR, i)); in vme_user_remove()
/openbmc/linux/drivers/gpu/drm/display/
H A Ddrm_dp_aux_dev.c296 device_destroy(drm_dp_aux_dev_class, in drm_dp_aux_unregister_devnode()

1234