miscdev 5231 drivers/android/binder.c struct binder_device, miscdev); miscdev 6086 drivers/android/binder.c binder_device->miscdev.fops = &binder_fops; miscdev 6087 drivers/android/binder.c binder_device->miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 6088 drivers/android/binder.c binder_device->miscdev.name = name; miscdev 6095 drivers/android/binder.c ret = misc_register(&binder_device->miscdev); miscdev 6182 drivers/android/binder.c misc_deregister(&device->miscdev); miscdev 34 drivers/android/binder_internal.h struct miscdevice miscdev; miscdev 161 drivers/android/binderfs.c device->miscdev.name = name; miscdev 162 drivers/android/binderfs.c device->miscdev.minor = minor; miscdev 258 drivers/android/binderfs.c ida_free(&binderfs_minors, device->miscdev.minor); miscdev 453 drivers/android/binderfs.c device->miscdev.minor = minor; miscdev 61 drivers/char/ipmi/bt-bmc.c struct miscdevice miscdev; miscdev 164 drivers/char/ipmi/bt-bmc.c return container_of(file->private_data, struct bt_bmc, miscdev); miscdev 470 drivers/char/ipmi/bt-bmc.c bt_bmc->miscdev.minor = MISC_DYNAMIC_MINOR, miscdev 471 drivers/char/ipmi/bt-bmc.c bt_bmc->miscdev.name = DEVICE_NAME, miscdev 472 drivers/char/ipmi/bt-bmc.c bt_bmc->miscdev.fops = &bt_bmc_fops, miscdev 473 drivers/char/ipmi/bt-bmc.c bt_bmc->miscdev.parent = dev; miscdev 474 drivers/char/ipmi/bt-bmc.c rc = misc_register(&bt_bmc->miscdev); miscdev 507 drivers/char/ipmi/bt-bmc.c misc_deregister(&bt_bmc->miscdev); miscdev 58 drivers/char/ipmi/ipmb_dev_int.c struct miscdevice miscdev; miscdev 70 drivers/char/ipmi/ipmb_dev_int.c return container_of(file->private_data, struct ipmb_dev, miscdev); miscdev 307 drivers/char/ipmi/ipmb_dev_int.c ipmb_dev->miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 309 drivers/char/ipmi/ipmb_dev_int.c ipmb_dev->miscdev.name = devm_kasprintf(&client->dev, GFP_KERNEL, miscdev 312 drivers/char/ipmi/ipmb_dev_int.c ipmb_dev->miscdev.fops = &ipmb_fops; miscdev 313 drivers/char/ipmi/ipmb_dev_int.c ipmb_dev->miscdev.parent = &client->dev; miscdev 314 drivers/char/ipmi/ipmb_dev_int.c ret = misc_register(&ipmb_dev->miscdev); miscdev 322 drivers/char/ipmi/ipmb_dev_int.c misc_deregister(&ipmb_dev->miscdev); miscdev 334 drivers/char/ipmi/ipmb_dev_int.c misc_deregister(&ipmb_dev->miscdev); miscdev 240 drivers/char/ipmi/kcs_bmc.c return container_of(filp->private_data, struct kcs_bmc, miscdev); miscdev 444 drivers/char/ipmi/kcs_bmc.c kcs_bmc->miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 445 drivers/char/ipmi/kcs_bmc.c kcs_bmc->miscdev.name = devm_kasprintf(dev, GFP_KERNEL, "%s%u", miscdev 448 drivers/char/ipmi/kcs_bmc.c !kcs_bmc->miscdev.name) miscdev 450 drivers/char/ipmi/kcs_bmc.c kcs_bmc->miscdev.fops = &kcs_bmc_fops; miscdev 95 drivers/char/ipmi/kcs_bmc.h struct miscdevice miscdev; miscdev 279 drivers/char/ipmi/kcs_bmc_aspeed.c rc = misc_register(&kcs_bmc->miscdev); miscdev 296 drivers/char/ipmi/kcs_bmc_aspeed.c misc_deregister(&kcs_bmc->miscdev); miscdev 174 drivers/char/ipmi/kcs_bmc_npcm7xx.c rc = misc_register(&kcs_bmc->miscdev); miscdev 191 drivers/char/ipmi/kcs_bmc_npcm7xx.c misc_deregister(&kcs_bmc->miscdev); miscdev 87 drivers/hwtracing/coresight/coresight-etb10.c struct miscdevice miscdev; miscdev 602 drivers/hwtracing/coresight/coresight-etb10.c struct etb_drvdata, miscdev); miscdev 616 drivers/hwtracing/coresight/coresight-etb10.c struct etb_drvdata, miscdev); miscdev 641 drivers/hwtracing/coresight/coresight-etb10.c struct etb_drvdata, miscdev); miscdev 789 drivers/hwtracing/coresight/coresight-etb10.c drvdata->miscdev.name = desc.name; miscdev 790 drivers/hwtracing/coresight/coresight-etb10.c drvdata->miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 791 drivers/hwtracing/coresight/coresight-etb10.c drvdata->miscdev.fops = &etb_fops; miscdev 792 drivers/hwtracing/coresight/coresight-etb10.c ret = misc_register(&drvdata->miscdev); miscdev 149 drivers/hwtracing/coresight/coresight-tmc.c struct tmc_drvdata, miscdev); miscdev 181 drivers/hwtracing/coresight/coresight-tmc.c struct tmc_drvdata, miscdev); miscdev 202 drivers/hwtracing/coresight/coresight-tmc.c struct tmc_drvdata, miscdev); miscdev 529 drivers/hwtracing/coresight/coresight-tmc.c drvdata->miscdev.name = desc.name; miscdev 530 drivers/hwtracing/coresight/coresight-tmc.c drvdata->miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 531 drivers/hwtracing/coresight/coresight-tmc.c drvdata->miscdev.fops = &tmc_fops; miscdev 532 drivers/hwtracing/coresight/coresight-tmc.c ret = misc_register(&drvdata->miscdev); miscdev 191 drivers/hwtracing/coresight/coresight-tmc.h struct miscdevice miscdev; miscdev 73 drivers/misc/fastrpc.c #define miscdev_to_cctx(d) container_of(d, struct fastrpc_channel_ctx, miscdev) miscdev 187 drivers/misc/fastrpc.c struct miscdevice miscdev; miscdev 1432 drivers/misc/fastrpc.c data->miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 1433 drivers/misc/fastrpc.c data->miscdev.name = devm_kasprintf(rdev, GFP_KERNEL, "fastrpc-%s", miscdev 1435 drivers/misc/fastrpc.c data->miscdev.fops = &fastrpc_fops; miscdev 1436 drivers/misc/fastrpc.c err = misc_register(&data->miscdev); miscdev 1474 drivers/misc/fastrpc.c misc_deregister(&cctx->miscdev); miscdev 566 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d, miscdev); miscdev 581 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d, miscdev); miscdev 593 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d, miscdev); miscdev 644 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d, miscdev); miscdev 655 drivers/misc/lis3lv02d/lis3lv02d.c struct lis3lv02d, miscdev); miscdev 740 drivers/misc/lis3lv02d/lis3lv02d.c misc_deregister(&lis3->miscdev); miscdev 1237 drivers/misc/lis3lv02d/lis3lv02d.c lis3->miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 1238 drivers/misc/lis3lv02d/lis3lv02d.c lis3->miscdev.name = "freefall"; miscdev 1239 drivers/misc/lis3lv02d/lis3lv02d.c lis3->miscdev.fops = &lis3lv02d_misc_fops; miscdev 1241 drivers/misc/lis3lv02d/lis3lv02d.c if (misc_register(&lis3->miscdev)) miscdev 295 drivers/misc/lis3lv02d/lis3lv02d.h struct miscdevice miscdev; miscdev 64 drivers/misc/mic/vop/vop_main.h struct miscdevice miscdev; miscdev 875 drivers/misc/mic/vop/vop_vringh.c struct vop_info, miscdev); miscdev 1124 drivers/misc/mic/vop/vop_vringh.c mdev = &vi->miscdev; miscdev 1157 drivers/misc/mic/vop/vop_vringh.c misc_deregister(&vi->miscdev); miscdev 75 drivers/misc/pci_endpoint_test.c miscdev) miscdev 104 drivers/misc/pci_endpoint_test.c struct miscdevice miscdev; miscdev 725 drivers/misc/pci_endpoint_test.c misc_device = &test->miscdev; miscdev 770 drivers/misc/pci_endpoint_test.c struct miscdevice *misc_device = &test->miscdev; miscdev 777 drivers/misc/pci_endpoint_test.c misc_deregister(&test->miscdev); miscdev 213 drivers/misc/xilinx_sdfec.c struct miscdevice miscdev; miscdev 951 drivers/misc/xilinx_sdfec.c xsdfec = container_of(fptr->private_data, struct xsdfec_dev, miscdev); miscdev 1033 drivers/misc/xilinx_sdfec.c xsdfec = container_of(file->private_data, struct xsdfec_dev, miscdev); miscdev 1441 drivers/misc/xilinx_sdfec.c xsdfec->miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 1442 drivers/misc/xilinx_sdfec.c xsdfec->miscdev.name = xsdfec->dev_name; miscdev 1443 drivers/misc/xilinx_sdfec.c xsdfec->miscdev.fops = &xsdfec_fops; miscdev 1444 drivers/misc/xilinx_sdfec.c xsdfec->miscdev.parent = dev; miscdev 1445 drivers/misc/xilinx_sdfec.c err = misc_register(&xsdfec->miscdev); miscdev 1464 drivers/misc/xilinx_sdfec.c misc_deregister(&xsdfec->miscdev); miscdev 218 drivers/platform/goldfish/goldfish_pipe.c struct miscdevice miscdev; miscdev 693 drivers/platform/goldfish/goldfish_pipe.c struct miscdevice *miscdev = file->private_data; miscdev 695 drivers/platform/goldfish/goldfish_pipe.c return container_of(miscdev, struct goldfish_pipe_dev, miscdev); miscdev 803 drivers/platform/goldfish/goldfish_pipe.c static void init_miscdevice(struct miscdevice *miscdev) miscdev 805 drivers/platform/goldfish/goldfish_pipe.c memset(miscdev, 0, sizeof(*miscdev)); miscdev 807 drivers/platform/goldfish/goldfish_pipe.c miscdev->minor = MISC_DYNAMIC_MINOR; miscdev 808 drivers/platform/goldfish/goldfish_pipe.c miscdev->name = "goldfish_pipe"; miscdev 809 drivers/platform/goldfish/goldfish_pipe.c miscdev->fops = &goldfish_pipe_fops; miscdev 836 drivers/platform/goldfish/goldfish_pipe.c init_miscdevice(&dev->miscdev); miscdev 837 drivers/platform/goldfish/goldfish_pipe.c err = misc_register(&dev->miscdev); miscdev 849 drivers/platform/goldfish/goldfish_pipe.c misc_deregister(&dev->miscdev); miscdev 864 drivers/platform/goldfish/goldfish_pipe.c misc_deregister(&dev->miscdev); miscdev 887 drivers/platform/goldfish/goldfish_pipe.c misc_deregister(&dev->miscdev); miscdev 23 drivers/platform/x86/dell-smo8800.c struct miscdevice miscdev; /* for /dev/freefall */ miscdev 81 drivers/platform/x86/dell-smo8800.c struct smo8800_device, miscdev); miscdev 113 drivers/platform/x86/dell-smo8800.c struct smo8800_device, miscdev); miscdev 125 drivers/platform/x86/dell-smo8800.c struct smo8800_device, miscdev); miscdev 150 drivers/platform/x86/dell-smo8800.c smo8800->miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 151 drivers/platform/x86/dell-smo8800.c smo8800->miscdev.name = "freefall"; miscdev 152 drivers/platform/x86/dell-smo8800.c smo8800->miscdev.fops = &smo8800_misc_fops; miscdev 156 drivers/platform/x86/dell-smo8800.c err = misc_register(&smo8800->miscdev); miscdev 187 drivers/platform/x86/dell-smo8800.c misc_deregister(&smo8800->miscdev); miscdev 196 drivers/platform/x86/dell-smo8800.c misc_deregister(&smo8800->miscdev); miscdev 170 drivers/platform/x86/toshiba_acpi.c struct miscdevice miscdev; miscdev 2977 drivers/platform/x86/toshiba_acpi.c misc_deregister(&dev->miscdev); miscdev 3057 drivers/platform/x86/toshiba_acpi.c dev->miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 3058 drivers/platform/x86/toshiba_acpi.c dev->miscdev.name = "toshiba_acpi"; miscdev 3059 drivers/platform/x86/toshiba_acpi.c dev->miscdev.fops = &toshiba_acpi_fops; miscdev 3061 drivers/platform/x86/toshiba_acpi.c ret = misc_register(&dev->miscdev); miscdev 28 drivers/soc/aspeed/aspeed-lpc-ctrl.c struct miscdevice miscdev; miscdev 40 drivers/soc/aspeed/aspeed-lpc-ctrl.c miscdev); miscdev 264 drivers/soc/aspeed/aspeed-lpc-ctrl.c lpc_ctrl->miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 265 drivers/soc/aspeed/aspeed-lpc-ctrl.c lpc_ctrl->miscdev.name = DEVICE_NAME; miscdev 266 drivers/soc/aspeed/aspeed-lpc-ctrl.c lpc_ctrl->miscdev.fops = &aspeed_lpc_ctrl_fops; miscdev 267 drivers/soc/aspeed/aspeed-lpc-ctrl.c lpc_ctrl->miscdev.parent = dev; miscdev 268 drivers/soc/aspeed/aspeed-lpc-ctrl.c rc = misc_register(&lpc_ctrl->miscdev); miscdev 285 drivers/soc/aspeed/aspeed-lpc-ctrl.c misc_deregister(&lpc_ctrl->miscdev); miscdev 64 drivers/soc/aspeed/aspeed-lpc-snoop.c struct miscdevice miscdev; miscdev 77 drivers/soc/aspeed/aspeed-lpc-snoop.c miscdev); miscdev 198 drivers/soc/aspeed/aspeed-lpc-snoop.c lpc_snoop->chan[channel].miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 199 drivers/soc/aspeed/aspeed-lpc-snoop.c lpc_snoop->chan[channel].miscdev.name = miscdev 201 drivers/soc/aspeed/aspeed-lpc-snoop.c lpc_snoop->chan[channel].miscdev.fops = &snoop_fops; miscdev 202 drivers/soc/aspeed/aspeed-lpc-snoop.c lpc_snoop->chan[channel].miscdev.parent = dev; miscdev 203 drivers/soc/aspeed/aspeed-lpc-snoop.c rc = misc_register(&lpc_snoop->chan[channel].miscdev); miscdev 254 drivers/soc/aspeed/aspeed-lpc-snoop.c misc_deregister(&lpc_snoop->chan[channel].miscdev); miscdev 56 drivers/soc/aspeed/aspeed-p2a-ctrl.c struct miscdevice miscdev; miscdev 374 drivers/soc/aspeed/aspeed-p2a-ctrl.c misc_ctrl->miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 375 drivers/soc/aspeed/aspeed-p2a-ctrl.c misc_ctrl->miscdev.name = DEVICE_NAME; miscdev 376 drivers/soc/aspeed/aspeed-p2a-ctrl.c misc_ctrl->miscdev.fops = &aspeed_p2a_ctrl_fops; miscdev 377 drivers/soc/aspeed/aspeed-p2a-ctrl.c misc_ctrl->miscdev.parent = dev; miscdev 379 drivers/soc/aspeed/aspeed-p2a-ctrl.c rc = misc_register(&misc_ctrl->miscdev); miscdev 390 drivers/soc/aspeed/aspeed-p2a-ctrl.c misc_deregister(&p2a_ctrl->miscdev); miscdev 66 drivers/staging/media/tegra-vde/dmabuf-cache.c struct device *dev = vde->miscdev.parent; miscdev 63 drivers/staging/media/tegra-vde/iommu.c struct device *dev = vde->miscdev.parent; miscdev 143 drivers/staging/media/tegra-vde/vde.c struct device *dev = vde->miscdev.parent; miscdev 305 drivers/staging/media/tegra-vde/vde.c struct device *dev = vde->miscdev.parent; miscdev 500 drivers/staging/media/tegra-vde/vde.c struct device *dev = vde->miscdev.parent; miscdev 695 drivers/staging/media/tegra-vde/vde.c struct device *dev = vde->miscdev.parent; miscdev 874 drivers/staging/media/tegra-vde/vde.c struct miscdevice *miscdev = filp->private_data; miscdev 875 drivers/staging/media/tegra-vde/vde.c struct tegra_vde *vde = container_of(miscdev, struct tegra_vde, miscdev 876 drivers/staging/media/tegra-vde/vde.c miscdev); miscdev 883 drivers/staging/media/tegra-vde/vde.c dev_err(miscdev->parent, "Invalid IOCTL command %u\n", cmd); miscdev 890 drivers/staging/media/tegra-vde/vde.c struct miscdevice *miscdev = filp->private_data; miscdev 891 drivers/staging/media/tegra-vde/vde.c struct tegra_vde *vde = container_of(miscdev, struct tegra_vde, miscdev 892 drivers/staging/media/tegra-vde/vde.c miscdev); miscdev 1085 drivers/staging/media/tegra-vde/vde.c vde->miscdev.minor = MISC_DYNAMIC_MINOR; miscdev 1086 drivers/staging/media/tegra-vde/vde.c vde->miscdev.name = "tegra_vde"; miscdev 1087 drivers/staging/media/tegra-vde/vde.c vde->miscdev.fops = &tegra_vde_fops; miscdev 1088 drivers/staging/media/tegra-vde/vde.c vde->miscdev.parent = dev; miscdev 1096 drivers/staging/media/tegra-vde/vde.c err = misc_register(&vde->miscdev); miscdev 1115 drivers/staging/media/tegra-vde/vde.c misc_deregister(&vde->miscdev); miscdev 1142 drivers/staging/media/tegra-vde/vde.c misc_deregister(&vde->miscdev); miscdev 40 drivers/staging/media/tegra-vde/vde.h struct miscdevice miscdev; miscdev 498 drivers/watchdog/intel_scu_watchdog.c watchdog_device.miscdev.minor = WATCHDOG_MINOR; miscdev 499 drivers/watchdog/intel_scu_watchdog.c watchdog_device.miscdev.name = "watchdog"; miscdev 500 drivers/watchdog/intel_scu_watchdog.c watchdog_device.miscdev.fops = &intel_scu_fops; miscdev 502 drivers/watchdog/intel_scu_watchdog.c ret = misc_register(&watchdog_device.miscdev); miscdev 524 drivers/watchdog/intel_scu_watchdog.c misc_deregister(&watchdog_device.miscdev); miscdev 44 drivers/watchdog/intel_scu_watchdog.h struct miscdevice miscdev;