minor 45 arch/arc/kernel/arc_hostlink.c .minor = MISC_DYNAMIC_MINOR, minor 28 arch/arm/mach-imx/mach-qong.c #define QONG_FPGA_VERSION(major, minor, rev) \ minor 29 arch/arm/mach-imx/mach-qong.c (((major & 0xF) << 12) | ((minor & 0xF) << 8) | (rev & 0xFF)) minor 240 arch/ia64/include/asm/sal.h #define SAL_VERSION_CODE(major, minor) ((bin2bcd(major) << 8) | bin2bcd(minor)) minor 310 arch/ia64/include/asm/sal.h u8 minor; /* BCD (0..99) */ minor 162 arch/m68k/bvme6000/rtc.c .minor = RTC_MINOR, minor 34 arch/m68k/emu/nfblock.c static inline s32 nfhd_read_write(u32 major, u32 minor, u32 rwflag, u32 recno, minor 37 arch/m68k/emu/nfblock.c return nf_call(nfhd_id + NFHD_READ_WRITE, major, minor, rwflag, recno, minor 41 arch/m68k/emu/nfblock.c static inline s32 nfhd_get_capacity(u32 major, u32 minor, u32 *blocks, minor 44 arch/m68k/emu/nfblock.c return nf_call(nfhd_id + NFHD_GET_CAPACITY, major, minor, minor 158 arch/m68k/include/uapi/asm/bootinfo.h #define MK_BI_VERSION(major, minor) (((major) << 16) + (minor)) minor 152 arch/m68k/mvme16x/rtc.c .minor = RTC_MINOR, minor 58 arch/mips/ath79/setup.c u32 minor; minor 67 arch/mips/ath79/setup.c minor = id & AR71XX_REV_ID_MINOR_MASK; minor 70 arch/mips/ath79/setup.c switch (minor) { minor 107 arch/mips/ath79/setup.c minor = id & AR913X_REV_ID_MINOR_MASK; minor 110 arch/mips/ath79/setup.c switch (minor) { minor 21 arch/mips/include/asm/mach-ath25/ath25_platform.h u16 minor; /* Board minor number */ minor 155 arch/mips/include/asm/mips-cm.h #define CM_ENCODE_REV(major, minor) \ minor 157 arch/mips/include/asm/mips-cm.h ((minor) << __ffs(CM_GCR_REV_MINOR))) minor 440 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t minor:2; minor 444 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t minor:2; minor 476 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t minor:2; minor 480 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t minor:2; minor 524 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t minor:2; minor 528 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t minor:2; minor 58 arch/mips/include/asm/vpe.h int minor; minor 116 arch/mips/include/asm/vpe.h struct vpe *get_vpe(int minor); minor 118 arch/mips/include/asm/vpe.h struct vpe *alloc_vpe(int minor); minor 341 arch/mips/kernel/rtlx.c int minor = iminor(file_inode(file)); minor 344 arch/mips/kernel/rtlx.c poll_wait(file, &channel_wqs[minor].rt_queue, wait); minor 345 arch/mips/kernel/rtlx.c poll_wait(file, &channel_wqs[minor].lx_queue, wait); minor 351 arch/mips/kernel/rtlx.c if (rtlx_read_poll(minor, 0)) minor 355 arch/mips/kernel/rtlx.c if (rtlx_write_poll(minor)) minor 364 arch/mips/kernel/rtlx.c int minor = iminor(file_inode(file)); minor 367 arch/mips/kernel/rtlx.c if (!rtlx_read_poll(minor, (file->f_flags & O_NONBLOCK) ? 0 : 1)) minor 370 arch/mips/kernel/rtlx.c return rtlx_read(minor, buffer, count); minor 376 arch/mips/kernel/rtlx.c int minor = iminor(file_inode(file)); minor 379 arch/mips/kernel/rtlx.c if (!rtlx_write_poll(minor)) { minor 385 arch/mips/kernel/rtlx.c ret = __wait_event_interruptible(channel_wqs[minor].rt_queue, minor 386 arch/mips/kernel/rtlx.c rtlx_write_poll(minor)); minor 391 arch/mips/kernel/rtlx.c return rtlx_write(minor, buffer, count); minor 52 arch/mips/kernel/vpe-mt.c v->minor); minor 53 arch/mips/kernel/vpe.c struct vpe *get_vpe(int minor) minor 63 arch/mips/kernel/vpe.c if (v->minor == VPE_MODULE_MINOR) { minor 92 arch/mips/kernel/vpe.c struct vpe *alloc_vpe(int minor) minor 106 arch/mips/kernel/vpe.c v->minor = VPE_MODULE_MINOR; minor 391 arch/mips/sibyte/common/sb_tbprof.c int minor; minor 393 arch/mips/sibyte/common/sb_tbprof.c minor = iminor(inode); minor 394 arch/mips/sibyte/common/sb_tbprof.c if (minor != 0) minor 420 arch/mips/sibyte/common/sb_tbprof.c int minor; minor 422 arch/mips/sibyte/common/sb_tbprof.c minor = iminor(inode); minor 423 arch/mips/sibyte/common/sb_tbprof.c if (minor != 0 || sbp.open != SB_CLOSED) minor 21 arch/powerpc/include/asm/ps3.h u16 minor; minor 27 arch/powerpc/include/asm/ps3.h int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev); minor 52 arch/powerpc/include/asm/vdso_datapage.h __u32 minor; /* Minor number 0x14 */ minor 707 arch/powerpc/kernel/vdso.c vdso_data->version.minor = SYSTEMCFG_MINOR; minor 658 arch/powerpc/platforms/52xx/mpc52xx_gpt.c .minor = WATCHDOG_MINOR, minor 330 arch/powerpc/platforms/powernv/opal-prd.c .minor = MISC_DYNAMIC_MINOR, minor 46 arch/powerpc/platforms/ps3/setup.c int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev) minor 52 arch/powerpc/platforms/ps3/setup.c x.minor = minor; minor 194 arch/powerpc/platforms/ps3/setup.c ps3_firmware_version.major, ps3_firmware_version.minor, minor 679 arch/s390/crypto/prng.c .minor = MISC_DYNAMIC_MINOR, minor 685 arch/s390/crypto/prng.c .minor = MISC_DYNAMIC_MINOR, minor 656 arch/s390/pci/pci_clp.c .minor = MISC_DYNAMIC_MINOR, minor 30 arch/sh/boards/mach-landisk/gio.c int minor; minor 34 arch/sh/boards/mach-landisk/gio.c minor = MINOR(inode->i_rdev); minor 35 arch/sh/boards/mach-landisk/gio.c if (minor < DEVCOUNT) { minor 49 arch/sh/boards/mach-landisk/gio.c int minor; minor 51 arch/sh/boards/mach-landisk/gio.c minor = MINOR(inode->i_rdev); minor 52 arch/sh/boards/mach-landisk/gio.c if (minor < DEVCOUNT) { minor 78 arch/sh/kernel/cpu/sh5/unwind.c u8 major, minor; minor 85 arch/sh/kernel/cpu/sh5/unwind.c minor = (op >> 16) & 0xf; minor 105 arch/sh/kernel/cpu/sh5/unwind.c switch (minor) { minor 458 arch/sh/kernel/traps_64.c int major, minor; minor 470 arch/sh/kernel/traps_64.c minor = (opcode >> 16) & 0xf; minor 497 arch/sh/kernel/traps_64.c switch (minor) { minor 517 arch/sh/kernel/traps_64.c switch (minor) { minor 543 arch/sh/kernel/traps_64.c switch (minor) { minor 568 arch/sh/kernel/traps_64.c switch (minor) { minor 650 arch/sh/kernel/traps_64.c unsigned long major, minor, combined; minor 688 arch/sh/kernel/traps_64.c minor = (opcode >> 16) & 0xf; minor 689 arch/sh/kernel/traps_64.c combined = (major << 4) | minor; minor 691 arch/sh/kernel/traps_64.c shift = minor << 1; minor 3512 arch/sparc/include/asm/hypervisor.h unsigned long *minor); minor 3515 arch/sparc/include/asm/hypervisor.h unsigned long minor, minor 3519 arch/sparc/include/asm/hypervisor.h unsigned long *minor); minor 3523 arch/sparc/include/asm/hypervisor.h unsigned long *minor); minor 50 arch/sparc/include/asm/vio.h u16 minor; minor 374 arch/sparc/include/asm/vio.h u16 minor; minor 445 arch/sparc/include/asm/vio.h u16 major, u16 minor) minor 447 arch/sparc/include/asm/vio.h u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; minor 448 arch/sparc/include/asm/vio.h u32 want = (u32)major << 16 | minor; minor 454 arch/sparc/include/asm/vio.h u16 major, u16 minor) minor 456 arch/sparc/include/asm/vio.h u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; minor 457 arch/sparc/include/asm/vio.h u32 want = (u32)major << 16 | minor; minor 463 arch/sparc/include/asm/vio.h u16 major, u16 minor) minor 465 arch/sparc/include/asm/vio.h u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; minor 466 arch/sparc/include/asm/vio.h u32 want = (u32)major << 16 | minor; minor 67 arch/sparc/kernel/ds.c __u16 minor; minor 77 arch/sparc/kernel/ds.c __u16 minor; minor 89 arch/sparc/kernel/ds.c __u16 minor; minor 96 arch/sparc/kernel/ds.c __u16 minor; minor 912 arch/sparc/kernel/ds.c pbuf.req.minor = 0; minor 1073 arch/sparc/kernel/ds.c req.ver.minor = 0; minor 1260 arch/sparc/kernel/ds.c unsigned long hv_ret, major, minor; minor 1263 arch/sparc/kernel/ds.c hv_ret = sun4v_get_version(HV_GRP_REBOOT_DATA, &major, &minor); minor 1266 arch/sparc/kernel/ds.c major, minor); minor 21 arch/sparc/kernel/hvapi.c unsigned long minor; minor 81 arch/sparc/kernel/hvapi.c p->major = p->minor = 0; minor 97 arch/sparc/kernel/hvapi.c unsigned long *minor) minor 110 arch/sparc/kernel/hvapi.c *minor = p->minor; minor 117 arch/sparc/kernel/hvapi.c hv_ret = sun4v_set_version(group, major, *minor, minor 121 arch/sparc/kernel/hvapi.c *minor = actual_minor; minor 123 arch/sparc/kernel/hvapi.c p->minor = actual_minor; minor 130 arch/sparc/kernel/hvapi.c p->minor = 0; minor 131 arch/sparc/kernel/hvapi.c *minor = 0; minor 162 arch/sparc/kernel/hvapi.c unsigned long *minor) minor 173 arch/sparc/kernel/hvapi.c *minor = p->minor; minor 184 arch/sparc/kernel/hvapi.c unsigned long group, major, minor; minor 188 arch/sparc/kernel/hvapi.c minor = 0; minor 189 arch/sparc/kernel/hvapi.c if (sun4v_hvapi_register(group, major, &minor)) minor 194 arch/sparc/kernel/hvapi.c minor = 6; minor 195 arch/sparc/kernel/hvapi.c if (sun4v_hvapi_register(group, major, &minor)) minor 203 arch/sparc/kernel/hvapi.c group, major, minor); minor 154 arch/sparc/kernel/irq_64.c unsigned long hv_error, major, minor = 0; minor 164 arch/sparc/kernel/irq_64.c hv_error = sun4v_hvapi_register(HV_GRP_INTR, major, &minor); minor 81 arch/sparc/kernel/ldc.c u16 minor; minor 86 arch/sparc/kernel/ldc.c { .major = 1, .minor = 0 }, minor 376 arch/sparc/kernel/ldc.c ver->major, ver->minor); minor 390 arch/sparc/kernel/ldc.c u16 major, u16 minor) minor 397 arch/sparc/kernel/ldc.c ver.minor = minor; minor 403 arch/sparc/kernel/ldc.c ver.major, ver.minor); minor 420 arch/sparc/kernel/ldc.c vp->major, vp->minor); minor 579 arch/sparc/kernel/ldc.c vp->major, vp->minor); minor 590 arch/sparc/kernel/ldc.c err = send_version_nack(lp, vap->major, vap->minor); minor 593 arch/sparc/kernel/ldc.c if (ver.minor > vap->minor) minor 594 arch/sparc/kernel/ldc.c ver.minor = vap->minor; minor 610 arch/sparc/kernel/ldc.c vp->major, vp->minor); minor 614 arch/sparc/kernel/ldc.c lp->ver.minor != vp->minor) minor 631 arch/sparc/kernel/ldc.c if (vp->major == 0 && vp->minor == 0) minor 2388 arch/sparc/kernel/ldc.c unsigned long major, minor; minor 2408 arch/sparc/kernel/ldc.c minor = 0; minor 2409 arch/sparc/kernel/ldc.c if (sun4v_hvapi_register(HV_GRP_LDOM, major, &minor)) { minor 1312 arch/sparc/kernel/mdesc.c .minor = MISC_DYNAMIC_MINOR, minor 40 arch/sparc/kernel/pci_sun4v.c unsigned long minor; minor 45 arch/sparc/kernel/pci_sun4v.c { .major = 2, .minor = 0 }, minor 46 arch/sparc/kernel/pci_sun4v.c { .major = 1, .minor = 1 }, minor 1239 arch/sparc/kernel/pci_sun4v.c vpci_minor = vpci_versions[i].minor; minor 1507 arch/sparc/kernel/smp_64.c unsigned long minor; minor 1513 arch/sparc/kernel/smp_64.c ret = sun4v_hvapi_get(HV_GRP_CORE, &major, &minor); minor 1519 arch/sparc/kernel/smp_64.c if (major == 1 && minor >= 6) { minor 92 arch/sparc/kernel/sstate.c unsigned long major, minor; minor 98 arch/sparc/kernel/sstate.c minor = 0; minor 99 arch/sparc/kernel/sstate.c if (sun4v_hvapi_register(HV_GRP_SOFT_STATE, major, &minor)) minor 48 arch/sparc/kernel/viohs.c static int send_version(struct vio_driver_state *vio, u16 major, u16 minor) minor 57 arch/sparc/kernel/viohs.c pkt.minor = minor; minor 61 arch/sparc/kernel/viohs.c major, minor, vio->dev_class); minor 76 arch/sparc/kernel/viohs.c vio->ver_table[0].minor); minor 262 arch/sparc/kernel/viohs.c pkt->major, pkt->minor, pkt->dev_class); minor 277 arch/sparc/kernel/viohs.c pkt->minor = 0; minor 283 arch/sparc/kernel/viohs.c pkt->minor = vap->minor; minor 285 arch/sparc/kernel/viohs.c pkt->major, pkt->minor); minor 290 arch/sparc/kernel/viohs.c .minor = pkt->minor, minor 292 arch/sparc/kernel/viohs.c if (ver.minor > vap->minor) minor 293 arch/sparc/kernel/viohs.c ver.minor = vap->minor; minor 294 arch/sparc/kernel/viohs.c pkt->minor = ver.minor; minor 298 arch/sparc/kernel/viohs.c pkt->major, pkt->minor); minor 315 arch/sparc/kernel/viohs.c pkt->major, pkt->minor, pkt->dev_class); minor 319 arch/sparc/kernel/viohs.c vio->ver.minor != pkt->minor) { minor 326 arch/sparc/kernel/viohs.c vio->ver.minor = pkt->minor; minor 350 arch/sparc/kernel/viohs.c pkt->major, pkt->minor, pkt->dev_class); minor 352 arch/sparc/kernel/viohs.c if (pkt->major == 0 && pkt->minor == 0) minor 358 arch/sparc/kernel/viohs.c if (send_version(vio, nver->major, nver->minor) < 0) minor 174 arch/um/drivers/harddog_kern.c .minor = WATCHDOG_MINOR, minor 98 arch/um/drivers/mmapper_kern.c .minor = MISC_DYNAMIC_MINOR, minor 179 arch/um/include/shared/os.h extern unsigned long long os_makedev(unsigned major, unsigned minor); minor 608 arch/um/os-Linux/file.c return minor(dev); minor 611 arch/um/os-Linux/file.c unsigned long long os_makedev(unsigned major, unsigned minor) minor 613 arch/um/os-Linux/file.c return makedev(major, minor); minor 464 arch/x86/kernel/cpu/microcode/core.c .minor = MICROCODE_MINOR, minor 181 arch/x86/kernel/cpu/resctrl/internal.h unsigned int minor; minor 113 arch/x86/kernel/cpu/resctrl/pseudo_lock.c static int pseudo_lock_minor_get(unsigned int *minor) minor 123 arch/x86/kernel/cpu/resctrl/pseudo_lock.c *minor = first_bit; minor 132 arch/x86/kernel/cpu/resctrl/pseudo_lock.c static void pseudo_lock_minor_release(unsigned int minor) minor 134 arch/x86/kernel/cpu/resctrl/pseudo_lock.c __set_bit(minor, &pseudo_lock_minor_avail); minor 151 arch/x86/kernel/cpu/resctrl/pseudo_lock.c static struct rdtgroup *region_find_by_minor(unsigned int minor) minor 156 arch/x86/kernel/cpu/resctrl/pseudo_lock.c if (rdtgrp->plr && rdtgrp->plr->minor == minor) { minor 1363 arch/x86/kernel/cpu/resctrl/pseudo_lock.c plr->minor = new_minor; minor 1415 arch/x86/kernel/cpu/resctrl/pseudo_lock.c device_destroy(pseudo_lock_class, MKDEV(pseudo_lock_major, plr->minor)); minor 1416 arch/x86/kernel/cpu/resctrl/pseudo_lock.c pseudo_lock_minor_release(plr->minor); minor 87 arch/x86/xen/enlighten_hvm.c int major, minor; minor 94 arch/x86/xen/enlighten_hvm.c minor = eax & 0xffff; minor 95 arch/x86/xen/enlighten_hvm.c printk(KERN_INFO "Xen version %d.%d.\n", major, minor); minor 154 arch/x86/xen/enlighten_pv.c xen_running_on_version_or_later(unsigned int major, unsigned int minor) minor 162 arch/x86/xen/enlighten_pv.c if ((((version >> 16) == major) && ((version & 0xffff) >= minor)) || minor 770 block/blk-cgroup.c unsigned int major, minor; minor 774 block/blk-cgroup.c if (sscanf(input, "%u:%u%n", &major, &minor, &key_len) != 2) minor 782 block/blk-cgroup.c disk = get_gendisk(MKDEV(major, minor), &part); minor 264 block/bsg.c static struct bsg_device *__bsg_get_device(int minor, struct request_queue *q) minor 270 block/bsg.c hlist_for_each_entry(bd, bsg_dev_idx_hash(minor), dev_list) { minor 397 block/bsg.c idr_remove(&bsg_minor_idr, bcd->minor); minor 434 block/bsg.c bcd->minor = ret; minor 437 block/bsg.c dev = MKDEV(bsg_major, bcd->minor); minor 457 block/bsg.c idr_remove(&bsg_minor_idr, bcd->minor); minor 455 block/genhd.c static int blk_mangle_minor(int minor) minor 461 block/genhd.c int low = minor & (1 << i); minor 462 block/genhd.c int high = minor & (1 << (MINORBITS - 1 - i)); minor 465 block/genhd.c minor ^= low | high; /* clear both bits */ minor 468 block/genhd.c minor |= low | high; /* and set */ minor 471 block/genhd.c return minor; minor 206 drivers/acpi/apei/erst-dbg.c .minor = MISC_DYNAMIC_MINOR, minor 6087 drivers/android/binder.c binder_device->miscdev.minor = MISC_DYNAMIC_MINOR; minor 103 drivers/android/binderfs.c int minor, ret; minor 120 drivers/android/binderfs.c minor = ida_alloc_max(&binderfs_minors, minor 125 drivers/android/binderfs.c minor = -ENOSPC; minor 126 drivers/android/binderfs.c if (minor < 0) { minor 129 drivers/android/binderfs.c return minor; minor 142 drivers/android/binderfs.c inode->i_ino = minor + INODE_OFFSET; minor 145 drivers/android/binderfs.c MKDEV(MAJOR(binderfs_dev), minor)); minor 162 drivers/android/binderfs.c device->miscdev.minor = minor; minor 166 drivers/android/binderfs.c req->minor = minor; minor 204 drivers/android/binderfs.c ida_free(&binderfs_minors, minor); minor 258 drivers/android/binderfs.c ida_free(&binderfs_minors, device->miscdev.minor); minor 404 drivers/android/binderfs.c int minor, ret; minor 433 drivers/android/binderfs.c minor = ida_alloc_max(&binderfs_minors, minor 438 drivers/android/binderfs.c if (minor < 0) { minor 439 drivers/android/binderfs.c ret = minor; minor 446 drivers/android/binderfs.c MKDEV(MAJOR(binderfs_dev), minor)); minor 453 drivers/android/binderfs.c device->miscdev.minor = minor; minor 2022 drivers/atm/ambassador.c u32 minor; minor 2030 drivers/atm/ambassador.c minor = be32_to_cpu (cmd.args.version.minor); minor 2031 drivers/atm/ambassador.c PRINTK (KERN_INFO, "microcode version is %u.%u", major, minor); minor 377 drivers/atm/ambassador.h __be32 minor; minor 744 drivers/auxdisplay/charlcd.c .minor = LCD_MINOR, minor 1134 drivers/auxdisplay/panel.c .minor = KEYPAD_MINOR, minor 46 drivers/block/aoe/aoe.h unsigned char minor; minor 29 drivers/block/aoe/aoechr.c ulong minor; minor 82 drivers/block/aoe/aoechr.c int major, minor, n; minor 94 drivers/block/aoe/aoechr.c n = sscanf(buf, "e%d.%d", &major, &minor); minor 99 drivers/block/aoe/aoechr.c d = aoedev_by_aoeaddr(major, minor, 0); minor 104 drivers/block/aoe/aoechr.c aoecmd_cfg(major, minor); minor 198 drivers/block/aoe/aoechr.c if (chardevs[i].minor == n) { minor 304 drivers/block/aoe/aoechr.c MKDEV(AOE_MAJOR, chardevs[i].minor), NULL, minor 316 drivers/block/aoe/aoechr.c device_destroy(aoe_class, MKDEV(AOE_MAJOR, chardevs[i].minor)); minor 138 drivers/block/aoe/aoecmd.c h->minor = d->aoeminor; minor 442 drivers/block/aoe/aoecmd.c h->minor = aoeminor; minor 1165 drivers/block/aoe/aoecmd.c hin->minor); minor 1314 drivers/block/aoe/aoecmd.c d = aoedev_by_aoeaddr(aoemajor, h->minor, 0); minor 1318 drivers/block/aoe/aoecmd.c aoemajor, h->minor); minor 1344 drivers/block/aoe/aoecmd.c h->minor, minor 1552 drivers/block/aoe/aoecmd.c aoemajor, (int) h->minor); minor 1555 drivers/block/aoe/aoecmd.c if (h->minor == 0xff) { minor 1557 drivers/block/aoe/aoecmd.c aoemajor, (int) h->minor); minor 1565 drivers/block/aoe/aoecmd.c d = aoedev_by_aoeaddr(aoemajor, h->minor, 1); minor 112 drivers/block/aoe/aoedev.c minor_free(ulong minor) minor 116 drivers/block/aoe/aoedev.c minor /= AOE_PARTITIONS; minor 117 drivers/block/aoe/aoedev.c BUG_ON(minor >= N_DEVS); minor 120 drivers/block/aoe/aoedev.c BUG_ON(!test_bit(minor, used_minors)); minor 121 drivers/block/aoe/aoedev.c clear_bit(minor, used_minors); minor 167 drivers/block/aoe/aoenet.c h->minor, skb->dev->name, minor 124 drivers/block/drbd/drbd_debugfs.c seq_printf(m, "%u\t%u\t", req->device->minor, req->device->vnr); minor 144 drivers/block/drbd/drbd_debugfs.c device->minor, device->vnr, minor 180 drivers/block/drbd/drbd_debugfs.c seq_printf(m, "%u\t%u\t", device->minor, device->vnr); minor 209 drivers/block/drbd/drbd_debugfs.c device->minor, device->vnr, minor 257 drivers/block/drbd/drbd_debugfs.c seq_printf(m, "%u\t%u\t", device->minor, device->vnr); minor 282 drivers/block/drbd/drbd_debugfs.c device->minor, device->vnr, minor 786 drivers/block/drbd/drbd_debugfs.c snprintf(minor_buf, sizeof(minor_buf), "%u", device->minor); minor 832 drivers/block/drbd/drbd_int.h unsigned int minor; /* device minor number */ minor 991 drivers/block/drbd/drbd_int.h unsigned int minor; minor 1011 drivers/block/drbd/drbd_int.h static inline struct drbd_device *minor_to_device(unsigned int minor) minor 1013 drivers/block/drbd/drbd_int.h return (struct drbd_device *)idr_find(&drbd_devices, minor); minor 1056 drivers/block/drbd/drbd_int.h return device->minor; minor 1435 drivers/block/drbd/drbd_int.h extern enum drbd_ret_code drbd_create_device(struct drbd_config_context *adm_ctx, unsigned int minor); minor 482 drivers/block/drbd/drbd_main.c int vnr = 0, minor = -1; minor 487 drivers/block/drbd/drbd_main.c minor = device_to_minor(peer_device->device); minor 490 drivers/block/drbd/drbd_main.c return minor; minor 2766 drivers/block/drbd/drbd_main.c alloc_ordered_workqueue("drbd%u_submit", WQ_MEM_RECLAIM, device->minor); minor 2775 drivers/block/drbd/drbd_main.c enum drbd_ret_code drbd_create_device(struct drbd_config_context *adm_ctx, unsigned int minor) minor 2787 drivers/block/drbd/drbd_main.c device = minor_to_device(minor); minor 2799 drivers/block/drbd/drbd_main.c device->minor = minor; minor 2819 drivers/block/drbd/drbd_main.c disk->first_minor = minor; minor 2821 drivers/block/drbd/drbd_main.c sprintf(disk->disk_name, "drbd%d", minor); minor 2824 drivers/block/drbd/drbd_main.c device->this_bdev = bdget(MKDEV(DRBD_MAJOR, minor)); minor 2846 drivers/block/drbd/drbd_main.c id = idr_alloc(&drbd_devices, device, minor, minor + 1, GFP_KERNEL); minor 2917 drivers/block/drbd/drbd_main.c idr_remove(&drbd_devices, minor); minor 187 drivers/block/drbd/drbd_nl.c adm_ctx->reply_dh->minor = d_in->minor; minor 224 drivers/block/drbd/drbd_nl.c adm_ctx->minor = d_in->minor; minor 225 drivers/block/drbd/drbd_nl.c adm_ctx->device = minor_to_device(d_in->minor); minor 272 drivers/block/drbd/drbd_nl.c adm_ctx->minor, adm_ctx->resource->name, minor 281 drivers/block/drbd/drbd_nl.c adm_ctx->minor, adm_ctx->volume, minor 3338 drivers/block/drbd/drbd_nl.c dh->minor = -1U; minor 3427 drivers/block/drbd/drbd_nl.c int minor, err, retcode; minor 3446 drivers/block/drbd/drbd_nl.c minor = cb->args[1]; minor 3448 drivers/block/drbd/drbd_nl.c device = idr_get_next(idr_to_search, &minor); minor 3453 drivers/block/drbd/drbd_nl.c idr_for_each_entry_continue(idr_to_search, device, minor) { minor 3468 drivers/block/drbd/drbd_nl.c dh->minor = -1U; minor 3470 drivers/block/drbd/drbd_nl.c dh->minor = device->minor; minor 3492 drivers/block/drbd/drbd_nl.c cb->args[1] = minor + 1; minor 3594 drivers/block/drbd/drbd_nl.c dh->minor = -1U; minor 3679 drivers/block/drbd/drbd_nl.c int minor, err, retcode; minor 3696 drivers/block/drbd/drbd_nl.c minor = cb->args[1]; minor 3698 drivers/block/drbd/drbd_nl.c device = idr_find(idr_to_search, minor); minor 3701 drivers/block/drbd/drbd_nl.c minor++; minor 3703 drivers/block/drbd/drbd_nl.c device = idr_get_next(idr_to_search, &minor); minor 3736 drivers/block/drbd/drbd_nl.c dh->minor = -1U; minor 3741 drivers/block/drbd/drbd_nl.c dh->minor = minor; minor 3753 drivers/block/drbd/drbd_nl.c cb->args[1] = minor; minor 4003 drivers/block/drbd/drbd_nl.c dh->minor = -1U; minor 4021 drivers/block/drbd/drbd_nl.c dh->minor = device_to_minor(device); minor 4358 drivers/block/drbd/drbd_nl.c if (dh->minor > MINORMASK) { minor 4379 drivers/block/drbd/drbd_nl.c retcode = drbd_create_device(&adm_ctx, dh->minor); minor 4387 drivers/block/drbd/drbd_nl.c device = minor_to_device(dh->minor); minor 4602 drivers/block/drbd/drbd_nl.c d_out->minor = device_to_minor(device); minor 4657 drivers/block/drbd/drbd_nl.c dh->minor = -1U; minor 4708 drivers/block/drbd/drbd_nl.c dh->minor = device->minor; minor 4757 drivers/block/drbd/drbd_nl.c dh->minor = -1U; minor 4807 drivers/block/drbd/drbd_nl.c dh->minor = -1U; minor 4856 drivers/block/drbd/drbd_nl.c dh->minor = device ? device->minor : -1; minor 4889 drivers/block/drbd/drbd_nl.c dh->minor = -1U; minor 200 drivers/block/drbd/drbd_worker.c device->minor, device->resource->name, device->vnr); minor 2230 drivers/block/loop.c .minor = LOOP_CTRL_MINOR, minor 377 drivers/block/pktcdvd.c unsigned int major, minor; minor 379 drivers/block/pktcdvd.c if (sscanf(buf, "%u:%u", &major, &minor) == 2) { minor 384 drivers/block/pktcdvd.c pkt_setup_dev(MKDEV(major, minor), NULL); minor 398 drivers/block/pktcdvd.c unsigned int major, minor; minor 399 drivers/block/pktcdvd.c if (sscanf(buf, "%u:%u", &major, &minor) == 2) { minor 400 drivers/block/pktcdvd.c pkt_remove_dev(MKDEV(major, minor)); minor 2915 drivers/block/pktcdvd.c .minor = MISC_DYNAMIC_MINOR, minor 390 drivers/block/rbd.c int minor; minor 512 drivers/block/rbd.c static int minor_to_rbd_dev_id(int minor) minor 514 drivers/block/rbd.c return minor >> RBD_SINGLE_MAJOR_PART_SHIFT; minor 5138 drivers/block/rbd.c disk->first_minor = rbd_dev->minor; minor 5247 drivers/block/rbd.c return sprintf(buf, "%d\n", rbd_dev->minor); minor 5404 drivers/block/rbd.c static DEVICE_ATTR(minor, 0444, rbd_minor_show, NULL); minor 6883 drivers/block/rbd.c rbd_dev->minor = 0; minor 6886 drivers/block/rbd.c rbd_dev->minor = rbd_dev_id_to_minor(rbd_dev->dev_id); minor 103 drivers/block/sunvdc.c { .major = 1, .minor = 2 }, minor 104 drivers/block/sunvdc.c { .major = 1, .minor = 1 }, minor 105 drivers/block/sunvdc.c { .major = 1, .minor = 0 }, minor 109 drivers/block/sunvdc.c u16 major, u16 minor) minor 111 drivers/block/sunvdc.c return port->vio.ver.major == major && port->vio.ver.minor >= minor; minor 899 drivers/block/sunvdc.c port->vio.ver.major, port->vio.ver.minor); minor 489 drivers/block/virtio_blk.c static int minor_to_index(int minor) minor 491 drivers/block/virtio_blk.c return minor >> PART_BITS; minor 26 drivers/block/xen-blkback/xenbus.c unsigned minor; minor 411 drivers/block/xen-blkback/xenbus.c VBD_SHOW(physical_device, "%x:%x\n", be->major, be->minor); minor 454 drivers/block/xen-blkback/xenbus.c unsigned major, unsigned minor, int readonly, minor 466 drivers/block/xen-blkback/xenbus.c vbd->pdevice = MKDEV(major, minor); minor 508 drivers/block/xen-blkback/xenbus.c if (be->major || be->minor) minor 680 drivers/block/xen-blkback/xenbus.c unsigned minor; minor 691 drivers/block/xen-blkback/xenbus.c &major, &minor); minor 705 drivers/block/xen-blkback/xenbus.c if (be->major | be->minor) { minor 706 drivers/block/xen-blkback/xenbus.c if (be->major != major || be->minor != minor) minor 708 drivers/block/xen-blkback/xenbus.c be->major, be->minor, major, minor); minor 735 drivers/block/xen-blkback/xenbus.c be->minor = minor; minor 737 drivers/block/xen-blkback/xenbus.c err = xen_vbd_create(be->blkif, handle, major, minor, minor 754 drivers/block/xen-blkback/xenbus.c be->minor = 0; minor 423 drivers/block/xen-blkfront.c static int xlbd_reserve_minors(unsigned int minor, unsigned int nr) minor 425 drivers/block/xen-blkfront.c unsigned int end = minor + nr; minor 450 drivers/block/xen-blkfront.c if (find_next_bit(minors, end, minor) >= end) { minor 451 drivers/block/xen-blkfront.c bitmap_set(minors, minor, nr); minor 460 drivers/block/xen-blkfront.c static void xlbd_release_minors(unsigned int minor, unsigned int nr) minor 462 drivers/block/xen-blkfront.c unsigned int end = minor + nr; minor 466 drivers/block/xen-blkfront.c bitmap_clear(minors, minor, nr); minor 1024 drivers/block/xen-blkfront.c static int xen_translate_vdev(int vdevice, int *minor, unsigned int *offset) minor 1028 drivers/block/xen-blkfront.c *minor = BLKIF_MINOR(vdevice); minor 1031 drivers/block/xen-blkfront.c *offset = (*minor / 64) + EMULATED_HD_DISK_NAME_OFFSET; minor 1032 drivers/block/xen-blkfront.c *minor = ((*minor / 64) * PARTS_PER_DISK) + minor 1036 drivers/block/xen-blkfront.c *offset = (*minor / 64) + 2 + EMULATED_HD_DISK_NAME_OFFSET; minor 1037 drivers/block/xen-blkfront.c *minor = (((*minor / 64) + 2) * PARTS_PER_DISK) + minor 1041 drivers/block/xen-blkfront.c *offset = (*minor / PARTS_PER_DISK) + EMULATED_SD_DISK_NAME_OFFSET; minor 1042 drivers/block/xen-blkfront.c *minor = *minor + EMULATED_SD_DISK_MINOR_OFFSET; minor 1051 drivers/block/xen-blkfront.c *offset = (*minor / PARTS_PER_DISK) + minor 1054 drivers/block/xen-blkfront.c *minor = *minor + minor 1066 drivers/block/xen-blkfront.c *offset = (*minor / PARTS_PER_DISK) + minor 1069 drivers/block/xen-blkfront.c *minor = *minor + minor 1074 drivers/block/xen-blkfront.c *offset = *minor / PARTS_PER_DISK; minor 1101 drivers/block/xen-blkfront.c int minor; minor 1115 drivers/block/xen-blkfront.c err = xen_translate_vdev(info->vdevice, &minor, &offset); minor 1120 drivers/block/xen-blkfront.c minor = BLKIF_MINOR_EXT(info->vdevice); minor 1122 drivers/block/xen-blkfront.c offset = minor / nr_parts; minor 1128 drivers/block/xen-blkfront.c if (minor >> MINORBITS) { minor 1130 drivers/block/xen-blkfront.c info->vdevice, minor); minor 1134 drivers/block/xen-blkfront.c if ((minor % nr_parts) == 0) minor 1137 drivers/block/xen-blkfront.c err = xlbd_reserve_minors(minor, nr_minors); minor 1153 drivers/block/xen-blkfront.c "%d", minor & (nr_parts - 1)); minor 1156 drivers/block/xen-blkfront.c gd->first_minor = minor; minor 1180 drivers/block/xen-blkfront.c xlbd_release_minors(minor, nr_minors); minor 1187 drivers/block/xen-blkfront.c unsigned int minor, nr_minors, i; minor 1207 drivers/block/xen-blkfront.c minor = info->gd->first_minor; minor 1209 drivers/block/xen-blkfront.c xlbd_release_minors(minor, nr_minors); minor 363 drivers/bluetooth/hci_vhci.c .minor = VHCI_MINOR, minor 67 drivers/bus/fsl-mc/fsl-mc-bus.c u32 minor; minor 351 drivers/bus/fsl-mc/fsl-mc-bus.c mc_ver_info->minor = le32_to_cpu(rsp_params->version_minor); minor 858 drivers/bus/fsl-mc/fsl-mc-bus.c mc_version.major, mc_version.minor, mc_version.revision); minor 215 drivers/char/adi.c .minor = MISC_DYNAMIC_MINOR, minor 51 drivers/char/agp/backend.c .minor = AGPGART_VERSION_MINOR, minor 46 drivers/char/agp/compat_ioctl.c userinfo.version.minor = kerninfo.version.minor; minor 676 drivers/char/agp/frontend.c int minor = iminor(inode); minor 680 drivers/char/agp/frontend.c if (minor != AGPGART_MINOR) minor 722 drivers/char/agp/frontend.c userinfo.version.minor = kerninfo.version.minor; minor 1048 drivers/char/agp/frontend.c .minor = AGPGART_MINOR, minor 372 drivers/char/agp/generic.c info->version.minor = bridge->version->minor; minor 391 drivers/char/apm-emulation.c .minor = APM_MINOR_DEV, minor 129 drivers/char/dtlk.c unsigned int minor = iminor(file_inode(file)); minor 136 drivers/char/dtlk.c if (minor != DTLK_MINOR || !dtlk_has_indexing) minor 288 drivers/char/hw_random/core.c .minor = HWRNG_MINOR, minor 156 drivers/char/hw_random/s390-trng.c .minor = MISC_DYNAMIC_MINOR, minor 470 drivers/char/ipmi/bt-bmc.c bt_bmc->miscdev.minor = MISC_DYNAMIC_MINOR, minor 307 drivers/char/ipmi/ipmb_dev_int.c ipmb_dev->miscdev.minor = MISC_DYNAMIC_MINOR; minor 1374 drivers/char/ipmi/ipmi_msghandler.c unsigned char *minor) minor 1386 drivers/char/ipmi/ipmi_msghandler.c *minor = ipmi_version_minor(&id); minor 903 drivers/char/ipmi/ipmi_watchdog.c .minor = WATCHDOG_MINOR, minor 444 drivers/char/ipmi/kcs_bmc.c kcs_bmc->miscdev.minor = MISC_DYNAMIC_MINOR; minor 207 drivers/char/lp.c static int lp_reset(int minor) minor 210 drivers/char/lp.c lp_claim_parport_or_block(&lp_table[minor]); minor 211 drivers/char/lp.c w_ctr(minor, LP_PSELECP); minor 213 drivers/char/lp.c w_ctr(minor, LP_PSELECP | LP_PINITP); minor 214 drivers/char/lp.c retval = r_str(minor); minor 215 drivers/char/lp.c lp_release_parport(&lp_table[minor]); minor 219 drivers/char/lp.c static void lp_error(int minor) minor 224 drivers/char/lp.c if (LP_F(minor) & LP_ABORT) minor 227 drivers/char/lp.c polling = lp_table[minor].dev->port->irq == PARPORT_IRQ_NONE; minor 229 drivers/char/lp.c lp_release_parport(&lp_table[minor]); minor 230 drivers/char/lp.c prepare_to_wait(&lp_table[minor].waitq, &wait, TASK_INTERRUPTIBLE); minor 232 drivers/char/lp.c finish_wait(&lp_table[minor].waitq, &wait); minor 234 drivers/char/lp.c lp_claim_parport_or_block(&lp_table[minor]); minor 236 drivers/char/lp.c parport_yield_blocking(lp_table[minor].dev); minor 239 drivers/char/lp.c static int lp_check_status(int minor) minor 242 drivers/char/lp.c unsigned int last = lp_table[minor].last_error; minor 243 drivers/char/lp.c unsigned char status = r_str(minor); minor 244 drivers/char/lp.c if ((status & LP_PERRORP) && !(LP_F(minor) & LP_CAREFUL)) minor 250 drivers/char/lp.c printk(KERN_INFO "lp%d out of paper\n", minor); minor 256 drivers/char/lp.c printk(KERN_INFO "lp%d off-line\n", minor); minor 262 drivers/char/lp.c printk(KERN_INFO "lp%d on fire\n", minor); minor 270 drivers/char/lp.c lp_table[minor].last_error = last; minor 273 drivers/char/lp.c lp_error(minor); minor 278 drivers/char/lp.c static int lp_wait_ready(int minor, int nonblock) minor 283 drivers/char/lp.c if (lp_table[minor].current_mode != IEEE1284_MODE_COMPAT) { minor 288 drivers/char/lp.c error = lp_check_status(minor); minor 289 drivers/char/lp.c if (error && (nonblock || (LP_F(minor) & LP_ABORT))) minor 302 drivers/char/lp.c unsigned int minor = iminor(file_inode(file)); minor 303 drivers/char/lp.c struct parport *port = lp_table[minor].dev->port; minor 304 drivers/char/lp.c char *kbuf = lp_table[minor].lp_buffer; minor 309 drivers/char/lp.c (LP_F(minor) & LP_ABORT)); minor 312 drivers/char/lp.c if (time_after(jiffies, lp_table[minor].lastcall + LP_TIME(minor))) minor 313 drivers/char/lp.c lp_table[minor].runchars = 0; minor 315 drivers/char/lp.c lp_table[minor].lastcall = jiffies; minor 322 drivers/char/lp.c if (mutex_lock_interruptible(&lp_table[minor].port_mutex)) minor 332 drivers/char/lp.c lp_claim_parport_or_block(&lp_table[minor]); minor 334 drivers/char/lp.c lp_table[minor].current_mode = lp_negotiate(port, minor 335 drivers/char/lp.c lp_table[minor].best_mode); minor 337 drivers/char/lp.c parport_set_timeout(lp_table[minor].dev, minor 339 drivers/char/lp.c : lp_table[minor].timeout)); minor 341 drivers/char/lp.c if ((retv = lp_wait_ready(minor, nonblock)) == 0) minor 363 drivers/char/lp.c parport_negotiate(lp_table[minor].dev->port, minor 365 drivers/char/lp.c lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; minor 367 drivers/char/lp.c error = lp_wait_ready(minor, nonblock); minor 379 drivers/char/lp.c parport_yield_blocking(lp_table[minor].dev); minor 380 drivers/char/lp.c lp_table[minor].current_mode minor 382 drivers/char/lp.c lp_table[minor].best_mode); minor 401 drivers/char/lp.c &lp_table[minor].bits)) { minor 402 drivers/char/lp.c printk(KERN_INFO "lp%d releasing parport\n", minor); minor 403 drivers/char/lp.c parport_negotiate(lp_table[minor].dev->port, minor 405 drivers/char/lp.c lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; minor 406 drivers/char/lp.c lp_release_parport(&lp_table[minor]); minor 409 drivers/char/lp.c mutex_unlock(&lp_table[minor].port_mutex); minor 421 drivers/char/lp.c unsigned int minor=iminor(file_inode(file)); minor 422 drivers/char/lp.c struct parport *port = lp_table[minor].dev->port; minor 424 drivers/char/lp.c char *kbuf = lp_table[minor].lp_buffer; minor 426 drivers/char/lp.c (LP_F(minor) & LP_ABORT)); minor 431 drivers/char/lp.c if (mutex_lock_interruptible(&lp_table[minor].port_mutex)) minor 434 drivers/char/lp.c lp_claim_parport_or_block(&lp_table[minor]); minor 436 drivers/char/lp.c parport_set_timeout(lp_table[minor].dev, minor 438 drivers/char/lp.c : lp_table[minor].timeout)); minor 440 drivers/char/lp.c parport_negotiate(lp_table[minor].dev->port, IEEE1284_MODE_COMPAT); minor 441 drivers/char/lp.c if (parport_negotiate(lp_table[minor].dev->port, minor 460 drivers/char/lp.c if (lp_table[minor].dev->port->irq == PARPORT_IRQ_NONE) { minor 461 drivers/char/lp.c parport_negotiate(lp_table[minor].dev->port, minor 463 drivers/char/lp.c lp_error(minor); minor 464 drivers/char/lp.c if (parport_negotiate(lp_table[minor].dev->port, minor 470 drivers/char/lp.c prepare_to_wait(&lp_table[minor].waitq, &wait, TASK_INTERRUPTIBLE); minor 472 drivers/char/lp.c finish_wait(&lp_table[minor].waitq, &wait); minor 482 drivers/char/lp.c parport_negotiate(lp_table[minor].dev->port, IEEE1284_MODE_COMPAT); minor 484 drivers/char/lp.c lp_release_parport(&lp_table[minor]); minor 489 drivers/char/lp.c mutex_unlock(&lp_table[minor].port_mutex); minor 498 drivers/char/lp.c unsigned int minor = iminor(inode); minor 502 drivers/char/lp.c if (minor >= LP_NO) { minor 506 drivers/char/lp.c if ((LP_F(minor) & LP_EXIST) == 0) { minor 510 drivers/char/lp.c if (test_and_set_bit(LP_BUSY_BIT_POS, &LP_F(minor))) { minor 519 drivers/char/lp.c if ((LP_F(minor) & LP_ABORTOPEN) && !(file->f_flags & O_NONBLOCK)) { minor 521 drivers/char/lp.c lp_claim_parport_or_block(&lp_table[minor]); minor 522 drivers/char/lp.c status = r_str(minor); minor 523 drivers/char/lp.c lp_release_parport(&lp_table[minor]); minor 525 drivers/char/lp.c printk(KERN_INFO "lp%d out of paper\n", minor); minor 526 drivers/char/lp.c LP_F(minor) &= ~LP_BUSY; minor 530 drivers/char/lp.c printk(KERN_INFO "lp%d off-line\n", minor); minor 531 drivers/char/lp.c LP_F(minor) &= ~LP_BUSY; minor 535 drivers/char/lp.c printk(KERN_ERR "lp%d printer error\n", minor); minor 536 drivers/char/lp.c LP_F(minor) &= ~LP_BUSY; minor 541 drivers/char/lp.c lp_table[minor].lp_buffer = kmalloc(LP_BUFFER_SIZE, GFP_KERNEL); minor 542 drivers/char/lp.c if (!lp_table[minor].lp_buffer) { minor 543 drivers/char/lp.c LP_F(minor) &= ~LP_BUSY; minor 548 drivers/char/lp.c lp_claim_parport_or_block(&lp_table[minor]); minor 549 drivers/char/lp.c if ( (lp_table[minor].dev->port->modes & PARPORT_MODE_ECP) && minor 550 drivers/char/lp.c !parport_negotiate(lp_table[minor].dev->port, minor 552 drivers/char/lp.c printk(KERN_INFO "lp%d: ECP mode\n", minor); minor 553 drivers/char/lp.c lp_table[minor].best_mode = IEEE1284_MODE_ECP; minor 555 drivers/char/lp.c lp_table[minor].best_mode = IEEE1284_MODE_COMPAT; minor 558 drivers/char/lp.c parport_negotiate(lp_table[minor].dev->port, IEEE1284_MODE_COMPAT); minor 559 drivers/char/lp.c lp_release_parport(&lp_table[minor]); minor 560 drivers/char/lp.c lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; minor 568 drivers/char/lp.c unsigned int minor = iminor(inode); minor 570 drivers/char/lp.c lp_claim_parport_or_block(&lp_table[minor]); minor 571 drivers/char/lp.c parport_negotiate(lp_table[minor].dev->port, IEEE1284_MODE_COMPAT); minor 572 drivers/char/lp.c lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; minor 573 drivers/char/lp.c lp_release_parport(&lp_table[minor]); minor 574 drivers/char/lp.c kfree(lp_table[minor].lp_buffer); minor 575 drivers/char/lp.c lp_table[minor].lp_buffer = NULL; minor 576 drivers/char/lp.c LP_F(minor) &= ~LP_BUSY; minor 580 drivers/char/lp.c static int lp_do_ioctl(unsigned int minor, unsigned int cmd, minor 587 drivers/char/lp.c printk(KERN_DEBUG "lp%d ioctl, cmd: 0x%x, arg: 0x%lx\n", minor, cmd, arg); minor 589 drivers/char/lp.c if (minor >= LP_NO) minor 591 drivers/char/lp.c if ((LP_F(minor) & LP_EXIST) == 0) minor 597 drivers/char/lp.c LP_TIME(minor) = arg * HZ/100; minor 600 drivers/char/lp.c LP_CHAR(minor) = arg; minor 604 drivers/char/lp.c LP_F(minor) |= LP_ABORT; minor 606 drivers/char/lp.c LP_F(minor) &= ~LP_ABORT; minor 610 drivers/char/lp.c LP_F(minor) |= LP_ABORTOPEN; minor 612 drivers/char/lp.c LP_F(minor) &= ~LP_ABORTOPEN; minor 616 drivers/char/lp.c LP_F(minor) |= LP_CAREFUL; minor 618 drivers/char/lp.c LP_F(minor) &= ~LP_CAREFUL; minor 621 drivers/char/lp.c LP_WAIT(minor) = arg; minor 627 drivers/char/lp.c if (copy_to_user(argp, &LP_IRQ(minor), minor 632 drivers/char/lp.c if (mutex_lock_interruptible(&lp_table[minor].port_mutex)) minor 634 drivers/char/lp.c lp_claim_parport_or_block(&lp_table[minor]); minor 635 drivers/char/lp.c status = r_str(minor); minor 636 drivers/char/lp.c lp_release_parport(&lp_table[minor]); minor 637 drivers/char/lp.c mutex_unlock(&lp_table[minor].port_mutex); minor 643 drivers/char/lp.c lp_reset(minor); minor 647 drivers/char/lp.c if (copy_to_user(argp, &LP_STAT(minor), minor 651 drivers/char/lp.c memset(&LP_STAT(minor), 0, minor 656 drivers/char/lp.c status = LP_F(minor); minor 667 drivers/char/lp.c static int lp_set_timeout(unsigned int minor, s64 tv_sec, long tv_usec) minor 695 drivers/char/lp.c lp_table[minor].timeout = to_jiffies; minor 699 drivers/char/lp.c static int lp_set_timeout32(unsigned int minor, void __user *arg) minor 706 drivers/char/lp.c return lp_set_timeout(minor, karg[0], karg[1]); minor 709 drivers/char/lp.c static int lp_set_timeout64(unsigned int minor, void __user *arg) minor 720 drivers/char/lp.c return lp_set_timeout(minor, karg[0], karg[1]); minor 726 drivers/char/lp.c unsigned int minor; minor 729 drivers/char/lp.c minor = iminor(file_inode(file)); minor 734 drivers/char/lp.c ret = lp_set_timeout32(minor, (void __user *)arg); minor 739 drivers/char/lp.c ret = lp_set_timeout64(minor, (void __user *)arg); minor 742 drivers/char/lp.c ret = lp_do_ioctl(minor, cmd, arg, (void __user *)arg); minor 754 drivers/char/lp.c unsigned int minor; minor 757 drivers/char/lp.c minor = iminor(file_inode(file)); minor 762 drivers/char/lp.c ret = lp_set_timeout32(minor, (void __user *)arg); minor 767 drivers/char/lp.c ret = lp_set_timeout64(minor, (void __user *)arg); minor 776 drivers/char/lp.c ret = lp_do_ioctl(minor, cmd, arg, compat_ptr(arg)); minor 908 drivers/char/mem.c int minor; minor 911 drivers/char/mem.c minor = iminor(inode); minor 912 drivers/char/mem.c if (minor >= ARRAY_SIZE(devlist)) minor 915 drivers/char/mem.c dev = &devlist[minor]; minor 944 drivers/char/mem.c int minor; minor 954 drivers/char/mem.c for (minor = 1; minor < ARRAY_SIZE(devlist); minor++) { minor 955 drivers/char/mem.c if (!devlist[minor].name) minor 961 drivers/char/mem.c if ((minor == DEVPORT_MINOR) && !arch_has_dev_port()) minor 964 drivers/char/mem.c device_create(mem_class, NULL, MKDEV(MEM_MAJOR, minor), minor 965 drivers/char/mem.c NULL, devlist[minor].name); minor 87 drivers/char/misc.c seq_printf(seq, "%3i %s\n", p->minor, p->name ? p->name : ""); minor 102 drivers/char/misc.c int minor = iminor(inode); minor 110 drivers/char/misc.c if (c->minor == minor) { minor 118 drivers/char/misc.c request_module("char-major-%d-%d", MISC_MAJOR, minor); minor 122 drivers/char/misc.c if (c->minor == minor) { minor 177 drivers/char/misc.c bool is_dynamic = (misc->minor == MISC_DYNAMIC_MINOR); minor 190 drivers/char/misc.c misc->minor = DYNAMIC_MINORS - i - 1; minor 196 drivers/char/misc.c if (c->minor == misc->minor) { minor 203 drivers/char/misc.c dev = MKDEV(MISC_MAJOR, misc->minor); minor 210 drivers/char/misc.c int i = DYNAMIC_MINORS - misc->minor - 1; minor 214 drivers/char/misc.c misc->minor = MISC_DYNAMIC_MINOR; minor 241 drivers/char/misc.c int i = DYNAMIC_MINORS - misc->minor - 1; minor 248 drivers/char/misc.c device_destroy(misc_class, MKDEV(MISC_MAJOR, misc->minor)); minor 240 drivers/char/mspec.c .minor = MISC_DYNAMIC_MINOR, minor 252 drivers/char/mspec.c .minor = MISC_DYNAMIC_MINOR, minor 153 drivers/char/pc8736x_gpio.c static int pc8736x_gpio_get(unsigned minor) minor 157 drivers/char/pc8736x_gpio.c port = minor >> 3; minor 158 drivers/char/pc8736x_gpio.c bit = minor & 7; minor 164 drivers/char/pc8736x_gpio.c minor, pc8736x_gpio_base + port_offset[port] + PORT_IN, bit, minor 170 drivers/char/pc8736x_gpio.c static void pc8736x_gpio_set(unsigned minor, int val) minor 174 drivers/char/pc8736x_gpio.c minor &= 0x1f; minor 175 drivers/char/pc8736x_gpio.c port = minor >> 3; minor 176 drivers/char/pc8736x_gpio.c bit = minor & 7; minor 186 drivers/char/pc8736x_gpio.c " %2x -> %2x\n", minor, port, bit, curval, val); minor 197 drivers/char/pc8736x_gpio.c static int pc8736x_gpio_current(unsigned minor) minor 200 drivers/char/pc8736x_gpio.c minor &= 0x1f; minor 201 drivers/char/pc8736x_gpio.c port = minor >> 3; minor 202 drivers/char/pc8736x_gpio.c bit = minor & 7; minor 1636 drivers/char/pcmcia/cm4000_cs.c int minor = iminor(inode); minor 1639 drivers/char/pcmcia/cm4000_cs.c if (minor >= CM4000_MAX_DEV) minor 1643 drivers/char/pcmcia/cm4000_cs.c link = dev_table[minor]; minor 1658 drivers/char/pcmcia/cm4000_cs.c imajor(inode), minor, current->comm, current->pid); minor 1695 drivers/char/pcmcia/cm4000_cs.c int minor = iminor(inode); minor 1697 drivers/char/pcmcia/cm4000_cs.c if (minor >= CM4000_MAX_DEV) minor 1700 drivers/char/pcmcia/cm4000_cs.c link = dev_table[minor]; minor 1707 drivers/char/pcmcia/cm4000_cs.c imajor(inode), minor); minor 439 drivers/char/pcmcia/cm4040_cs.c int minor = iminor(inode); minor 442 drivers/char/pcmcia/cm4040_cs.c if (minor >= CM_MAX_DEV) minor 446 drivers/char/pcmcia/cm4040_cs.c link = dev_table[minor]; minor 481 drivers/char/pcmcia/cm4040_cs.c int minor = iminor(inode); minor 486 drivers/char/pcmcia/cm4040_cs.c if (minor >= CM_MAX_DEV) minor 489 drivers/char/pcmcia/cm4040_cs.c link = dev_table[minor]; minor 139 drivers/char/powernv-op-panel.c .minor = MISC_DYNAMIC_MINOR, minor 118 drivers/char/ppdev.c unsigned int minor = iminor(file_inode(file)); minor 127 drivers/char/ppdev.c pr_debug(CHRDEV "%x: claim the port first\n", minor); minor 196 drivers/char/ppdev.c unsigned int minor = iminor(file_inode(file)); minor 206 drivers/char/ppdev.c pr_debug(CHRDEV "%x: claim the port first\n", minor); minor 283 drivers/char/ppdev.c static int register_device(int minor, struct pp_struct *pp) minor 291 drivers/char/ppdev.c name = kasprintf(GFP_KERNEL, CHRDEV "%x", minor); minor 295 drivers/char/ppdev.c port = parport_find_number(minor); minor 354 drivers/char/ppdev.c unsigned int minor = iminor(file_inode(file)); minor 373 drivers/char/ppdev.c int err = register_device(minor, pp); minor 476 drivers/char/ppdev.c port = parport_find_number(minor); minor 510 drivers/char/ppdev.c pr_debug(CHRDEV "%x: claim the port first\n", minor); minor 691 drivers/char/ppdev.c unsigned int minor = iminor(inode); minor 694 drivers/char/ppdev.c if (minor >= PARPORT_MAX) minor 720 drivers/char/ppdev.c unsigned int minor = iminor(inode); minor 759 drivers/char/ppdev.c "because user-space forgot\n", minor); minor 767 drivers/char/ppdev.c pr_debug(CHRDEV "%x: unregistered pardevice\n", minor); minor 325 drivers/char/ps3flash.c .minor = MISC_DYNAMIC_MINOR, minor 391 drivers/char/ps3flash.c __func__, __LINE__, ps3flash_misc.minor); minor 57 drivers/char/raw.c const int minor = iminor(inode); minor 61 drivers/char/raw.c if (minor == 0) { /* It is the control device */ minor 71 drivers/char/raw.c bdev = raw_devices[minor].binding; minor 84 drivers/char/raw.c if (++raw_devices[minor].inuse == 1) minor 104 drivers/char/raw.c const int minor= iminor(inode); minor 108 drivers/char/raw.c bdev = raw_devices[minor].binding; minor 109 drivers/char/raw.c if (--raw_devices[minor].inuse == 0) minor 128 drivers/char/raw.c static int bind_set(int number, u64 major, u64 minor) minor 130 drivers/char/raw.c dev_t dev = MKDEV(major, minor); minor 137 drivers/char/raw.c if (MAJOR(dev) != major || MINOR(dev) != minor) minor 813 drivers/char/rtc.c .minor = RTC_MINOR, minor 53 drivers/char/sonypi.c static int minor = -1; minor 54 drivers/char/sonypi.c module_param(minor, int, 0); minor 55 drivers/char/sonypi.c MODULE_PARM_DESC(minor, minor 1061 drivers/char/sonypi.c .minor = MISC_DYNAMIC_MINOR, minor 1283 drivers/char/sonypi.c if (minor == -1) minor 1285 drivers/char/sonypi.c sonypi_misc_device.minor); minor 1359 drivers/char/sonypi.c if (minor != -1) minor 1360 drivers/char/sonypi.c sonypi_misc_device.minor = minor; minor 152 drivers/char/tb0219.c unsigned int minor; minor 155 drivers/char/tb0219.c minor = iminor(file_inode(file)); minor 156 drivers/char/tb0219.c switch (minor) { minor 161 drivers/char/tb0219.c value = get_gpio_input_pin(minor - 16); minor 164 drivers/char/tb0219.c value = get_gpio_output_pin(minor - 32); minor 167 drivers/char/tb0219.c value = get_dip_switch(minor - 48); minor 185 drivers/char/tb0219.c unsigned int minor; minor 191 drivers/char/tb0219.c minor = iminor(file_inode(file)); minor 192 drivers/char/tb0219.c switch (minor) { minor 212 drivers/char/tb0219.c retval = set_gpio_output_pin(minor - 32, c); minor 225 drivers/char/tb0219.c unsigned int minor; minor 227 drivers/char/tb0219.c minor = iminor(inode); minor 228 drivers/char/tb0219.c switch (minor) { minor 274 drivers/char/tlclk.c .minor = MISC_DYNAMIC_MINOR, minor 407 drivers/char/toshiba.c int i,major,minor,day,year,month,flag; minor 452 drivers/char/toshiba.c minor = ((readb(bios+0xe00b)-'0')*10)+(readb(bios+0xe00c)-'0'); minor 453 drivers/char/toshiba.c tosh_bios = (major*0x100)+minor; minor 574 drivers/char/tpm/tpm_vtpm_proxy.c vtpm_new_dev->minor = MINOR(proxy_dev->chip->dev.devt); minor 691 drivers/char/tpm/tpm_vtpm_proxy.c .minor = MISC_DYNAMIC_MINOR, minor 1412 drivers/char/xillybus/xillybus_core.c int minor = iminor(inode); minor 1421 drivers/char/xillybus/xillybus_core.c (minor >= ep_iter->lowest_minor) && minor 1422 drivers/char/xillybus/xillybus_core.c (minor < (ep_iter->lowest_minor + minor 1432 drivers/char/xillybus/xillybus_core.c major, minor); minor 1439 drivers/char/xillybus/xillybus_core.c channel = endpoint->channels[1 + minor - endpoint->lowest_minor]; minor 1807 drivers/char/xillybus/xillybus_core.c int devnum, i, minor, major; minor 1820 drivers/char/xillybus/xillybus_core.c endpoint->lowest_minor = minor = MINOR(dev); minor 1824 drivers/char/xillybus/xillybus_core.c rc = cdev_add(&endpoint->cdev, MKDEV(major, minor), minor 1833 drivers/char/xillybus/xillybus_core.c for (i = minor, devnum = 0; minor 1869 drivers/char/xillybus/xillybus_core.c unregister_chrdev_region(MKDEV(major, minor), endpoint->num_channels); minor 1876 drivers/char/xillybus/xillybus_core.c int minor; minor 1878 drivers/char/xillybus/xillybus_core.c for (minor = endpoint->lowest_minor; minor 1879 drivers/char/xillybus/xillybus_core.c minor < (endpoint->lowest_minor + endpoint->num_channels); minor 1880 drivers/char/xillybus/xillybus_core.c minor++) minor 1881 drivers/char/xillybus/xillybus_core.c device_destroy(xillybus_class, MKDEV(endpoint->major, minor)); minor 80 drivers/cpufreq/pcc-cpufreq.c u8 minor; minor 464 drivers/cpufreq/pcc-cpufreq.c ioread8(&pcch_hdr->minor), ioread32(&pcch_hdr->features), minor 157 drivers/cpufreq/sti-cpufreq.c int pcode, substrate, major, minor; minor 203 drivers/cpufreq/sti-cpufreq.c minor = sti_cpufreq_fetch_minor(); minor 204 drivers/cpufreq/sti-cpufreq.c if (minor < 0) { minor 207 drivers/cpufreq/sti-cpufreq.c minor = DEFAULT_VERSION; minor 219 drivers/cpufreq/sti-cpufreq.c version[1] = BIT(minor); minor 229 drivers/cpufreq/sti-cpufreq.c pcode, major, minor, substrate); minor 348 drivers/crypto/caam/dpseci.c *minor_ver = le16_to_cpu(rsp_params->minor); minor 130 drivers/crypto/caam/dpseci_cmd.h __le16 minor; minor 114 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->req.opcode.s.minor = 2; minor 116 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->req.opcode.s.minor = 3; minor 41 drivers/crypto/cavium/cpt/request_manager.h u8 minor; minor 910 drivers/crypto/ccp/psp-dev.c misc->minor = MISC_DYNAMIC_MINOR; minor 422 drivers/crypto/qce/common.c void qce_get_version(struct qce_device *qce, u32 *major, u32 *minor, u32 *step) minor 428 drivers/crypto/qce/common.c *minor = (val & CORE_MINOR_REV_MASK) >> CORE_MINOR_REV_SHIFT; minor 90 drivers/crypto/qce/common.h void qce_get_version(struct qce_device *qce, u32 *major, u32 *minor, u32 *step); minor 146 drivers/crypto/qce/core.c u32 major, minor, step; minor 148 drivers/crypto/qce/core.c qce_get_version(qce, &major, &minor, &step); minor 154 drivers/crypto/qce/core.c if (major != QCE_MAJOR_VERSION5 || minor == 0) minor 161 drivers/crypto/qce/core.c major, minor, step); minor 552 drivers/dax/super.c int minor; minor 558 drivers/dax/super.c minor = ida_simple_get(&dax_minor_ida, 0, MINORMASK+1, GFP_KERNEL); minor 559 drivers/dax/super.c if (minor < 0) minor 562 drivers/dax/super.c devt = MKDEV(MAJOR(dax_devt), minor); minor 576 drivers/dax/super.c ida_simple_remove(&dax_minor_ida, minor); minor 276 drivers/dma-buf/udmabuf.c .minor = MISC_DYNAMIC_MINOR, minor 793 drivers/firewire/core-device.c int minor = MINOR(device->device.devt); minor 812 drivers/firewire/core-device.c idr_remove(&fw_device_idr, minor); minor 990 drivers/firewire/core-device.c int minor, ret; minor 1029 drivers/firewire/core-device.c minor = idr_alloc(&fw_device_idr, device, 0, 1 << MINORBITS, minor 1033 drivers/firewire/core-device.c if (minor < 0) minor 1039 drivers/firewire/core-device.c device->device.devt = MKDEV(fw_cdev_major, minor); minor 1040 drivers/firewire/core-device.c dev_set_name(&device->device, "fw%d", minor); minor 1095 drivers/firewire/core-device.c idr_remove(&fw_device_idr, minor); minor 266 drivers/firewire/nosy.c int minor = iminor(inode); minor 272 drivers/firewire/nosy.c if (tmp->misc.minor == minor) { minor 640 drivers/firewire/nosy.c lynx->misc.minor = MISC_DYNAMIC_MINOR; minor 332 drivers/firmware/efi/capsule-loader.c .minor = MISC_DYNAMIC_MINOR, minor 368 drivers/firmware/efi/cper.c pcie->version.major, pcie->version.minor); minor 545 drivers/fsi/fsi-occ.c occ->mdev.minor = MISC_DYNAMIC_MINOR; minor 281 drivers/gpu/drm/amd/amdgpu/amdgpu.h const u32 minor; minor 293 drivers/gpu/drm/amd/amdgpu/amdgpu.h u32 major, u32 minor); minor 203 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c ip_block->version->major, ip_block->version->minor); minor 560 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c .minor = 2, minor 827 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c struct drm_minor *minor = adev->ddev->primary; minor 828 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c struct dentry *ent, *root = minor->debugfs_root; minor 858 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c struct drm_device *dev = node->minor->dev; minor 898 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c struct drm_device *dev = node->minor->dev; minor 908 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c struct drm_device *dev = node->minor->dev; minor 918 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c struct drm_device *dev = node->minor->dev; minor 1277 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c u32 major, u32 minor) minor 1283 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c (ip_block->version->minor >= minor)))) minor 306 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c ip->major, ip->minor, minor 336 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c int *major, int *minor) minor 370 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c if (minor) minor 371 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c *minor = ip->minor; minor 33 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h int *major, int *minor); minor 1286 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c dev = file_priv->minor->dev; minor 1460 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c .minor = KMS_DRIVER_MINOR, minor 700 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c struct drm_device *dev = node->minor->dev; minor 749 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c struct drm_device *dev = node->minor->dev; minor 850 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct drm_device *dev = node->minor->dev; minor 409 drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c struct drm_device *dev = node->minor->dev; minor 426 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c result->hw_ip_version_minor = adev->ip_blocks[i].version->minor; minor 1227 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c struct drm_device *dev = node->minor->dev; minor 3146 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c struct drm_device *dev = node->minor->dev; minor 1401 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c .minor = 1, minor 1410 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c .minor = 0, minor 1419 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c .minor = 0, minor 1428 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c .minor = 0, minor 928 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c struct drm_minor *minor = adev->ddev->primary; minor 930 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c con->dir = debugfs_create_dir("ras", minor->debugfs_root); minor 492 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c struct drm_minor *minor = adev->ddev->primary; minor 493 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c struct dentry *ent, *root = minor->debugfs_root; minor 1889 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct amdgpu_device *adev = file_priv->minor->dev->dev_private; minor 2135 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct drm_device *dev = node->minor->dev; minor 2436 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct drm_minor *minor = adev->ddev->primary; minor 2437 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct dentry *ent, *root = minor->debugfs_root; minor 2078 drivers/gpu/drm/amd/amdgpu/cik.c .minor = 0, minor 453 drivers/gpu/drm/amd/amdgpu/cik_ih.c .minor = 0, minor 1391 drivers/gpu/drm/amd/amdgpu/cik_sdma.c .minor = 0, minor 434 drivers/gpu/drm/amd/amdgpu/cz_ih.c .minor = 0, minor 3617 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c .minor = 0, minor 3626 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c .minor = 1, minor 3749 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c .minor = 0, minor 3758 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c .minor = 2, minor 3426 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c .minor = 0, minor 3435 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c .minor = 4, minor 3505 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c .minor = 0, minor 3514 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c .minor = 1, minor 3523 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c .minor = 2, minor 3532 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c .minor = 3, minor 3541 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c .minor = 5, minor 759 drivers/gpu/drm/amd/amdgpu/dce_virtual.c .minor = 0, minor 5487 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c .minor = 0, minor 3629 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c .minor = 0, minor 5166 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c .minor = 0, minor 5175 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c .minor = 1, minor 5184 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c .minor = 2, minor 5193 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c .minor = 3, minor 7188 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c .minor = 0, minor 7197 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c .minor = 1, minor 6524 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c .minor = 0, minor 1008 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c .minor = 0, minor 1179 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c .minor = 0, minor 1370 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c .minor = 0, minor 1379 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c .minor = 4, minor 1738 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c .minor = 0, minor 1747 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c .minor = 1, minor 1756 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c .minor = 5, minor 1644 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c .minor = 0, minor 432 drivers/gpu/drm/amd/amdgpu/iceland_ih.c .minor = 4, minor 3351 drivers/gpu/drm/amd/amdgpu/kv_dpm.c .minor = 0, minor 363 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c .minor = 1, minor 484 drivers/gpu/drm/amd/amdgpu/navi10_ih.c .minor = 0, minor 379 drivers/gpu/drm/amd/amdgpu/nv.c .minor = 0, minor 1279 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c .minor = 4, minor 1717 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c .minor = 0, minor 1726 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c .minor = 1, minor 2544 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c .minor = 0, minor 1760 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c .minor = 0, minor 2119 drivers/gpu/drm/amd/amdgpu/si.c .minor = 0, minor 853 drivers/gpu/drm/amd/amdgpu/si_dma.c .minor = 0, minor 8046 drivers/gpu/drm/amd/amdgpu/si_dpm.c .minor = 0, minor 309 drivers/gpu/drm/amd/amdgpu/si_ih.c .minor = 0, minor 663 drivers/gpu/drm/amd/amdgpu/soc15.c .minor = 0, minor 486 drivers/gpu/drm/amd/amdgpu/tonga_ih.c .minor = 0, minor 782 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c .minor = 2, minor 891 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c .minor = 0, minor 1637 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c .minor = 0, minor 1646 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c .minor = 2, minor 1655 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c .minor = 3, minor 1887 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c .minor = 0, minor 650 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c .minor = 0, minor 977 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c .minor = 0, minor 986 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c .minor = 1, minor 995 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c .minor = 4, minor 1126 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c .minor = 0, minor 2335 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c .minor = 0, minor 2298 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c .minor = 0, minor 1409 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c .minor = 5, minor 722 drivers/gpu/drm/amd/amdgpu/vega10_ih.c .minor = 0, minor 1667 drivers/gpu/drm/amd/amdgpu/vi.c .minor = 0, minor 1300 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c .minor = 0, minor 1030 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c struct drm_device *dev = node->minor->dev; minor 1047 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c struct drm_device *dev = node->minor->dev; minor 1059 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c struct drm_device *dev = node->minor->dev; minor 1123 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c struct drm_minor *minor = adev->ddev->primary; minor 1124 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c struct dentry *root = minor->debugfs_root; minor 390 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c switch (revision.minor) { minor 400 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c switch (revision.minor) { minor 948 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c switch (tbl_revision.minor) { minor 962 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c switch (tbl_revision.minor) { minor 1106 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (1 != revision.major || 2 > revision.minor) minor 1582 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c switch (revision.minor) { minor 1590 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c switch (revision.minor) { minor 1638 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (1 != revision.major || 2 > revision.minor) minor 1969 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (bp->object_info_tbl.revision.minor < 3) minor 2093 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c tbl_revision->minor = 0; minor 2100 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c tbl_revision->minor = minor 2531 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c switch (revision.minor) { minor 2879 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (tbl_rev.major >= 2 && tbl_rev.minor >= 2) minor 2904 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c && bp->object_info_tbl.revision.minor >= 3) { minor 2914 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c && bp->object_info_tbl.revision.minor >= 1) minor 144 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c tbl_revision->minor = 0; minor 151 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c tbl_revision->minor = minor 827 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c switch (tbl_revision.minor) { minor 942 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c switch (tbl_revision.minor) { minor 1142 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c switch (revision.minor) { minor 1240 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c if (revision.minor == 2) { minor 1249 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c } else if (revision.minor == 3) { minor 1267 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c if (revision.minor == 2) minor 1269 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c else if (revision.minor == 3) minor 1278 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c if (revision.minor == 2) minor 1281 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c else if (revision.minor == 3) minor 1628 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c switch (revision.minor) { minor 1957 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c if (!(tbl_rev.major >= 2 && tbl_rev.minor >= 2)) minor 1983 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c && bp->object_info_tbl.revision.minor >= 4) { minor 34 drivers/gpu/drm/amd/display/dc/bios/bios_parser_types_internal.h uint32_t minor; minor 36 drivers/gpu/drm/amd/display/dc/bios/bios_parser_types_internal2.h uint32_t minor; minor 87 drivers/gpu/drm/amd/include/discovery.h uint8_t minor; /* HCID Minor */ minor 265 drivers/gpu/drm/amd/powerplay/amd_powerplay.c .minor = 0, minor 1796 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c .minor = 0, minor 1805 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c .minor = 0, minor 116 drivers/gpu/drm/arc/arcpgu_drv.c struct drm_device *drm = node->minor->dev; minor 130 drivers/gpu/drm/arc/arcpgu_drv.c static int arcpgu_debugfs_init(struct drm_minor *minor) minor 133 drivers/gpu/drm/arc/arcpgu_drv.c ARRAY_SIZE(arcpgu_debugfs_list), minor->debugfs_root, minor); minor 143 drivers/gpu/drm/arc/arcpgu_drv.c .minor = 0, minor 76 drivers/gpu/drm/arm/display/komeda/komeda_kms.c .minor = 1, minor 199 drivers/gpu/drm/arm/hdlcd_drv.c struct drm_device *drm = node->minor->dev; minor 212 drivers/gpu/drm/arm/hdlcd_drv.c struct drm_device *drm = node->minor->dev; minor 227 drivers/gpu/drm/arm/hdlcd_drv.c static int hdlcd_debugfs_init(struct drm_minor *minor) minor 230 drivers/gpu/drm/arm/hdlcd_drv.c ARRAY_SIZE(hdlcd_debugfs_list), minor->debugfs_root, minor); minor 261 drivers/gpu/drm/arm/hdlcd_drv.c .minor = 0, minor 551 drivers/gpu/drm/arm/malidp_drv.c static int malidp_debugfs_init(struct drm_minor *minor) minor 553 drivers/gpu/drm/arm/malidp_drv.c struct malidp_drm *malidp = minor->dev->dev_private; minor 558 drivers/gpu/drm/arm/malidp_drv.c debugfs_create_file("debug", S_IRUGO | S_IWUSR, minor->debugfs_root, minor 559 drivers/gpu/drm/arm/malidp_drv.c minor->dev, &malidp_debugfs_fops); minor 585 drivers/gpu/drm/arm/malidp_drv.c .minor = 0, minor 21 drivers/gpu/drm/armada/armada_debugfs.c struct drm_device *dev = node->minor->dev; minor 105 drivers/gpu/drm/armada/armada_debugfs.c int armada_drm_debugfs_init(struct drm_minor *minor) minor 108 drivers/gpu/drm/armada/armada_debugfs.c minor->debugfs_root, minor); minor 47 drivers/gpu/drm/armada/armada_drv.c .minor = 0, minor 209 drivers/gpu/drm/aspeed/aspeed_gfx_drv.c .minor = 0, minor 220 drivers/gpu/drm/ast/ast_drv.c .minor = DRIVER_MINOR, minor 858 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c .minor = 0, minor 73 drivers/gpu/drm/bochs/bochs_drv.c .minor = 0, minor 522 drivers/gpu/drm/cirrus/cirrus.c .minor = DRIVER_MINOR, minor 69 drivers/gpu/drm/drm_agpsupport.c info->agp_version_minor = kern->version.minor; minor 133 drivers/gpu/drm/drm_agpsupport.c return drm_agp_acquire((struct drm_device *) file_priv->minor->dev); minor 1512 drivers/gpu/drm/drm_atomic.c struct drm_device *dev = node->minor->dev; minor 1525 drivers/gpu/drm/drm_atomic.c int drm_atomic_debugfs_init(struct drm_minor *minor) minor 1529 drivers/gpu/drm/drm_atomic.c minor->debugfs_root, minor); minor 253 drivers/gpu/drm/drm_auth.c struct drm_device *dev = file_priv->minor->dev; minor 270 drivers/gpu/drm/drm_auth.c struct drm_device *dev = file_priv->minor->dev; minor 310 drivers/gpu/drm/drm_auth.c return fpriv->is_master && drm_lease_owner(fpriv->master) == fpriv->minor->dev->master; minor 444 drivers/gpu/drm/drm_client.c struct drm_device *dev = node->minor->dev; minor 460 drivers/gpu/drm/drm_client.c int drm_client_debugfs_init(struct drm_minor *minor) minor 464 drivers/gpu/drm/drm_client.c minor->debugfs_root, minor); minor 225 drivers/gpu/drm/drm_crtc_internal.h int drm_atomic_debugfs_init(struct drm_minor *minor); minor 54 drivers/gpu/drm/drm_debugfs.c struct drm_minor *minor = node->minor; minor 55 drivers/gpu/drm/drm_debugfs.c struct drm_device *dev = minor->dev; minor 76 drivers/gpu/drm/drm_debugfs.c struct drm_device *dev = node->minor->dev; minor 101 drivers/gpu/drm/drm_debugfs.c priv->minor->index, minor 127 drivers/gpu/drm/drm_debugfs.c struct drm_device *dev = node->minor->dev; minor 176 drivers/gpu/drm/drm_debugfs.c struct dentry *root, struct drm_minor *minor) minor 178 drivers/gpu/drm/drm_debugfs.c struct drm_device *dev = minor->dev; minor 193 drivers/gpu/drm/drm_debugfs.c tmp->minor = minor; minor 199 drivers/gpu/drm/drm_debugfs.c mutex_lock(&minor->debugfs_lock); minor 200 drivers/gpu/drm/drm_debugfs.c list_add(&tmp->list, &minor->debugfs_list); minor 201 drivers/gpu/drm/drm_debugfs.c mutex_unlock(&minor->debugfs_lock); minor 207 drivers/gpu/drm/drm_debugfs.c int drm_debugfs_init(struct drm_minor *minor, int minor_id, minor 210 drivers/gpu/drm/drm_debugfs.c struct drm_device *dev = minor->dev; minor 214 drivers/gpu/drm/drm_debugfs.c INIT_LIST_HEAD(&minor->debugfs_list); minor 215 drivers/gpu/drm/drm_debugfs.c mutex_init(&minor->debugfs_lock); minor 217 drivers/gpu/drm/drm_debugfs.c minor->debugfs_root = debugfs_create_dir(name, root); minor 220 drivers/gpu/drm/drm_debugfs.c minor->debugfs_root, minor); minor 222 drivers/gpu/drm/drm_debugfs.c debugfs_remove(minor->debugfs_root); minor 223 drivers/gpu/drm/drm_debugfs.c minor->debugfs_root = NULL; minor 229 drivers/gpu/drm/drm_debugfs.c ret = drm_atomic_debugfs_init(minor); minor 237 drivers/gpu/drm/drm_debugfs.c ret = drm_framebuffer_debugfs_init(minor); minor 243 drivers/gpu/drm/drm_debugfs.c ret = drm_client_debugfs_init(minor); minor 251 drivers/gpu/drm/drm_debugfs.c ret = dev->driver->debugfs_init(minor); minor 263 drivers/gpu/drm/drm_debugfs.c struct drm_minor *minor) minor 269 drivers/gpu/drm/drm_debugfs.c mutex_lock(&minor->debugfs_lock); minor 271 drivers/gpu/drm/drm_debugfs.c list_for_each_safe(pos, q, &minor->debugfs_list) { minor 280 drivers/gpu/drm/drm_debugfs.c mutex_unlock(&minor->debugfs_lock); minor 285 drivers/gpu/drm/drm_debugfs.c static void drm_debugfs_remove_all_files(struct drm_minor *minor) minor 289 drivers/gpu/drm/drm_debugfs.c mutex_lock(&minor->debugfs_lock); minor 290 drivers/gpu/drm/drm_debugfs.c list_for_each_entry_safe(node, tmp, &minor->debugfs_list, list) { minor 295 drivers/gpu/drm/drm_debugfs.c mutex_unlock(&minor->debugfs_lock); minor 298 drivers/gpu/drm/drm_debugfs.c void drm_debugfs_cleanup(struct drm_minor *minor) minor 300 drivers/gpu/drm/drm_debugfs.c if (!minor->debugfs_root) minor 303 drivers/gpu/drm/drm_debugfs.c drm_debugfs_remove_all_files(minor); minor 305 drivers/gpu/drm/drm_debugfs.c debugfs_remove_recursive(minor->debugfs_root); minor 306 drivers/gpu/drm/drm_debugfs.c minor->debugfs_root = NULL; minor 426 drivers/gpu/drm/drm_debugfs.c struct drm_minor *minor = connector->dev->primary; minor 429 drivers/gpu/drm/drm_debugfs.c if (!minor->debugfs_root) minor 432 drivers/gpu/drm/drm_debugfs.c root = debugfs_create_dir(connector->name, minor->debugfs_root); minor 456 drivers/gpu/drm/drm_debugfs.c struct drm_minor *minor = crtc->dev->primary; minor 464 drivers/gpu/drm/drm_debugfs.c root = debugfs_create_dir(name, minor->debugfs_root); minor 130 drivers/gpu/drm/drm_dp_aux_dev.c unsigned int minor = iminor(inode); minor 133 drivers/gpu/drm/drm_dp_aux_dev.c aux_dev = drm_dp_aux_dev_get_by_minor(minor); minor 283 drivers/gpu/drm/drm_dp_aux_dev.c unsigned int minor; minor 296 drivers/gpu/drm/drm_dp_aux_dev.c minor = aux_dev->index; minor 299 drivers/gpu/drm/drm_dp_aux_dev.c MKDEV(drm_dev_major, minor)); minor 114 drivers/gpu/drm/drm_drv.c struct drm_minor *minor; minor 118 drivers/gpu/drm/drm_drv.c minor = kzalloc(sizeof(*minor), GFP_KERNEL); minor 119 drivers/gpu/drm/drm_drv.c if (!minor) minor 122 drivers/gpu/drm/drm_drv.c minor->type = type; minor 123 drivers/gpu/drm/drm_drv.c minor->dev = dev; minor 138 drivers/gpu/drm/drm_drv.c minor->index = r; minor 140 drivers/gpu/drm/drm_drv.c minor->kdev = drm_sysfs_minor_alloc(minor); minor 141 drivers/gpu/drm/drm_drv.c if (IS_ERR(minor->kdev)) { minor 142 drivers/gpu/drm/drm_drv.c r = PTR_ERR(minor->kdev); minor 146 drivers/gpu/drm/drm_drv.c *drm_minor_get_slot(dev, type) = minor; minor 151 drivers/gpu/drm/drm_drv.c idr_remove(&drm_minors_idr, minor->index); minor 154 drivers/gpu/drm/drm_drv.c kfree(minor); minor 160 drivers/gpu/drm/drm_drv.c struct drm_minor **slot, *minor; minor 164 drivers/gpu/drm/drm_drv.c minor = *slot; minor 165 drivers/gpu/drm/drm_drv.c if (!minor) minor 168 drivers/gpu/drm/drm_drv.c put_device(minor->kdev); minor 171 drivers/gpu/drm/drm_drv.c idr_remove(&drm_minors_idr, minor->index); minor 174 drivers/gpu/drm/drm_drv.c kfree(minor); minor 180 drivers/gpu/drm/drm_drv.c struct drm_minor *minor; minor 186 drivers/gpu/drm/drm_drv.c minor = *drm_minor_get_slot(dev, type); minor 187 drivers/gpu/drm/drm_drv.c if (!minor) minor 190 drivers/gpu/drm/drm_drv.c ret = drm_debugfs_init(minor, minor->index, drm_debugfs_root); minor 196 drivers/gpu/drm/drm_drv.c ret = device_add(minor->kdev); minor 202 drivers/gpu/drm/drm_drv.c idr_replace(&drm_minors_idr, minor, minor->index); minor 205 drivers/gpu/drm/drm_drv.c DRM_DEBUG("new minor registered %d\n", minor->index); minor 209 drivers/gpu/drm/drm_drv.c drm_debugfs_cleanup(minor); minor 215 drivers/gpu/drm/drm_drv.c struct drm_minor *minor; minor 218 drivers/gpu/drm/drm_drv.c minor = *drm_minor_get_slot(dev, type); minor 219 drivers/gpu/drm/drm_drv.c if (!minor || !device_is_registered(minor->kdev)) minor 224 drivers/gpu/drm/drm_drv.c idr_replace(&drm_minors_idr, NULL, minor->index); minor 227 drivers/gpu/drm/drm_drv.c device_del(minor->kdev); minor 228 drivers/gpu/drm/drm_drv.c dev_set_drvdata(minor->kdev, NULL); /* safety belt */ minor 229 drivers/gpu/drm/drm_drv.c drm_debugfs_cleanup(minor); minor 243 drivers/gpu/drm/drm_drv.c struct drm_minor *minor; minor 247 drivers/gpu/drm/drm_drv.c minor = idr_find(&drm_minors_idr, minor_id); minor 248 drivers/gpu/drm/drm_drv.c if (minor) minor 249 drivers/gpu/drm/drm_drv.c drm_dev_get(minor->dev); minor 252 drivers/gpu/drm/drm_drv.c if (!minor) { minor 254 drivers/gpu/drm/drm_drv.c } else if (drm_dev_is_unplugged(minor->dev)) { minor 255 drivers/gpu/drm/drm_drv.c drm_dev_put(minor->dev); minor 259 drivers/gpu/drm/drm_drv.c return minor; minor 262 drivers/gpu/drm/drm_drv.c void drm_minor_release(struct drm_minor *minor) minor 264 drivers/gpu/drm/drm_drv.c drm_dev_put(minor->dev); minor 886 drivers/gpu/drm/drm_drv.c struct drm_minor *minor; minor 893 drivers/gpu/drm/drm_drv.c minor = *drm_minor_get_slot(dev, DRM_MINOR_PRIMARY); minor 894 drivers/gpu/drm/drm_drv.c if (!minor) minor 906 drivers/gpu/drm/drm_drv.c name = kasprintf(GFP_KERNEL, "controlD%d", minor->index + 64); minor 910 drivers/gpu/drm/drm_drv.c ret = sysfs_create_link(minor->kdev->kobj.parent, minor 911 drivers/gpu/drm/drm_drv.c &minor->kdev->kobj, minor 921 drivers/gpu/drm/drm_drv.c struct drm_minor *minor; minor 927 drivers/gpu/drm/drm_drv.c minor = *drm_minor_get_slot(dev, DRM_MINOR_PRIMARY); minor 928 drivers/gpu/drm/drm_drv.c if (!minor) minor 931 drivers/gpu/drm/drm_drv.c name = kasprintf(GFP_KERNEL, "controlD%d", minor->index + 64); minor 935 drivers/gpu/drm/drm_drv.c sysfs_remove_link(minor->kdev->kobj.parent, name); minor 993 drivers/gpu/drm/drm_drv.c driver->name, driver->major, driver->minor, minor 1093 drivers/gpu/drm/drm_drv.c struct drm_minor *minor; minor 1099 drivers/gpu/drm/drm_drv.c minor = drm_minor_acquire(iminor(inode)); minor 1100 drivers/gpu/drm/drm_drv.c if (IS_ERR(minor)) { minor 1101 drivers/gpu/drm/drm_drv.c err = PTR_ERR(minor); minor 1105 drivers/gpu/drm/drm_drv.c new_fops = fops_get(minor->dev->driver->fops); minor 1118 drivers/gpu/drm/drm_drv.c drm_minor_release(minor); minor 117 drivers/gpu/drm/drm_file.c struct drm_file *drm_file_alloc(struct drm_minor *minor) minor 119 drivers/gpu/drm/drm_file.c struct drm_device *dev = minor->dev; minor 128 drivers/gpu/drm/drm_file.c file->minor = minor; minor 174 drivers/gpu/drm/drm_file.c struct drm_device *dev = file_priv->minor->dev; minor 216 drivers/gpu/drm/drm_file.c dev = file->minor->dev; minor 220 drivers/gpu/drm/drm_file.c (long)old_encode_dev(file->minor->kdev->devt), minor 265 drivers/gpu/drm/drm_file.c struct drm_device *dev = file_priv->minor->dev; minor 297 drivers/gpu/drm/drm_file.c static int drm_open_helper(struct file *filp, struct drm_minor *minor) minor 299 drivers/gpu/drm/drm_file.c struct drm_device *dev = minor->dev; minor 310 drivers/gpu/drm/drm_file.c DRM_DEBUG("pid = %d, minor = %d\n", task_pid_nr(current), minor->index); minor 312 drivers/gpu/drm/drm_file.c priv = drm_file_alloc(minor); minor 371 drivers/gpu/drm/drm_file.c struct drm_minor *minor; minor 375 drivers/gpu/drm/drm_file.c minor = drm_minor_acquire(iminor(inode)); minor 376 drivers/gpu/drm/drm_file.c if (IS_ERR(minor)) minor 377 drivers/gpu/drm/drm_file.c return PTR_ERR(minor); minor 379 drivers/gpu/drm/drm_file.c dev = minor->dev; minor 386 drivers/gpu/drm/drm_file.c retcode = drm_open_helper(filp, minor); minor 400 drivers/gpu/drm/drm_file.c drm_minor_release(minor); minor 436 drivers/gpu/drm/drm_file.c struct drm_minor *minor = file_priv->minor; minor 437 drivers/gpu/drm/drm_file.c struct drm_device *dev = minor->dev; minor 450 drivers/gpu/drm/drm_file.c drm_minor_release(minor); minor 486 drivers/gpu/drm/drm_file.c struct drm_device *dev = file_priv->minor->dev; minor 1070 drivers/gpu/drm/drm_framebuffer.c struct drm_device *dev = node->minor->dev; minor 1088 drivers/gpu/drm/drm_framebuffer.c int drm_framebuffer_debugfs_init(struct drm_minor *minor) minor 1092 drivers/gpu/drm/drm_framebuffer.c minor->debugfs_root, minor); minor 1149 drivers/gpu/drm/drm_gem.c struct drm_device *dev = priv->minor->dev; minor 351 drivers/gpu/drm/drm_gem_cma_helper.c struct drm_device *dev = priv->minor->dev; minor 44 drivers/gpu/drm/drm_internal.h struct drm_file *drm_file_alloc(struct drm_minor *minor); minor 67 drivers/gpu/drm/drm_internal.h void drm_minor_release(struct drm_minor *minor); minor 112 drivers/gpu/drm/drm_internal.h struct device *drm_sysfs_minor_alloc(struct drm_minor *minor); minor 143 drivers/gpu/drm/drm_internal.h int drm_debugfs_init(struct drm_minor *minor, int minor_id, minor 145 drivers/gpu/drm/drm_internal.h void drm_debugfs_cleanup(struct drm_minor *minor); minor 152 drivers/gpu/drm/drm_internal.h static inline int drm_debugfs_init(struct drm_minor *minor, int minor_id, minor 158 drivers/gpu/drm/drm_internal.h static inline void drm_debugfs_cleanup(struct drm_minor *minor) minor 215 drivers/gpu/drm/drm_internal.h int drm_framebuffer_debugfs_init(struct drm_minor *minor); minor 990 drivers/gpu/drm/drm_ioc32.c (long)old_encode_dev(file_priv->minor->kdev->devt), minor 412 drivers/gpu/drm/drm_ioctl.c dev->driver->minor) { minor 422 drivers/gpu/drm/drm_ioctl.c sv->drm_dd_minor = dev->driver->minor; minor 511 drivers/gpu/drm/drm_ioctl.c version->version_minor = dev->driver->minor; minor 773 drivers/gpu/drm/drm_ioctl.c struct drm_device *dev = file_priv->minor->dev; minor 823 drivers/gpu/drm/drm_ioctl.c dev = file_priv->minor->dev; minor 856 drivers/gpu/drm/drm_ioctl.c (long)old_encode_dev(file_priv->minor->kdev->devt), minor 894 drivers/gpu/drm/drm_ioctl.c (long)old_encode_dev(file_priv->minor->kdev->devt), minor 1313 drivers/gpu/drm/drm_mipi_dbi.c int mipi_dbi_debugfs_init(struct drm_minor *minor) minor 1315 drivers/gpu/drm/drm_mipi_dbi.c struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(minor->dev); minor 1320 drivers/gpu/drm/drm_mipi_dbi.c debugfs_create_file("command", mode, minor->debugfs_root, dbidev, minor 724 drivers/gpu/drm/drm_prime.c priv->minor = obj->dev->primary; minor 388 drivers/gpu/drm/drm_sysfs.c struct device *drm_sysfs_minor_alloc(struct drm_minor *minor) minor 394 drivers/gpu/drm/drm_sysfs.c if (minor->type == DRM_MINOR_RENDER) minor 404 drivers/gpu/drm/drm_sysfs.c kdev->devt = MKDEV(DRM_MAJOR, minor->index); minor 407 drivers/gpu/drm/drm_sysfs.c kdev->parent = minor->dev->dev; minor 409 drivers/gpu/drm/drm_sysfs.c dev_set_drvdata(kdev, minor); minor 411 drivers/gpu/drm/drm_sysfs.c r = dev_set_name(kdev, minor_str, minor->index); minor 120 drivers/gpu/drm/drm_vm.c struct drm_device *dev = priv->minor->dev; minor 239 drivers/gpu/drm/drm_vm.c struct drm_device *dev = priv->minor->dev; minor 311 drivers/gpu/drm/drm_vm.c struct drm_device *dev = priv->minor->dev; minor 347 drivers/gpu/drm/drm_vm.c struct drm_device *dev = priv->minor->dev; minor 416 drivers/gpu/drm/drm_vm.c struct drm_device *dev = priv->minor->dev; minor 451 drivers/gpu/drm/drm_vm.c struct drm_device *dev = priv->minor->dev; minor 475 drivers/gpu/drm/drm_vm.c dev = priv->minor->dev; minor 534 drivers/gpu/drm/drm_vm.c struct drm_device *dev = priv->minor->dev; minor 648 drivers/gpu/drm/drm_vm.c struct drm_device *dev = priv->minor->dev; minor 290 drivers/gpu/drm/drm_vram_mm_helper.c struct drm_device *dev = file_priv->minor->dev; minor 194 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct drm_device *dev = node->minor->dev; minor 204 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct drm_device *dev = node->minor->dev; minor 233 drivers/gpu/drm/etnaviv/etnaviv_drv.c static int etnaviv_debugfs_init(struct drm_minor *minor) minor 235 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct drm_device *dev = minor->dev; minor 240 drivers/gpu/drm/etnaviv/etnaviv_drv.c minor->debugfs_root, minor); minor 528 drivers/gpu/drm/etnaviv/etnaviv_drv.c .minor = 3, minor 146 drivers/gpu/drm/exynos/exynos_drm_drv.c .minor = DRIVER_MINOR, minor 1131 drivers/gpu/drm/exynos/exynos_drm_g2d.c ver->minor = G2D_HW_MINOR_VER; minor 159 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c .minor = 1, minor 414 drivers/gpu/drm/gma500/psb_drv.c struct drm_device *dev = file_priv->minor->dev; minor 492 drivers/gpu/drm/gma500/psb_drv.c .minor = DRIVER_MINOR, minor 60 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c .minor = 0, minor 939 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c .minor = 0, minor 102 drivers/gpu/drm/i810/i810_dma.c dev = priv->minor->dev; minor 129 drivers/gpu/drm/i810/i810_dma.c struct drm_device *dev = file_priv->minor->dev; minor 71 drivers/gpu/drm/i810/i810_drv.c .minor = DRIVER_MINOR, minor 62 drivers/gpu/drm/i915/display/intel_opregion.c u8 minor; minor 937 drivers/gpu/drm/i915/display/intel_opregion.c opregion->header->over.minor, minor 979 drivers/gpu/drm/i915/display/intel_opregion.c opregion->header->over.minor >= 1) { minor 72 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c u8 minor; minor 77 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c { .major = major_, .minor = minor_, .path = path_ } minor 115 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c uc_fw->minor_ver_wanted = blob->minor; minor 223 drivers/gpu/drm/i915/gvt/debugfs.c struct drm_minor *minor = gvt->dev_priv->drm.primary; minor 225 drivers/gpu/drm/i915/gvt/debugfs.c gvt->debugfs_root = debugfs_create_dir("gvt", minor->debugfs_root); minor 56 drivers/gpu/drm/i915/i915_debugfs.c return to_i915(node->minor->dev); minor 4368 drivers/gpu/drm/i915/i915_debugfs.c struct drm_minor *minor = dev_priv->drm.primary; minor 4371 drivers/gpu/drm/i915/i915_debugfs.c debugfs_create_file("i915_forcewake_user", S_IRUSR, minor->debugfs_root, minor 4372 drivers/gpu/drm/i915/i915_debugfs.c to_i915(minor->dev), &i915_forcewake_fops); minor 4377 drivers/gpu/drm/i915/i915_debugfs.c minor->debugfs_root, minor 4378 drivers/gpu/drm/i915/i915_debugfs.c to_i915(minor->dev), minor 4384 drivers/gpu/drm/i915/i915_debugfs.c minor->debugfs_root, minor); minor 2893 drivers/gpu/drm/i915/i915_drv.c .minor = DRIVER_MINOR, minor 40 drivers/gpu/drm/i915/i915_sysfs.c struct drm_minor *minor = dev_get_drvdata(kdev); minor 41 drivers/gpu/drm/i915/i915_sysfs.c return to_i915(minor->dev); minor 11 drivers/gpu/drm/i915/intel_csr.h #define CSR_VERSION(major, minor) ((major) << 16 | (minor)) minor 173 drivers/gpu/drm/imx/imx-drm-core.c .minor = 0, minor 518 drivers/gpu/drm/ingenic/ingenic-drm.c .minor = 0, minor 269 drivers/gpu/drm/lima/lima_drv.c .minor = 0, minor 189 drivers/gpu/drm/lima/lima_gp.c u32 version, major, minor; minor 194 drivers/gpu/drm/lima/lima_gp.c minor = version & 0xFF; minor 213 drivers/gpu/drm/lima/lima_gp.c lima_ip_name(ip), name, major, minor); minor 199 drivers/gpu/drm/lima/lima_pp.c u32 version, major, minor; minor 204 drivers/gpu/drm/lima/lima_pp.c minor = version & 0xFF; minor 223 drivers/gpu/drm/lima/lima_pp.c lima_ip_name(ip), name, major, minor); minor 249 drivers/gpu/drm/mcde/mcde_drv.c .minor = 0, minor 382 drivers/gpu/drm/mediatek/mtk_drm_drv.c .minor = DRIVER_MINOR, minor 116 drivers/gpu/drm/meson/meson_drv.c .minor = 0, minor 79 drivers/gpu/drm/mga/mga_drv.c .minor = DRIVER_MINOR, minor 189 drivers/gpu/drm/mga/mga_ioc32.c (long)old_encode_dev(file_priv->minor->kdev->devt), minor 105 drivers/gpu/drm/mgag200/mgag200_drv.c .minor = DRIVER_MINOR, minor 81 drivers/gpu/drm/msm/adreno/a5xx_debugfs.c struct drm_device *dev = node->minor->dev; minor 151 drivers/gpu/drm/msm/adreno/a5xx_debugfs.c int a5xx_debugfs_init(struct msm_gpu *gpu, struct drm_minor *minor) minor 156 drivers/gpu/drm/msm/adreno/a5xx_debugfs.c if (!minor) minor 159 drivers/gpu/drm/msm/adreno/a5xx_debugfs.c dev = minor->dev; minor 163 drivers/gpu/drm/msm/adreno/a5xx_debugfs.c minor->debugfs_root, minor); minor 170 drivers/gpu/drm/msm/adreno/a5xx_debugfs.c debugfs_create_file("reset", S_IWUGO, minor->debugfs_root, dev, minor 44 drivers/gpu/drm/msm/adreno/a5xx_gpu.h int a5xx_debugfs_init(struct msm_gpu *gpu, struct drm_minor *minor); minor 612 drivers/gpu/drm/msm/adreno/a6xx_gmu.c chipid |= adreno_gpu->rev.minor << 12; minor 200 drivers/gpu/drm/msm/adreno/adreno_device.c _rev_match(info->rev.minor, rev.minor) && minor 290 drivers/gpu/drm/msm/adreno/adreno_device.c rev->minor = r; minor 306 drivers/gpu/drm/msm/adreno/adreno_device.c rev->minor = (chipid >> 8) & 0xff; minor 311 drivers/gpu/drm/msm/adreno/adreno_device.c rev->core, rev->major, rev->minor, rev->patchid); minor 337 drivers/gpu/drm/msm/adreno/adreno_device.c config.rev.minor, config.rev.patchid); minor 342 drivers/gpu/drm/msm/adreno/adreno_device.c config.rev.minor, config.rev.patchid); minor 175 drivers/gpu/drm/msm/adreno/adreno_gpu.c (adreno_gpu->rev.minor << 8) | minor 706 drivers/gpu/drm/msm/adreno/adreno_gpu.c adreno_gpu->rev.major, adreno_gpu->rev.minor, minor 764 drivers/gpu/drm/msm/adreno/adreno_gpu.c adreno_gpu->rev.major, adreno_gpu->rev.minor, minor 59 drivers/gpu/drm/msm/adreno/adreno_gpu.h uint8_t minor; minor 63 drivers/gpu/drm/msm/adreno/adreno_gpu.h #define ADRENO_REV(core, major, minor, patchid) \ minor 64 drivers/gpu/drm/msm/adreno/adreno_gpu.h ((struct adreno_rev){ core, major, minor, patchid }) minor 222 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c static int dpu_kms_debugfs_init(struct msm_kms *kms, struct drm_minor *minor) minor 231 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c entry = debugfs_create_dir("debug", minor->debugfs_root); minor 22 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c uint32_t version, major, minor, dmap_cfg, vg_cfg; minor 33 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c minor = FIELD(version, MDP4_VERSION_MINOR); minor 35 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c DBG("found MDP4 version v%d.%d", major, minor); minor 39 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c major, minor); minor 44 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c mdp4_kms->rev = minor; minor 778 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c uint32_t major, uint32_t minor) minor 804 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c major, minor); minor 811 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c if (cfg_handlers[i].revision != minor) minor 819 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c major, minor); minor 824 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c cfg_handler->revision = minor; minor 122 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h uint32_t major, uint32_t minor); minor 246 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c struct drm_device *dev = node->minor->dev; minor 265 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c static int mdp5_kms_debugfs_init(struct msm_kms *kms, struct drm_minor *minor) minor 267 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c struct drm_device *dev = minor->dev; minor 272 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c minor->debugfs_root, minor); minor 554 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c u32 *major, u32 *minor) minor 564 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c *minor = FIELD(version, MDP5_HW_VERSION_MINOR); minor 566 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c DRM_DEV_INFO(dev, "MDP5 version v%d.%d", *major, *minor); minor 935 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c u32 major, minor; minor 987 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c read_mdp_hw_revision(mdp5_kms, &major, &minor); minor 989 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c mdp5_kms->cfg = mdp5_cfg_init(mdp5_kms, major, minor); minor 206 drivers/gpu/drm/msm/dsi/dsi_cfg.c const struct msm_dsi_cfg_handler *msm_dsi_cfg_get(u32 major, u32 minor) minor 213 drivers/gpu/drm/msm/dsi/dsi_cfg.c (dsi_cfg_handlers[i].minor == minor)) { minor 49 drivers/gpu/drm/msm/dsi/dsi_cfg.h u32 minor; minor 54 drivers/gpu/drm/msm/dsi/dsi_cfg.h const struct msm_dsi_cfg_handler *msm_dsi_cfg_get(u32 major, u32 minor); minor 31 drivers/gpu/drm/msm/dsi/dsi_host.c static int dsi_get_version(const void __iomem *base, u32 *major, u32 *minor) minor 35 drivers/gpu/drm/msm/dsi/dsi_host.c if (!major || !minor) minor 56 drivers/gpu/drm/msm/dsi/dsi_host.c *minor = 0; minor 72 drivers/gpu/drm/msm/dsi/dsi_host.c *minor = msm_readl(base + REG_DSI_6G_HW_VERSION); minor 206 drivers/gpu/drm/msm/dsi/dsi_host.c u32 major = 0, minor = 0; minor 234 drivers/gpu/drm/msm/dsi/dsi_host.c ret = dsi_get_version(msm_host->ctrl_base, &major, &minor); minor 240 drivers/gpu/drm/msm/dsi/dsi_host.c cfg_hnd = msm_dsi_cfg_get(major, minor); minor 242 drivers/gpu/drm/msm/dsi/dsi_host.c DBG("%s: Version %x:%x\n", __func__, major, minor); minor 875 drivers/gpu/drm/msm/dsi/dsi_host.c (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_2)) minor 884 drivers/gpu/drm/msm/dsi/dsi_host.c (cfg_hnd->minor > MSM_DSI_6G_VER_MINOR_V1_0) && minor 2090 drivers/gpu/drm/msm/dsi/dsi_host.c (cfg_hnd->minor >= MSM_DSI_6G_VER_MINOR_V1_1)) { minor 163 drivers/gpu/drm/msm/msm_debugfs.c struct drm_device *dev = node->minor->dev; minor 185 drivers/gpu/drm/msm/msm_debugfs.c static int late_init_minor(struct drm_minor *minor) minor 189 drivers/gpu/drm/msm/msm_debugfs.c if (!minor) minor 192 drivers/gpu/drm/msm/msm_debugfs.c ret = msm_rd_debugfs_init(minor); minor 194 drivers/gpu/drm/msm/msm_debugfs.c DRM_DEV_ERROR(minor->dev->dev, "could not install rd debugfs\n"); minor 198 drivers/gpu/drm/msm/msm_debugfs.c ret = msm_perf_debugfs_init(minor); minor 200 drivers/gpu/drm/msm/msm_debugfs.c DRM_DEV_ERROR(minor->dev->dev, "could not install perf debugfs\n"); minor 217 drivers/gpu/drm/msm/msm_debugfs.c int msm_debugfs_init(struct drm_minor *minor) minor 219 drivers/gpu/drm/msm/msm_debugfs.c struct drm_device *dev = minor->dev; minor 225 drivers/gpu/drm/msm/msm_debugfs.c minor->debugfs_root, minor); minor 232 drivers/gpu/drm/msm/msm_debugfs.c debugfs_create_file("gpu", S_IRUSR, minor->debugfs_root, minor 236 drivers/gpu/drm/msm/msm_debugfs.c ret = priv->kms->funcs->debugfs_init(priv->kms, minor); minor 11 drivers/gpu/drm/msm/msm_debugfs.h int msm_debugfs_init(struct drm_minor *minor); minor 1032 drivers/gpu/drm/msm/msm_drv.c .minor = MSM_VERSION_MINOR, minor 388 drivers/gpu/drm/msm/msm_drv.h int msm_rd_debugfs_init(struct drm_minor *minor); minor 393 drivers/gpu/drm/msm/msm_drv.h int msm_perf_debugfs_init(struct drm_minor *minor); minor 60 drivers/gpu/drm/msm/msm_gpu.h int (*debugfs_init)(struct msm_gpu *gpu, struct drm_minor *minor); minor 127 drivers/gpu/drm/msm/msm_kms.h int (*debugfs_init)(struct msm_kms *kms, struct drm_minor *minor); minor 196 drivers/gpu/drm/msm/msm_perf.c int msm_perf_debugfs_init(struct drm_minor *minor) minor 198 drivers/gpu/drm/msm/msm_perf.c struct msm_drm_private *priv = minor->dev->dev_private; minor 209 drivers/gpu/drm/msm/msm_perf.c perf->dev = minor->dev; minor 214 drivers/gpu/drm/msm/msm_perf.c debugfs_create_file("perf", S_IFREG | S_IRUGO, minor->debugfs_root, minor 236 drivers/gpu/drm/msm/msm_rd.c static struct msm_rd_state *rd_init(struct drm_minor *minor, const char *name) minor 244 drivers/gpu/drm/msm/msm_rd.c rd->dev = minor->dev; minor 251 drivers/gpu/drm/msm/msm_rd.c debugfs_create_file(name, S_IFREG | S_IRUGO, minor->debugfs_root, rd, minor 257 drivers/gpu/drm/msm/msm_rd.c int msm_rd_debugfs_init(struct drm_minor *minor) minor 259 drivers/gpu/drm/msm/msm_rd.c struct msm_drm_private *priv = minor->dev->dev_private; minor 267 drivers/gpu/drm/msm/msm_rd.c rd = rd_init(minor, "rd"); minor 275 drivers/gpu/drm/msm/msm_rd.c rd = rd_init(minor, "hangrd"); minor 338 drivers/gpu/drm/mxsfb/mxsfb_drv.c .minor = 0, minor 20 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios.h u8 minor; minor 41 drivers/gpu/drm/nouveau/nouveau_debugfs.c struct nouveau_drm *drm = nouveau_drm(node->minor->dev); minor 53 drivers/gpu/drm/nouveau/nouveau_debugfs.c struct nouveau_drm *drm = nouveau_drm(node->minor->dev); minor 221 drivers/gpu/drm/nouveau/nouveau_debugfs.c nouveau_drm_debugfs_init(struct drm_minor *minor) minor 223 drivers/gpu/drm/nouveau/nouveau_debugfs.c struct nouveau_drm *drm = nouveau_drm(minor->dev); minor 230 drivers/gpu/drm/nouveau/nouveau_debugfs.c minor->debugfs_root, minor->dev, minor 238 drivers/gpu/drm/nouveau/nouveau_debugfs.c minor->debugfs_root, minor); minor 245 drivers/gpu/drm/nouveau/nouveau_debugfs.c dentry = debugfs_lookup("vbios.rom", minor->debugfs_root); minor 26 drivers/gpu/drm/nouveau/nouveau_debugfs.h nouveau_drm_debugfs_init(struct drm_minor *minor) minor 1134 drivers/gpu/drm/nouveau/nouveau_drm.c struct drm_device *dev = filp->minor->dev; minor 1220 drivers/gpu/drm/nouveau/nouveau_drm.c .minor = DRIVER_MINOR, minor 165 drivers/gpu/drm/nouveau/nouveau_ttm.c struct nouveau_drm *drm = nouveau_drm(file_priv->minor->dev); minor 94 drivers/gpu/drm/nouveau/nouveau_usif.c dev = filp->minor->dev; minor 189 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c bios->version.minor = nvbios_rd08(bios, bit_i.offset + 1); minor 196 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c bios->version.minor = nvbios_rd08(bios, bios->bmp_offset + 11); minor 202 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c bios->version.minor, bios->version.micro, bios->version.patch); minor 22 drivers/gpu/drm/omapdrm/omap_debugfs.c struct drm_device *dev = node->minor->dev; minor 36 drivers/gpu/drm/omapdrm/omap_debugfs.c struct drm_device *dev = node->minor->dev; minor 48 drivers/gpu/drm/omapdrm/omap_debugfs.c struct drm_device *dev = node->minor->dev; minor 83 drivers/gpu/drm/omapdrm/omap_debugfs.c int omap_debugfs_init(struct drm_minor *minor) minor 85 drivers/gpu/drm/omapdrm/omap_debugfs.c struct drm_device *dev = minor->dev; minor 90 drivers/gpu/drm/omapdrm/omap_debugfs.c minor->debugfs_root, minor); minor 100 drivers/gpu/drm/omapdrm/omap_debugfs.c minor->debugfs_root, minor); minor 544 drivers/gpu/drm/omapdrm/omap_drv.c .minor = DRIVER_MINOR, minor 85 drivers/gpu/drm/omapdrm/omap_drv.h int omap_debugfs_init(struct drm_minor *minor); minor 567 drivers/gpu/drm/panfrost/panfrost_drv.c .minor = 1, minor 198 drivers/gpu/drm/panfrost/panfrost_gpu.c u32 gpu_id, num_js, major, minor, status, rev; minor 251 drivers/gpu/drm/panfrost/panfrost_gpu.c minor = (pfdev->features.revision >> 4) & 0xff; minor 284 drivers/gpu/drm/panfrost/panfrost_gpu.c name, gpu_id, major, minor, status); minor 37 drivers/gpu/drm/pl111/pl111_debugfs.c struct drm_device *dev = node->minor->dev; minor 55 drivers/gpu/drm/pl111/pl111_debugfs.c pl111_debugfs_init(struct drm_minor *minor) minor 59 drivers/gpu/drm/pl111/pl111_debugfs.c minor->debugfs_root, minor); minor 87 drivers/gpu/drm/pl111/pl111_drm.h int pl111_debugfs_init(struct drm_minor *minor); minor 235 drivers/gpu/drm/pl111/pl111_drv.c .minor = 0, minor 42 drivers/gpu/drm/qxl/qxl_debugfs.c struct qxl_device *qdev = node->minor->dev->dev_private; minor 56 drivers/gpu/drm/qxl/qxl_debugfs.c struct qxl_device *qdev = node->minor->dev->dev_private; minor 83 drivers/gpu/drm/qxl/qxl_debugfs.c qxl_debugfs_init(struct drm_minor *minor) minor 88 drivers/gpu/drm/qxl/qxl_debugfs.c (struct qxl_device *) minor->dev->dev_private; minor 91 drivers/gpu/drm/qxl/qxl_debugfs.c minor->debugfs_root, minor); minor 296 drivers/gpu/drm/qxl/qxl_drv.c .minor = 1, minor 443 drivers/gpu/drm/qxl/qxl_drv.h int qxl_debugfs_init(struct drm_minor *minor); minor 70 drivers/gpu/drm/qxl/qxl_ttm.c struct qxl_device *qdev = file_priv->minor->dev->dev_private; minor 371 drivers/gpu/drm/qxl/qxl_ttm.c struct drm_device *dev = node->minor->dev; minor 82 drivers/gpu/drm/r128/r128_drv.c .minor = DRIVER_MINOR, minor 2926 drivers/gpu/drm/radeon/r100.c struct drm_device *dev = node->minor->dev; minor 2947 drivers/gpu/drm/radeon/r100.c struct drm_device *dev = node->minor->dev; minor 2975 drivers/gpu/drm/radeon/r100.c struct drm_device *dev = node->minor->dev; minor 3025 drivers/gpu/drm/radeon/r100.c struct drm_device *dev = node->minor->dev; minor 596 drivers/gpu/drm/radeon/r300.c struct drm_device *dev = node->minor->dev; minor 486 drivers/gpu/drm/radeon/r420.c struct drm_device *dev = node->minor->dev; minor 4352 drivers/gpu/drm/radeon/r600.c struct drm_device *dev = node->minor->dev; minor 752 drivers/gpu/drm/radeon/radeon_dp_mst.c struct drm_device *dev = node->minor->dev; minor 556 drivers/gpu/drm/radeon/radeon_drv.c dev = file_priv->minor->dev; minor 657 drivers/gpu/drm/radeon/radeon_drv.c .minor = KMS_DRIVER_MINOR, minor 979 drivers/gpu/drm/radeon/radeon_fence.c struct drm_device *dev = node->minor->dev; minor 1012 drivers/gpu/drm/radeon/radeon_fence.c struct drm_device *dev = node->minor->dev; minor 783 drivers/gpu/drm/radeon/radeon_gem.c struct drm_device *dev = node->minor->dev; minor 300 drivers/gpu/drm/radeon/radeon_ib.c struct drm_device *dev = node->minor->dev; minor 1867 drivers/gpu/drm/radeon/radeon_pm.c struct drm_device *dev = node->minor->dev; minor 467 drivers/gpu/drm/radeon/radeon_ring.c struct drm_device *dev = node->minor->dev; minor 907 drivers/gpu/drm/radeon/radeon_ttm.c struct radeon_device *rdev = file_priv->minor->dev->dev_private; minor 931 drivers/gpu/drm/radeon/radeon_ttm.c struct drm_device *dev = node->minor->dev; minor 1066 drivers/gpu/drm/radeon/radeon_ttm.c struct drm_minor *minor = rdev->ddev->primary; minor 1067 drivers/gpu/drm/radeon/radeon_ttm.c struct dentry *root = minor->debugfs_root; minor 313 drivers/gpu/drm/radeon/rs400.c struct drm_device *dev = node->minor->dev; minor 241 drivers/gpu/drm/radeon/rv515.c struct drm_device *dev = node->minor->dev; minor 259 drivers/gpu/drm/radeon/rv515.c struct drm_device *dev = node->minor->dev; minor 460 drivers/gpu/drm/rcar-du/rcar_du_drv.c .minor = 0, minor 234 drivers/gpu/drm/rockchip/rockchip_drm_drv.c .minor = DRIVER_MINOR, minor 14 drivers/gpu/drm/rockchip/rockchip_drm_vop.h #define VOP_VERSION(major, minor) ((major) << 8 | (minor)) minor 66 drivers/gpu/drm/savage/savage_drv.c .minor = DRIVER_MINOR, minor 149 drivers/gpu/drm/shmobile/shmob_drm_drv.c .minor = 0, minor 117 drivers/gpu/drm/sis/sis_drv.c .minor = DRIVER_MINOR, minor 46 drivers/gpu/drm/sti/sti_compositor.c struct drm_minor *minor) minor 52 drivers/gpu/drm/sti/sti_compositor.c vid_debugfs_init(compo->vid[i], minor); minor 56 drivers/gpu/drm/sti/sti_compositor.c sti_mixer_debugfs_init(compo->mixer[i], minor); minor 83 drivers/gpu/drm/sti/sti_compositor.h struct drm_minor *minor); minor 135 drivers/gpu/drm/sti/sti_cursor.c struct drm_minor *minor) minor 144 drivers/gpu/drm/sti/sti_cursor.c minor->debugfs_root, minor); minor 78 drivers/gpu/drm/sti/sti_drv.c struct drm_device *dev = node->minor->dev; minor 96 drivers/gpu/drm/sti/sti_drv.c static int sti_drm_dbg_init(struct drm_minor *minor) minor 102 drivers/gpu/drm/sti/sti_drv.c minor->debugfs_root, minor); minor 106 drivers/gpu/drm/sti/sti_drv.c debugfs_create_file("fps_show", S_IRUGO | S_IWUSR, minor->debugfs_root, minor 107 drivers/gpu/drm/sti/sti_drv.c minor->dev, &sti_drm_fps_fops); minor 166 drivers/gpu/drm/sti/sti_drv.c .minor = DRIVER_MINOR, minor 198 drivers/gpu/drm/sti/sti_dvo.c static int dvo_debugfs_init(struct sti_dvo *dvo, struct drm_minor *minor) minor 207 drivers/gpu/drm/sti/sti_dvo.c minor->debugfs_root, minor); minor 316 drivers/gpu/drm/sti/sti_gdp.c static int gdp_debugfs_init(struct sti_gdp *gdp, struct drm_minor *minor) minor 348 drivers/gpu/drm/sti/sti_gdp.c minor->debugfs_root, minor); minor 369 drivers/gpu/drm/sti/sti_hda.c static int hda_debugfs_init(struct sti_hda *hda, struct drm_minor *minor) minor 378 drivers/gpu/drm/sti/sti_hda.c minor->debugfs_root, minor); minor 729 drivers/gpu/drm/sti/sti_hdmi.c static int hdmi_debugfs_init(struct sti_hdmi *hdmi, struct drm_minor *minor) minor 738 drivers/gpu/drm/sti/sti_hdmi.c minor->debugfs_root, minor); minor 642 drivers/gpu/drm/sti/sti_hqvdp.c static int hqvdp_debugfs_init(struct sti_hqvdp *hqvdp, struct drm_minor *minor) minor 651 drivers/gpu/drm/sti/sti_hqvdp.c minor->debugfs_root, minor); minor 181 drivers/gpu/drm/sti/sti_mixer.c int sti_mixer_debugfs_init(struct sti_mixer *mixer, struct drm_minor *minor) minor 205 drivers/gpu/drm/sti/sti_mixer.c minor->debugfs_root, minor); minor 61 drivers/gpu/drm/sti/sti_mixer.h int sti_mixer_debugfs_init(struct sti_mixer *mixer, struct drm_minor *minor); minor 573 drivers/gpu/drm/sti/sti_tvout.c static int tvout_debugfs_init(struct sti_tvout *tvout, struct drm_minor *minor) minor 582 drivers/gpu/drm/sti/sti_tvout.c minor->debugfs_root, minor); minor 127 drivers/gpu/drm/sti/sti_vid.c int vid_debugfs_init(struct sti_vid *vid, struct drm_minor *minor) minor 136 drivers/gpu/drm/sti/sti_vid.c minor->debugfs_root, minor); minor 29 drivers/gpu/drm/sti/sti_vid.h int vid_debugfs_init(struct sti_vid *vid, struct drm_minor *minor); minor 62 drivers/gpu/drm/stm/drv.c .minor = 0, minor 52 drivers/gpu/drm/sun4i/sun4i_drv.c .minor = 0, minor 66 drivers/gpu/drm/tdfx/tdfx_drv.c .minor = DRIVER_MINOR, minor 1494 drivers/gpu/drm/tegra/dc.c struct drm_minor *minor = crtc->dev->primary; minor 1513 drivers/gpu/drm/tegra/dc.c err = drm_debugfs_create_files(dc->debugfs_files, count, root, minor); minor 1529 drivers/gpu/drm/tegra/dc.c struct drm_minor *minor = crtc->dev->primary; minor 1532 drivers/gpu/drm/tegra/dc.c drm_debugfs_remove_files(dc->debugfs_files, count, minor); minor 967 drivers/gpu/drm/tegra/drm.c struct drm_device *drm = node->minor->dev; minor 988 drivers/gpu/drm/tegra/drm.c struct drm_device *drm = node->minor->dev; minor 1006 drivers/gpu/drm/tegra/drm.c static int tegra_debugfs_init(struct drm_minor *minor) minor 1010 drivers/gpu/drm/tegra/drm.c minor->debugfs_root, minor); minor 1045 drivers/gpu/drm/tegra/drm.c .minor = DRIVER_MINOR, minor 203 drivers/gpu/drm/tegra/dsi.c struct drm_device *drm = node->minor->dev; minor 234 drivers/gpu/drm/tegra/dsi.c struct drm_minor *minor = connector->dev->primary; minor 247 drivers/gpu/drm/tegra/dsi.c err = drm_debugfs_create_files(dsi->debugfs_files, count, root, minor); minor 1033 drivers/gpu/drm/tegra/hdmi.c struct drm_device *drm = node->minor->dev; minor 1064 drivers/gpu/drm/tegra/hdmi.c struct drm_minor *minor = connector->dev->primary; minor 1077 drivers/gpu/drm/tegra/hdmi.c err = drm_debugfs_create_files(hdmi->debugfs_files, count, root, minor); minor 1093 drivers/gpu/drm/tegra/hdmi.c struct drm_minor *minor = connector->dev->primary; minor 1097 drivers/gpu/drm/tegra/hdmi.c drm_debugfs_remove_files(hdmi->debugfs_files, count, minor); minor 1268 drivers/gpu/drm/tegra/sor.c struct drm_device *drm = node->minor->dev; minor 1430 drivers/gpu/drm/tegra/sor.c struct drm_device *drm = node->minor->dev; minor 1462 drivers/gpu/drm/tegra/sor.c struct drm_minor *minor = connector->dev->primary; minor 1475 drivers/gpu/drm/tegra/sor.c err = drm_debugfs_create_files(sor->debugfs_files, count, root, minor); minor 456 drivers/gpu/drm/tilcdc/tilcdc_drv.c struct drm_device *dev = node->minor->dev; minor 477 drivers/gpu/drm/tilcdc/tilcdc_drv.c struct drm_device *dev = node->minor->dev; minor 488 drivers/gpu/drm/tilcdc/tilcdc_drv.c static int tilcdc_debugfs_init(struct drm_minor *minor) minor 490 drivers/gpu/drm/tilcdc/tilcdc_drv.c struct drm_device *dev = minor->dev; minor 496 drivers/gpu/drm/tilcdc/tilcdc_drv.c minor->debugfs_root, minor); minor 500 drivers/gpu/drm/tilcdc/tilcdc_drv.c mod->funcs->debugfs_init(mod, minor); minor 536 drivers/gpu/drm/tilcdc/tilcdc_drv.c .minor = 0, minor 98 drivers/gpu/drm/tilcdc/tilcdc_drv.h int (*debugfs_init)(struct tilcdc_module *mod, struct drm_minor *minor); minor 661 drivers/gpu/drm/tiny/gm12u320.c .minor = DRIVER_MINOR, minor 205 drivers/gpu/drm/tiny/hx8357d.c .minor = 0, minor 363 drivers/gpu/drm/tiny/ili9225.c .minor = 0, minor 161 drivers/gpu/drm/tiny/ili9341.c .minor = 0, minor 165 drivers/gpu/drm/tiny/mi0283qt.c .minor = 0, minor 973 drivers/gpu/drm/tiny/repaper.c .minor = 0, minor 303 drivers/gpu/drm/tiny/st7586.c .minor = 0, minor 135 drivers/gpu/drm/tiny/st7735r.c .minor = 0, minor 148 drivers/gpu/drm/tve200/tve200_drv.c .minor = 0, minor 82 drivers/gpu/drm/udl/udl_drv.c .minor = DRIVER_MINOR, minor 83 drivers/gpu/drm/v3d/v3d_debugfs.c struct drm_device *dev = node->minor->dev; minor 130 drivers/gpu/drm/v3d/v3d_debugfs.c struct drm_device *dev = node->minor->dev; minor 199 drivers/gpu/drm/v3d/v3d_debugfs.c struct drm_device *dev = node->minor->dev; minor 215 drivers/gpu/drm/v3d/v3d_debugfs.c struct drm_device *dev = node->minor->dev; minor 262 drivers/gpu/drm/v3d/v3d_debugfs.c v3d_debugfs_init(struct drm_minor *minor) minor 266 drivers/gpu/drm/v3d/v3d_debugfs.c minor->debugfs_root, minor); minor 217 drivers/gpu/drm/v3d/v3d_drv.c .minor = DRIVER_MINOR, minor 304 drivers/gpu/drm/v3d/v3d_drv.h int v3d_debugfs_init(struct drm_minor *minor); minor 209 drivers/gpu/drm/vboxvideo/vbox_drv.c .minor = DRIVER_MINOR, minor 69 drivers/gpu/drm/vc4/vc4_bo.c struct drm_device *dev = node->minor->dev; minor 24 drivers/gpu/drm/vc4/vc4_debugfs.c vc4_debugfs_init(struct drm_minor *minor) minor 26 drivers/gpu/drm/vc4/vc4_debugfs.c struct vc4_dev *vc4 = to_vc4_dev(minor->dev); minor 30 drivers/gpu/drm/vc4/vc4_debugfs.c minor->debugfs_root, &vc4->load_tracker_enabled); minor 34 drivers/gpu/drm/vc4/vc4_debugfs.c minor->debugfs_root, minor); minor 223 drivers/gpu/drm/vc4/vc4_drv.c .minor = DRIVER_MINOR, minor 757 drivers/gpu/drm/vc4/vc4_drv.h int vc4_debugfs_init(struct drm_minor *minor); minor 185 drivers/gpu/drm/vc4/vc4_hdmi.c struct drm_device *dev = node->minor->dev; minor 86 drivers/gpu/drm/vc4/vc4_hvs.c struct drm_device *dev = node->minor->dev; minor 102 drivers/gpu/drm/vc4/vc4_v3d.c struct drm_device *dev = node->minor->dev; minor 468 drivers/gpu/drm/vgem/vgem_drv.c .minor = DRIVER_MINOR, minor 98 drivers/gpu/drm/via/via_drv.c .minor = DRIVER_MINOR, minor 46 drivers/gpu/drm/virtio/virtgpu_debugfs.c struct virtio_gpu_device *vgdev = node->minor->dev->dev_private; minor 59 drivers/gpu/drm/virtio/virtgpu_debugfs.c struct virtio_gpu_device *vgdev = node->minor->dev->dev_private; minor 75 drivers/gpu/drm/virtio/virtgpu_debugfs.c virtio_gpu_debugfs_init(struct drm_minor *minor) minor 79 drivers/gpu/drm/virtio/virtgpu_debugfs.c minor->debugfs_root, minor); minor 231 drivers/gpu/drm/virtio/virtgpu_drv.c .minor = DRIVER_MINOR, minor 425 drivers/gpu/drm/virtio/virtgpu_drv.h int virtio_gpu_debugfs_init(struct drm_minor *minor); minor 59 drivers/gpu/drm/virtio/virtgpu_ttm.c vgdev = file_priv->minor->dev->dev_private; minor 111 drivers/gpu/drm/vkms/vkms_drv.c .minor = DRIVER_MINOR, minor 53 drivers/gpu/drm/vmwgfx/device_include/svga3d_devcaps.h #define SVGA3D_MAKE_HWVERSION(major, minor) (((major) << 16) | ((minor) & 0xFF)) minor 1047 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c struct drm_device *dev = file_priv->minor->dev; minor 1414 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c .minor = VMWGFX_DRIVER_MINOR, minor 422 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c vmw_priv(file_priv->minor->dev); minor 445 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c vmw_priv(file_priv->minor->dev); minor 33 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c struct vmw_private *dev_priv = vmw_priv(file_priv->minor->dev); minor 510 drivers/gpu/drm/xen/xen_drm_front.c .minor = 0, minor 554 drivers/gpu/drm/xen/xen_drm_front.c xen_drm_driver.minor, xen_drm_driver.patchlevel, minor 54 drivers/gpu/drm/zte/zx_drm_drv.c .minor = 0, minor 26 drivers/greybus/control.c request.minor = GB_CONTROL_VERSION_MINOR; minor 47 drivers/greybus/control.c control->protocol_minor = response.minor; minor 50 drivers/greybus/control.c response.minor); minor 77 drivers/greybus/control.c bundle->class_minor = response.minor; minor 80 drivers/greybus/control.c response.major, response.minor); minor 663 drivers/greybus/svc.c svc->protocol_minor = request->minor; minor 670 drivers/greybus/svc.c response->minor = svc->protocol_minor; minor 1961 drivers/hid/hid-core.c ((struct hiddev *)hdev->hiddev)->minor); minor 1964 drivers/hid/hid-core.c ((struct hidraw *)hdev->hidraw)->minor); minor 1316 drivers/hid/hid-cp2112.c ((struct hidraw *)hdev->hidraw)->minor); minor 411 drivers/hid/hid-led.c struct hidled_rgb *rgb, unsigned int minor) minor 417 drivers/hid/hid-led.c config->short_name, minor, color_name, rgb->num); minor 420 drivers/hid/hid-led.c config->short_name, minor, color_name); minor 430 drivers/hid/hid-led.c static int hidled_init_rgb(struct hidled_rgb *rgb, unsigned int minor) minor 435 drivers/hid/hid-led.c ret = hidled_init_led(&rgb->red, "red", rgb, minor); minor 440 drivers/hid/hid-led.c ret = hidled_init_led(&rgb->green, "green", rgb, minor); minor 445 drivers/hid/hid-led.c return hidled_init_led(&rgb->blue, "blue", rgb, minor); minor 451 drivers/hid/hid-led.c unsigned int minor; minor 491 drivers/hid/hid-led.c minor = ((struct hidraw *) hdev->hidraw)->minor; minor 496 drivers/hid/hid-led.c ret = hidled_init_rgb(&ldev->rgb[i], minor); minor 1055 drivers/hid/hid-multitouch.c int minor = min(*slot->w, *slot->h); minor 1085 drivers/hid/hid-multitouch.c minor = minor >> 1; minor 1096 drivers/hid/hid-multitouch.c input_event(input, EV_ABS, ABS_MT_TOUCH_MINOR, minor); minor 40 drivers/hid/hid-roccat.c unsigned int minor; minor 150 drivers/hid/hid-roccat.c unsigned int minor = iminor(inode); minor 161 drivers/hid/hid-roccat.c device = devices[minor]; minor 164 drivers/hid/hid-roccat.c pr_emerg("roccat device with minor %d doesn't exist\n", minor); minor 205 drivers/hid/hid-roccat.c unsigned int minor = iminor(inode); minor 211 drivers/hid/hid-roccat.c device = devices[minor]; minor 214 drivers/hid/hid-roccat.c pr_emerg("roccat device with minor %d doesn't exist\n", minor); minor 247 drivers/hid/hid-roccat.c int roccat_report_event(int minor, u8 const *data) minor 254 drivers/hid/hid-roccat.c device = devices[minor]; minor 296 drivers/hid/hid-roccat.c unsigned int minor; minor 306 drivers/hid/hid-roccat.c for (minor = 0; minor < ROCCAT_MAX_DEVICES; ++minor) { minor 307 drivers/hid/hid-roccat.c if (devices[minor]) minor 312 drivers/hid/hid-roccat.c if (minor < ROCCAT_MAX_DEVICES) { minor 313 drivers/hid/hid-roccat.c devices[minor] = device; minor 321 drivers/hid/hid-roccat.c MKDEV(roccat_major, minor), NULL, minor 322 drivers/hid/hid-roccat.c "%s%s%d", "roccat", hid->driver->name, minor); minor 325 drivers/hid/hid-roccat.c devices[minor] = NULL; minor 338 drivers/hid/hid-roccat.c device->minor = minor; minor 344 drivers/hid/hid-roccat.c return minor; minor 351 drivers/hid/hid-roccat.c void roccat_disconnect(int minor) minor 356 drivers/hid/hid-roccat.c device = devices[minor]; minor 361 drivers/hid/hid-roccat.c device_destroy(device->dev->class, MKDEV(roccat_major, minor)); minor 364 drivers/hid/hid-roccat.c devices[minor] = NULL; minor 380 drivers/hid/hid-roccat.c unsigned int minor = iminor(inode); minor 385 drivers/hid/hid-roccat.c device = devices[minor]; minor 729 drivers/hid/hid-sensor-custom.c sensor_inst->custom_dev.minor = MISC_DYNAMIC_MINOR; minor 214 drivers/hid/hid-u2fzero.c unsigned int minor) minor 217 drivers/hid/hid-u2fzero.c "%s%u", DRIVER_SHORT, minor); minor 230 drivers/hid/hid-u2fzero.c unsigned int minor) minor 233 drivers/hid/hid-u2fzero.c "%s-rng%u", DRIVER_SHORT, minor); minor 286 drivers/hid/hid-u2fzero.c unsigned int minor; minor 322 drivers/hid/hid-u2fzero.c minor = ((struct hidraw *) hdev->hidraw)->minor; minor 324 drivers/hid/hid-u2fzero.c ret = u2fzero_init_led(dev, minor); minor 332 drivers/hid/hid-u2fzero.c ret = u2fzero_init_hwrng(dev, minor); minor 105 drivers/hid/hidraw.c unsigned int minor = iminor(file_inode(file)); minor 112 drivers/hid/hidraw.c if (!hidraw_table[minor] || !hidraw_table[minor]->exist) { minor 117 drivers/hid/hidraw.c dev = hidraw_table[minor]->hid; minor 179 drivers/hid/hidraw.c unsigned int minor = iminor(file_inode(file)); minor 187 drivers/hid/hidraw.c if (!hidraw_table[minor] || !hidraw_table[minor]->exist) { minor 192 drivers/hid/hidraw.c dev = hidraw_table[minor]->hid; minor 264 drivers/hid/hidraw.c unsigned int minor = iminor(inode); minor 276 drivers/hid/hidraw.c if (!hidraw_table[minor] || !hidraw_table[minor]->exist) { minor 281 drivers/hid/hidraw.c dev = hidraw_table[minor]; minor 297 drivers/hid/hidraw.c list->hidraw = hidraw_table[minor]; minor 299 drivers/hid/hidraw.c spin_lock_irqsave(&hidraw_table[minor]->list_lock, flags); minor 300 drivers/hid/hidraw.c list_add_tail(&list->node, &hidraw_table[minor]->list); minor 301 drivers/hid/hidraw.c spin_unlock_irqrestore(&hidraw_table[minor]->list_lock, flags); minor 328 drivers/hid/hidraw.c MKDEV(hidraw_major, hidraw->minor)); minor 334 drivers/hid/hidraw.c hidraw_table[hidraw->minor] = NULL; minor 346 drivers/hid/hidraw.c unsigned int minor = iminor(inode); minor 352 drivers/hid/hidraw.c spin_lock_irqsave(&hidraw_table[minor]->list_lock, flags); minor 354 drivers/hid/hidraw.c spin_unlock_irqrestore(&hidraw_table[minor]->list_lock, flags); minor 357 drivers/hid/hidraw.c drop_ref(hidraw_table[minor], 0); minor 367 drivers/hid/hidraw.c unsigned int minor = iminor(inode); minor 373 drivers/hid/hidraw.c dev = hidraw_table[minor]; minor 509 drivers/hid/hidraw.c int minor, result; minor 522 drivers/hid/hidraw.c for (minor = 0; minor < HIDRAW_MAX_DEVICES; minor++) { minor 523 drivers/hid/hidraw.c if (hidraw_table[minor]) minor 525 drivers/hid/hidraw.c hidraw_table[minor] = dev; minor 536 drivers/hid/hidraw.c dev->dev = device_create(hidraw_class, &hid->dev, MKDEV(hidraw_major, minor), minor 537 drivers/hid/hidraw.c NULL, "%s%d", "hidraw", minor); minor 540 drivers/hid/hidraw.c hidraw_table[minor] = NULL; minor 552 drivers/hid/hidraw.c dev->minor = minor; minor 117 drivers/hid/intel-ish-hid/ishtp-fw-loader.c u16 minor; minor 126 drivers/hid/intel-ish-hid/ishtp-fw-loader.c u8 minor; minor 502 drivers/hid/intel-ish-hid/ishtp-fw-loader.c fw_info->ish_fw_version.minor, minor 55 drivers/hid/intel-ish-hid/ishtp-hid.h uint8_t minor; minor 791 drivers/hid/uhid.c .minor = UHID_MINOR, minor 1663 drivers/hid/usbhid/hid-core.c struct usb_interface *usbhid_find_interface(int minor) minor 1665 drivers/hid/usbhid/hid-core.c return usb_find_interface(&hid_driver, minor); minor 923 drivers/hid/usbhid/hiddev.c hiddev->minor = usbhid->intf->minor; minor 25 drivers/hid/usbhid/usbhid.h struct usb_interface *usbhid_find_interface(int minor); minor 1364 drivers/hsi/clients/cmt_speech.c .minor = MISC_DYNAMIC_MINOR, minor 239 drivers/hv/channel_mgmt.c (negop->icversion_data[j].minor == fw_minor)) { minor 241 drivers/hv/channel_mgmt.c icframe_minor = negop->icversion_data[j].minor; minor 265 drivers/hv/channel_mgmt.c (negop->icversion_data[j].minor == srv_minor)) { minor 268 drivers/hv/channel_mgmt.c icmsg_minor = negop->icversion_data[j].minor; minor 299 drivers/hv/channel_mgmt.c negop->icversion_data[0].minor = icframe_minor; minor 301 drivers/hv/channel_mgmt.c negop->icversion_data[1].minor = icmsg_minor; minor 284 drivers/hv/hv_utils_transport.c hvt->mdev.minor = MISC_DYNAMIC_MINOR; minor 809 drivers/hwmon/fschmd.c if (pos->watchdog_miscdev.minor == iminor(inode)) { minor 1217 drivers/hwmon/fschmd.c data->watchdog_miscdev.minor = watchdog_minors[i]; minor 1222 drivers/hwmon/fschmd.c data->watchdog_miscdev.minor = 0; minor 1236 drivers/hwmon/fschmd.c data->watchdog_miscdev.minor = 0; minor 1258 drivers/hwmon/fschmd.c if (data->watchdog_miscdev.minor) { minor 205 drivers/hwmon/ibmaem.c u8 minor; minor 676 drivers/hwmon/ibmaem.c data->ver_minor = fi_resp->minor; minor 1303 drivers/hwmon/w83793.c if (pos->watchdog_miscdev.minor == iminor(inode)) { minor 1477 drivers/hwmon/w83793.c if (data->watchdog_miscdev.minor) minor 1506 drivers/hwmon/w83793.c if (data->watchdog_miscdev.minor) { minor 1882 drivers/hwmon/w83793.c data->watchdog_miscdev.minor = watchdog_minors[i]; minor 1888 drivers/hwmon/w83793.c data->watchdog_miscdev.minor = 0; minor 1902 drivers/hwmon/w83793.c data->watchdog_miscdev.minor = 0; minor 790 drivers/hwtracing/coresight/coresight-etb10.c drvdata->miscdev.minor = MISC_DYNAMIC_MINOR; minor 530 drivers/hwtracing/coresight/coresight-tmc.c drvdata->miscdev.minor = MISC_DYNAMIC_MINOR; minor 1366 drivers/i2c/busses/i2c-omap.c u16 minor, major; minor 1428 drivers/i2c/busses/i2c-omap.c minor = OMAP_I2C_REV_SCHEME_0_MAJOR(omap->rev); minor 1437 drivers/i2c/busses/i2c-omap.c minor = OMAP_I2C_REV_SCHEME_1_MINOR(rev); minor 1510 drivers/i2c/busses/i2c-omap.c major, minor, omap->speed); minor 579 drivers/i2c/i2c-dev.c unsigned int minor = iminor(inode); minor 583 drivers/i2c/i2c-dev.c adap = i2c_get_adapter(minor); minor 177 drivers/ide/ide-tape.c unsigned int minor; minor 1466 drivers/ide/ide-tape.c unsigned int minor = iminor(inode), i = minor & ~0xc0; minor 1549 drivers/ide/ide-tape.c static void idetape_write_release(ide_drive_t *drive, unsigned int minor) minor 1570 drivers/ide/ide-tape.c unsigned int minor = iminor(inode); minor 1579 drivers/ide/ide-tape.c idetape_write_release(drive, minor); minor 1581 drivers/ide/ide-tape.c if (minor < 128) minor 1585 drivers/ide/ide-tape.c if (minor < 128 && test_bit(ilog2(IDE_AFLAG_MEDIUM_PRESENT), minor 1745 drivers/ide/ide-tape.c static void idetape_setup(ide_drive_t *drive, idetape_tape_t *tape, int minor) minor 1751 drivers/ide/ide-tape.c ide_debug_log(IDE_DBG_FUNC, "minor: %d", minor); minor 1767 drivers/ide/ide-tape.c tape->minor = minor; minor 1770 drivers/ide/ide-tape.c tape->name[2] = '0' + minor; minor 1829 drivers/ide/ide-tape.c device_destroy(idetape_sysfs_class, MKDEV(IDETAPE_MAJOR, tape->minor)); minor 1831 drivers/ide/ide-tape.c MKDEV(IDETAPE_MAJOR, tape->minor + 128)); minor 1832 drivers/ide/ide-tape.c idetape_devs[tape->minor] = NULL; minor 1944 drivers/ide/ide-tape.c int minor; minor 1989 drivers/ide/ide-tape.c for (minor = 0; idetape_devs[minor]; minor++) minor 1991 drivers/ide/ide-tape.c idetape_devs[minor] = tape; minor 1994 drivers/ide/ide-tape.c idetape_setup(drive, tape, minor); minor 1997 drivers/ide/ide-tape.c MKDEV(IDETAPE_MAJOR, minor), NULL, "%s", tape->name); minor 1999 drivers/ide/ide-tape.c MKDEV(IDETAPE_MAJOR, minor + 128), NULL, minor 80 drivers/iio/chemical/sgp30.c u8 minor; minor 124 drivers/iio/chemical/sgp30.c .minor = 0, minor 131 drivers/iio/chemical/sgp30.c .minor = 4, minor 414 drivers/iio/chemical/sgp30.c u16 product, generation, major, minor; minor 453 drivers/iio/chemical/sgp30.c minor = SGP_VERS_MINOR(data); minor 456 drivers/iio/chemical/sgp30.c minor >= supported_versions[ix].minor) minor 460 drivers/iio/chemical/sgp30.c major, minor); minor 1831 drivers/infiniband/core/ucma.c .minor = MISC_DYNAMIC_MINOR, minor 126 drivers/infiniband/hw/bnxt_re/bnxt_re.h unsigned int version, major, minor; minor 60 drivers/infiniband/hw/hfi1/device.c int hfi1_cdev_init(int minor, const char *name, minor 66 drivers/infiniband/hw/hfi1/device.c const dev_t dev = MKDEV(MAJOR(hfi1_dev), minor); minor 78 drivers/infiniband/hw/hfi1/device.c minor, name, -ret); minor 91 drivers/infiniband/hw/hfi1/device.c minor, name, -ret); minor 50 drivers/infiniband/hw/hfi1/device.h int hfi1_cdev_init(int minor, const char *name, minor 2045 drivers/infiniband/hw/i40iw/i40iw_main.c i40iw_client.version.minor = CLIENT_IW_INTERFACE_VERSION_MINOR; minor 877 drivers/infiniband/hw/mthca/mthca_main.c #define MTHCA_FW_VER(major, minor, subminor) \ minor 878 drivers/infiniband/hw/mthca/mthca_main.c (((u64) (major) << 32) | ((u64) (minor) << 16) | (u64) (subminor)) minor 1122 drivers/infiniband/hw/qib/qib.h int qib_cdev_init(int minor, const char *name, minor 2257 drivers/infiniband/hw/qib/qib_file_ops.c int qib_cdev_init(int minor, const char *name, minor 2261 drivers/infiniband/hw/qib/qib_file_ops.c const dev_t dev = MKDEV(MAJOR(qib_dev), minor); minor 2269 drivers/infiniband/hw/qib/qib_file_ops.c minor, name); minor 2281 drivers/infiniband/hw/qib/qib_file_ops.c minor, name, -ret); minor 2291 drivers/infiniband/hw/qib/qib_file_ops.c minor, name, -ret); minor 1340 drivers/input/evdev.c int minor; minor 1344 drivers/input/evdev.c minor = input_get_new_minor(EVDEV_MINOR_BASE, EVDEV_MINORS, true); minor 1345 drivers/input/evdev.c if (minor < 0) { minor 1346 drivers/input/evdev.c error = minor; minor 1363 drivers/input/evdev.c dev_no = minor; minor 1374 drivers/input/evdev.c evdev->dev.devt = MKDEV(INPUT_MAJOR, minor); minor 1398 drivers/input/evdev.c input_free_minor(minor); minor 1426 drivers/input/evdev.c .minor = EVDEV_MINOR_BASE, minor 1266 drivers/input/input.c seq_printf(seq, " Minor=%d", handler->minor); minor 2467 drivers/input/input.c int minor = ida_simple_get(&input_ida, minor 2471 drivers/input/input.c if (minor >= 0 || !allow_dynamic) minor 2472 drivers/input/input.c return minor; minor 2488 drivers/input/input.c void input_free_minor(unsigned int minor) minor 2490 drivers/input/input.c ida_simple_remove(&input_ida, minor); minor 903 drivers/input/joydev.c int i, j, t, minor, dev_no; minor 906 drivers/input/joydev.c minor = input_get_new_minor(JOYDEV_MINOR_BASE, JOYDEV_MINORS, true); minor 907 drivers/input/joydev.c if (minor < 0) { minor 908 drivers/input/joydev.c error = minor; minor 925 drivers/input/joydev.c dev_no = minor; minor 977 drivers/input/joydev.c joydev->dev.devt = MKDEV(INPUT_MAJOR, minor); minor 1001 drivers/input/joydev.c input_free_minor(minor); minor 1070 drivers/input/joydev.c .minor = JOYDEV_MINOR_BASE, minor 681 drivers/input/misc/hp_sdc_rtc.c .minor = RTC_MINOR, minor 1091 drivers/input/misc/uinput.c .minor = UINPUT_MINOR, minor 140 drivers/input/misc/xen-kbdfront.c mtouch->u.shape.minor); minor 896 drivers/input/mouse/elan_i2c_core.c unsigned int area_x, area_y, major, minor; minor 924 drivers/input/mouse/elan_i2c_core.c minor = min(area_x, area_y); minor 938 drivers/input/mouse/elan_i2c_core.c input_report_abs(input, ABS_MT_TOUCH_MINOR, minor); minor 826 drivers/input/mousedev.c int minor; minor 829 drivers/input/mousedev.c minor = input_get_new_minor(MOUSEDEV_MIX, 1, false); minor 830 drivers/input/mousedev.c if (minor < 0) minor 831 drivers/input/mousedev.c pr_err("failed to reserve mixdev minor: %d\n", minor); minor 833 drivers/input/mousedev.c minor = input_get_new_minor(MOUSEDEV_MINOR_BASE, minor 835 drivers/input/mousedev.c if (minor < 0) minor 836 drivers/input/mousedev.c pr_err("failed to reserve new minor: %d\n", minor); minor 839 drivers/input/mousedev.c return minor; minor 847 drivers/input/mousedev.c int minor; minor 850 drivers/input/mousedev.c minor = mousedev_reserve_minor(mixdev); minor 851 drivers/input/mousedev.c if (minor < 0) { minor 852 drivers/input/mousedev.c error = minor; minor 876 drivers/input/mousedev.c int dev_no = minor; minor 895 drivers/input/mousedev.c mousedev->dev.devt = MKDEV(INPUT_MAJOR, minor); minor 920 drivers/input/mousedev.c input_free_minor(minor); minor 1058 drivers/input/mousedev.c .minor = MOUSEDEV_MINOR_BASE, minor 1067 drivers/input/mousedev.c .minor = PSMOUSE_MINOR, minor 72 drivers/input/rmi4/rmi_2d_sensor.c int wide, major, minor; minor 91 drivers/input/rmi4/rmi_2d_sensor.c minor = min(obj->wx, obj->wy); minor 95 drivers/input/rmi4/rmi_2d_sensor.c minor = max(1, minor); minor 103 drivers/input/rmi4/rmi_2d_sensor.c input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MINOR, minor); minor 62 drivers/input/serio/serio_raw.c static struct serio_raw *serio_raw_locate(int minor) minor 67 drivers/input/serio/serio_raw.c if (serio_raw->dev.minor == minor) minor 324 drivers/input/serio/serio_raw.c serio_raw->dev.minor = PSMOUSE_MINOR; minor 331 drivers/input/serio/serio_raw.c serio_raw->dev.minor = MISC_DYNAMIC_MINOR; minor 343 drivers/input/serio/serio_raw.c serio->phys, serio_raw->name, serio_raw->dev.minor); minor 275 drivers/input/serio/userio.c .minor = USERIO_MINOR, minor 28 drivers/input/touchscreen/ili210x.c u8 minor; minor 373 drivers/input/touchscreen/ili210x.c client->irq, firmware.id, firmware.major, firmware.minor); minor 146 drivers/input/touchscreen/s6sy761.c u8 minor = event[5]; minor 157 drivers/input/touchscreen/s6sy761.c input_report_abs(sdata->input, ABS_MT_TOUCH_MINOR, minor); minor 414 drivers/input/touchscreen/sur40.c int wide, major, minor; minor 437 drivers/input/touchscreen/sur40.c minor = min(bb_size_x, bb_size_y); minor 447 drivers/input/touchscreen/sur40.c input_report_abs(input, ABS_MT_TOUCH_MINOR, minor); minor 81 drivers/isdn/capi/capi.c unsigned int minor; minor 211 drivers/isdn/capi/capi.c unsigned int minor; minor 233 drivers/isdn/capi/capi.c for (minor = 0; minor < capi_ttyminors; minor++) minor 234 drivers/isdn/capi/capi.c if (!capiminors[minor]) { minor 235 drivers/isdn/capi/capi.c capiminors[minor] = mp; minor 240 drivers/isdn/capi/capi.c if (minor == capi_ttyminors) { minor 245 drivers/isdn/capi/capi.c mp->minor = minor; minor 247 drivers/isdn/capi/capi.c dev = tty_port_register_device(&mp->port, capinc_tty_driver, minor, minor 256 drivers/isdn/capi/capi.c capiminors[minor] = NULL; minor 264 drivers/isdn/capi/capi.c static struct capiminor *capiminor_get(unsigned int minor) minor 269 drivers/isdn/capi/capi.c mp = capiminors[minor]; minor 284 drivers/isdn/capi/capi.c tty_unregister_device(capinc_tty_driver, mp->minor); minor 287 drivers/isdn/capi/capi.c capiminors[mp->minor] = NULL; minor 929 drivers/isdn/capi/capi.c unit = mp->minor; minor 1936 drivers/isdn/hardware/mISDN/hfcsusb.c intf->minor, vend_idx); minor 360 drivers/isdn/mISDN/socket.c ver.minor = MISDN_MINOR_VERSION; minor 643 drivers/isdn/mISDN/socket.c ver.minor = MISDN_MINOR_VERSION; minor 273 drivers/isdn/mISDN/timerdev.c .minor = MISC_DYNAMIC_MINOR, minor 208 drivers/leds/uleds.c .minor = MISC_DYNAMIC_MINOR, minor 1452 drivers/lightnvm/core.c .minor = MISC_DYNAMIC_MINOR, minor 128 drivers/mcb/mcb-core.c return scnprintf(buf, PAGE_SIZE, "%d\n", bus->minor); minor 130 drivers/mcb/mcb-core.c static DEVICE_ATTR_RO(minor); minor 41 drivers/mcb/mcb-internal.h u8 minor; minor 209 drivers/mcb/mcb-parse.c bus->minor = header->minor; minor 1977 drivers/md/dm-ioctl.c .minor = MAPPER_CTRL_MINOR, minor 1829 drivers/md/dm.c static void free_minor(int minor) minor 1832 drivers/md/dm.c idr_remove(&_minor_idr, minor); minor 1839 drivers/md/dm.c static int specific_minor(int minor) minor 1843 drivers/md/dm.c if (minor >= (1 << MINORBITS)) minor 1849 drivers/md/dm.c r = idr_alloc(&_minor_idr, MINOR_ALLOCED, minor, minor + 1, GFP_NOWAIT); minor 1858 drivers/md/dm.c static int next_free_minor(int *minor) minor 1871 drivers/md/dm.c *minor = r; minor 1921 drivers/md/dm.c static struct mapped_device *alloc_dev(int minor) minor 1937 drivers/md/dm.c if (minor == DM_ANY_MINOR) minor 1938 drivers/md/dm.c r = next_free_minor(&minor); minor 1940 drivers/md/dm.c r = specific_minor(minor); minor 1984 drivers/md/dm.c md->disk->first_minor = minor; minor 1988 drivers/md/dm.c sprintf(md->disk->disk_name, "dm-%d", minor); minor 1998 drivers/md/dm.c format_dev_t(md->name, MKDEV(_major, minor)); minor 2012 drivers/md/dm.c old_md = idr_replace(&_minor_idr, md, minor); minor 2022 drivers/md/dm.c free_minor(minor); minor 2034 drivers/md/dm.c int minor = MINOR(disk_devt(md->disk)); minor 2042 drivers/md/dm.c free_minor(minor); minor 2206 drivers/md/dm.c int dm_create(int minor, struct mapped_device **result) minor 2211 drivers/md/dm.c md = alloc_dev(minor); minor 2314 drivers/md/dm.c unsigned minor = MINOR(dev); minor 2316 drivers/md/dm.c if (MAJOR(dev) != _major || minor >= (1 << MINORBITS)) minor 2321 drivers/md/dm.c md = idr_find(&_minor_idr, minor); minor 2322 drivers/md/dm.c if (!md || md == MINOR_ALLOCED || (MINOR(disk_devt(dm_disk(md))) != minor) || minor 1438 drivers/md/md.c d->minor = MINOR(rdev2->bdev->bd_dev); minor 4436 drivers/md/md.c int minor; minor 4443 drivers/md/md.c minor = simple_strtoul(e+1, &e, 10); minor 4446 drivers/md/md.c dev = MKDEV(major, minor); minor 4448 drivers/md/md.c minor != MINOR(dev)) minor 4587 drivers/md/md.c int major, minor; minor 4631 drivers/md/md.c minor = simple_strtoul(buf, &e, 10); minor 4638 drivers/md/md.c mddev->minor_version = minor; minor 6353 drivers/md/md.c ver.minor = MD_MINOR_VERSION; minor 6466 drivers/md/md.c info.minor = MINOR(rdev->bdev->bd_dev); minor 6482 drivers/md/md.c info.major = info.minor = 0; minor 6498 drivers/md/md.c dev_t dev = MKDEV(info->major,info->minor); minor 6507 drivers/md/md.c if (info->major != MAJOR(dev) || info->minor != MINOR(dev)) minor 78 drivers/media/cec/cec-core.c clear_bit(devnode->minor, cec_devnode_nums); minor 104 drivers/media/cec/cec-core.c int minor; minor 109 drivers/media/cec/cec-core.c minor = find_next_zero_bit(cec_devnode_nums, CEC_NUM_DEVICES, 0); minor 110 drivers/media/cec/cec-core.c if (minor == CEC_NUM_DEVICES) { minor 116 drivers/media/cec/cec-core.c set_bit(minor, cec_devnode_nums); minor 119 drivers/media/cec/cec-core.c devnode->minor = minor; minor 121 drivers/media/cec/cec-core.c devnode->dev.devt = MKDEV(MAJOR(cec_dev_t), minor); minor 123 drivers/media/cec/cec-core.c dev_set_name(&devnode->dev, "cec%d", devnode->minor); minor 129 drivers/media/cec/cec-core.c kobject_set_name(&devnode->cdev.kobj, "cec%d", devnode->minor); minor 143 drivers/media/cec/cec-core.c clear_bit(devnode->minor, cec_devnode_nums); minor 392 drivers/media/dvb-core/dvbdev.c int type, int minor, minor 429 drivers/media/dvb-core/dvbdev.c DVB_MAJOR, minor); minor 462 drivers/media/dvb-core/dvbdev.c int minor; minor 503 drivers/media/dvb-core/dvbdev.c for (minor = 0; minor < MAX_DVB_MINORS; minor++) minor 504 drivers/media/dvb-core/dvbdev.c if (dvb_minors[minor] == NULL) minor 507 drivers/media/dvb-core/dvbdev.c if (minor == MAX_DVB_MINORS) { minor 515 drivers/media/dvb-core/dvbdev.c minor = nums2minor(adap->num, type, id); minor 518 drivers/media/dvb-core/dvbdev.c dvbdev->minor = minor; minor 519 drivers/media/dvb-core/dvbdev.c dvb_minors[minor] = dvbdev; minor 522 drivers/media/dvb-core/dvbdev.c ret = dvb_register_media_device(dvbdev, type, minor, demux_sink_pads); minor 537 drivers/media/dvb-core/dvbdev.c MKDEV(DVB_MAJOR, minor), minor 545 drivers/media/dvb-core/dvbdev.c adap->num, dnames[type], id, minor, minor); minor 558 drivers/media/dvb-core/dvbdev.c dvb_minors[dvbdev->minor] = NULL; minor 563 drivers/media/dvb-core/dvbdev.c device_destroy(dvb_class, MKDEV(DVB_MAJOR, dvbdev->minor)); minor 300 drivers/media/mc/mc-device.c kintf.devnode.minor = devnode->minor; minor 55 drivers/media/mc/mc-devnode.c clear_bit(devnode->minor, media_devnode_nums); minor 215 drivers/media/mc/mc-devnode.c int minor; minor 220 drivers/media/mc/mc-devnode.c minor = find_next_zero_bit(media_devnode_nums, MEDIA_NUM_DEVICES, 0); minor 221 drivers/media/mc/mc-devnode.c if (minor == MEDIA_NUM_DEVICES) { minor 228 drivers/media/mc/mc-devnode.c set_bit(minor, media_devnode_nums); minor 231 drivers/media/mc/mc-devnode.c devnode->minor = minor; minor 236 drivers/media/mc/mc-devnode.c devnode->dev.devt = MKDEV(MAJOR(media_dev_t), devnode->minor); minor 240 drivers/media/mc/mc-devnode.c dev_set_name(&devnode->dev, "media%d", devnode->minor); minor 246 drivers/media/mc/mc-devnode.c kobject_set_name(&devnode->cdev.kobj, "media%d", devnode->minor); minor 262 drivers/media/mc/mc-devnode.c clear_bit(devnode->minor, media_devnode_nums); minor 138 drivers/media/mc/mc-entity.c devnode->major, devnode->minor); minor 936 drivers/media/mc/mc-entity.c u32 major, u32 minor) minor 945 drivers/media/mc/mc-entity.c devnode->minor = minor; minor 616 drivers/media/pci/cx25821/cx25821-video.c .minor = -1, minor 651 drivers/media/pci/cx25821/cx25821-video.c .minor = -1, minor 486 drivers/media/pci/dt3155/dt3155.c .minor = -1, minor 556 drivers/media/pci/dt3155/dt3155.c dev_info(&pdev->dev, "/dev/video%i is ready\n", pd->vdev.minor); minor 692 drivers/media/pci/ngene/ngene.h int minor; minor 966 drivers/media/pci/saa7164/saa7164-encoder.c .minor = -1, minor 1134 drivers/media/pci/saa7164/saa7164-encoder.c if (port->v4l_device->minor != -1) minor 669 drivers/media/pci/saa7164/saa7164-vbi.c .minor = -1, minor 763 drivers/media/pci/saa7164/saa7164-vbi.c if (port->v4l_device->minor != -1) minor 1179 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c .minor = -1, minor 621 drivers/media/pci/solo6x10/solo6x10-v4l2.c .minor = -1, minor 1277 drivers/media/pci/tw686x/tw686x-video.c vdev->minor = -1; minor 939 drivers/media/platform/coda/coda-bit.c u16 product, major, minor, release; minor 972 drivers/media/platform/coda/coda-bit.c minor = CODA_FIRMWARE_MINOR(data); minor 982 drivers/media/platform/coda/coda-bit.c coda_product_name(product), major, minor, release); minor 991 drivers/media/platform/coda/coda-bit.c major, minor, release); minor 995 drivers/media/platform/coda/coda-bit.c major, minor, release); minor 448 drivers/media/platform/coda/coda_regs.h #define CODA_FIRMWARE_VERNUM(product, major, minor, release) \ minor 450 drivers/media/platform/coda/coda_regs.h ((minor) << 8) | (release)) minor 19 drivers/media/platform/coda/trace.h __field(int, minor) minor 25 drivers/media/platform/coda/trace.h __entry->minor = ctx->fh.vdev->minor; minor 31 drivers/media/platform/coda/trace.h __entry->minor, __entry->ctx, __entry->cmd) minor 40 drivers/media/platform/coda/trace.h __field(int, minor) minor 45 drivers/media/platform/coda/trace.h __entry->minor = ctx->fh.vdev->minor; minor 49 drivers/media/platform/coda/trace.h TP_printk("minor = %d, ctx = %d", __entry->minor, __entry->ctx) minor 58 drivers/media/platform/coda/trace.h __field(int, minor) minor 64 drivers/media/platform/coda/trace.h __entry->minor = ctx->fh.vdev->minor; minor 70 drivers/media/platform/coda/trace.h __entry->minor, __entry->index, __entry->ctx) minor 90 drivers/media/platform/coda/trace.h __field(int, minor) minor 98 drivers/media/platform/coda/trace.h __entry->minor = ctx->fh.vdev->minor; minor 106 drivers/media/platform/coda/trace.h __entry->minor, __entry->index, __entry->start, __entry->end, minor 122 drivers/media/platform/coda/trace.h __field(int, minor) minor 129 drivers/media/platform/coda/trace.h __entry->minor = ctx->fh.vdev->minor; minor 138 drivers/media/platform/coda/trace.h __entry->minor, __entry->start, __entry->end, __entry->ctx) minor 1302 drivers/media/platform/davinci/vpbe_display.c vbd->minor = -1; minor 1757 drivers/media/platform/exynos4-is/fimc-capture.c vfd->minor = -1; minor 610 drivers/media/platform/exynos4-is/fimc-isp-video.c vdev->minor = -1; minor 1268 drivers/media/platform/exynos4-is/fimc-lite.c vfd->minor = -1; minor 729 drivers/media/platform/exynos4-is/fimc-m2m.c vfd->minor = -1; minor 1162 drivers/media/platform/fsl-viu.c int minor = vdev->minor; minor 1165 drivers/media/platform/fsl-viu.c dprintk(1, "viu: open (minor=%d)\n", minor); minor 1175 drivers/media/platform/fsl-viu.c dprintk(1, "open minor=%d type=%s users=%d\n", minor, minor 1277 drivers/media/platform/fsl-viu.c int minor = video_devdata(file)->minor; minor 1291 drivers/media/platform/fsl-viu.c minor, dev->users); minor 1373 drivers/media/platform/fsl-viu.c .minor = -1, minor 1605 drivers/media/platform/imx-pxp.c .minor = -1, minor 907 drivers/media/platform/m2m-deinterlace.c .minor = -1, minor 1145 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg->dec_vdev->minor = -1; minor 1162 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg->dec_vdev->num, VIDEO_MAJOR, jpeg->dec_vdev->minor); minor 792 drivers/media/platform/mx2_emmaprp.c .minor = -1, minor 1388 drivers/media/platform/omap/omap_vout.c vfd->minor = -1; minor 1506 drivers/media/platform/omap/omap_vout.c vfd->minor = -1; minor 1514 drivers/media/platform/omap/omap_vout.c vfd->minor); minor 152 drivers/media/platform/omap/omap_vout_vrfb.c vfd->minor); minor 2125 drivers/media/platform/pxa_camera.c .minor = -1, minor 472 drivers/media/platform/qcom/venus/hfi_venus.c u32 major, minor, step; minor 476 drivers/media/platform/qcom/venus/hfi_venus.c minor = ver & WRAPPER_HW_VERSION_MINOR_VERSION_MASK; minor 477 drivers/media/platform/qcom/venus/hfi_venus.c minor = minor >> WRAPPER_HW_VERSION_MINOR_VERSION_SHIFT; minor 480 drivers/media/platform/qcom/venus/hfi_venus.c dev_dbg(dev, "venus hw version %x.%x.%x\n", major, minor, step); minor 2194 drivers/media/platform/rcar_fdp1.c .minor = -1, minor 1658 drivers/media/platform/rcar_jpu.c jpu->vfd_encoder.minor = -1; minor 1677 drivers/media/platform/rcar_jpu.c jpu->vfd_decoder.minor = -1; minor 258 drivers/media/platform/rockchip/rga/rga-hw.c if (rga->version.major == 0 || rga->version.minor == 0) { minor 699 drivers/media/platform/rockchip/rga/rga.c .minor = -1, minor 872 drivers/media/platform/rockchip/rga/rga.c rga->version.minor = (rga_read(rga, RGA_VERSION_INFO) >> 20) & 0x0F; minor 875 drivers/media/platform/rockchip/rga/rga.c rga->version.major, rga->version.minor); minor 45 drivers/media/platform/rockchip/rga/rga.h u32 minor; minor 1114 drivers/media/platform/s3c-camif/camif-capture.c vfd->minor = -1; minor 608 drivers/media/platform/s5p-g2d/g2d.c .minor = -1, minor 2943 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg->vfd_encoder->minor = -1; minor 2973 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg->vfd_decoder->minor = -1; minor 1038 drivers/media/platform/sh_veu.c .minor = -1, minor 1415 drivers/media/platform/ti-vpe/cal.c .minor = -1, minor 2418 drivers/media/platform/ti-vpe/vpe.c .minor = -1, minor 1087 drivers/media/platform/via-camera.c .minor = -1, minor 2078 drivers/media/platform/vicodec/vicodec-core.c .minor = -1, minor 1298 drivers/media/platform/vim2m.c .minor = -1, minor 113 drivers/media/radio/radio-timb.c tr->video_dev.minor = -1; minor 743 drivers/media/rc/lirc_dev.c int err, minor; minor 745 drivers/media/rc/lirc_dev.c minor = ida_simple_get(&lirc_ida, 0, RC_DEV_MAX, GFP_KERNEL); minor 746 drivers/media/rc/lirc_dev.c if (minor < 0) minor 747 drivers/media/rc/lirc_dev.c return minor; minor 753 drivers/media/rc/lirc_dev.c dev->lirc_dev.devt = MKDEV(MAJOR(lirc_base_dev), minor); minor 754 drivers/media/rc/lirc_dev.c dev_set_name(&dev->lirc_dev, "lirc%d", minor); minor 785 drivers/media/rc/lirc_dev.c dev->driver_name, minor, rx_type, tx_type); minor 790 drivers/media/rc/lirc_dev.c ida_simple_remove(&lirc_ida, minor); minor 637 drivers/media/rc/rc-ir-raw.c thread = kthread_run(ir_raw_event_thread, dev->raw, "rc%u", dev->minor); minor 1846 drivers/media/rc/rc-main.c int minor; minor 1852 drivers/media/rc/rc-main.c minor = ida_simple_get(&rc_ida, 0, RC_DEV_MAX, GFP_KERNEL); minor 1853 drivers/media/rc/rc-main.c if (minor < 0) minor 1854 drivers/media/rc/rc-main.c return minor; minor 1856 drivers/media/rc/rc-main.c dev->minor = minor; minor 1857 drivers/media/rc/rc-main.c dev_set_name(&dev->dev, "rc%u", dev->minor); minor 1918 drivers/media/rc/rc-main.c dev_dbg(&dev->dev, "Registered rc%u (driver: %s)\n", dev->minor, minor 1935 drivers/media/rc/rc-main.c ida_simple_remove(&rc_ida, minor); minor 1995 drivers/media/rc/rc-main.c ida_simple_remove(&rc_ida, dev->minor); minor 418 drivers/media/usb/as102/as102_usb_drv.c int ret = 0, minor = 0; minor 423 drivers/media/usb/as102/as102_usb_drv.c minor = iminor(inode); minor 426 drivers/media/usb/as102/as102_usb_drv.c intf = usb_find_interface(&as102_usb_driver, minor); minor 429 drivers/media/usb/as102/as102_usb_drv.c __func__, minor); minor 1903 drivers/media/usb/cx231xx/cx231xx-417.c .minor = -1, minor 1400 drivers/media/usb/cx231xx/cx231xx-cards.c int minor) minor 3419 drivers/media/usb/em28xx/em28xx-cards.c int minor) minor 1261 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c dip->minor_type,dip->devbase.minor); minor 180 drivers/media/v4l2-core/v4l2-dev.c if (WARN_ON(video_devices[vdev->minor] != vdev)) { minor 187 drivers/media/v4l2-core/v4l2-dev.c video_devices[vdev->minor] = NULL; minor 801 drivers/media/v4l2-core/v4l2-dev.c vdev->entity.info.dev.minor = vdev->minor; minor 815 drivers/media/v4l2-core/v4l2-dev.c vdev->minor); minor 854 drivers/media/v4l2-core/v4l2-dev.c vdev->minor = -1; minor 960 drivers/media/v4l2-core/v4l2-dev.c vdev->minor = i + minor_offset; minor 964 drivers/media/v4l2-core/v4l2-dev.c if (WARN_ON(video_devices[vdev->minor])) { minor 971 drivers/media/v4l2-core/v4l2-dev.c video_devices[vdev->minor] = vdev; minor 985 drivers/media/v4l2-core/v4l2-dev.c ret = cdev_add(vdev->cdev, MKDEV(VIDEO_MAJOR, vdev->minor), 1); minor 995 drivers/media/v4l2-core/v4l2-dev.c vdev->dev.devt = MKDEV(VIDEO_MAJOR, vdev->minor); minor 1026 drivers/media/v4l2-core/v4l2-dev.c video_devices[vdev->minor] = NULL; minor 1030 drivers/media/v4l2-core/v4l2-dev.c vdev->minor = -1; minor 230 drivers/media/v4l2-core/v4l2-device.c sd->entity.info.dev.minor = vdev->minor; minor 3103 drivers/media/v4l2-core/v4l2-ioctl.c trace_v4l2_dqbuf(video_devdata(file)->minor, parg); minor 3105 drivers/media/v4l2-core/v4l2-ioctl.c trace_v4l2_qbuf(video_devdata(file)->minor, parg); minor 761 drivers/media/v4l2-core/v4l2-mem2mem.c entity->info.dev.minor = vdev->minor; minor 825 drivers/media/v4l2-core/v4l2-mem2mem.c VIDEO_MAJOR, vdev->minor); minor 2894 drivers/message/fusion/mptctl.c mptctl_miscdev.name, MISC_MAJOR, mptctl_miscdev.minor); minor 2936 drivers/message/fusion/mptctl.c mptctl_miscdev.name, MISC_MAJOR, mptctl_miscdev.minor); minor 52 drivers/mfd/kempld-core.c pld->info.minor = KEMPLD_VERSION_GET_MINOR(version); minor 286 drivers/mfd/kempld-core.c char major, minor; minor 304 drivers/mfd/kempld-core.c if (pld->info.minor < 10) minor 305 drivers/mfd/kempld-core.c minor = pld->info.minor + '0'; minor 307 drivers/mfd/kempld-core.c minor = (pld->info.minor - 10) + 'A'; minor 310 drivers/mfd/kempld-core.c "P%X%c%c.%04X", pld->info.number, major, minor, minor 61 drivers/mfd/qcom-spmi-pmic.c unsigned int rev2, minor, major, type, subtype; minor 88 drivers/mfd/qcom-spmi-pmic.c ret = regmap_read(map, PMIC_REV3, &minor); minor 107 drivers/mfd/qcom-spmi-pmic.c minor = rev2; minor 109 drivers/mfd/qcom-spmi-pmic.c dev_dbg(dev, "%x: %s v%d.%d\n", subtype, name, major, minor); minor 123 drivers/mfd/rave-sp.c u8 minor; minor 659 drivers/mfd/rave-sp.c version->minor, minor 416 drivers/mfd/si476x-cmd.c info->firmware.minor[0] = resp[2]; minor 417 drivers/mfd/si476x-cmd.c info->firmware.minor[1] = resp[3]; minor 629 drivers/mfd/si476x-i2c.c info.firmware.minor[0], minor 630 drivers/mfd/si476x-i2c.c info.firmware.minor[1]); minor 46 drivers/mfd/timberdale.c u32 minor; minor 631 drivers/mfd/timberdale.c return sprintf(buf, "%d.%d.%d\n", priv->fw.major, priv->fw.minor, minor 679 drivers/mfd/timberdale.c priv->fw.minor = ioread32(priv->ctl_membase + TIMB_REV_MINOR); minor 685 drivers/mfd/timberdale.c "support %d.%d\n", priv->fw.major, priv->fw.minor); minor 689 drivers/mfd/timberdale.c priv->fw.minor < TIMB_REQUIRED_MINOR) { minor 692 drivers/mfd/timberdale.c priv->fw.major, priv->fw.minor, minor 768 drivers/mfd/timberdale.c priv->fw.major, priv->fw.minor, ip_setup); minor 802 drivers/mfd/timberdale.c priv->fw.major, priv->fw.minor, priv->fw.config); minor 1432 drivers/misc/fastrpc.c data->miscdev.minor = MISC_DYNAMIC_MINOR; minor 173 drivers/misc/habanalabs/device.c int minor, const struct file_operations *fops, minor 185 drivers/misc/habanalabs/device.c (*dev)->devt = MKDEV(hdev->major, minor); minor 1430 drivers/misc/habanalabs/habanalabs.h enum hl_asic_type asic_type, int minor); minor 246 drivers/misc/habanalabs/habanalabs_drv.c enum hl_asic_type asic_type, int minor) minor 738 drivers/misc/hpilo.c int i, minor; minor 746 drivers/misc/hpilo.c minor = MINOR(ilo_hw->cdev.dev); minor 747 drivers/misc/hpilo.c for (i = minor; i < minor + max_ccb; i++) minor 764 drivers/misc/hpilo.c ilo_hwdev[(minor / max_ccb)] = 0; minor 770 drivers/misc/hpilo.c int devnum, minor, start, error = 0; minor 839 drivers/misc/hpilo.c for (minor = 0 ; minor < max_ccb; minor++) { minor 842 drivers/misc/hpilo.c MKDEV(ilo_major, minor), NULL, minor 843 drivers/misc/hpilo.c "hpilo!d%dccb%d", devnum, minor); minor 2346 drivers/misc/ibmvmc.c .minor = MISC_DYNAMIC_MINOR, minor 2363 drivers/misc/ibmvmc.c ibmvmc_miscdev.minor); minor 1237 drivers/misc/lis3lv02d/lis3lv02d.c lis3->miscdev.minor = MISC_DYNAMIC_MINOR; minor 85 drivers/misc/mei/bus-fixup.c u8 minor; minor 104 drivers/misc/mei/bus-fixup.c u16 minor; minor 204 drivers/misc/mei/bus-fixup.c fwver->ver[i].major, fwver->ver[i].minor, minor 209 drivers/misc/mei/bus-fixup.c cldev->bus->fw_ver[i].minor = fwver->ver[i].minor; minor 832 drivers/misc/mei/main.c ver[i].platform, ver[i].major, ver[i].minor, minor 927 drivers/misc/mei/main.c dev->minor = ret; minor 943 drivers/misc/mei/main.c idr_remove(&mei_idr, dev->minor); minor 957 drivers/misc/mei/main.c devno = MKDEV(MAJOR(mei_devt), dev->minor); minor 965 drivers/misc/mei/main.c MAJOR(mei_devt), dev->minor); minor 971 drivers/misc/mei/main.c "mei%d", dev->minor); minor 975 drivers/misc/mei/main.c MAJOR(mei_devt), dev->minor); minor 371 drivers/misc/mei/mei_dev.h u16 minor; minor 453 drivers/misc/mei/mei_dev.h int minor; minor 21 drivers/misc/mic/scif/scif_main.c .minor = MISC_DYNAMIC_MINOR, minor 1125 drivers/misc/mic/vop/vop_vringh.c mdev->minor = MISC_DYNAMIC_MINOR; minor 288 drivers/misc/ocxl/config.c u8 major, minor; minor 297 drivers/misc/ocxl/config.c minor = EXTRACT_BITS(val32, 0, 7); minor 298 drivers/misc/ocxl/config.c *version = (major << 8) + minor; minor 35 drivers/misc/ocxl/file.c int minor; minor 38 drivers/misc/ocxl/file.c minor = idr_alloc(&minors_idr, info, 0, OCXL_NUM_MINORS, GFP_KERNEL); minor 40 drivers/misc/ocxl/file.c return minor; minor 514 drivers/misc/ocxl/file.c int minor; minor 524 drivers/misc/ocxl/file.c minor = allocate_minor(info); minor 525 drivers/misc/ocxl/file.c if (minor < 0) { minor 527 drivers/misc/ocxl/file.c return minor; minor 531 drivers/misc/ocxl/file.c info->dev.devt = MKDEV(MAJOR(ocxl_dev), minor); minor 726 drivers/misc/pci_endpoint_test.c misc_device->minor = MISC_DYNAMIC_MINOR; minor 338 drivers/misc/phantom.c unsigned int minor; minor 347 drivers/misc/phantom.c minor = phantom_get_free(); minor 348 drivers/misc/phantom.c if (minor == PHANTOM_MAX_MINORS) { minor 354 drivers/misc/phantom.c phantom_devices[minor] = 1; minor 400 drivers/misc/phantom.c retval = cdev_add(&pht->cdev, MKDEV(phantom_major, minor), 1); minor 407 drivers/misc/phantom.c MKDEV(phantom_major, minor), NULL, minor 408 drivers/misc/phantom.c "phantom%u", minor))) minor 427 drivers/misc/phantom.c phantom_devices[minor] = 0; minor 437 drivers/misc/phantom.c unsigned int minor = MINOR(pht->cdev.dev); minor 439 drivers/misc/phantom.c device_destroy(phantom_class, MKDEV(phantom_major, minor)); minor 455 drivers/misc/phantom.c phantom_devices[minor] = 0; minor 658 drivers/misc/pti.c .minor = MISC_DYNAMIC_MINOR, minor 587 drivers/misc/sgi-gru/grufile.c .minor = MISC_DYNAMIC_MINOR, minor 969 drivers/misc/vmw_vmci/vmci_host.c .minor = MISC_DYNAMIC_MINOR, minor 991 drivers/misc/vmw_vmci/vmci_host.c MISC_MAJOR, vmci_host_miscdev.minor, minor 999 drivers/misc/vmw_vmci/vmci_host.c vmci_host_miscdev.name, MISC_MAJOR, vmci_host_miscdev.minor); minor 1441 drivers/misc/xilinx_sdfec.c xsdfec->miscdev.minor = MISC_DYNAMIC_MINOR; minor 227 drivers/mtd/chips/cfi_cmdset_0002.c __u8 minor = extp->MinorVersion; minor 229 drivers/mtd/chips/cfi_cmdset_0002.c if (((major << 8) | minor) < 0x3131) { minor 264 drivers/mtd/chips/cfi_cmdset_0002.c " deduced %s from Device ID\n", map->name, major, minor, minor 49 drivers/mtd/lpddr/qinfo_probe.c int major, minor; minor 54 drivers/mtd/lpddr/qinfo_probe.c minor = qinfo_array[i].minor & ((1 << bankwidth) - 1); minor 55 drivers/mtd/lpddr/qinfo_probe.c return minor | (major << bankwidth); minor 49 drivers/mtd/mtdchar.c int minor = iminor(inode); minor 50 drivers/mtd/mtdchar.c int devnum = minor >> 1; minor 58 drivers/mtd/mtdchar.c if ((file->f_mode & FMODE_WRITE) && (minor & 1)) minor 45 drivers/mtd/spi-nor/spi-nor.c u8 minor; minor 70 drivers/mtd/spi-nor/spi-nor.c u8 minor; minor 4119 drivers/mtd/spi-nor/spi-nor.c (param_header->minor > bfpt_header->minor || minor 4120 drivers/mtd/spi-nor/spi-nor.c (param_header->minor == bfpt_header->minor && minor 79 drivers/mtd/ubi/build.c .minor = MISC_DYNAMIC_MINOR, minor 1109 drivers/mtd/ubi/build.c int err, minor; minor 1127 drivers/mtd/ubi/build.c minor = MINOR(stat.rdev); minor 1129 drivers/mtd/ubi/build.c if (minor & 1) minor 1136 drivers/mtd/ubi/build.c return get_mtd_device(NULL, minor / 2); minor 5469 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u8 minor; minor 5473 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u8 minor; minor 5788 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u8 minor; minor 15808 drivers/net/ethernet/broadcom/tg3.c u32 major, minor; minor 15815 drivers/net/ethernet/broadcom/tg3.c minor = ver_offset & TG3_NVM_BCVER_MINMSK; minor 15817 drivers/net/ethernet/broadcom/tg3.c "v%d.%02d", major, minor); minor 15823 drivers/net/ethernet/broadcom/tg3.c u32 val, major, minor; minor 15831 drivers/net/ethernet/broadcom/tg3.c minor = (val & TG3_NVM_HWSB_CFG1_MINMSK) >> minor 15834 drivers/net/ethernet/broadcom/tg3.c snprintf(&tp->fw_ver[0], 32, "sb v%d.%02d", major, minor); minor 15839 drivers/net/ethernet/broadcom/tg3.c u32 offset, major, minor, build; minor 15876 drivers/net/ethernet/broadcom/tg3.c minor = val & TG3_EEPROM_SB_EDH_MIN_MASK; minor 15878 drivers/net/ethernet/broadcom/tg3.c if (minor > 99 || build > 26) minor 15883 drivers/net/ethernet/broadcom/tg3.c " v%d.%02d", major, minor); minor 1326 drivers/net/ethernet/brocade/bna/bfa_ioc.c if (drv_fwhdr->fwver.minor != fwhdr_to_cmp->fwver.minor) minor 235 drivers/net/ethernet/brocade/bna/bfi.h u8 minor; minor 242 drivers/net/ethernet/brocade/bna/bfi.h u8 minor; minor 426 drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c ((struct lio_version *)&mbox_cmd.data[0])->minor = minor 678 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c board_info->major, board_info->minor); minor 699 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c board_info->major, board_info->minor); minor 1012 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c vdata->minor = (__force u16)cpu_to_be16(LIQUIDIO_BASE_MINOR_VERSION); minor 3396 drivers/net/ethernet/cavium/liquidio/lio_main.c vdata->minor = cpu_to_be16(LIQUIDIO_BASE_MINOR_VERSION); minor 1967 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c vdata->minor = cpu_to_be16(LIQUIDIO_BASE_MINOR_VERSION); minor 42 drivers/net/ethernet/cavium/liquidio/liquidio_common.h u16 minor; minor 1257 drivers/net/ethernet/cavium/liquidio/octeon_device.c oct->boardinfo.minor = cs->board_rev_minor; minor 229 drivers/net/ethernet/cavium/liquidio/octeon_device.h u64 minor; minor 250 drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c ((struct lio_version *)&mbox_cmd->data[0])->minor = minor 984 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int major, minor; minor 995 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c minor = G_TP_VERSION_MINOR(vers); minor 997 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c if (major == TP_VERSION_MAJOR && minor == TP_VERSION_MINOR) minor 1001 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c "driver compiled for version %d.%d\n", major, minor, minor 1064 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int type, major, minor; minor 1072 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c minor = G_FW_VERSION_MINOR(vers); minor 1075 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c minor == FW_VERSION_MINOR) minor 1077 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c else if (major != FW_VERSION_MAJOR || minor < FW_VERSION_MINOR) minor 1079 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c "driver compiled for version %u.%u\n", major, minor, minor 1083 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c "driver compiled for version %u.%u\n", major, minor, minor 3390 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int i, ret, major, minor, micro; minor 3403 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c minor = FW_HDR_FW_VER_MINOR_G(adap->params.fw_vers); minor 3428 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (major < exp_major || (major == exp_major && minor < exp_minor) || minor 3429 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c (major == exp_major && minor == exp_minor && micro < exp_micro)) { minor 3432 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c "supported firmware is %u.%u.%u.\n", major, minor, minor 519 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h __le16 minor; minor 1633 drivers/net/ethernet/freescale/dpaa2/dpni.c *minor_ver = le16_to_cpu(rsp_params->minor); minor 280 drivers/net/ethernet/freescale/fman/fman.c #define DFLT_TOTAL_NUM_OF_TASKS(major, minor, bmi_max_num_of_tasks) \ minor 281 drivers/net/ethernet/freescale/fman/fman.c ((major == 6) ? ((minor == 1 || minor == 4) ? \ minor 1131 drivers/net/ethernet/freescale/fman/fman.c u8 minor = state->rev_info.minor; minor 1173 drivers/net/ethernet/freescale/fman/fman.c if (minor == 1 || minor == 4) { minor 1178 drivers/net/ethernet/freescale/fman/fman.c if (minor == 1) minor 1185 drivers/net/ethernet/freescale/fman/fman.c else if (minor == 0 || minor == 2 || minor == 3) { minor 1671 drivers/net/ethernet/freescale/fman/fman.c (fman->state->rev_info.minor == 0)) && minor 1785 drivers/net/ethernet/freescale/fman/fman.c fman->state->rev_info.minor, minor 2358 drivers/net/ethernet/freescale/fman/fman.c rev_info->minor = tmp & FPM_REV1_MINOR_MASK; minor 114 drivers/net/ethernet/freescale/fman/fman.h u8 minor; /* Minor revision */ minor 1047 drivers/net/ethernet/freescale/fman/fman_memac.c if (memac->fm_rev_info.major == 6 && memac->fm_rev_info.minor == 4) minor 1072 drivers/net/ethernet/freescale/fman/fman_memac.c ((memac->fm_rev_info.minor == 0) || minor 1073 drivers/net/ethernet/freescale/fman/fman_memac.c (memac->fm_rev_info.minor == 3))) { minor 1261 drivers/net/ethernet/freescale/fman/fman_port.c ((port->rev_info.minor == 0) || (port->rev_info.minor == 3))) minor 1389 drivers/net/ethernet/freescale/fman/fman_port.c if ((port->rev_info.major == 6) && (port->rev_info.minor == 0) && minor 306 drivers/net/ethernet/intel/i40e/i40e_client.c cdev->lan_info.version.minor = I40E_CLIENT_VERSION_MINOR; minor 765 drivers/net/ethernet/intel/i40e/i40e_client.c (client->version.minor != I40E_CLIENT_VERSION_MINOR)) { minor 769 drivers/net/ethernet/intel/i40e/i40e_client.c client->version.major, client->version.minor, minor 22 drivers/net/ethernet/intel/i40e/i40e_client.h u8 minor; minor 216 drivers/net/ethernet/intel/i40e/i40e_ddp.c ver.major, ver.minor, ver.update, ver.draft); minor 1511 drivers/net/ethernet/intel/i40e/i40e_type.h u8 minor; minor 1813 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c info.minor = VIRTCHNL_VERSION_MINOR_NO_VF_CAPS; minor 329 drivers/net/ethernet/intel/iavf/iavf.h ((_a)->pf_version.minor == 1)) minor 212 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.version.minor = IAVF_CLIENT_VERSION_MINOR; minor 529 drivers/net/ethernet/intel/iavf/iavf_client.c (client->version.minor != IAVF_CLIENT_VERSION_MINOR)) { minor 533 drivers/net/ethernet/intel/iavf/iavf_client.c client->version.major, client->version.minor, minor 22 drivers/net/ethernet/intel/iavf/iavf_client.h u8 minor; minor 1728 drivers/net/ethernet/intel/iavf/iavf_main.c adapter->pf_version.minor, minor 51 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c vvi.minor = VIRTCHNL_VERSION_MINOR; minor 111 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c (pf_vvi->minor > VIRTCHNL_VERSION_MINOR))) minor 1562 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h u8 minor; minor 272 drivers/net/ethernet/intel/ice/ice_flex_pipe.c pkg_hdr->format_ver.major, pkg_hdr->format_ver.minor, minor 406 drivers/net/ethernet/intel/ice/ice_flex_pipe.c ice_seg->hdr.seg_ver.major, ice_seg->hdr.seg_ver.minor, minor 445 drivers/net/ethernet/intel/ice/ice_flex_pipe.c meta_seg->pkg_ver.major, meta_seg->pkg_ver.minor, minor 461 drivers/net/ethernet/intel/ice/ice_flex_pipe.c seg_hdr->seg_ver.major, seg_hdr->seg_ver.minor, minor 518 drivers/net/ethernet/intel/ice/ice_flex_pipe.c pkg_info->pkg_info[i].ver.minor, minor 547 drivers/net/ethernet/intel/ice/ice_flex_pipe.c pkg->format_ver.minor != ICE_PKG_FMT_VER_MNR || minor 624 drivers/net/ethernet/intel/ice/ice_flex_pipe.c pkg_ver->minor != ICE_PKG_SUPP_VER_MNR) minor 2530 drivers/net/ethernet/intel/ice/ice_main.c hw->pkg_ver.minor == hw->active_pkg_ver.minor && minor 2540 drivers/net/ethernet/intel/ice/ice_main.c hw->active_pkg_ver.minor, minor 2548 drivers/net/ethernet/intel/ice/ice_main.c hw->active_pkg_ver.minor, minor 2552 drivers/net/ethernet/intel/ice/ice_main.c hw->active_pkg_ver.minor != ICE_PKG_SUPP_VER_MNR) { minor 2557 drivers/net/ethernet/intel/ice/ice_main.c hw->active_pkg_ver.minor, minor 2561 drivers/net/ethernet/intel/ice/ice_main.c hw->active_pkg_ver.minor == ICE_PKG_SUPP_VER_MNR) { minor 2566 drivers/net/ethernet/intel/ice/ice_main.c hw->active_pkg_ver.minor, minor 2571 drivers/net/ethernet/intel/ice/ice_main.c hw->pkg_ver.minor, minor 2590 drivers/net/ethernet/intel/ice/ice_main.c hw->pkg_ver.minor > ICE_PKG_SUPP_VER_MNR)) minor 2595 drivers/net/ethernet/intel/ice/ice_main.c hw->pkg_ver.minor < ICE_PKG_SUPP_VER_MNR)) minor 1583 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c info.minor = VIRTCHNL_VERSION_MINOR_NO_VF_CAPS; minor 1244 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c u16 minor; minor 1263 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c minor = MLX5E_DEVICE_STALL_MINOR_WATERMARK(critical_tout); minor 1265 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c minor); minor 378 drivers/net/ethernet/mellanox/mlxsw/core.h u16 minor; minor 529 drivers/net/ethernet/mellanox/mlxsw/i2c.c mlxsw_i2c->bus_info.fw_rev.minor = minor 81 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m->bus_info->fw_rev.minor, minor 1437 drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci->bus_info.fw_rev.minor = minor 47 drivers/net/ethernet/mellanox/mlxsw/spectrum.c #define MLXSW_SP_FWREV_MINOR_TO_BRANCH(minor) ((minor) / 100) minor 56 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .minor = MLXSW_SP1_FWREV_MINOR, minor 410 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (MLXSW_SP_FWREV_MINOR_TO_BRANCH(rev->minor) == minor 411 drivers/net/ethernet/mellanox/mlxsw/spectrum.c MLXSW_SP_FWREV_MINOR_TO_BRANCH(req_rev->minor) && minor 412 drivers/net/ethernet/mellanox/mlxsw/spectrum.c (rev->minor > req_rev->minor || minor 413 drivers/net/ethernet/mellanox/mlxsw/spectrum.c (rev->minor == req_rev->minor && minor 418 drivers/net/ethernet/mellanox/mlxsw/spectrum.c rev->major, rev->minor, rev->subminor); minor 438 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (rev->minor >= req_rev->can_reset_minor) minor 1940 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->bus_info->fw_rev.minor, minor 410 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx->bus_info->fw_rev.minor, minor 223 drivers/net/ethernet/neterion/vxge/vxge-config.c u32 *minor, u32 *build) minor 240 drivers/net/ethernet/neterion/vxge/vxge-config.c *minor = VXGE_HW_RTS_ACCESS_STEER_DATA0_GET_FW_VER_MINOR(data0); minor 833 drivers/net/ethernet/neterion/vxge/vxge-config.c fw_version->minor = minor 839 drivers/net/ethernet/neterion/vxge/vxge-config.c fw_version->major, fw_version->minor, fw_version->build); minor 853 drivers/net/ethernet/neterion/vxge/vxge-config.c flash_version->minor = minor 859 drivers/net/ethernet/neterion/vxge/vxge-config.c flash_version->major, flash_version->minor, minor 222 drivers/net/ethernet/neterion/vxge/vxge-config.h u32 minor; minor 2078 drivers/net/ethernet/neterion/vxge/vxge-config.h u32 *minor, u32 *build); minor 4167 drivers/net/ethernet/neterion/vxge/vxge-main.c cmin = vdev->config.device_hw_info.fw_version.minor; minor 4207 drivers/net/ethernet/neterion/vxge/vxge-main.c min = vdev->config.device_hw_info.fw_version.minor; minor 4507 drivers/net/ethernet/neterion/vxge/vxge-main.c ll_config->device_hw_info.fw_version.minor, minor 452 drivers/net/ethernet/netronome/nfp/nfp_net.h u8 minor; minor 459 drivers/net/ethernet/netronome/nfp/nfp_net.h u8 resv, u8 class, u8 major, u8 minor) minor 464 drivers/net/ethernet/netronome/nfp/nfp_net.h fw_ver->minor == minor; minor 3772 drivers/net/ethernet/netronome/nfp/nfp_net_common.c nn->fw_ver.major, nn->fw_ver.minor, minor 200 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nn->fw_ver.major, nn->fw_ver.minor); minor 677 drivers/net/ethernet/netronome/nfp/nfp_net_main.c fw_ver.resv, fw_ver.class, fw_ver.major, fw_ver.minor); minor 694 drivers/net/ethernet/netronome/nfp/nfp_net_main.c fw_ver.major, fw_ver.minor); minor 121 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c fw_ver.resv, fw_ver.class, fw_ver.major, fw_ver.minor); minor 142 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c fw_ver.major, fw_ver.minor); minor 131 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c u16 minor; minor 247 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c state->ver.minor = FIELD_GET(NSP_STATUS_MINOR, reg); minor 251 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c state->ver.major, state->ver.minor); minor 254 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c if (state->ver.minor < NSP_MINOR) { minor 256 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c NSP_MAJOR, state->ver.minor, NSP_MAJOR, NSP_MINOR); minor 316 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c return state->ver.minor; minor 664 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c if (nsp->ver.minor < 13) { minor 666 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c arg->arg.code, nsp->ver.major, nsp->ver.minor); minor 761 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c unsigned int major, minor; minor 765 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c minor = FIELD_GET(NFP_FW_LOAD_RET_MINOR, ret_val); minor 771 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c if (major == 0 && (minor == 0 || minor == 10)) minor 781 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c else if (minor >= ARRAY_SIZE(minor_msg)) minor 783 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c major_msg[major], minor); minor 786 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c major_msg[major], minor ? ',' : '.', minor 787 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c minor_msg[minor]); minor 827 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c __le32 major, minor, sub; minor 841 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c &major, &minor, &sub); minor 849 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c return major + (minor << 8) + (sub << 16); minor 875 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c u32 val, version, major, minor, build; minor 918 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c minor = NXRD32(adapter, NETXEN_FW_VERSION_MINOR); minor 921 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (version > NETXEN_VERSION_CODE(major, minor, build)) minor 924 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (version == NETXEN_VERSION_CODE(major, minor, build) && minor 2009 drivers/net/ethernet/qlogic/qed/qed_debug.c fw_info.ver.num.minor, fw_info.ver.num.rev, minor 2691 drivers/net/ethernet/qlogic/qed/qed_hsi.h u8 minor; minor 3590 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 major, minor, sub; minor 3593 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c minor = QLC_SHARED_REG_RD32(adapter, QLCNIC_FW_VERSION_MINOR); minor 3596 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c if (adapter->fw_version != QLCNIC_VERSION_CODE(major, minor, sub)) { minor 1010 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c u32 major, minor, sub; minor 1028 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c &major, &minor, &sub); minor 1032 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c return major + (minor << 8) + (sub << 16); minor 562 drivers/net/ethernet/sfc/falcon/falcon_boards.c (board->major == 0 && board->minor == 0) ? minor 668 drivers/net/ethernet/sfc/falcon/falcon_boards.c if (board->minor < 3 && board->major == 0) minor 681 drivers/net/ethernet/sfc/falcon/falcon_boards.c if (board->minor < 3 && board->major == 0) minor 695 drivers/net/ethernet/sfc/falcon/falcon_boards.c (board->major == 0 && board->minor <= 2) ? minor 748 drivers/net/ethernet/sfc/falcon/falcon_boards.c board->minor = FALCON_BOARD_MINOR(revision_info); minor 175 drivers/net/ethernet/sfc/falcon/nic.h int minor; minor 248 drivers/net/ethernet/sfc/falcon/qt202x_phy.c if (board->major == 0 && board->minor < 2) { minor 202 drivers/net/ethernet/sfc/ptp.c u32 minor; minor 899 drivers/net/ethernet/sfc/ptp.c timeset->minor = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MINOR); minor 1012 drivers/net/ethernet/sfc/ptp.c ptp->timeset[last_good].minor, 0); minor 385 drivers/net/ethernet/socionext/sni_ave.c u32 major, minor, vr; minor 389 drivers/net/ethernet/socionext/sni_ave.c minor = (vr & GENMASK(7, 0)); minor 390 drivers/net/ethernet/socionext/sni_ave.c snprintf(buf, len, "v%u.%u", major, minor); minor 57 drivers/net/ethernet/sun/ldmvsw.c { .major = 1, .minor = 8 }, minor 58 drivers/net/ethernet/sun/ldmvsw.c { .major = 1, .minor = 7 }, minor 59 drivers/net/ethernet/sun/ldmvsw.c { .major = 1, .minor = 6 }, minor 60 drivers/net/ethernet/sun/ldmvsw.c { .major = 1, .minor = 0 }, minor 54 drivers/net/ethernet/sun/sunvnet.c { .major = 1, .minor = 8 }, minor 55 drivers/net/ethernet/sun/sunvnet.c { .major = 1, .minor = 7 }, minor 56 drivers/net/ethernet/sun/sunvnet.c { .major = 1, .minor = 6 }, minor 57 drivers/net/ethernet/sun/sunvnet.c { .major = 1, .minor = 0 }, minor 163 drivers/net/ipvlan/ipvtap.c devt = MKDEV(MAJOR(ipvtap_major), vlantap->tap.minor); minor 177 drivers/net/ipvlan/ipvtap.c if (vlantap->tap.minor == 0) minor 180 drivers/net/ipvlan/ipvtap.c devt = MKDEV(MAJOR(ipvtap_major), vlantap->tap.minor); minor 170 drivers/net/macvtap.c devt = MKDEV(MAJOR(macvtap_major), vlantap->tap.minor); minor 184 drivers/net/macvtap.c if (vlantap->tap.minor == 0) minor 187 drivers/net/macvtap.c devt = MKDEV(MAJOR(macvtap_major), vlantap->tap.minor); minor 420 drivers/net/tap.c tap->minor = retval; minor 444 drivers/net/tap.c if (tap->minor) { minor 445 drivers/net/tap.c idr_remove(&tap_major->minor_idr, tap->minor); minor 446 drivers/net/tap.c tap->minor = 0; minor 455 drivers/net/tap.c static struct tap_dev *dev_get_by_tap_file(int major, int minor) minor 469 drivers/net/tap.c tap = idr_find(&tap_major->minor_idr, minor); minor 3507 drivers/net/tun.c .minor = TUN_MINOR, minor 207 drivers/net/usb/aqc111.c aqc111_data->fw_ver.minor, minor 676 drivers/net/usb/aqc111.c 1, 1, &aqc111_data->fw_ver.minor); minor 170 drivers/net/usb/aqc111.h u8 minor; minor 198 drivers/net/usb/hso.c u8 minor; minor 1095 drivers/net/usb/hso.c hso_dbg(0x8, "port %d\n", serial->minor); minor 1255 drivers/net/usb/hso.c hso_dbg(0x1, "Opening %d\n", serial->minor); minor 2083 drivers/net/usb/hso.c dev2ser(hso_dev)->minor); minor 2231 drivers/net/usb/hso.c tty_unregister_device(tty_drv, serial->minor); minor 2255 drivers/net/usb/hso.c int minor; minor 2260 drivers/net/usb/hso.c minor = get_free_serial_index(); minor 2261 drivers/net/usb/hso.c if (minor < 0) minor 2266 drivers/net/usb/hso.c tty_drv, minor, &serial->parent->interface->dev, minor 2270 drivers/net/usb/hso.c serial->minor = minor; minor 2668 drivers/net/usb/hso.c set_serial_by_index(serial->minor, serial); minor 2727 drivers/net/usb/hso.c set_serial_by_index(serial->minor, serial); minor 2737 drivers/net/usb/hso.c tty_unregister_device(tty_drv, serial->minor); minor 1020 drivers/net/wimax/i2400m/control.c unsigned major, minor, branch; minor 1055 drivers/net/wimax/i2400m/control.c minor = le16_to_cpu(l4mv->minor); minor 1060 drivers/net/wimax/i2400m/control.c "%u.%u.%u\n", major, minor, branch); minor 1064 drivers/net/wimax/i2400m/control.c if (minor > I2400M_HDIv_MINOR_2 || minor < I2400M_HDIv_MINOR) minor 1066 drivers/net/wimax/i2400m/control.c major, minor, branch); minor 1068 drivers/net/wimax/i2400m/control.c i2400m->fw_version = major << 16 | minor; minor 1070 drivers/net/wimax/i2400m/control.c major, minor, branch); minor 541 drivers/net/wireless/ath/ath10k/htt.h u8 minor; minor 3749 drivers/net/wireless/ath/ath10k/htt_rx.c htt->target_version_minor = resp->ver_resp.minor; minor 3116 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c int *length, int *major, int *minor) minor 3128 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c *minor = (value[3] & 0x00ff); minor 3274 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c int reference, length, major, minor; minor 3349 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c &length, &major, &minor); minor 3352 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr, code, reference, length, major, minor); minor 1551 drivers/net/wireless/ath/ath9k/ar9003_mci.c void ar9003_mci_set_bt_version(struct ath_hw *ah, u8 major, u8 minor) minor 1556 drivers/net/wireless/ath/ath9k/ar9003_mci.c mci->bt_ver_minor = minor; minor 316 drivers/net/wireless/ath/ath9k/ar9003_mci.h void ar9003_mci_set_bt_version(struct ath_hw *ah, u8 major, u8 minor); minor 798 drivers/net/wireless/ath/ath9k/htc_drv_init.c priv->fw_version_minor = be16_to_cpu(cmd_rsp.minor); minor 373 drivers/net/wireless/ath/ath9k/mci.c u8 major, minor, update_scheme = 0; minor 389 drivers/net/wireless/ath/ath9k/mci.c minor = *(rx_payload + MCI_GPM_COEX_B_MINOR_VERSION); minor 390 drivers/net/wireless/ath/ath9k/mci.c ar9003_mci_set_bt_version(ah, major, minor); minor 35 drivers/net/wireless/ath/ath9k/wmi.h __be16 minor; minor 737 drivers/net/wireless/ath/wcn36xx/hal.h u8 minor; minor 429 drivers/net/wireless/ath/wcn36xx/smd.c wcn->fw_minor = rsp->start_rsp_params.version.minor; minor 261 drivers/net/wireless/ath/wcn36xx/wcn36xx.h u8 minor, minor 266 drivers/net/wireless/ath/wcn36xx/wcn36xx.h wcn->fw_minor == minor && minor 1647 drivers/net/wireless/atmel/at76c50x-usb.c fwe->fw_version.minor = fwh->minor; minor 1661 drivers/net/wireless/atmel/at76c50x-usb.c fwe->fwname, fwh->major, fwh->minor, fwh->patch, fwh->build); minor 2370 drivers/net/wireless/atmel/at76c50x-usb.c priv->fw_version.major, priv->fw_version.minor, minor 2388 drivers/net/wireless/atmel/at76c50x-usb.c priv->fw_version.major, priv->fw_version.minor, minor 2496 drivers/net/wireless/atmel/at76c50x-usb.c if ((fwe->fw_version.major > 0 || fwe->fw_version.minor >= 100) minor 2499 drivers/net/wireless/atmel/at76c50x-usb.c if (ret < 0 || (fwv->major | fwv->minor) == 0) minor 311 drivers/net/wireless/atmel/at76c50x-usb.h u8 minor; minor 339 drivers/net/wireless/atmel/at76c50x-usb.h u8 minor; /* firmware minor version */ minor 885 drivers/net/wireless/intel/iwlwifi/iwl-drv.c u32 major, minor; minor 892 drivers/net/wireless/intel/iwlwifi/iwl-drv.c minor = le32_to_cpup(ptr++); minor 898 drivers/net/wireless/intel/iwlwifi/iwl-drv.c "%u.%08x.%u", major, minor, local_comp); minor 902 drivers/net/wireless/intel/iwlwifi/iwl-drv.c "%u.%u.%u", major, minor, local_comp); minor 404 drivers/net/wireless/intel/iwlwifi/mvm/utils.c u32 minor; /* uCode version minor */ minor 571 drivers/net/wireless/intel/iwlwifi/mvm/utils.c IWL_ERR(mvm, "0x%08X | uCode version minor\n", table.minor); minor 182 drivers/net/wireless/intersil/hostap/hostap_common.h __le16 minor; minor 1058 drivers/net/wireless/intersil/hostap/hostap_hw.c __le16_to_cpu(comp.minor), __le16_to_cpu(comp.variant)); minor 2732 drivers/net/wireless/intersil/hostap/hostap_hw.c int id, variant, major, minor; minor 2747 drivers/net/wireless/intersil/hostap/hostap_hw.c minor = __le16_to_cpu(comp.minor); minor 2749 drivers/net/wireless/intersil/hostap/hostap_hw.c local->sta_fw_ver = PRISM2_FW_VER(major, minor, variant); minor 798 drivers/net/wireless/intersil/hostap/hostap_wlan.h #define PRISM2_FW_VER(major, minor, variant) \ minor 799 drivers/net/wireless/intersil/hostap/hostap_wlan.h (((major) << 16) | ((minor) << 8) | variant) minor 47 drivers/net/wireless/intersil/orinoco/hw.c u16 id, variant, major, minor; minor 91 drivers/net/wireless/intersil/orinoco/hw.c le16_to_cpus(&nic_id.minor); minor 93 drivers/net/wireless/intersil/orinoco/hw.c nic_id.id, nic_id.variant, nic_id.major, nic_id.minor); minor 99 drivers/net/wireless/intersil/orinoco/hw.c (nic_id.minor & 0xff)); minor 114 drivers/net/wireless/intersil/orinoco/hw.c le16_to_cpus(&sta_id.minor); minor 116 drivers/net/wireless/intersil/orinoco/hw.c sta_id.id, sta_id.variant, sta_id.major, sta_id.minor); minor 153 drivers/net/wireless/intersil/orinoco/hw.c sta_id.major, sta_id.minor); minor 155 drivers/net/wireless/intersil/orinoco/hw.c firmver = ((unsigned long)sta_id.major << 16) | sta_id.minor; minor 243 drivers/net/wireless/intersil/orinoco/hw.c sta_id.major, sta_id.minor, sta_id.variant); minor 246 drivers/net/wireless/intersil/orinoco/hw.c ((unsigned long)sta_id.minor << 8) | sta_id.variant; minor 88 drivers/net/wireless/rsi/rsi_91x_debugfs.c common->lmac_ver.minor, minor 929 drivers/net/wireless/rsi/rsi_91x_hal.c common->lmac_ver.minor = minor 1047 drivers/net/wireless/rsi/rsi_91x_hal.c common->lmac_ver.minor = ta_firmware[LMAC_VER_OFFSET_9116 + 1]; minor 102 drivers/net/wireless/rsi/rsi_91x_main.c common->lmac_ver.major, common->lmac_ver.minor, minor 123 drivers/net/wireless/rsi/rsi_main.h u16 minor; minor 504 drivers/net/wireless/ti/wl1251/boot.c wl->boot_attr.minor = (tmp & 0x00FF0000) >> 16; minor 510 drivers/net/wireless/ti/wl1251/boot.c wl->boot_attr.minor, minor_minor_e2_ver); minor 100 drivers/net/wireless/ti/wl1251/wl1251.h u32 minor; minor 1479 drivers/net/wireless/ti/wl12xx/main.c u8 major, minor; minor 1483 drivers/net/wireless/ti/wl12xx/main.c minor = WL128X_PG_GET_MINOR(wl->hw_pg_ver); minor 1486 drivers/net/wireless/ti/wl12xx/main.c if (major > 2 || (major == 2 && minor >= 1)) minor 1490 drivers/net/wireless/ti/wl12xx/main.c minor = WL127X_PG_GET_MINOR(wl->hw_pg_ver); minor 1493 drivers/net/wireless/ti/wl12xx/main.c if (major == 3 && minor >= 1) minor 1499 drivers/net/wireless/ti/wl12xx/main.c major, minor, supported ? "is" : "is not"); minor 1222 drivers/nvdimm/bus.c long minor = iminor(inode); minor 1224 drivers/nvdimm/bus.c file->private_data = (void *) minor; minor 139 drivers/nvdimm/label.c + __le16_to_cpu(nsindex[i]->minor); minor 671 drivers/nvdimm/label.c nsindex->minor = __cpu_to_le16(1); minor 673 drivers/nvdimm/label.c nsindex->minor = __cpu_to_le16(2); minor 63 drivers/nvdimm/label.h __le16 minor; minor 1463 drivers/nvdimm/namespace_devs.c && __le16_to_cpu(nsindex->minor) == 1) minor 692 drivers/nvdimm/region_devs.c && __le16_to_cpu(nsindex->minor) == 1) minor 1149 drivers/nvme/host/fabrics.c .minor = MISC_DYNAMIC_MINOR, minor 828 drivers/nvme/target/configfs.c int major, minor, tertiary = 0; minor 832 drivers/nvme/target/configfs.c ret = sscanf(page, "%d.%d.%d\n", &major, &minor, &tertiary); minor 837 drivers/nvme/target/configfs.c subsys->ver = NVME_VS(major, minor, tertiary); minor 1518 drivers/parisc/lba_pci.c int major, minor; minor 1521 drivers/parisc/lba_pci.c major = func_class >> 4, minor = func_class & 0xf; minor 1528 drivers/parisc/lba_pci.c minor, func_class, (long)dev->hpa.start); minor 59 drivers/pci/controller/pci-hyperv.c #define PCI_MAKE_VERSION(major, minor) ((u32)(((major) << 16) | (minor))) minor 512 drivers/pci/pcie/aer_inject.c .minor = MISC_DYNAMIC_MINOR, minor 1123 drivers/pci/switch/switchtec.c int minor; minor 1151 drivers/pci/switch/switchtec.c minor = ida_simple_get(&switchtec_minor_ida, 0, 0, minor 1153 drivers/pci/switch/switchtec.c if (minor < 0) { minor 1154 drivers/pci/switch/switchtec.c rc = minor; minor 1158 drivers/pci/switch/switchtec.c dev->devt = MKDEV(MAJOR(switchtec_devt), minor); minor 1159 drivers/pci/switch/switchtec.c dev_set_name(dev, "switchtec%d", minor); minor 800 drivers/pcmcia/cistpl.c vers_1->minor = *p; p++; minor 17 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c u16 minor = ufs_qcom_phy->host_ctrl_rev_minor; minor 21 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c if ((major == 0x1) && (minor == 0x002) && (step == 0x0000)) { minor 24 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c } else if ((major == 0x1) && (minor == 0x003) && (step == 0x0000)) { minor 511 drivers/phy/qualcomm/phy-qcom-ufs.c u8 major, u16 minor, u16 step) minor 516 drivers/phy/qualcomm/phy-qcom-ufs.c ufs_qcom_phy->host_ctrl_rev_minor = minor; minor 387 drivers/platform/chrome/cros_ec_chardev.c data->misc.minor = MISC_DYNAMIC_MINOR; minor 146 drivers/platform/chrome/cros_usbpd_logger.c minfo->irom.major, minfo->irom.minor, minor 148 drivers/platform/chrome/cros_usbpd_logger.c minfo->fw.minor, minfo->fw.build); minor 453 drivers/platform/chrome/wilco_ec/event.c int error, minor; minor 455 drivers/platform/chrome/wilco_ec/event.c minor = ida_alloc_max(&event_ida, EVENT_MAX_DEV-1, GFP_KERNEL); minor 456 drivers/platform/chrome/wilco_ec/event.c if (minor < 0) { minor 457 drivers/platform/chrome/wilco_ec/event.c error = minor; minor 482 drivers/platform/chrome/wilco_ec/event.c dev_data->dev.devt = MKDEV(event_major, minor); minor 485 drivers/platform/chrome/wilco_ec/event.c dev_set_name(&dev_data->dev, EVENT_DEV_NAME_FMT, minor); minor 499 drivers/platform/chrome/wilco_ec/event.c ida_simple_remove(&event_ida, minor); minor 364 drivers/platform/chrome/wilco_ec/telemetry.c int error, minor; minor 367 drivers/platform/chrome/wilco_ec/telemetry.c minor = ida_alloc_max(&telem_ida, TELEM_MAX_DEV-1, GFP_KERNEL); minor 368 drivers/platform/chrome/wilco_ec/telemetry.c if (minor < 0) { minor 369 drivers/platform/chrome/wilco_ec/telemetry.c error = minor; minor 376 drivers/platform/chrome/wilco_ec/telemetry.c ida_simple_remove(&telem_ida, minor); minor 386 drivers/platform/chrome/wilco_ec/telemetry.c dev_data->dev.devt = MKDEV(telem_major, minor); minor 389 drivers/platform/chrome/wilco_ec/telemetry.c dev_set_name(&dev_data->dev, TELEM_DEV_NAME_FMT, minor); minor 397 drivers/platform/chrome/wilco_ec/telemetry.c ida_simple_remove(&telem_ida, minor); minor 807 drivers/platform/goldfish/goldfish_pipe.c miscdev->minor = MISC_DYNAMIC_MINOR; minor 150 drivers/platform/x86/dell-smo8800.c smo8800->miscdev.minor = MISC_DYNAMIC_MINOR; minor 593 drivers/platform/x86/intel_speed_select_if/isst_if_common.c .minor = MISC_DYNAMIC_MINOR, minor 105 drivers/platform/x86/sony-laptop.c static int minor = -1; minor 106 drivers/platform/x86/sony-laptop.c module_param(minor, int, 0); minor 107 drivers/platform/x86/sony-laptop.c MODULE_PARM_DESC(minor, minor 4274 drivers/platform/x86/sony-laptop.c .minor = MISC_DYNAMIC_MINOR, minor 4301 drivers/platform/x86/sony-laptop.c if (minor != -1) minor 4302 drivers/platform/x86/sony-laptop.c sonypi_misc_device.minor = minor; minor 4308 drivers/platform/x86/sony-laptop.c if (minor == -1) minor 4310 drivers/platform/x86/sony-laptop.c sonypi_misc_device.minor); minor 3057 drivers/platform/x86/toshiba_acpi.c dev->miscdev.minor = MISC_DYNAMIC_MINOR; minor 957 drivers/platform/x86/wmi.c wblock->char_dev.minor = MISC_DYNAMIC_MINOR; minor 1876 drivers/rapidio/devices/rio_mport_cdev.c int minor = iminor(inode); minor 1881 drivers/rapidio/devices/rio_mport_cdev.c if (minor >= RIO_MAX_MPORTS) { minor 596 drivers/rtc/rtc-ds1374.c .minor = WATCHDOG_MINOR, minor 850 drivers/rtc/rtc-m41t80.c .minor = WATCHDOG_MINOR, minor 701 drivers/s390/block/dasd_eer.c dasd_eer_dev->minor = MISC_DYNAMIC_MINOR; minor 132 drivers/s390/block/dcssblk.c int minor, found; minor 137 drivers/s390/block/dcssblk.c for (minor = 0; minor < (1<<MINORBITS); minor++) { minor 141 drivers/s390/block/dcssblk.c if (minor == entry->gd->first_minor) minor 147 drivers/s390/block/dcssblk.c dev_info->gd->first_minor = minor; minor 434 drivers/s390/char/fs3270.c int minor, rc = 0; minor 438 drivers/s390/char/fs3270.c minor = iminor(file_inode(filp)); minor 440 drivers/s390/char/fs3270.c if (minor == 0) { minor 446 drivers/s390/char/fs3270.c minor = tty->index; minor 451 drivers/s390/char/fs3270.c fp = (struct fs3270 *) raw3270_find_view(&fs3270_fn, minor); minor 466 drivers/s390/char/fs3270.c rc = raw3270_add_view(&fp->view, &fs3270_fn, minor, minor 528 drivers/s390/char/fs3270.c static void fs3270_create_cb(int minor) minor 530 drivers/s390/char/fs3270.c __register_chrdev(IBM_FS3270_MAJOR, minor, 1, "tub", &fs3270_fops); minor 531 drivers/s390/char/fs3270.c device_create(class3270, NULL, MKDEV(IBM_FS3270_MAJOR, minor), minor 532 drivers/s390/char/fs3270.c NULL, "3270/tub%d", minor); minor 535 drivers/s390/char/fs3270.c static void fs3270_destroy_cb(int minor) minor 537 drivers/s390/char/fs3270.c device_destroy(class3270, MKDEV(IBM_FS3270_MAJOR, minor)); minor 538 drivers/s390/char/fs3270.c __unregister_chrdev(IBM_FS3270_MAJOR, minor, 1, "tub"); minor 343 drivers/s390/char/hmcdrv_dev.c hmcdrv_dev.dev.minor = MISC_DYNAMIC_MINOR; minor 456 drivers/s390/char/monreader.c .minor = MISC_DYNAMIC_MINOR, minor 293 drivers/s390/char/monwriter.c .minor = MISC_DYNAMIC_MINOR, minor 38 drivers/s390/char/raw3270.c int minor; minor 697 drivers/s390/char/raw3270.c int minor; minor 728 drivers/s390/char/raw3270.c minor = RAW3270_FIRSTMINOR; minor 729 drivers/s390/char/raw3270.c rp->minor = -1; minor 732 drivers/s390/char/raw3270.c if (tmp->minor > minor) { minor 733 drivers/s390/char/raw3270.c rp->minor = minor; minor 737 drivers/s390/char/raw3270.c minor++; minor 739 drivers/s390/char/raw3270.c if (rp->minor == -1 && minor < RAW3270_MAXDEVS + RAW3270_FIRSTMINOR) { minor 740 drivers/s390/char/raw3270.c rp->minor = minor; minor 745 drivers/s390/char/raw3270.c if (rp->minor == -1) minor 923 drivers/s390/char/raw3270.c raw3270_add_view(struct raw3270_view *view, struct raw3270_fn *fn, int minor, int subclass) minor 929 drivers/s390/char/raw3270.c if (minor <= 0) minor 934 drivers/s390/char/raw3270.c if (rp->minor != minor) minor 959 drivers/s390/char/raw3270.c raw3270_find_view(struct raw3270_fn *fn, int minor) minor 968 drivers/s390/char/raw3270.c if (rp->minor != minor) minor 1108 drivers/s390/char/raw3270.c notifier->create(rp->minor); minor 1119 drivers/s390/char/raw3270.c notifier->destroy(rp->minor); minor 1143 drivers/s390/char/raw3270.c np->create(rp->minor); minor 1194 drivers/s390/char/raw3270.c np->destroy(rp->minor); minor 197 drivers/s390/char/raw3270.h void (*create)(int minor); minor 198 drivers/s390/char/raw3270.h void (*destroy)(int minor); minor 125 drivers/s390/char/sclp_ctl.c .minor = MISC_DYNAMIC_MINOR, minor 274 drivers/s390/char/tape_char.c int minor, rc; minor 283 drivers/s390/char/tape_char.c minor = iminor(file_inode(filp)); minor 284 drivers/s390/char/tape_char.c device = tape_find_device(minor / TAPE_MINORS_PER_DEV); minor 335 drivers/s390/char/tape_core.c int minor; minor 337 drivers/s390/char/tape_core.c minor = 0; minor 340 drivers/s390/char/tape_core.c if (minor < tmp->first_minor) minor 342 drivers/s390/char/tape_core.c minor += TAPE_MINORS_PER_DEV; minor 344 drivers/s390/char/tape_core.c if (minor >= 256) { minor 348 drivers/s390/char/tape_core.c device->first_minor = minor; minor 1908 drivers/s390/char/tty3270.c static void tty3270_create_cb(int minor) minor 1910 drivers/s390/char/tty3270.c tty_register_device(tty3270_driver, minor - RAW3270_FIRSTMINOR, NULL); minor 1913 drivers/s390/char/tty3270.c static void tty3270_destroy_cb(int minor) minor 1915 drivers/s390/char/tty3270.c tty_unregister_device(tty3270_driver, minor - RAW3270_FIRSTMINOR); minor 250 drivers/s390/char/vmcp.c .minor = MISC_DYNAMIC_MINOR, minor 867 drivers/s390/char/vmur.c int minor, major, rc; minor 886 drivers/s390/char/vmur.c minor = urd->dev_id.devno; minor 898 drivers/s390/char/vmur.c rc = cdev_add(urd->char_device, MKDEV(major, minor), 1); minor 965 drivers/s390/cio/chsc_sch.c .minor = MISC_DYNAMIC_MINOR, minor 1496 drivers/s390/crypto/pkey_api.c .minor = MISC_DYNAMIC_MINOR, minor 1684 drivers/s390/crypto/zcrypt_api.c .minor = MISC_DYNAMIC_MINOR, minor 166 drivers/sbus/char/display7seg.c .minor = D7S_MINOR, minor 1070 drivers/sbus/char/envctrl.c envctrl_dev.minor); minor 698 drivers/sbus/char/openprom.c .minor = SUN_OPENPROM_MINOR, minor 239 drivers/sbus/char/oradax.c unsigned long dummy, hv_rv, major, minor, minor_requested, max_ccbs; minor 291 drivers/sbus/char/oradax.c minor = minor_requested; minor 293 drivers/sbus/char/oradax.c minor); minor 294 drivers/sbus/char/oradax.c if (sun4v_hvapi_register(HV_GRP_DAX, major, &minor)) { minor 299 drivers/sbus/char/oradax.c dax_dbg("Max minor supported by HV = %ld (major %ld)", minor, minor 301 drivers/sbus/char/oradax.c minor = min(minor, minor_requested); minor 302 drivers/sbus/char/oradax.c dax_dbg("registered DAX major %ld minor %ld", major, minor); minor 2740 drivers/scsi/advansys.c ushort major, minor, letter; minor 2754 drivers/scsi/advansys.c minor = (boardp->bios_version >> 8) & 0xF; minor 2758 drivers/scsi/advansys.c major, minor, minor 2765 drivers/scsi/advansys.c if (major < 3 || (major <= 3 && minor < 1) || minor 2766 drivers/scsi/advansys.c (major <= 3 && minor <= 1 && letter < ('I' - 'A'))) { minor 4450 drivers/scsi/advansys.c ushort bios_version, major, minor; minor 4455 drivers/scsi/advansys.c minor = (bios_version >> 8) & 0xF; minor 4456 drivers/scsi/advansys.c if (major < 3 || (major == 3 && minor == 1)) { minor 31 drivers/scsi/aic94xx/aic94xx_sds.c u8 minor; /* 0 */ minor 94 drivers/scsi/aic94xx/aic94xx_sds.c u8 minor; /* 0 */ minor 1239 drivers/scsi/aic94xx/aic94xx_seq.c header.minor = le32_to_cpu(hdr_ptr->minor); minor 1267 drivers/scsi/aic94xx/aic94xx_seq.c header.major, header.minor, hdr_ptr->version); minor 26 drivers/scsi/aic94xx/aic94xx_seq.h u32 minor; minor 1546 drivers/scsi/bfa/bfa_ioc.c if (drv_fwhdr->fwver.minor != fwhdr_to_cmp->fwver.minor) minor 328 drivers/scsi/bfa/bfi.h uint8_t minor; minor 335 drivers/scsi/bfa/bfi.h uint8_t minor; minor 111 drivers/scsi/ch.c int minor; minor 591 drivers/scsi/ch.c int minor = iminor(inode); minor 595 drivers/scsi/ch.c ch = idr_find(&ch_index_idr, minor); minor 936 drivers/scsi/ch.c ch->minor = ret; minor 937 drivers/scsi/ch.c sprintf(ch->name,"ch%d",ch->minor); minor 940 drivers/scsi/ch.c MKDEV(SCSI_CHANGER_MAJOR, ch->minor), ch, minor 944 drivers/scsi/ch.c ch->minor); minor 963 drivers/scsi/ch.c device_destroy(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR, ch->minor)); minor 965 drivers/scsi/ch.c idr_remove(&ch_index_idr, ch->minor); minor 976 drivers/scsi/ch.c idr_remove(&ch_index_idr, ch->minor); minor 979 drivers/scsi/ch.c device_destroy(ch_sysfs_class, MKDEV(SCSI_CHANGER_MAJOR,ch->minor)); minor 909 drivers/scsi/cxlflash/main.c int minor; minor 916 drivers/scsi/cxlflash/main.c minor = bit & MINORMASK; minor 917 drivers/scsi/cxlflash/main.c set_bit(minor, cxlflash_minor); minor 918 drivers/scsi/cxlflash/main.c return minor; minor 925 drivers/scsi/cxlflash/main.c static void cxlflash_put_minor(int minor) minor 927 drivers/scsi/cxlflash/main.c clear_bit(minor, cxlflash_minor); minor 3610 drivers/scsi/cxlflash/main.c int minor; minor 3613 drivers/scsi/cxlflash/main.c minor = cxlflash_get_minor(); minor 3614 drivers/scsi/cxlflash/main.c if (unlikely(minor < 0)) { minor 3620 drivers/scsi/cxlflash/main.c devno = MKDEV(cxlflash_major, minor); minor 3630 drivers/scsi/cxlflash/main.c NULL, "cxlflash%d", minor); minor 3645 drivers/scsi/cxlflash/main.c cxlflash_put_minor(minor); minor 1595 drivers/scsi/dpt_i2o.c int minor; minor 1601 drivers/scsi/dpt_i2o.c minor = iminor(inode); minor 1602 drivers/scsi/dpt_i2o.c if (minor >= hba_count) { minor 1608 drivers/scsi/dpt_i2o.c if (pHba->unit == minor) { minor 1632 drivers/scsi/dpt_i2o.c int minor; minor 1635 drivers/scsi/dpt_i2o.c minor = iminor(inode); minor 1636 drivers/scsi/dpt_i2o.c if (minor >= hba_count) { minor 1641 drivers/scsi/dpt_i2o.c if (pHba->unit == minor) { minor 1952 drivers/scsi/dpt_i2o.c int minor; minor 1958 drivers/scsi/dpt_i2o.c minor = iminor(inode); minor 1959 drivers/scsi/dpt_i2o.c if (minor >= DPTI_MAX_HBA){ minor 1964 drivers/scsi/dpt_i2o.c if (pHba->unit == minor) { minor 1198 drivers/scsi/esas2r/esas2r_init.c u32 minor; minor 1207 drivers/scsi/esas2r/esas2r_init.c minor = HIBYTE(fw_release); minor 1208 drivers/scsi/esas2r/esas2r_init.c a->fw_version += (major << 16) + (minor << 24); minor 2233 drivers/scsi/ips.c uint8_t minor; minor 2240 drivers/scsi/ips.c minor = 0; minor 2274 drivers/scsi/ips.c minor = readb(ha->mem_ptr + IPS_REG_FLDP); minor 2312 drivers/scsi/ips.c minor = inb(ha->io_addr + IPS_REG_FLDP); minor 2359 drivers/scsi/ips.c minor = buffer[0x1fe + 0xC0]; /* Offset 0x1fe after the header (0xc0) */ minor 2371 drivers/scsi/ips.c ha->bios_version[5] = hex_asc_upper_hi(minor); minor 2372 drivers/scsi/ips.c ha->bios_version[6] = hex_asc_upper_lo(minor); minor 13585 drivers/scsi/lpfc/lpfc_init.c .minor = MISC_DYNAMIC_MINOR, minor 79 drivers/scsi/megaraid/megaraid_mm.c .minor = MISC_DYNAMIC_MINOR, minor 3663 drivers/scsi/mpt3sas/mpt3sas_ctl.c .minor = MPT3SAS_MINOR, minor 3669 drivers/scsi/mpt3sas/mpt3sas_ctl.c .minor = MPT2SAS_MINOR, minor 5149 drivers/scsi/pmcraid.c int minor; minor 5151 drivers/scsi/pmcraid.c minor = find_first_zero_bit(pmcraid_minor, PMCRAID_MAX_ADAPTERS); minor 5152 drivers/scsi/pmcraid.c __set_bit(minor, pmcraid_minor); minor 5153 drivers/scsi/pmcraid.c return minor; minor 5159 drivers/scsi/pmcraid.c static void pmcraid_release_minor(unsigned short minor) minor 5161 drivers/scsi/pmcraid.c __clear_bit(minor, pmcraid_minor); minor 5174 drivers/scsi/pmcraid.c int minor; minor 5177 drivers/scsi/pmcraid.c minor = pmcraid_get_minor(); minor 5181 drivers/scsi/pmcraid.c error = cdev_add(&pinstance->cdev, MKDEV(pmcraid_major, minor), 1); minor 5184 drivers/scsi/pmcraid.c pmcraid_release_minor(minor); minor 5186 drivers/scsi/pmcraid.c device_create(pmcraid_class, NULL, MKDEV(pmcraid_major, minor), minor 5187 drivers/scsi/pmcraid.c NULL, "%s%u", PMCRAID_DEVFILE, minor); minor 686 drivers/scsi/sr.c int minor, error; minor 705 drivers/scsi/sr.c minor = find_first_zero_bit(sr_index_bits, SR_DISKS); minor 706 drivers/scsi/sr.c if (minor == SR_DISKS) { minor 711 drivers/scsi/sr.c __set_bit(minor, sr_index_bits); minor 715 drivers/scsi/sr.c disk->first_minor = minor; minor 716 drivers/scsi/sr.c sprintf(disk->disk_name, "sr%d", minor); minor 739 drivers/scsi/sr.c sprintf(cd->cdi.name, "sr%d", minor); minor 255 drivers/scsi/stex.c u32 minor; minor 285 drivers/scsi/stex.c u32 minor; minor 502 drivers/scsi/stex.c p->drv_ver.minor = ST_VER_MINOR; minor 675 drivers/scsi/stex.c ver.minor = ST_VER_MINOR; minor 947 drivers/scsi/ufs/ufs-qcom.c if (host->hw_ver.minor == 0x0001 && host->hw_ver.step == 0x0001) minor 1156 drivers/scsi/ufs/ufs-qcom.c &host->hw_ver.minor, &host->hw_ver.step); minor 143 drivers/scsi/ufs/ufs-qcom.h u8 *major, u16 *minor, u16 *step) minor 148 drivers/scsi/ufs/ufs-qcom.h *minor = (ver & UFS_HW_VER_MINOR_MASK) >> UFS_HW_VER_MINOR_SHFT; minor 189 drivers/scsi/ufs/ufs-qcom.h u16 minor; minor 264 drivers/soc/aspeed/aspeed-lpc-ctrl.c lpc_ctrl->miscdev.minor = MISC_DYNAMIC_MINOR; minor 198 drivers/soc/aspeed/aspeed-lpc-snoop.c lpc_snoop->chan[channel].miscdev.minor = MISC_DYNAMIC_MINOR; minor 374 drivers/soc/aspeed/aspeed-p2a-ctrl.c misc_ctrl->miscdev.minor = MISC_DYNAMIC_MINOR; minor 250 drivers/soc/fsl/dpaa2-console.c .minor = MISC_DYNAMIC_MINOR, minor 263 drivers/soc/fsl/dpaa2-console.c .minor = MISC_DYNAMIC_MINOR, minor 89 drivers/soc/fsl/qbman/bman_ccsr.c static void bm_get_version(u16 *id, u8 *major, u8 *minor) minor 94 drivers/soc/fsl/qbman/bman_ccsr.c *minor = v & 0xff; minor 215 drivers/soc/fsl/qbman/bman_ccsr.c u8 major, minor; minor 229 drivers/soc/fsl/qbman/bman_ccsr.c bm_get_version(&id, &major, &minor); minor 230 drivers/soc/fsl/qbman/bman_ccsr.c if (major == 1 && minor == 0) { minor 233 drivers/soc/fsl/qbman/bman_ccsr.c } else if (major == 2 && minor == 0) { minor 236 drivers/soc/fsl/qbman/bman_ccsr.c } else if (major == 2 && minor == 1) { minor 241 drivers/soc/fsl/qbman/bman_ccsr.c id, major, minor); minor 335 drivers/soc/fsl/qbman/qman_ccsr.c static void qm_get_version(u16 *id, u8 *major, u8 *minor) minor 340 drivers/soc/fsl/qbman/qman_ccsr.c *minor = v & 0xff; minor 759 drivers/soc/fsl/qbman/qman_ccsr.c u8 major, minor; minor 773 drivers/soc/fsl/qbman/qman_ccsr.c qm_get_version(&id, &major, &minor); minor 774 drivers/soc/fsl/qbman/qman_ccsr.c if (major == 1 && minor == 0) { minor 777 drivers/soc/fsl/qbman/qman_ccsr.c } else if (major == 1 && minor == 1) minor 779 drivers/soc/fsl/qbman/qman_ccsr.c else if (major == 1 && minor == 2) minor 781 drivers/soc/fsl/qbman/qman_ccsr.c else if (major == 2 && minor == 0) minor 783 drivers/soc/fsl/qbman/qman_ccsr.c else if (major == 3 && minor == 0) minor 785 drivers/soc/fsl/qbman/qman_ccsr.c else if (major == 3 && minor == 1) minor 787 drivers/soc/fsl/qbman/qman_ccsr.c else if (major == 3 && minor == 2) minor 411 drivers/soc/fsl/qe/qe.c if (ucode->major || ucode->minor || ucode->revision) minor 414 drivers/soc/fsl/qe/qe.c ucode->id, ucode->major, ucode->minor, ucode->revision); minor 518 drivers/soc/fsl/qe/qe.c firmware->soc.major, firmware->soc.minor); minor 78 drivers/soc/qcom/wcnss_ctrl.c u8 minor; minor 138 drivers/soc/qcom/wcnss_ctrl.c version->major, version->minor, minor 268 drivers/spi/spi-geni-qcom.c unsigned int proto, major, minor, ver; minor 292 drivers/spi/spi-geni-qcom.c minor = GENI_SE_VERSION_MINOR(ver); minor 294 drivers/spi/spi-geni-qcom.c if (major == 1 && minor == 0) minor 724 drivers/spi/spidev.c unsigned long minor; minor 753 drivers/spi/spidev.c minor = find_first_zero_bit(minors, N_SPI_MINORS); minor 754 drivers/spi/spidev.c if (minor < N_SPI_MINORS) { minor 757 drivers/spi/spidev.c spidev->devt = MKDEV(SPIDEV_MAJOR, minor); minor 767 drivers/spi/spidev.c set_bit(minor, minors); minor 905 drivers/staging/android/ashmem.c .minor = MISC_DYNAMIC_MINOR, minor 651 drivers/staging/android/ion/ion.c idev->dev.minor = MISC_DYNAMIC_MINOR; minor 107 drivers/staging/comedi/comedi_fops.c dev->minor = -1; minor 164 drivers/staging/comedi/comedi_fops.c unsigned int i = dev->minor; minor 177 drivers/staging/comedi/comedi_fops.c static struct comedi_device *comedi_clear_board_minor(unsigned int minor) minor 182 drivers/staging/comedi/comedi_fops.c dev = comedi_board_minor_table[minor]; minor 183 drivers/staging/comedi/comedi_fops.c comedi_board_minor_table[minor] = NULL; minor 194 drivers/staging/comedi/comedi_fops.c MKDEV(COMEDI_MAJOR, dev->minor)); minor 201 drivers/staging/comedi/comedi_fops.c comedi_subdevice_from_minor(const struct comedi_device *dev, unsigned int minor) minor 204 drivers/staging/comedi/comedi_fops.c unsigned int i = minor - COMEDI_NUM_BOARD_MINORS; minor 214 drivers/staging/comedi/comedi_fops.c static struct comedi_device *comedi_dev_get_from_board_minor(unsigned int minor) minor 219 drivers/staging/comedi/comedi_fops.c dev = comedi_dev_get(comedi_board_minor_table[minor]); minor 225 drivers/staging/comedi/comedi_fops.c comedi_dev_get_from_subdevice_minor(unsigned int minor) minor 229 drivers/staging/comedi/comedi_fops.c unsigned int i = minor - COMEDI_NUM_BOARD_MINORS; minor 250 drivers/staging/comedi/comedi_fops.c struct comedi_device *comedi_dev_get_from_minor(unsigned int minor) minor 252 drivers/staging/comedi/comedi_fops.c if (minor < COMEDI_NUM_BOARD_MINORS) minor 253 drivers/staging/comedi/comedi_fops.c return comedi_dev_get_from_board_minor(minor); minor 255 drivers/staging/comedi/comedi_fops.c return comedi_dev_get_from_subdevice_minor(minor); minor 260 drivers/staging/comedi/comedi_fops.c comedi_read_subdevice(const struct comedi_device *dev, unsigned int minor) minor 265 drivers/staging/comedi/comedi_fops.c if (minor >= COMEDI_NUM_BOARD_MINORS) { minor 266 drivers/staging/comedi/comedi_fops.c s = comedi_subdevice_from_minor(dev, minor); minor 274 drivers/staging/comedi/comedi_fops.c comedi_write_subdevice(const struct comedi_device *dev, unsigned int minor) minor 279 drivers/staging/comedi/comedi_fops.c if (minor >= COMEDI_NUM_BOARD_MINORS) { minor 280 drivers/staging/comedi/comedi_fops.c s = comedi_subdevice_from_minor(dev, minor); minor 292 drivers/staging/comedi/comedi_fops.c unsigned int minor = iminor(file_inode(file)); minor 296 drivers/staging/comedi/comedi_fops.c if (minor >= COMEDI_NUM_BOARD_MINORS) { minor 297 drivers/staging/comedi/comedi_fops.c s = comedi_subdevice_from_minor(dev, minor); minor 381 drivers/staging/comedi/comedi_fops.c unsigned int minor = MINOR(csdev->devt); minor 386 drivers/staging/comedi/comedi_fops.c dev = comedi_dev_get_from_minor(minor); minor 391 drivers/staging/comedi/comedi_fops.c s = comedi_read_subdevice(dev, minor); minor 404 drivers/staging/comedi/comedi_fops.c unsigned int minor = MINOR(csdev->devt); minor 417 drivers/staging/comedi/comedi_fops.c dev = comedi_dev_get_from_minor(minor); minor 422 drivers/staging/comedi/comedi_fops.c s = comedi_read_subdevice(dev, minor); minor 437 drivers/staging/comedi/comedi_fops.c unsigned int minor = MINOR(csdev->devt); minor 442 drivers/staging/comedi/comedi_fops.c dev = comedi_dev_get_from_minor(minor); minor 447 drivers/staging/comedi/comedi_fops.c s = comedi_read_subdevice(dev, minor); minor 460 drivers/staging/comedi/comedi_fops.c unsigned int minor = MINOR(csdev->devt); minor 473 drivers/staging/comedi/comedi_fops.c dev = comedi_dev_get_from_minor(minor); minor 478 drivers/staging/comedi/comedi_fops.c s = comedi_read_subdevice(dev, minor); minor 494 drivers/staging/comedi/comedi_fops.c unsigned int minor = MINOR(csdev->devt); minor 499 drivers/staging/comedi/comedi_fops.c dev = comedi_dev_get_from_minor(minor); minor 504 drivers/staging/comedi/comedi_fops.c s = comedi_write_subdevice(dev, minor); minor 517 drivers/staging/comedi/comedi_fops.c unsigned int minor = MINOR(csdev->devt); minor 530 drivers/staging/comedi/comedi_fops.c dev = comedi_dev_get_from_minor(minor); minor 535 drivers/staging/comedi/comedi_fops.c s = comedi_write_subdevice(dev, minor); minor 550 drivers/staging/comedi/comedi_fops.c unsigned int minor = MINOR(csdev->devt); minor 555 drivers/staging/comedi/comedi_fops.c dev = comedi_dev_get_from_minor(minor); minor 560 drivers/staging/comedi/comedi_fops.c s = comedi_write_subdevice(dev, minor); minor 573 drivers/staging/comedi/comedi_fops.c unsigned int minor = MINOR(csdev->devt); minor 586 drivers/staging/comedi/comedi_fops.c dev = comedi_dev_get_from_minor(minor); minor 591 drivers/staging/comedi/comedi_fops.c s = comedi_write_subdevice(dev, minor); minor 844 drivers/staging/comedi/comedi_fops.c if (dev->minor >= comedi_num_legacy_minors) minor 1082 drivers/staging/comedi/comedi_fops.c x = (dev->minor << 28) | (it.subdev << 24) | (i << 16) | minor 2150 drivers/staging/comedi/comedi_fops.c unsigned int minor = iminor(file_inode(file)); minor 2162 drivers/staging/comedi/comedi_fops.c if (minor >= COMEDI_NUM_BOARD_MINORS) { minor 2171 drivers/staging/comedi/comedi_fops.c dev->minor >= comedi_num_legacy_minors) { minor 2717 drivers/staging/comedi/comedi_fops.c const unsigned int minor = iminor(inode); minor 2719 drivers/staging/comedi/comedi_fops.c struct comedi_device *dev = comedi_dev_get_from_minor(minor); minor 2904 drivers/staging/comedi/comedi_fops.c dev->minor = i; minor 2916 drivers/staging/comedi/comedi_fops.c int minor; minor 2919 drivers/staging/comedi/comedi_fops.c for (minor = comedi_num_legacy_minors; minor < COMEDI_NUM_BOARD_MINORS; minor 2920 drivers/staging/comedi/comedi_fops.c minor++) { minor 2922 drivers/staging/comedi/comedi_fops.c dev = comedi_board_minor_table[minor]; minor 2924 drivers/staging/comedi/comedi_fops.c comedi_board_minor_table[minor] = NULL; minor 2953 drivers/staging/comedi/comedi_fops.c s->minor = i; minor 2956 drivers/staging/comedi/comedi_fops.c dev->minor, s->index); minor 2969 drivers/staging/comedi/comedi_fops.c if (s->minor < COMEDI_NUM_BOARD_MINORS || minor 2970 drivers/staging/comedi/comedi_fops.c s->minor >= COMEDI_NUM_MINORS) minor 2973 drivers/staging/comedi/comedi_fops.c i = s->minor - COMEDI_NUM_BOARD_MINORS; minor 2979 drivers/staging/comedi/comedi_fops.c device_destroy(comedi_class, MKDEV(COMEDI_MAJOR, s->minor)); minor 210 drivers/staging/comedi/comedidev.h int minor; minor 548 drivers/staging/comedi/comedidev.h int minor; minor 590 drivers/staging/comedi/comedidev.h struct comedi_device *comedi_dev_get_from_minor(unsigned int minor); minor 117 drivers/staging/comedi/drivers.c s->minor = -1; minor 49 drivers/staging/comedi/drivers/comedi_bond.c unsigned int minor; minor 183 drivers/staging/comedi/drivers/comedi_bond.c int minor = it->options[i]; minor 189 drivers/staging/comedi/drivers/comedi_bond.c if (minor < 0 || minor >= COMEDI_NUM_BOARD_MINORS) { minor 191 drivers/staging/comedi/drivers/comedi_bond.c "Minor %d is invalid!\n", minor); minor 194 drivers/staging/comedi/drivers/comedi_bond.c if (minor == dev->minor) { minor 199 drivers/staging/comedi/drivers/comedi_bond.c if (test_and_set_bit(minor, devs_opened)) { minor 201 drivers/staging/comedi/drivers/comedi_bond.c "Minor %d specified more than once!\n", minor); minor 205 drivers/staging/comedi/drivers/comedi_bond.c snprintf(file, sizeof(file), "/dev/comedi%d", minor); minor 212 drivers/staging/comedi/drivers/comedi_bond.c "Minor %u could not be opened\n", minor); minor 223 drivers/staging/comedi/drivers/comedi_bond.c nchans, minor, sdev); minor 231 drivers/staging/comedi/drivers/comedi_bond.c bdev->minor = minor; minor 258 drivers/staging/comedi/drivers/comedi_bond.c bdev->minor, bdev->subdev); minor 328 drivers/staging/comedi/drivers/comedi_bond.c if (!test_and_set_bit(bdev->minor, devs_closed)) minor 30 drivers/staging/comedi/kcomedilib/kcomedilib_main.c unsigned int minor; minor 35 drivers/staging/comedi/kcomedilib/kcomedilib_main.c if (kstrtouint(filename + 11, 0, &minor)) minor 38 drivers/staging/comedi/kcomedilib/kcomedilib_main.c if (minor >= COMEDI_NUM_BOARD_MINORS) minor 41 drivers/staging/comedi/kcomedilib/kcomedilib_main.c dev = comedi_dev_get_from_minor(minor); minor 657 drivers/staging/gasket/apex_driver.c .minor = 0, minor 227 drivers/staging/gasket/gasket_core.c MKDEV(driver_desc->major, driver_desc->minor + minor 1742 drivers/staging/gasket/gasket_core.c driver_desc->minor), GASKET_DEV_MAX, minor 1782 drivers/staging/gasket/gasket_core.c driver_desc->minor); minor 1786 drivers/staging/gasket/gasket_core.c unregister_chrdev_region(MKDEV(driver_desc->major, driver_desc->minor), minor 343 drivers/staging/gasket/gasket_core.h int major, minor; minor 44 drivers/staging/gdm724x/gdm_tty.c gdm_table[gdm->index][gdm->minor] = NULL; minor 227 drivers/staging/gdm724x/gdm_tty.c gdm->minor = j; minor 231 drivers/staging/gdm724x/gdm_tty.c gdm->minor, device); minor 253 drivers/staging/gdm724x/gdm_tty.c gdm_table[gdm->index][gdm->minor] = NULL; minor 262 drivers/staging/gdm724x/gdm_tty.c tty_unregister_device(gdm_driver[i], gdm->minor); minor 29 drivers/staging/gdm724x/gdm_tty.h unsigned int minor; minor 276 drivers/staging/goldfish/goldfish_audio.c .minor = MISC_DYNAMIC_MINOR, minor 56 drivers/staging/greybus/Documentation/firmware/firmware.c intf_fw_info.minor); minor 64 drivers/staging/greybus/Documentation/firmware/firmware.c intf_load.minor = 0; minor 84 drivers/staging/greybus/Documentation/firmware/firmware.c firmware_tag, intf_load.major, intf_load.minor, minor 117 drivers/staging/greybus/Documentation/firmware/firmware.c backend_fw_info.minor, backend_fw_info.status); minor 301 drivers/staging/greybus/authentication.c int ret, minor; minor 324 drivers/staging/greybus/authentication.c minor = ida_simple_get(&cap_minors_map, 0, NUM_MINORS, GFP_KERNEL); minor 325 drivers/staging/greybus/authentication.c if (minor < 0) { minor 326 drivers/staging/greybus/authentication.c ret = minor; minor 331 drivers/staging/greybus/authentication.c cap->dev_num = MKDEV(MAJOR(cap_dev_num), minor); minor 340 drivers/staging/greybus/authentication.c NULL, "gb-authenticate-%d", minor); minor 351 drivers/staging/greybus/authentication.c ida_simple_remove(&cap_minors_map, minor); minor 383 drivers/staging/greybus/bootrom.c request.minor = GB_BOOTROM_VERSION_MINOR; minor 404 drivers/staging/greybus/bootrom.c bootrom->protocol_minor = response.minor; minor 407 drivers/staging/greybus/bootrom.c response.minor); minor 121 drivers/staging/greybus/fw-management.c fw_info->minor = le16_to_cpu(response.minor); minor 224 drivers/staging/greybus/fw-management.c fw_mgmt->intf_fw_minor = le16_to_cpu(request->minor); minor 275 drivers/staging/greybus/fw-management.c fw_info->minor = 0; minor 280 drivers/staging/greybus/fw-management.c fw_info->minor = le16_to_cpu(response.minor); minor 464 drivers/staging/greybus/fw-management.c intf_load.minor = fw_mgmt->intf_fw_minor; minor 590 drivers/staging/greybus/fw-management.c int ret, minor; minor 617 drivers/staging/greybus/fw-management.c minor = ida_simple_get(&fw_mgmt_minors_map, 0, NUM_MINORS, GFP_KERNEL); minor 618 drivers/staging/greybus/fw-management.c if (minor < 0) { minor 619 drivers/staging/greybus/fw-management.c ret = minor; minor 624 drivers/staging/greybus/fw-management.c fw_mgmt->dev_num = MKDEV(MAJOR(fw_mgmt_dev_num), minor); minor 634 drivers/staging/greybus/fw-management.c "gb-fw-mgmt-%d", minor); minor 645 drivers/staging/greybus/fw-management.c ida_simple_remove(&fw_mgmt_minors_map, minor); minor 43 drivers/staging/greybus/greybus_firmware.h __u16 minor; minor 49 drivers/staging/greybus/greybus_firmware.h __u16 minor; minor 58 drivers/staging/greybus/greybus_firmware.h __u16 minor; minor 155 drivers/staging/greybus/raw.c int minor; minor 181 drivers/staging/greybus/raw.c minor = ida_simple_get(&minors, 0, 0, GFP_KERNEL); minor 182 drivers/staging/greybus/raw.c if (minor < 0) { minor 183 drivers/staging/greybus/raw.c retval = minor; minor 187 drivers/staging/greybus/raw.c raw->dev = MKDEV(raw_major, minor); minor 199 drivers/staging/greybus/raw.c raw->dev, raw, "gb!raw%d", minor); minor 214 drivers/staging/greybus/raw.c ida_simple_remove(&minors, minor); minor 58 drivers/staging/greybus/uart.c unsigned int minor; minor 351 drivers/staging/greybus/uart.c static struct gb_tty *get_gb_by_minor(unsigned int minor) minor 356 drivers/staging/greybus/uart.c gb_tty = idr_find(&tty_minors, minor); minor 373 drivers/staging/greybus/uart.c int minor; minor 376 drivers/staging/greybus/uart.c minor = idr_alloc(&tty_minors, gb_tty, 0, GB_NUM_MINORS, GFP_KERNEL); minor 378 drivers/staging/greybus/uart.c if (minor >= 0) minor 379 drivers/staging/greybus/uart.c gb_tty->minor = minor; minor 380 drivers/staging/greybus/uart.c return minor; minor 385 drivers/staging/greybus/uart.c int minor = gb_tty->minor; minor 387 drivers/staging/greybus/uart.c gb_tty->minor = 0; /* Maybe should use an invalid value instead */ minor 389 drivers/staging/greybus/uart.c idr_remove(&tty_minors, minor); minor 625 drivers/staging/greybus/uart.c ss->line = gb_tty->minor; minor 826 drivers/staging/greybus/uart.c int minor; minor 865 drivers/staging/greybus/uart.c minor = alloc_minor(gb_tty); minor 866 drivers/staging/greybus/uart.c if (minor < 0) { minor 867 drivers/staging/greybus/uart.c if (minor == -ENOSPC) { minor 872 drivers/staging/greybus/uart.c retval = minor; minor 877 drivers/staging/greybus/uart.c gb_tty->minor = minor; minor 908 drivers/staging/greybus/uart.c tty_dev = tty_port_register_device(&gb_tty->port, gb_tty_driver, minor, minor 958 drivers/staging/greybus/uart.c tty_unregister_device(gb_tty_driver, gb_tty->minor); minor 21 drivers/staging/greybus/vibrator.c int minor; /* vibrator minor number */ minor 157 drivers/staging/greybus/vibrator.c vib->minor = ida_simple_get(&minors, 0, 0, GFP_KERNEL); minor 158 drivers/staging/greybus/vibrator.c if (vib->minor < 0) { minor 159 drivers/staging/greybus/vibrator.c retval = vib->minor; minor 163 drivers/staging/greybus/vibrator.c MKDEV(0, 0), vib, "vibrator%d", vib->minor); minor 177 drivers/staging/greybus/vibrator.c ida_simple_remove(&minors, vib->minor); minor 201 drivers/staging/greybus/vibrator.c ida_simple_remove(&minors, vib->minor); minor 91 drivers/staging/isdn/gigaset/bas-gigaset.c unsigned char minor; /* starting minor number */ minor 1003 drivers/staging/isdn/gigaset/common.c static struct cardstate *gigaset_get_cs_by_minor(unsigned minor) minor 1012 drivers/staging/isdn/gigaset/common.c if (minor < drv->minor || minor >= drv->minor + drv->minors) minor 1014 drivers/staging/isdn/gigaset/common.c index = minor - drv->minor; minor 1066 drivers/staging/isdn/gigaset/common.c struct gigaset_driver *gigaset_initdriver(unsigned minor, unsigned minors, minor 1081 drivers/staging/isdn/gigaset/common.c drv->minor = minor; minor 509 drivers/staging/isdn/gigaset/gigaset.h unsigned minor; minor 720 drivers/staging/isdn/gigaset/gigaset.h struct gigaset_driver *gigaset_initdriver(unsigned minor, unsigned minors, minor 583 drivers/staging/isdn/gigaset/interface.c tty->minor_start = drv->minor; minor 23 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c struct kpc_dma_device *kpc_dma_lookup_device(int minor) minor 29 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c if (c->pldev->id == minor) { minor 57 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h struct kpc_dma_device *kpc_dma_lookup_device(int minor); minor 503 drivers/staging/media/hantro/hantro_drv.c entity->info.dev.minor = vdev->minor; minor 571 drivers/staging/media/hantro/hantro_drv.c func->vdev.minor); minor 686 drivers/staging/media/imx/imx-media-capture.c .minor = -1, minor 838 drivers/staging/media/imx/imx-media-csc-scaler.c .minor = -1, minor 297 drivers/staging/media/sunxi/cedrus/cedrus.c .minor = -1, minor 1085 drivers/staging/media/tegra-vde/vde.c vde->miscdev.minor = MISC_DYNAMIC_MINOR; minor 70 drivers/staging/pi433/pi433_if.c int minor; minor 1068 drivers/staging/pi433/pi433_if.c device->minor = retval; minor 1081 drivers/staging/pi433/pi433_if.c idr_remove(&pi433_idr, dev->minor); minor 1210 drivers/staging/pi433/pi433_if.c device->devt = MKDEV(MAJOR(pi433_dev), device->minor); minor 1216 drivers/staging/pi433/pi433_if.c device->minor); minor 1225 drivers/staging/pi433/pi433_if.c device->minor); minor 1232 drivers/staging/pi433/pi433_if.c device->minor); minor 70 drivers/staging/speakup/devsynth.c .minor = SYNTH_MINOR, minor 378 drivers/staging/speakup/speakup_soft.c synth_device.minor = SOFTSYNTH_MINOR; minor 387 drivers/staging/speakup/speakup_soft.c synthu_device.minor = SOFTSYNTHU_MINOR; minor 872 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c u32 minor; minor 874 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c vchiq_mmal_version(dev->instance, &major, &minor); minor 878 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c major, minor); minor 99 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h u32 minor; minor 1088 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c *minor_out = rmsg->u.version.minor; minor 115 drivers/staging/vme/devices/vme_user.c unsigned int minor; minor 119 drivers/staging/vme/devices/vme_user.c static ssize_t resource_to_user(int minor, char __user *buf, size_t count, minor 124 drivers/staging/vme/devices/vme_user.c if (count > image[minor].size_buf) minor 125 drivers/staging/vme/devices/vme_user.c count = image[minor].size_buf; minor 127 drivers/staging/vme/devices/vme_user.c copied = vme_master_read(image[minor].resource, image[minor].kern_buf, minor 132 drivers/staging/vme/devices/vme_user.c if (copy_to_user(buf, image[minor].kern_buf, (unsigned long)copied)) minor 138 drivers/staging/vme/devices/vme_user.c static ssize_t resource_from_user(unsigned int minor, const char __user *buf, minor 141 drivers/staging/vme/devices/vme_user.c if (count > image[minor].size_buf) minor 142 drivers/staging/vme/devices/vme_user.c count = image[minor].size_buf; minor 144 drivers/staging/vme/devices/vme_user.c if (copy_from_user(image[minor].kern_buf, buf, (unsigned long)count)) minor 147 drivers/staging/vme/devices/vme_user.c return vme_master_write(image[minor].resource, image[minor].kern_buf, minor 151 drivers/staging/vme/devices/vme_user.c static ssize_t buffer_to_user(unsigned int minor, char __user *buf, minor 156 drivers/staging/vme/devices/vme_user.c image_ptr = image[minor].kern_buf + *ppos; minor 163 drivers/staging/vme/devices/vme_user.c static ssize_t buffer_from_user(unsigned int minor, const char __user *buf, minor 168 drivers/staging/vme/devices/vme_user.c image_ptr = image[minor].kern_buf + *ppos; minor 178 drivers/staging/vme/devices/vme_user.c unsigned int minor = MINOR(file_inode(file)->i_rdev); minor 182 drivers/staging/vme/devices/vme_user.c if (minor == CONTROL_MINOR) minor 185 drivers/staging/vme/devices/vme_user.c mutex_lock(&image[minor].mutex); minor 188 drivers/staging/vme/devices/vme_user.c image_size = vme_get_size(image[minor].resource); minor 192 drivers/staging/vme/devices/vme_user.c mutex_unlock(&image[minor].mutex); minor 200 drivers/staging/vme/devices/vme_user.c switch (type[minor]) { minor 202 drivers/staging/vme/devices/vme_user.c retval = resource_to_user(minor, buf, count, ppos); minor 205 drivers/staging/vme/devices/vme_user.c retval = buffer_to_user(minor, buf, count, ppos); minor 211 drivers/staging/vme/devices/vme_user.c mutex_unlock(&image[minor].mutex); minor 221 drivers/staging/vme/devices/vme_user.c unsigned int minor = MINOR(file_inode(file)->i_rdev); minor 225 drivers/staging/vme/devices/vme_user.c if (minor == CONTROL_MINOR) minor 228 drivers/staging/vme/devices/vme_user.c mutex_lock(&image[minor].mutex); minor 230 drivers/staging/vme/devices/vme_user.c image_size = vme_get_size(image[minor].resource); minor 234 drivers/staging/vme/devices/vme_user.c mutex_unlock(&image[minor].mutex); minor 242 drivers/staging/vme/devices/vme_user.c switch (type[minor]) { minor 244 drivers/staging/vme/devices/vme_user.c retval = resource_from_user(minor, buf, count, ppos); minor 247 drivers/staging/vme/devices/vme_user.c retval = buffer_from_user(minor, buf, count, ppos); minor 253 drivers/staging/vme/devices/vme_user.c mutex_unlock(&image[minor].mutex); minor 263 drivers/staging/vme/devices/vme_user.c unsigned int minor = MINOR(file_inode(file)->i_rdev); minor 267 drivers/staging/vme/devices/vme_user.c switch (type[minor]) { minor 270 drivers/staging/vme/devices/vme_user.c mutex_lock(&image[minor].mutex); minor 271 drivers/staging/vme/devices/vme_user.c image_size = vme_get_size(image[minor].resource); minor 273 drivers/staging/vme/devices/vme_user.c mutex_unlock(&image[minor].mutex); minor 297 drivers/staging/vme/devices/vme_user.c unsigned int minor = MINOR(inode->i_rdev); minor 302 drivers/staging/vme/devices/vme_user.c switch (type[minor]) { minor 326 drivers/staging/vme/devices/vme_user.c retval = vme_master_get(image[minor].resource, minor 343 drivers/staging/vme/devices/vme_user.c if (image[minor].mmap_count != 0) { minor 357 drivers/staging/vme/devices/vme_user.c return vme_master_set(image[minor].resource, minor 372 drivers/staging/vme/devices/vme_user.c retval = vme_slave_get(image[minor].resource, minor 397 drivers/staging/vme/devices/vme_user.c return vme_slave_set(image[minor].resource, minor 399 drivers/staging/vme/devices/vme_user.c image[minor].pci_buf, slave.aspace, minor 415 drivers/staging/vme/devices/vme_user.c unsigned int minor = MINOR(inode->i_rdev); minor 417 drivers/staging/vme/devices/vme_user.c mutex_lock(&image[minor].mutex); minor 419 drivers/staging/vme/devices/vme_user.c mutex_unlock(&image[minor].mutex); minor 434 drivers/staging/vme/devices/vme_user.c unsigned int minor = vma_priv->minor; minor 439 drivers/staging/vme/devices/vme_user.c mutex_lock(&image[minor].mutex); minor 440 drivers/staging/vme/devices/vme_user.c image[minor].mmap_count--; minor 441 drivers/staging/vme/devices/vme_user.c mutex_unlock(&image[minor].mutex); minor 451 drivers/staging/vme/devices/vme_user.c static int vme_user_master_mmap(unsigned int minor, struct vm_area_struct *vma) minor 456 drivers/staging/vme/devices/vme_user.c mutex_lock(&image[minor].mutex); minor 458 drivers/staging/vme/devices/vme_user.c err = vme_master_mmap(image[minor].resource, vma); minor 460 drivers/staging/vme/devices/vme_user.c mutex_unlock(&image[minor].mutex); minor 466 drivers/staging/vme/devices/vme_user.c mutex_unlock(&image[minor].mutex); minor 470 drivers/staging/vme/devices/vme_user.c vma_priv->minor = minor; minor 475 drivers/staging/vme/devices/vme_user.c image[minor].mmap_count++; minor 477 drivers/staging/vme/devices/vme_user.c mutex_unlock(&image[minor].mutex); minor 484 drivers/staging/vme/devices/vme_user.c unsigned int minor = MINOR(file_inode(file)->i_rdev); minor 486 drivers/staging/vme/devices/vme_user.c if (type[minor] == MASTER_MINOR) minor 487 drivers/staging/vme/devices/vme_user.c return vme_user_master_mmap(minor, vma); minor 377 drivers/staging/wlan-ng/hfa384x.h u16 minor; minor 972 drivers/staging/wlan-ng/hfa384x.h u16 minor; minor 621 drivers/staging/wlan-ng/prism2fw.c le16_to_cpus(&nicid.minor); minor 1149 drivers/staging/wlan-ng/prism2fw.c nicid.id, nicid.major, nicid.minor, nicid.variant); minor 1163 drivers/staging/wlan-ng/prism2fw.c s3info[i].info.version.minor, minor 1208 drivers/staging/wlan-ng/prism2fw.c s3info[i].info.version.minor, minor 1215 drivers/staging/wlan-ng/prism2fw.c if (nicid.minor != s3info[i].info.version.minor) minor 142 drivers/staging/wlan-ng/prism2mgmt.c hw->ident_sta_fw.minor, minor 181 drivers/staging/wlan-ng/prism2mgmt.c hw->ident_sta_fw.minor, minor 563 drivers/staging/wlan-ng/prism2mgmt.c hw->ident_sta_fw.minor, minor 604 drivers/staging/wlan-ng/prism2sta.c le16_to_cpus(&hw->ident_nic.minor); minor 608 drivers/staging/wlan-ng/prism2sta.c hw->ident_nic.minor, hw->ident_nic.variant); minor 623 drivers/staging/wlan-ng/prism2sta.c le16_to_cpus(&hw->ident_pri_fw.minor); minor 627 drivers/staging/wlan-ng/prism2sta.c hw->ident_pri_fw.minor, hw->ident_pri_fw.variant); minor 649 drivers/staging/wlan-ng/prism2sta.c le16_to_cpus(&hw->ident_sta_fw.minor); minor 659 drivers/staging/wlan-ng/prism2sta.c hw->ident_sta_fw.minor, hw->ident_sta_fw.variant); minor 664 drivers/staging/wlan-ng/prism2sta.c hw->ident_sta_fw.minor, hw->ident_sta_fw.variant); minor 878 drivers/staging/wlan-ng/prism2sta.c hw->ident_sta_fw.minor, minor 1775 drivers/target/target_core_user.c ret = nla_put_u32(skb, TCMU_ATTR_MINOR, udev->uio_info.uio_dev->minor); minor 366 drivers/tee/optee/core.c res.result.minor, res.result.build_id); minor 368 drivers/tee/optee/core.c pr_info("revision %lu.%lu", res.result.major, res.result.minor); minor 381 drivers/tee/optee/core.c (int)res.result.minor >= OPTEE_MSG_REVISION_MINOR) minor 67 drivers/tee/optee/optee_smc.h unsigned long minor; minor 102 drivers/tee/optee/optee_smc.h unsigned long minor; minor 360 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c .minor = MISC_DYNAMIC_MINOR, minor 383 drivers/thunderbolt/switch.c nvm->minor = val >> 8; minor 1306 drivers/thunderbolt/switch.c ret = sprintf(buf, "%x.%x\n", sw->nvm->major, sw->nvm->minor); minor 36 drivers/thunderbolt/tb.h u8 minor; minor 91 drivers/tty/n_hdlc.c #define VERSION(major,minor,patch) (((((major)<<8)+(minor))<<8)+(patch)) minor 476 drivers/tty/serial/21285.c .minor = SERIAL_21285_MINOR, minor 344 drivers/tty/serial/8250/8250.h return port->minor - 64; minor 696 drivers/tty/serial/8250/8250_core.c .minor = 64, minor 523 drivers/tty/serial/8250/8250_omap.c u16 revision, major, minor; minor 535 drivers/tty/serial/8250/8250_omap.c minor = (mvr & OMAP_UART_LEGACY_MVR_MIN_MASK); minor 542 drivers/tty/serial/8250/8250_omap.c minor = (mvr & OMAP_UART_MVR_MIN_MASK); minor 549 drivers/tty/serial/8250/8250_omap.c minor = 0xff; minor 552 drivers/tty/serial/8250/8250_omap.c revision = UART_BUILD_REVISION(major, minor); minor 413 drivers/tty/serial/altera_jtaguart.c .minor = ALTERA_JTAGUART_MINOR, minor 548 drivers/tty/serial/altera_uart.c .minor = SERIAL_ALTERA_MINOR, minor 693 drivers/tty/serial/amba-pl010.c .minor = SERIAL_AMBA_MINOR, minor 2505 drivers/tty/serial/amba-pl011.c .minor = SERIAL_AMBA_MINOR, minor 543 drivers/tty/serial/apbuart.c .minor = SERIAL_APBUART_MINOR, minor 119 drivers/tty/serial/arc_uart.c .minor = 0, minor 2697 drivers/tty/serial/atmel_serial.c .minor = MINOR_START, minor 803 drivers/tty/serial/bcm63xx_uart.c .minor = 64, minor 71 drivers/tty/serial/clps711x.c .minor = UART_CLPS711X_MINOR, minor 1397 drivers/tty/serial/cpm_uart/cpm_uart_core.c .minor = SERIAL_CPM_MINOR, minor 922 drivers/tty/serial/dz.c .minor = 64, minor 1298 drivers/tty/serial/icom.c .minor = ICOM_MINOR_START, minor 803 drivers/tty/serial/ifx6x60.c tty_unregister_device(tty_drv, ifx_dev->minor); minor 831 drivers/tty/serial/ifx6x60.c ifx_dev->minor = IFX_SPI_TTY_ID; minor 833 drivers/tty/serial/ifx6x60.c ifx_dev->minor, &ifx_dev->spi_dev->dev); minor 66 drivers/tty/serial/ifx6x60.h int minor; minor 2156 drivers/tty/serial/imx.c .minor = MINOR_START, minor 1074 drivers/tty/serial/ip22zilog.c .minor = 64, minor 33 drivers/tty/serial/jsm/jsm_driver.c .minor = JSM_MINOR_START, minor 714 drivers/tty/serial/lantiq.c .minor = 0, minor 115 drivers/tty/serial/max3100.c int minor; /* minor number */ minor 598 drivers/tty/serial/max3100.c sprintf(b, "max3100-%d", s->minor); minor 732 drivers/tty/serial/max3100.c .minor = MAX3100_MINOR, minor 782 drivers/tty/serial/max3100.c max3100s[i]->minor = i; minor 284 drivers/tty/serial/max310x.c .minor = MAX310X_MINOR, minor 607 drivers/tty/serial/mcf.c .minor = 64, minor 797 drivers/tty/serial/men_z135_uart.c .minor = 0, minor 1716 drivers/tty/serial/mpc52xx_uart.c .minor = SERIAL_PSC_MINOR, minor 61 drivers/tty/serial/mux.c .minor = 0, minor 1488 drivers/tty/serial/mxs-auart.c .minor = 0, minor 1533 drivers/tty/serial/omap-serial.c u16 revision, major, minor; minor 1545 drivers/tty/serial/omap-serial.c minor = (mvr & OMAP_UART_LEGACY_MVR_MIN_MASK); minor 1552 drivers/tty/serial/omap-serial.c minor = (mvr & OMAP_UART_MVR_MIN_MASK); minor 1560 drivers/tty/serial/omap-serial.c minor = 0xff; minor 1564 drivers/tty/serial/omap-serial.c revision = UART_BUILD_REVISION(major, minor); minor 1729 drivers/tty/serial/pch_uart.c .minor = 0, minor 107 drivers/tty/serial/pmac_zilog.c .minor = PMACZILOG_MINOR, minor 771 drivers/tty/serial/pnx8xxx_uart.c .minor = MINOR_START, minor 790 drivers/tty/serial/pxa.c .minor = 64, minor 835 drivers/tty/serial/sa1100.c .minor = MINOR_START, minor 1524 drivers/tty/serial/samsung.c .minor = S3C24XX_SERIAL_MINOR, minor 922 drivers/tty/serial/sb1250-duart.c .minor = SB1250_DUART_MINOR_BASE, minor 972 drivers/tty/serial/sccnxp.c s->uart.minor = SCCNXP_MINOR; minor 2543 drivers/tty/serial/serial_core.c normal->minor_start = drv->minor; minor 2818 drivers/tty/serial/serial_core.c uport->minor = drv->tty_driver->minor_start + uport->line; minor 986 drivers/tty/serial/serial_txx9.c .minor = TXX9_TTY_MINOR_START, minor 3149 drivers/tty/serial/sh-sci.c .minor = SCI_MINOR_START, minor 1159 drivers/tty/serial/sirfsoc_uart.c .minor = SIRFSOC_UART_MINOR, minor 1071 drivers/tty/serial/sprd_serial.c .minor = 0, minor 961 drivers/tty/serial/st-asc.c .minor = 0, minor 1340 drivers/tty/serial/stm32-usart.c .minor = 0, minor 32 drivers/tty/serial/suncore.c drv->minor = sunserial_current_minor; minor 39 drivers/tty/serial/suncore.c drv->tty_driver->name_base = drv->minor - 64; minor 527 drivers/tty/serial/sunhv.c unsigned long minor; minor 537 drivers/tty/serial/sunhv.c minor = 1; minor 538 drivers/tty/serial/sunhv.c if (sun4v_hvapi_register(HV_GRP_CORE, 1, &minor) == 0 && minor 539 drivers/tty/serial/sunhv.c minor >= 1) { minor 896 drivers/tty/serial/sunsab.c (sunsab_reg.minor - 64) + con->index); minor 1349 drivers/tty/serial/sunsu.c (sunsu_reg.minor - 64) + co->index); minor 1231 drivers/tty/serial/sunzilog.c (sunzilog_reg.minor - 64) + con->index, con->index); minor 409 drivers/tty/serial/timbuart.c .minor = TIMBUART_MINOR, minor 598 drivers/tty/serial/uartlite.c .minor = ULITE_MINOR, minor 204 drivers/tty/serial/ucc_uart.c .minor = SERIAL_QE_MINOR, minor 850 drivers/tty/serial/vr41xx_siu.c .minor = SIU_MINOR_BASE, minor 1444 drivers/tty/serial/xilinx_uartps.c cdns_uart_uart_driver.minor = CDNS_UART_MINOR; minor 1260 drivers/tty/serial/zs.c .minor = 64, minor 480 drivers/tty/vcc.c { .major = 1, .minor = 0 }, minor 406 drivers/uio/uio.c idev->minor = retval; minor 419 drivers/uio/uio.c idr_remove(&uio_idr, idev->minor); minor 949 drivers/uio/uio.c idev->dev.devt = MKDEV(uio_major, idev->minor); minor 955 drivers/uio/uio.c ret = dev_set_name(&idev->dev, "uio%d", idev->minor); minor 64 drivers/usb/class/cdc-acm.c static struct acm *acm_get_by_minor(unsigned int minor) minor 69 drivers/usb/class/cdc-acm.c acm = idr_find(&acm_minors, minor); minor 89 drivers/usb/class/cdc-acm.c int minor; minor 92 drivers/usb/class/cdc-acm.c minor = idr_alloc(&acm_minors, acm, 0, ACM_TTY_MINORS, GFP_KERNEL); minor 95 drivers/usb/class/cdc-acm.c return minor; minor 102 drivers/usb/class/cdc-acm.c idr_remove(&acm_minors, acm->minor); minor 1162 drivers/usb/class/cdc-acm.c int minor; minor 1344 drivers/usb/class/cdc-acm.c minor = acm_alloc_minor(acm); minor 1345 drivers/usb/class/cdc-acm.c if (minor < 0) minor 1348 drivers/usb/class/cdc-acm.c acm->minor = minor; minor 1486 drivers/usb/class/cdc-acm.c dev_info(&intf->dev, "ttyACM%d: USB ACM device\n", minor); minor 1495 drivers/usb/class/cdc-acm.c tty_dev = tty_port_register_device(&acm->port, acm_tty_driver, minor, minor 1570 drivers/usb/class/cdc-acm.c tty_unregister_device(acm_tty_driver, acm->minor); minor 124 drivers/usb/class/cdc-acm.h unsigned int minor; /* acm minor number */ minor 126 drivers/usb/class/cdc-wdm.c static struct wdm_device *wdm_find_device_by_minor(int minor) minor 132 drivers/usb/class/cdc-wdm.c if (desc->intf->minor == minor) minor 638 drivers/usb/class/cdc-wdm.c int minor = iminor(inode); minor 644 drivers/usb/class/cdc-wdm.c desc = wdm_find_device_by_minor(minor); minor 1015 drivers/usb/class/cdc-wdm.c dev_dbg(&desc->intf->dev, "wdm%d_suspend\n", intf->minor); minor 1066 drivers/usb/class/cdc-wdm.c dev_dbg(&desc->intf->dev, "wdm%d_resume\n", intf->minor); minor 153 drivers/usb/class/usblp.c int minor; /* minor number of device */ minor 188 drivers/usb/class/usblp.c dev_dbg(dev, "minor=%d\n", usblp->minor); minor 301 drivers/usb/class/usblp.c usblp->minor, status); minor 325 drivers/usb/class/usblp.c usblp->minor, status); minor 356 drivers/usb/class/usblp.c usblp->minor, error); minor 371 drivers/usb/class/usblp.c usblp->minor, usblp_messages[newerr]); minor 392 drivers/usb/class/usblp.c int minor = iminor(inode); minor 397 drivers/usb/class/usblp.c if (minor < 0) minor 403 drivers/usb/class/usblp.c intf = usb_find_interface(&usblp_driver, minor); minor 443 drivers/usb/class/usblp.c printk(KERN_INFO "usblp%d: removed\n", usblp->minor); minor 598 drivers/usb/class/usblp.c usblp->minor, err); minor 605 drivers/usb/class/usblp.c usblp->minor, arg, newChannel); minor 626 drivers/usb/class/usblp.c usblp->minor, twoints[0], twoints[1]); minor 647 drivers/usb/class/usblp.c usblp->minor, twoints[0], twoints[1]); minor 668 drivers/usb/class/usblp.c usblp->minor, retval); minor 831 drivers/usb/class/usblp.c usblp->minor, (int)avail); minor 1184 drivers/usb/class/usblp.c usblp->minor = intf->minor; minor 1187 drivers/usb/class/usblp.c usblp->minor, usblp->bidir ? "Bi" : "Uni", dev->devnum, minor 1274 drivers/usb/class/usblp.c usblp->minor); minor 1322 drivers/usb/class/usblp.c usblp->minor, protocol); minor 1337 drivers/usb/class/usblp.c usblp->minor, err); minor 1353 drivers/usb/class/usblp.c usblp->minor, length, &usblp->device_id_string[2]); minor 2427 drivers/usb/class/usbtmc.c dev_dbg(&intf->dev, "Using minor number %d\n", intf->minor); minor 161 drivers/usb/core/file.c int minor; minor 175 drivers/usb/core/file.c if (intf->minor >= 0) minor 188 drivers/usb/core/file.c for (minor = minor_base; minor < MAX_USB_MINORS; ++minor) { minor 189 drivers/usb/core/file.c if (usb_minors[minor]) minor 192 drivers/usb/core/file.c usb_minors[minor] = class_driver->fops; minor 193 drivers/usb/core/file.c intf->minor = minor; minor 196 drivers/usb/core/file.c if (intf->minor < 0) { minor 202 drivers/usb/core/file.c snprintf(name, sizeof(name), class_driver->name, minor - minor_base); minor 204 drivers/usb/core/file.c MKDEV(USB_MAJOR, minor), class_driver, minor 207 drivers/usb/core/file.c usb_minors[minor] = NULL; minor 208 drivers/usb/core/file.c intf->minor = -1; minor 233 drivers/usb/core/file.c if (intf->minor == -1) minor 236 drivers/usb/core/file.c dev_dbg(&intf->dev, "removing %d minor\n", intf->minor); minor 237 drivers/usb/core/file.c device_destroy(usb_class->class, MKDEV(USB_MAJOR, intf->minor)); minor 240 drivers/usb/core/file.c usb_minors[intf->minor] = NULL; minor 244 drivers/usb/core/file.c intf->minor = -1; minor 1962 drivers/usb/core/message.c intf->minor = -1; minor 324 drivers/usb/core/usb.c int minor; minor 339 drivers/usb/core/usb.c return intf->minor == arg->minor; minor 353 drivers/usb/core/usb.c struct usb_interface *usb_find_interface(struct usb_driver *drv, int minor) minor 358 drivers/usb/core/usb.c argb.minor = minor; minor 60 drivers/usb/gadget/function/f_hid.c int minor; minor 825 drivers/usb/gadget/function/f_hid.c dev = MKDEV(major, hidg->minor); minor 831 drivers/usb/gadget/function/f_hid.c "%s%d", "hidg", hidg->minor); minor 977 drivers/usb/gadget/function/f_hid.c return sprintf(page, "%d:%d\n", major, opts->minor); minor 997 drivers/usb/gadget/function/f_hid.c static inline void hidg_put_minor(int minor) minor 999 drivers/usb/gadget/function/f_hid.c ida_simple_remove(&hidg_ida, minor); minor 1010 drivers/usb/gadget/function/f_hid.c hidg_put_minor(opts->minor); minor 1046 drivers/usb/gadget/function/f_hid.c opts->minor = hidg_get_minor(); minor 1047 drivers/usb/gadget/function/f_hid.c if (opts->minor < 0) { minor 1048 drivers/usb/gadget/function/f_hid.c ret = ERR_PTR(opts->minor); minor 1079 drivers/usb/gadget/function/f_hid.c device_destroy(hidg_class, MKDEV(major, hidg->minor)); minor 1100 drivers/usb/gadget/function/f_hid.c hidg->minor = opts->minor; minor 84 drivers/usb/gadget/function/f_printer.c int minor; minor 1079 drivers/usb/gadget/function/f_printer.c devt = MKDEV(major, dev->minor); minor 1081 drivers/usb/gadget/function/f_printer.c NULL, "g_printer%d", dev->minor); minor 1279 drivers/usb/gadget/function/f_printer.c static inline void gprinter_put_minor(int minor) minor 1281 drivers/usb/gadget/function/f_printer.c ida_simple_remove(&printer_ida, minor); minor 1295 drivers/usb/gadget/function/f_printer.c gprinter_put_minor(opts->minor); minor 1331 drivers/usb/gadget/function/f_printer.c opts->minor = gprinter_get_minor(); minor 1332 drivers/usb/gadget/function/f_printer.c if (opts->minor < 0) { minor 1333 drivers/usb/gadget/function/f_printer.c ret = ERR_PTR(opts->minor); minor 1367 drivers/usb/gadget/function/f_printer.c device_destroy(usb_gadget_class, MKDEV(major, dev->minor)); minor 1411 drivers/usb/gadget/function/f_printer.c if (opts->minor >= minors) { minor 1423 drivers/usb/gadget/function/f_printer.c dev->minor = opts->minor; minor 20 drivers/usb/gadget/function/u_hid.h int minor; minor 20 drivers/usb/gadget/function/u_printer.h int minor; minor 149 drivers/usb/gadget/legacy/printer.c opts->minor = 0; minor 166 drivers/usb/image/mdc800.c int minor; minor 74 drivers/usb/misc/adutux.c unsigned int minor; /* the starting minor number for this device */ minor 742 drivers/usb/misc/adutux.c dev->minor = interface->minor; minor 747 drivers/usb/misc/adutux.c (dev->minor - ADU_MINOR_BASE)); minor 2695 drivers/usb/misc/ftdi-elan.c interface->minor); minor 2726 drivers/usb/misc/ftdi-elan.c int minor = interface->minor; minor 2731 drivers/usb/misc/ftdi-elan.c minor); minor 76 drivers/usb/misc/iowarrior.c unsigned char minor; /* the starting minor number for this device */ minor 252 drivers/usb/misc/iowarrior.c dev_dbg(&dev->interface->dev, "minor %d\n", dev->minor); minor 291 drivers/usb/misc/iowarrior.c dev->minor, count); minor 360 drivers/usb/misc/iowarrior.c dev->minor, count); minor 507 drivers/usb/misc/iowarrior.c dev->minor, cmd, arg); minor 655 drivers/usb/misc/iowarrior.c dev_dbg(&dev->interface->dev, "minor %d\n", dev->minor); minor 860 drivers/usb/misc/iowarrior.c dev->minor = interface->minor; minor 865 drivers/usb/misc/iowarrior.c iface_desc->desc.bInterfaceNumber, dev->minor - IOWARRIOR_MINOR_BASE); minor 881 drivers/usb/misc/iowarrior.c int minor = dev->minor; minor 907 drivers/usb/misc/iowarrior.c minor - IOWARRIOR_MINOR_BASE); minor 737 drivers/usb/misc/ldusb.c (intf->minor - USB_LD_MINOR_BASE), USB_MAJOR, intf->minor); minor 756 drivers/usb/misc/ldusb.c int minor; minor 761 drivers/usb/misc/ldusb.c minor = intf->minor; minor 784 drivers/usb/misc/ldusb.c (minor - USB_LD_MINOR_BASE)); minor 170 drivers/usb/misc/legousbtower.c __u8 minor; minor 190 drivers/usb/misc/legousbtower.c unsigned char minor; /* the starting minor number for this device */ minor 891 drivers/usb/misc/legousbtower.c get_version_reply->minor, minor 904 drivers/usb/misc/legousbtower.c dev->minor = interface->minor; minor 908 drivers/usb/misc/legousbtower.c "%d minor %d\n", (dev->minor - LEGO_USB_TOWER_MINOR_BASE), minor 909 drivers/usb/misc/legousbtower.c USB_MAJOR, dev->minor); minor 930 drivers/usb/misc/legousbtower.c int minor; minor 934 drivers/usb/misc/legousbtower.c minor = dev->minor; minor 958 drivers/usb/misc/legousbtower.c (minor - LEGO_USB_TOWER_MINOR_BASE)); minor 2943 drivers/usb/misc/sisusbvga/sisusb.c x.sisusb_minor = sisusb->minor; minor 3047 drivers/usb/misc/sisusbvga/sisusb.c sisusb->minor = intf->minor; minor 107 drivers/usb/misc/sisusbvga/sisusb.h int minor; /* minor (for logging clarity) */ minor 385 drivers/usb/misc/usblcd.c interface->minor); minor 420 drivers/usb/misc/usblcd.c int minor = interface->minor; minor 434 drivers/usb/misc/usblcd.c dev_info(&interface->dev, "USB LCD #%d now disconnected\n", minor); minor 297 drivers/usb/misc/yurex.c interface->minor); minor 311 drivers/usb/misc/yurex.c int minor = interface->minor; minor 333 drivers/usb/misc/yurex.c dev_info(&interface->dev, "USB YUREX #%d now disconnected\n", minor); minor 1354 drivers/usb/mon/mon_bin.c unsigned minor = ubus? ubus->busnum: 0; minor 1356 drivers/usb/mon/mon_bin.c if (minor >= MON_BIN_MAX_MINOR) minor 1360 drivers/usb/mon/mon_bin.c MKDEV(MAJOR(mon_bin_dev0), minor), NULL, minor 1361 drivers/usb/mon/mon_bin.c "usbmon%d", minor); minor 396 drivers/usb/serial/ark3116.c ss->line = port->minor; minor 44 drivers/usb/serial/bus.c int minor; minor 62 drivers/usb/serial/bus.c minor = port->minor; minor 64 drivers/usb/serial/bus.c minor, dev); minor 74 drivers/usb/serial/bus.c driver->description, minor); minor 92 drivers/usb/serial/bus.c int minor; minor 107 drivers/usb/serial/bus.c minor = port->minor; minor 108 drivers/usb/serial/bus.c tty_unregister_device(usb_serial_tty_driver, minor); minor 115 drivers/usb/serial/bus.c driver->description, minor); minor 272 drivers/usb/serial/console.c void usb_serial_console_init(int minor) minor 274 drivers/usb/serial/console.c if (minor == 0) { minor 702 drivers/usb/serial/f81232.c ss->line = port->minor; minor 1155 drivers/usb/serial/f81534.c ss->line = port->minor; minor 1647 drivers/usb/serial/io_edgeport.c ss->line = edge_port->port->minor; minor 2452 drivers/usb/serial/io_ti.c ss->line = edge_port->port->minor; minor 1796 drivers/usb/serial/mos7720.c ss->line = mos7720_port->port->minor; minor 1056 drivers/usb/serial/mos7840.c dev_dbg(&port->dev, "minor number is %d\n", port->minor); minor 1927 drivers/usb/serial/mos7840.c ss->line = mos7840_port->port->minor; minor 2124 drivers/usb/serial/mos7840.c dev_dbg(&port->dev, "port->minor = %d\n", port->minor); minor 338 drivers/usb/serial/opticon.c ss->line = port->minor; minor 865 drivers/usb/serial/pl2303.c ss->line = port->minor; minor 461 drivers/usb/serial/quatech2.c ss->line = port->minor; minor 339 drivers/usb/serial/ssu100.c ss->line = port->minor; minor 1410 drivers/usb/serial/ti_usb_3410_5052.c ss->line = port->minor; minor 61 drivers/usb/serial/usb-serial.c struct usb_serial_port *usb_serial_port_get_by_minor(unsigned minor) minor 67 drivers/usb/serial/usb-serial.c port = idr_find(&serial_minors, minor); minor 88 drivers/usb/serial/usb-serial.c int minor; minor 95 drivers/usb/serial/usb-serial.c minor = idr_alloc(&serial_minors, port, 0, minor 97 drivers/usb/serial/usb-serial.c if (minor < 0) minor 99 drivers/usb/serial/usb-serial.c port->minor = minor; minor 108 drivers/usb/serial/usb-serial.c idr_remove(&serial_minors, serial->port[j]->minor); minor 110 drivers/usb/serial/usb-serial.c return minor; minor 119 drivers/usb/serial/usb-serial.c idr_remove(&serial_minors, serial->port[i]->minor); minor 1050 drivers/usb/serial/usb-serial.c dev_set_name(&port->dev, "ttyUSB%d", port->minor); minor 1060 drivers/usb/serial/usb-serial.c usb_serial_console_init(serial->port[0]->minor); minor 140 drivers/usb/serial/usb_wwan.c ss->line = port->minor; minor 451 drivers/usb/serial/whiteheat.c ss->line = port->minor; minor 551 drivers/usb/usb-skeleton.c interface->minor); minor 564 drivers/usb/usb-skeleton.c int minor = interface->minor; minor 583 drivers/usb/usb-skeleton.c dev_info(&interface->dev, "USB Skeleton #%d now disconnected", minor); minor 73 drivers/vfio/vfio.c int minor; minor 276 drivers/vfio/vfio.c static void vfio_free_group_minor(int minor) minor 278 drivers/vfio/vfio.c idr_remove(&vfio.group_idr, minor); minor 327 drivers/vfio/vfio.c int ret, minor; minor 373 drivers/vfio/vfio.c minor = vfio_alloc_group_minor(group); minor 374 drivers/vfio/vfio.c if (minor < 0) { minor 376 drivers/vfio/vfio.c return ERR_PTR(minor); minor 380 drivers/vfio/vfio.c MKDEV(MAJOR(vfio.group_devt), minor), minor 384 drivers/vfio/vfio.c vfio_free_group_minor(minor); minor 389 drivers/vfio/vfio.c group->minor = minor; minor 415 drivers/vfio/vfio.c device_destroy(vfio.class, MKDEV(MAJOR(vfio.group_devt), group->minor)); minor 417 drivers/vfio/vfio.c vfio_free_group_minor(group->minor); minor 500 drivers/vfio/vfio.c static struct vfio_group *vfio_group_get_from_minor(int minor) minor 505 drivers/vfio/vfio.c group = idr_find(&vfio.group_idr, minor); minor 2173 drivers/vfio/vfio.c .minor = VFIO_MINOR, minor 1797 drivers/vhost/net.c .minor = VHOST_NET_MINOR, minor 791 drivers/vhost/vsock.c .minor = VHOST_VSOCK_MINOR, minor 44 drivers/video/fbdev/hyperv_fb.c #define SYNTHVID_VERSION(major, minor) ((minor) << 16 | (major)) minor 598 drivers/video/fbdev/pxa3xx-gcu.c priv->misc_dev.minor = MISCDEV_MINOR, minor 763 drivers/virt/vboxguest/vboxguest_core.c req->major, req->minor, req->build, req->revision); minor 346 drivers/virt/vboxguest/vboxguest_linux.c gdev->misc_device.minor = MISC_DYNAMIC_MINOR; minor 349 drivers/virt/vboxguest/vboxguest_linux.c gdev->misc_device_user.minor = MISC_DYNAMIC_MINOR; minor 401 drivers/virt/vboxguest/vboxguest_linux.c gdev->misc_device.minor, pci->irq, gdev->io_port, minor 170 drivers/virt/vboxguest/vmmdev.h u16 minor; minor 229 drivers/watchdog/acquirewdt.c .minor = WATCHDOG_MINOR, minor 228 drivers/watchdog/advantechwdt.c .minor = WATCHDOG_MINOR, minor 370 drivers/watchdog/alim1535_wdt.c .minor = WATCHDOG_MINOR, minor 300 drivers/watchdog/alim7101_wdt.c .minor = WATCHDOG_MINOR, minor 417 drivers/watchdog/alim7101_wdt.c wdt_miscdev.minor, rc); minor 259 drivers/watchdog/ar7_wdt.c .minor = WATCHDOG_MINOR, minor 222 drivers/watchdog/at91rm9200_wdt.c .minor = WATCHDOG_MINOR, minor 242 drivers/watchdog/ath79_wdt.c .minor = WATCHDOG_MINOR, minor 229 drivers/watchdog/bcm63xx_wdt.c .minor = WATCHDOG_MINOR, minor 196 drivers/watchdog/cpu5wdt.c .minor = WATCHDOG_MINOR, minor 576 drivers/watchdog/cpwd.c mp->minor = WD0_MINOR + i; minor 379 drivers/watchdog/eurotechwdt.c .minor = WATCHDOG_MINOR, minor 675 drivers/watchdog/f71808e_wdt.c .minor = WATCHDOG_MINOR, minor 724 drivers/watchdog/f71808e_wdt.c watchdog_miscdev.minor); minor 256 drivers/watchdog/gef_wdt.c .minor = WATCHDOG_MINOR, minor 209 drivers/watchdog/geodewdt.c .minor = WATCHDOG_MINOR, minor 267 drivers/watchdog/ib700wdt.c .minor = WATCHDOG_MINOR, minor 352 drivers/watchdog/ibmasr.c .minor = WATCHDOG_MINOR, minor 160 drivers/watchdog/indydog.c .minor = WATCHDOG_MINOR, minor 498 drivers/watchdog/intel_scu_watchdog.c watchdog_device.miscdev.minor = WATCHDOG_MINOR; minor 210 drivers/watchdog/iop_wdt.c .minor = WATCHDOG_MINOR, minor 353 drivers/watchdog/it8712f_wdt.c .minor = WATCHDOG_MINOR, minor 171 drivers/watchdog/ixp4xx_wdt.c .minor = WATCHDOG_MINOR, minor 191 drivers/watchdog/m54xx_wdt.c .minor = WATCHDOG_MINOR, minor 369 drivers/watchdog/machzwd.c .minor = WATCHDOG_MINOR, minor 235 drivers/watchdog/mixcomwd.c .minor = WATCHDOG_MINOR, minor 191 drivers/watchdog/mtx-1_wdt.c .minor = WATCHDOG_MINOR, minor 249 drivers/watchdog/mv64x60_wdt.c .minor = WATCHDOG_MINOR, minor 275 drivers/watchdog/nv_tco.c .minor = WATCHDOG_MINOR, minor 485 drivers/watchdog/pc87413_wdt.c .minor = WATCHDOG_MINOR, minor 301 drivers/watchdog/pcwd.c int one, ten, hund, minor; minor 309 drivers/watchdog/pcwd.c minor = send_isa_command(CMD_ISA_VERSION_MINOR); minor 311 drivers/watchdog/pcwd.c one, ten, hund, minor); minor 760 drivers/watchdog/pcwd.c .minor = WATCHDOG_MINOR, minor 774 drivers/watchdog/pcwd.c .minor = TEMP_MINOR, minor 654 drivers/watchdog/pcwd_pci.c .minor = WATCHDOG_MINOR, minor 668 drivers/watchdog/pcwd_pci.c .minor = TEMP_MINOR, minor 558 drivers/watchdog/pcwd_usb.c .minor = WATCHDOG_MINOR, minor 572 drivers/watchdog/pcwd_usb.c .minor = TEMP_MINOR, minor 220 drivers/watchdog/pika_wdt.c .minor = WATCHDOG_MINOR, minor 223 drivers/watchdog/pnx833x_wdt.c .minor = WATCHDOG_MINOR, minor 253 drivers/watchdog/rc32434_wdt.c .minor = WATCHDOG_MINOR, minor 208 drivers/watchdog/rdc321x_wdt.c .minor = WATCHDOG_MINOR, minor 172 drivers/watchdog/riowd.c .minor = WATCHDOG_MINOR, minor 149 drivers/watchdog/sa1100_wdt.c .minor = WATCHDOG_MINOR, minor 245 drivers/watchdog/sb_wdog.c .minor = WATCHDOG_MINOR, minor 286 drivers/watchdog/sbc60xxwdt.c .minor = WATCHDOG_MINOR, minor 359 drivers/watchdog/sbc60xxwdt.c wdt_miscdev.minor, rc); minor 217 drivers/watchdog/sbc7240_wdt.c .minor = WATCHDOG_MINOR, minor 279 drivers/watchdog/sbc7240_wdt.c wdt_miscdev.minor, rc); minor 311 drivers/watchdog/sbc8360.c .minor = WATCHDOG_MINOR, minor 164 drivers/watchdog/sbc_epx_c3.c .minor = WATCHDOG_MINOR, minor 194 drivers/watchdog/sbc_fitpc2_wdt.c .minor = WATCHDOG_MINOR, minor 315 drivers/watchdog/sc1200wdt.c .minor = WATCHDOG_MINOR, minor 342 drivers/watchdog/sc520_wdt.c .minor = WATCHDOG_MINOR, minor 345 drivers/watchdog/sch311x_wdt.c .minor = WATCHDOG_MINOR, minor 209 drivers/watchdog/scx200_wdt.c .minor = WATCHDOG_MINOR, minor 517 drivers/watchdog/smsc37b787_wdt.c .minor = WATCHDOG_MINOR, minor 98 drivers/watchdog/sun4v_wdt.c unsigned long major = 1, minor = 1; minor 123 drivers/watchdog/sun4v_wdt.c if (sun4v_hvapi_register(HV_GRP_CORE, major, &minor)) minor 310 drivers/watchdog/w83877f_wdt.c .minor = WATCHDOG_MINOR, minor 380 drivers/watchdog/w83877f_wdt.c wdt_miscdev.minor, rc); minor 454 drivers/watchdog/w83977f_wdt.c .minor = WATCHDOG_MINOR, minor 494 drivers/watchdog/w83977f_wdt.c wdt_miscdev.minor, rc); minor 238 drivers/watchdog/wafer5823wdt.c .minor = WATCHDOG_MINOR, minor 941 drivers/watchdog/watchdog_dev.c .minor = WATCHDOG_MINOR, minor 480 drivers/watchdog/wdrtas.c .minor = WATCHDOG_MINOR, minor 494 drivers/watchdog/wdrtas.c .minor = TEMP_MINOR, minor 531 drivers/watchdog/wdt.c .minor = WATCHDOG_MINOR, minor 545 drivers/watchdog/wdt.c .minor = TEMP_MINOR, minor 189 drivers/watchdog/wdt285.c .minor = WATCHDOG_MINOR, minor 430 drivers/watchdog/wdt977.c .minor = WATCHDOG_MINOR, minor 474 drivers/watchdog/wdt977.c wdt977_miscdev.minor, rc); minor 574 drivers/watchdog/wdt_pci.c .minor = WATCHDOG_MINOR, minor 588 drivers/watchdog/wdt_pci.c .minor = TEMP_MINOR, minor 78 drivers/watchdog/ziirave_wdt.c unsigned char minor; minor 118 drivers/watchdog/ziirave_wdt.c rev->minor = ret; minor 450 drivers/watchdog/ziirave_wdt.c w_priv->firmware_rev.minor); minor 473 drivers/watchdog/ziirave_wdt.c w_priv->bootloader_rev.minor); minor 541 drivers/watchdog/ziirave_wdt.c w_priv->firmware_rev.major, w_priv->firmware_rev.minor); minor 682 drivers/watchdog/ziirave_wdt.c w_priv->firmware_rev.major, w_priv->firmware_rev.minor); minor 693 drivers/watchdog/ziirave_wdt.c w_priv->bootloader_rev.major, w_priv->bootloader_rev.minor); minor 703 drivers/xen/evtchn.c .minor = MISC_DYNAMIC_MINOR, minor 577 drivers/xen/gntalloc.c .minor = MISC_DYNAMIC_MINOR, minor 596 drivers/xen/gntalloc.c MISC_MAJOR, gntalloc_miscdev.minor); minor 1185 drivers/xen/gntdev.c .minor = MISC_DYNAMIC_MINOR, minor 188 drivers/xen/privcmd-buf.c .minor = MISC_DYNAMIC_MINOR, minor 967 drivers/xen/privcmd.c .minor = MISC_DYNAMIC_MINOR, minor 98 drivers/xen/sys-hypervisor.c HYPERVISOR_ATTR_RO(minor); minor 117 drivers/xen/xenbus/xenbus_dev_backend.c .minor = MISC_DYNAMIC_MINOR, minor 708 drivers/xen/xenbus/xenbus_dev_frontend.c .minor = MISC_DYNAMIC_MINOR, minor 132 fs/9p/vfs_inode.c int major = -1, minor = -1; minor 135 fs/9p/vfs_inode.c sscanf(ext, "%c %i %i", &type, &major, &minor); minor 147 fs/9p/vfs_inode.c *rdev = MKDEV(major, minor); minor 710 fs/autofs/dev-ioctl.c .minor = AUTOFS_MINOR, minor 2316 fs/btrfs/super.c .minor = BTRFS_MINOR, minor 35 fs/cachefiles/main.c .minor = MISC_DYNAMIC_MINOR, minor 2617 fs/cifs/cifspdu.h __le64 minor; minor 1130 fs/cifs/smb1ops.c pdev->minor = cpu_to_le64(MINOR(dev)); minor 1136 fs/cifs/smb1ops.c pdev->minor = cpu_to_le64(MINOR(dev)); minor 4457 fs/cifs/smb2ops.c pdev->minor = cpu_to_le64(MINOR(dev)); minor 4463 fs/cifs/smb2ops.c pdev->minor = cpu_to_le64(MINOR(dev)); minor 353 fs/dlm/lockspace.c struct dlm_ls *dlm_find_lockspace_device(int minor) minor 359 fs/dlm/lockspace.c if (ls->ls_device.minor == minor) { minor 19 fs/dlm/lockspace.h struct dlm_ls *dlm_find_lockspace_device(int minor); minor 486 fs/dlm/plock.c .minor = MISC_DYNAMIC_MINOR, minor 98 fs/dlm/user.c kb->i.lspace.minor = kb32->i.lspace.minor; minor 353 fs/dlm/user.c ls->ls_device.minor = MISC_DYNAMIC_MINOR; minor 421 fs/dlm/user.c error = ls->ls_device.minor; minor 435 fs/dlm/user.c ls = dlm_find_lockspace_device(params->minor); minor 970 fs/dlm/user.c .minor = MISC_DYNAMIC_MINOR, minor 983 fs/dlm/user.c .minor = MISC_DYNAMIC_MINOR, minor 421 fs/ecryptfs/keystore.c unsigned char minor; minor 424 fs/ecryptfs/keystore.c minor = (version & 0xFF); minor 432 fs/ecryptfs/keystore.c if (minor != ECRYPTFS_VERSION_MINOR) { minor 435 fs/ecryptfs/keystore.c ECRYPTFS_VERSION_MINOR, minor); minor 456 fs/ecryptfs/miscdev.c .minor = MISC_DYNAMIC_MINOR, minor 318 fs/ext4/dir.c static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) minor 324 fs/ext4/dir.c return ((__u64)(major >> 1) << 32) | (__u64)minor; minor 26 fs/f2fs/trace.c last_io.major, last_io.minor, minor 91 fs/f2fs/trace.c int major, minor; minor 102 fs/f2fs/trace.c minor = MINOR(inode->i_sb->s_dev); minor 104 fs/f2fs/trace.c if (last_io.major == major && last_io.minor == minor && minor 118 fs/f2fs/trace.c last_io.minor = minor; minor 25 fs/f2fs/trace.h int major, minor; minor 330 fs/fuse/cuse.c if (error || arg->major != FUSE_KERNEL_VERSION || arg->minor < 11) minor 333 fs/fuse/cuse.c fc->minor = arg->minor; minor 444 fs/fuse/cuse.c ia->in.minor = FUSE_KERNEL_MINOR_VERSION; minor 606 fs/fuse/cuse.c .minor = CUSE_MINOR, minor 429 fs/fuse/dev.c if (fc->minor < 4 && args->opcode == FUSE_STATFS) minor 432 fs/fuse/dev.c if (fc->minor < 9) { minor 448 fs/fuse/dev.c if (fc->minor < 12) { minor 1161 fs/fuse/dev.c if (fc->minor < 16 || fiq->forget_list_head.next->next == NULL) minor 2270 fs/fuse/dev.c .minor = FUSE_MINOR, minor 825 fs/fuse/dir.c if (fc->no_rename2 || fc->minor < 23) minor 1324 fs/fuse/dir.c if (fc->minor < 18) minor 1335 fs/fuse/dir.c if (fc->minor < 18) minor 1468 fs/fuse/dir.c if (fc->minor >= 23) { minor 1030 fs/fuse/file.c if (ff->fc->minor < 9) minor 2635 fs/fuse/file.c if (fc->minor < 16) { minor 726 fs/fuse/fuse_i.h unsigned minor; minor 855 fs/fuse/inode.c if (arg->minor < 13) minor 897 fs/fuse/inode.c if (arg->minor >= 6) { minor 903 fs/fuse/inode.c if (arg->minor >= 17) { minor 912 fs/fuse/inode.c if (arg->minor >= 9) { minor 962 fs/fuse/inode.c fc->minor = arg->minor; minor 963 fs/fuse/inode.c fc->max_write = arg->minor < 5 ? 4096 : arg->max_write; minor 980 fs/fuse/inode.c ia->in.minor = FUSE_KERNEL_MINOR_VERSION; minor 89 fs/hostfs/hostfs.h unsigned int minor); minor 317 fs/hostfs/hostfs_user.c int do_mknod(const char *file, int mode, unsigned int major, unsigned int minor) minor 321 fs/hostfs/hostfs_user.c err = mknod(file, mode, os_makedev(major, minor)); minor 104 fs/nfs/blocklayout/rpc_pipefs.c dev = MKDEV(reply->major, reply->minor); minor 249 fs/nfs/callback_xdr.c p = xdr_decode_hyper(p, &args->cbl_fsid.minor); minor 993 fs/nfs/client.c (unsigned long long) server->fsid.minor); minor 1246 fs/nfs/client.c (unsigned long long) server->fsid.minor); minor 15 fs/nfs/netns.h uint32_t major, minor; minor 300 fs/nfs/nfs2xdr.c fattr->fsid.minor = 0; minor 398 fs/nfs/nfs3xdr.c unsigned int major, minor; minor 401 fs/nfs/nfs3xdr.c minor = be32_to_cpup(p++); minor 402 fs/nfs/nfs3xdr.c *rdev = MKDEV(major, minor); minor 403 fs/nfs/nfs3xdr.c if (MAJOR(*rdev) != major || MINOR(*rdev) != minor) minor 650 fs/nfs/nfs3xdr.c fattr->fsid.minor = 0; minor 1031 fs/nfs/nfs4client.c (unsigned long long) server->fsid.minor); minor 7595 fs/nfs/nfs4proc.c (unsigned long long)server->fsid.minor, minor 7721 fs/nfs/nfs4proc.c (unsigned long long)server->fsid.minor, minor 1271 fs/nfs/nfs4state.c (unsigned long long)server->fsid.minor, minor 2053 fs/nfs/nfs4state.c (unsigned long long)server->fsid.minor, minor 3404 fs/nfs/nfs4xdr.c fsid->minor = 0; minor 3412 fs/nfs/nfs4xdr.c xdr_decode_hyper(p, &fsid->minor); minor 3418 fs/nfs/nfs4xdr.c (unsigned long long)fsid->minor); minor 3964 fs/nfs/nfs4xdr.c uint32_t major = 0, minor = 0; minor 3978 fs/nfs/nfs4xdr.c minor = be32_to_cpup(p); minor 3979 fs/nfs/nfs4xdr.c tmp = MKDEV(major, minor); minor 3980 fs/nfs/nfs4xdr.c if (MAJOR(tmp) == major && MINOR(tmp) == minor) minor 3985 fs/nfs/nfs4xdr.c dprintk("%s: rdev=(0x%x:0x%x)\n", __func__, major, minor); minor 329 fs/nfsd/nfs3proc.c rdev = MKDEV(argp->major, argp->minor); minor 331 fs/nfsd/nfs3proc.c MINOR(rdev) != argp->minor) minor 528 fs/nfsd/nfs3xdr.c args->minor = ntohl(*p++); minor 545 fs/nfsd/nfsctl.c const char *sep, unsigned vers, int minor) minor 547 fs/nfsd/nfsctl.c const char *format = minor < 0 ? "%s%c%u" : "%s%c%u.%u"; minor 550 fs/nfsd/nfsctl.c if (vers == 4 && minor >= 0 && minor 551 fs/nfsd/nfsctl.c !nfsd_minorversion(nn, minor, NFSD_TEST)) minor 553 fs/nfsd/nfsctl.c if (minor == 0 && supported) minor 561 fs/nfsd/nfsctl.c supported ? '+' : '-', vers, minor); minor 589 fs/nfsd/nfsctl.c unsigned minor; minor 598 fs/nfsd/nfsctl.c if (kstrtouint(minorp+1, 0, &minor) < 0) minor 610 fs/nfsd/nfsctl.c if (nfsd_minorversion(nn, minor, cmd) < 0) minor 618 fs/nfsd/nfsctl.c minor = 0; minor 619 fs/nfsd/nfsctl.c while (nfsd_minorversion(nn, minor, cmd) >= 0) minor 620 fs/nfsd/nfsctl.c minor++; minor 639 fs/nfsd/nfsctl.c int minor; minor 643 fs/nfsd/nfsctl.c minor = -1; minor 646 fs/nfsd/nfsctl.c sep, num, minor); minor 652 fs/nfsd/nfsctl.c minor++; minor 655 fs/nfsd/nfsctl.c } while (num == 4 && minor <= NFSD_SUPPORTED_MINOR_VERSION); minor 536 fs/nfsd/nfssvc.c int minor = 0; minor 537 fs/nfsd/nfssvc.c while (nfsd_minorversion(nn, minor, NFSD_SET) >= 0) minor 538 fs/nfsd/nfssvc.c minor++; minor 61 fs/nfsd/xdr3.h __u32 major, minor; minor 850 fs/nilfs2/sysfs.c u16 minor = le16_to_cpu(sbp[0]->s_minor_rev_level); minor 852 fs/nilfs2/sysfs.c return snprintf(buf, PAGE_SIZE, "%d.%d\n", major, minor); minor 142 fs/ocfs2/stack_user.c char minor[OCFS2_CONTROL_MESSAGE_VERNUM_LEN]; minor 394 fs/ocfs2/stack_user.c long major, minor; minor 416 fs/ocfs2/stack_user.c minor = simple_strtol(msg->minor, &ptr, 16); minor 428 fs/ocfs2/stack_user.c if ((minor == LONG_MIN) || (minor == LONG_MAX) || minor 429 fs/ocfs2/stack_user.c (minor > (u8)-1) || (minor < 0)) minor 432 fs/ocfs2/stack_user.c (minor > max->pv_minor)) minor 436 fs/ocfs2/stack_user.c p->op_proto.pv_minor = minor; minor 627 fs/ocfs2/stack_user.c .minor = MISC_DYNAMIC_MINOR, minor 42 fs/squashfs/super.c short major, short minor, short id) minor 48 fs/squashfs/super.c "filesystems are unsupported", major, minor); minor 50 fs/squashfs/super.c } else if (major > SQUASHFS_MAJOR || minor > SQUASHFS_MINOR) { minor 52 fs/squashfs/super.c "%d.%d filesystem", major, minor); minor 94 fs/unicode/mkutf8data.c static int age_valid(unsigned int major, unsigned int minor, minor 99 fs/unicode/mkutf8data.c if (minor > UNICODE_MIN_MAX) minor 1938 fs/unicode/mkutf8data.c unsigned int minor; minor 1955 fs/unicode/mkutf8data.c &major, &minor, &revision); minor 1960 fs/unicode/mkutf8data.c major, minor, revision); minor 1961 fs/unicode/mkutf8data.c if (!age_valid(major, minor, revision)) minor 1965 fs/unicode/mkutf8data.c ret = sscanf(line, "# Age=V%d_%d", &major, &minor); minor 1969 fs/unicode/mkutf8data.c printf(" Age V%d_%d\n", major, minor); minor 1970 fs/unicode/mkutf8data.c if (!age_valid(major, minor, 0)) minor 1993 fs/unicode/mkutf8data.c &major, &minor, &revision); minor 1996 fs/unicode/mkutf8data.c UNICODE_AGE(major, minor, revision); minor 1999 fs/unicode/mkutf8data.c major, minor, revision, gen); minor 2000 fs/unicode/mkutf8data.c if (!age_valid(major, minor, revision)) minor 2004 fs/unicode/mkutf8data.c ret = sscanf(line, "# Age=V%d_%d", &major, &minor); minor 2006 fs/unicode/mkutf8data.c ages[++gen] = UNICODE_AGE(major, minor, 0); minor 2009 fs/unicode/mkutf8data.c major, minor, gen); minor 2010 fs/unicode/mkutf8data.c if (!age_valid(major, minor, 0)) minor 2015 fs/unicode/mkutf8data.c &first, &last, &major, &minor); minor 2026 fs/unicode/mkutf8data.c ret = sscanf(line, "%X ; %d.%d #", &unichar, &major, &minor); minor 2307 fs/unicode/mkutf8data.c unsigned int minor; minor 2327 fs/unicode/mkutf8data.c &major, &minor, &revision); minor 2330 fs/unicode/mkutf8data.c if (!utf32valid(unichar) || !age_valid(major, minor, revision)) minor 2342 fs/unicode/mkutf8data.c &major, &minor, &revision); minor 2345 fs/unicode/mkutf8data.c if (!utf32valid(unichar) || !age_valid(major, minor, revision)) minor 2349 fs/unicode/mkutf8data.c age = UNICODE_AGE(major, minor, revision); minor 2368 fs/unicode/mkutf8data.c unichar, buf0, buf1, major, minor, revision); minor 186 include/drm/drm_client.h int drm_client_debugfs_init(struct drm_minor *minor); minor 74 include/drm/drm_debugfs.h struct drm_minor *minor; minor 85 include/drm/drm_debugfs.h struct drm_minor *minor); minor 87 include/drm/drm_debugfs.h int count, struct drm_minor *minor); minor 91 include/drm/drm_debugfs.h struct drm_minor *minor) minor 97 include/drm/drm_debugfs.h int count, struct drm_minor *minor) minor 493 include/drm/drm_drv.h int (*debugfs_init)(struct drm_minor *minor); minor 729 include/drm/drm_drv.h int minor; minor 241 include/drm/drm_file.h struct drm_minor *minor; minor 355 include/drm/drm_file.h return file_priv->minor->type == DRM_MINOR_PRIMARY; minor 369 include/drm/drm_file.h return file_priv->minor->type == DRM_MINOR_RENDER; minor 183 include/drm/drm_mipi_dbi.h int mipi_dbi_debugfs_init(struct drm_minor *minor); minor 42 include/linux/agp_backend.h u16 minor; minor 184 include/linux/avf/virtchnl.h u32 minor; minor 189 include/linux/avf/virtchnl.h #define VF_IS_V10(_v) (((_v)->major == 1) && ((_v)->minor == 0)) minor 190 include/linux/avf/virtchnl.h #define VF_IS_V11(_ver) (((_ver)->major == 1) && ((_ver)->minor == 1)) minor 1503 include/linux/blkdev.h #define MODULE_ALIAS_BLOCKDEV(major,minor) \ minor 1504 include/linux/blkdev.h MODULE_ALIAS("block-major-" __stringify(major) "-" __stringify(minor)) minor 118 include/linux/bpf-cgroup.h int __cgroup_bpf_check_dev_permission(short dev_type, u32 major, u32 minor, minor 275 include/linux/bpf-cgroup.h #define BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type, major, minor, access) \ minor 279 include/linux/bpf-cgroup.h __ret = __cgroup_bpf_check_dev_permission(type, major, minor, \ minor 398 include/linux/bpf-cgroup.h #define BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type,major,minor,access) ({ 0; }) minor 20 include/linux/bsg.h int minor; minor 493 include/linux/cper.h u8 minor; minor 386 include/linux/device-mapper.h int dm_create(int minor, struct mapped_device **md); minor 1873 include/linux/device.h #define MODULE_ALIAS_CHARDEV(major,minor) \ minor 1874 include/linux/device.h MODULE_ALIAS("char-major-" __stringify(major) "-" __stringify(minor)) minor 15 include/linux/device_cgroup.h extern int __devcgroup_check_permission(short type, u32 major, u32 minor, minor 18 include/linux/device_cgroup.h static inline int __devcgroup_check_permission(short type, u32 major, u32 minor, minor 24 include/linux/device_cgroup.h static inline int devcgroup_check_permission(short type, u32 major, u32 minor, minor 27 include/linux/device_cgroup.h int rc = BPF_CGROUP_RUN_PROG_DEVICE_CGROUP(type, major, minor, access); minor 32 include/linux/device_cgroup.h return __devcgroup_check_permission(type, major, minor, access); minor 25 include/linux/drbd_genl_api.h __u32 minor; minor 16 include/linux/fpga/adi-axi-common.h #define ADI_AXI_PCORE_VER(major, minor, patch) \ minor 17 include/linux/fpga/adi-axi-common.h (((major) << 16) | ((minor) << 8) | (patch)) minor 91 include/linux/greybus/greybus_protocols.h __u8 minor; minor 96 include/linux/greybus/greybus_protocols.h __u8 minor; minor 105 include/linux/greybus/greybus_protocols.h __u8 minor; minor 282 include/linux/greybus/greybus_protocols.h __le16 minor; minor 298 include/linux/greybus/greybus_protocols.h __le16 minor; minor 309 include/linux/greybus/greybus_protocols.h __le16 minor; minor 394 include/linux/greybus/greybus_protocols.h __u8 minor; minor 399 include/linux/greybus/greybus_protocols.h __u8 minor; minor 979 include/linux/greybus/greybus_protocols.h __u8 minor; minor 984 include/linux/greybus/greybus_protocols.h __u8 minor; minor 21 include/linux/hid-roccat.h void roccat_disconnect(int minor); minor 22 include/linux/hid-roccat.h int roccat_report_event(int minor, u8 const *data); minor 24 include/linux/hiddev.h int minor; minor 12 include/linux/hidraw.h unsigned int minor; minor 1424 include/linux/hyperv.h u16 minor; minor 44 include/linux/if_tap.h int minor; minor 316 include/linux/input.h int minor; minor 392 include/linux/input.h void input_free_minor(unsigned int minor); minor 129 include/linux/ipmi.h unsigned char *minor); minor 42 include/linux/kdev_t.h unsigned minor = MINOR(dev); minor 43 include/linux/kdev_t.h return (minor & 0xff) | (major << 8) | ((minor & ~0xff) << 12); minor 49 include/linux/kdev_t.h unsigned minor = (dev & 0xff) | ((dev >> 12) & 0xfff00); minor 50 include/linux/kdev_t.h return MKDEV(major, minor); minor 22 include/linux/lp.h #define LP_F(minor) lp_table[(minor)].flags /* flags for busy, etc. */ minor 23 include/linux/lp.h #define LP_CHAR(minor) lp_table[(minor)].chars /* busy timeout */ minor 24 include/linux/lp.h #define LP_TIME(minor) lp_table[(minor)].time /* wait time */ minor 25 include/linux/lp.h #define LP_WAIT(minor) lp_table[(minor)].wait /* strobe wait */ minor 26 include/linux/lp.h #define LP_IRQ(minor) lp_table[(minor)].dev->port->irq /* interrupt # */ minor 29 include/linux/lp.h #define LP_STAT(minor) lp_table[(minor)].stats /* statistics area */ minor 293 include/linux/mISDNif.h unsigned char minor; minor 37 include/linux/mcb.h u8 minor; minor 66 include/linux/mfd/kempld.h unsigned int minor; minor 256 include/linux/mfd/si476x-core.h u8 major, minor[2]; minor 67 include/linux/miscdevice.h int minor; minor 95 include/linux/miscdevice.h #define MODULE_ALIAS_MISCDEV(minor) \ minor 97 include/linux/miscdevice.h "-" __stringify(minor)) minor 512 include/linux/mlx4/device.h static inline u64 mlx4_fw_ver(u64 major, u64 minor, u64 subminor) minor 514 include/linux/mlx4/device.h return (major << 32) | (minor << 16) | subminor; minor 39 include/linux/mtd/qinfo.h uint8_t minor; minor 25 include/linux/nfs_xdr.h uint64_t minor; minor 33 include/linux/nfs_xdr.h return a->major == b->major && a->minor == b->minor; minor 1392 include/linux/nvme.h #define NVME_VS(major, minor, tertiary) \ minor 1393 include/linux/nvme.h (((major) << 16) | ((minor) << 8) | (tertiary)) minor 4978 include/linux/platform_data/cros_ec_commands.h uint8_t minor; minor 12 include/linux/qcom_scm.h #define QCOM_SCM_VERSION(major, minor) (((major) << 16) | ((minor) & 0xFF)) minor 243 include/linux/serial_core.h unsigned int minor; minor 308 include/linux/serial_core.h int minor; minor 72 include/linux/uio_driver.h int minor; minor 245 include/linux/usb.h int minor; /* minor number this interface is minor 870 include/linux/usb.h int minor); minor 77 include/linux/usb/serial.h u32 minor; minor 329 include/linux/usb/serial.h extern void usb_serial_console_init(int minor); minor 333 include/linux/usb/serial.h static inline void usb_serial_console_init(int minor) { } minor 339 include/linux/usb/serial.h extern struct usb_serial_port *usb_serial_port_get_by_minor(unsigned int minor); minor 48 include/media/cec.h int minor; minor 162 include/media/dvbdev.h int minor; minor 87 include/media/media-devnode.h int minor; minor 314 include/media/media-entity.h u32 minor; minor 354 include/media/media-entity.h u32 minor; minor 1003 include/media/media-entity.h u32 major, u32 minor); minor 173 include/media/rc-core.h unsigned int minor; minor 284 include/media/v4l2-dev.h int minor; minor 150 include/net/bluetooth/mgmt.h __u8 minor; minor 125 include/pcmcia/cistpl.h u_char minor; minor 277 include/soc/fsl/qe/qe.h u8 minor; /* The SOC revision minor */ minor 291 include/soc/fsl/qe/qe.h u8 minor; /* The microcode version minor */ minor 188 include/sound/core.h void *snd_lookup_minor_data(unsigned int minor, int type); minor 194 include/sound/core.h void *snd_lookup_oss_minor_data(unsigned int minor, int type); minor 12 include/sound/minors.h #define SNDRV_MINOR_CARD(minor) ((minor) >> 5) minor 13 include/sound/minors.h #define SNDRV_MINOR_DEVICE(minor) ((minor) & 0x001f) minor 62 include/sound/minors.h #define SNDRV_MINOR_OSS_CARD(minor) ((minor) >> 4) minor 63 include/sound/minors.h #define SNDRV_MINOR_OSS_DEVICE(minor) ((minor) & 0x000f) minor 39 include/sound/sof/info.h uint16_t minor; minor 101 include/trace/events/v4l2.h TP_PROTO(int minor, struct v4l2_buffer *buf), minor 103 include/trace/events/v4l2.h TP_ARGS(minor, buf), minor 106 include/trace/events/v4l2.h __field(int, minor) minor 127 include/trace/events/v4l2.h __entry->minor = minor; minor 151 include/trace/events/v4l2.h "userbits = { %u %u %u %u } }, sequence = %u", __entry->minor, minor 172 include/trace/events/v4l2.h TP_PROTO(int minor, struct v4l2_buffer *buf), minor 173 include/trace/events/v4l2.h TP_ARGS(minor, buf) minor 177 include/trace/events/v4l2.h TP_PROTO(int minor, struct v4l2_buffer *buf), minor 178 include/trace/events/v4l2.h TP_ARGS(minor, buf) minor 186 include/trace/events/v4l2.h __field(int, minor) minor 207 include/trace/events/v4l2.h __entry->minor = owner ? owner->vdev->minor : -1; minor 227 include/trace/events/v4l2.h "userbits = { %u %u %u %u } }, sequence = %u", __entry->minor, minor 100 include/uapi/drm/exynos_drm.h __u32 minor; minor 59 include/uapi/linux/agpgart.h __u16 minor; minor 26 include/uapi/linux/android/binderfs.h __u32 minor; minor 3465 include/uapi/linux/bpf.h __u32 minor; minor 158 include/uapi/linux/cec-funcs.h __u16 minor; minor 198 include/uapi/linux/cec-funcs.h *msg++ = digital->channel.minor >> 8; minor 199 include/uapi/linux/cec-funcs.h *msg++ = digital->channel.minor & 0xff; minor 235 include/uapi/linux/cec-funcs.h digital->channel.minor = (msg[3] << 8) | msg[4]; minor 1322 include/uapi/linux/cec-funcs.h msg->msg[5] = ui_cmd->channel_identifier.minor >> 8; minor 1323 include/uapi/linux/cec-funcs.h msg->msg[6] = ui_cmd->channel_identifier.minor & 0xff; minor 1352 include/uapi/linux/cec-funcs.h ui_cmd->channel_identifier.minor = (msg->msg[5] << 8) | msg->msg[6]; minor 53 include/uapi/linux/dlm_device.h __u32 minor; minor 684 include/uapi/linux/fuse.h uint32_t minor; minor 694 include/uapi/linux/fuse.h uint32_t minor; minor 710 include/uapi/linux/fuse.h uint32_t minor; minor 717 include/uapi/linux/fuse.h uint32_t minor; minor 167 include/uapi/linux/media.h __u32 minor; minor 195 include/uapi/linux/media.h __u32 minor; minor 199 include/uapi/linux/media.h __u32 minor; minor 310 include/uapi/linux/media.h __u32 minor; minor 58 include/uapi/linux/nilfs2_api.h NILFS_CPINFO_FNS(MINOR, minor) minor 554 include/uapi/linux/nilfs2_ondisk.h NILFS_CHECKPOINT_FNS(MINOR, minor) minor 107 include/uapi/linux/raid/md_p.h __u32 minor; /* 2 Device minor number */ minor 73 include/uapi/linux/raid/md_u.h int minor; minor 127 include/uapi/linux/raid/md_u.h int minor; minor 138 include/uapi/linux/raid/md_u.h int minor; minor 45 include/uapi/linux/vtpm_proxy.h __u32 minor; /* output */ minor 481 include/uapi/linux/wimax/i2400m.h __le16 minor; minor 42 include/uapi/sound/asound.h #define SNDRV_PROTOCOL_VERSION(major, minor, subminor) (((major)<<16)|((minor)<<8)|(subminor)) minor 40 include/uapi/sound/sof/abi.h #define SOF_ABI_VER(major, minor, patch) \ minor 42 include/uapi/sound/sof/abi.h ((minor) << SOF_ABI_MINOR_SHIFT) | \ minor 491 include/xen/interface/io/kbdif.h uint32_t minor; /* length of the minor axis, pixels */ minor 213 include/xen/xen-ops.h bool xen_running_on_version_or_later(unsigned int major, unsigned int minor); minor 25 init/do_mounts_md.c int minor; minor 56 init/do_mounts_md.c int minor, level, factor, fault, partitioned = 0; minor 65 init/do_mounts_md.c if (get_option(&str, &minor) != 2) { /* MD Number */ minor 71 init/do_mounts_md.c if (md_setup_args[ent].minor == minor && minor 74 init/do_mounts_md.c "Replacing previous definition.\n", partitioned?"d":"", minor); minor 78 init/do_mounts_md.c printk(KERN_WARNING "md: md=%s%d - too many md initialisations\n", partitioned?"d":"", minor); minor 109 init/do_mounts_md.c minor, pername, str); minor 112 init/do_mounts_md.c md_setup_args[ent].minor = minor; minor 119 init/do_mounts_md.c int minor, i, ent, partitioned; minor 130 init/do_mounts_md.c minor = md_setup_args[ent].minor; minor 134 init/do_mounts_md.c sprintf(name, "/dev/md%s%d", partitioned?"_d":"", minor); minor 136 init/do_mounts_md.c dev = MKDEV(mdp_major, minor << MdpMinorShift); minor 138 init/do_mounts_md.c dev = MKDEV(MD_MAJOR, minor); minor 171 init/do_mounts_md.c partitioned ? "_d" : "", minor, minor 183 init/do_mounts_md.c minor); minor 197 init/do_mounts_md.c ainfo.md_minor =minor; minor 212 init/do_mounts_md.c dinfo.minor = MINOR(dev); minor 223 init/do_mounts_md.c dinfo.minor = MINOR(dev); minor 230 init/do_mounts_md.c printk(KERN_WARNING "md: starting md%d failed\n", minor); minor 49 init/initramfs.c int ino, minor, major; minor 55 init/initramfs.c static inline int hash(int major, int minor, int ino) minor 57 init/initramfs.c unsigned long tmp = ino + minor + (major << 3); minor 62 init/initramfs.c static char __init *find_link(int major, int minor, int ino, minor 66 init/initramfs.c for (p = head + hash(major, minor, ino); *p; p = &(*p)->next) { minor 69 init/initramfs.c if ((*p)->minor != minor) minor 81 init/initramfs.c q->minor = minor; minor 147 init/initramfs.c static __initdata unsigned long ino, major, minor, nlink; minor 173 init/initramfs.c minor = parsed[8]; minor 309 init/initramfs.c char *old = find_link(major, minor, ino, mode, collected); minor 764 kernel/bpf/cgroup.c int __cgroup_bpf_check_dev_permission(short dev_type, u32 major, u32 minor, minor 771 kernel/bpf/cgroup.c .minor = minor, minor 534 kernel/power/qos.c qos->pm_qos_power_miscdev.minor = MISC_DYNAMIC_MINOR; minor 544 kernel/power/qos.c static int find_pm_qos_object_by_minor(int minor) minor 550 kernel/power/qos.c if (minor == minor 551 kernel/power/qos.c pm_qos_array[pm_qos_class]->pm_qos_power_miscdev.minor) minor 470 kernel/power/user.c .minor = SNAPSHOT_MINOR, minor 920 lib/test_firmware.c .minor = MISC_DYNAMIC_MINOR, minor 1105 lib/test_kmod.c misc_dev->minor = MISC_DYNAMIC_MINOR; minor 2231 net/bluetooth/mgmt.c if ((cp->minor & 0x03) != 0 || (cp->major & 0xe0) != 0) { minor 2238 net/bluetooth/mgmt.c hdev->minor_class = cp->minor; minor 106 net/rds/ib_cm.c u8 minor = 0; minor 114 net/rds/ib_cm.c minor = dp->ricp_v6.dp_protocol_minor; minor 126 net/rds/ib_cm.c minor = dp->ricp_v4.dp_protocol_minor; minor 133 net/rds/ib_cm.c rds_ib_set_protocol(conn, RDS_PROTOCOL(major, minor)); minor 635 net/rds/ib_cm.c u8 data_len, major, minor; minor 660 net/rds/ib_cm.c minor = dp->ricp_v6.dp_protocol_minor; minor 665 net/rds/ib_cm.c minor = dp->ricp_v4.dp_protocol_minor; minor 679 net/rds/ib_cm.c RDS_PROTOCOL(major, minor)) { minor 684 net/rds/ib_cm.c &dp->ricp_v6.dp_saddr, major, minor); minor 687 net/rds/ib_cm.c &dp->ricp_v4.dp_saddr, major, minor); minor 1327 net/rfkill/core.c .minor = RFKILL_MINOR, minor 1943 net/vmw_vsock/af_vsock.c vsock_device.minor = MISC_DYNAMIC_MINOR; minor 72 samples/binderfs/binderfs_example.c device.major, device.minor, device.name); minor 247 samples/mei/mei-amt-version.c uint8_t minor; minor 361 samples/mei/mei-amt-version.c resp_hdr->version.minor < AMT_MINOR_VERSION) { minor 33 security/device_cgroup.c u32 major, minor; minor 101 security/device_cgroup.c if (walk->minor != ex->minor) minor 129 security/device_cgroup.c if (walk->minor != ex->minor) minor 290 security/device_cgroup.c set_majmin(min, ex->minor); minor 314 security/device_cgroup.c u32 major, u32 minor, short access) minor 325 security/device_cgroup.c if (ex->minor != ~0 && ex->minor != minor) minor 351 security/device_cgroup.c u32 major, u32 minor, short access) minor 366 security/device_cgroup.c if (ex->minor != ~0 && minor != ~0 && ex->minor != minor) minor 415 security/device_cgroup.c refex->minor, minor 430 security/device_cgroup.c refex->major, refex->minor, minor 485 security/device_cgroup.c ex->major, ex->minor, ex->access); minor 676 security/device_cgroup.c ex.minor = ~0; minor 686 security/device_cgroup.c rc = kstrtou32(temp, 10, &ex.minor); minor 804 security/device_cgroup.c int __devcgroup_check_permission(short type, u32 major, u32 minor, minor 815 security/device_cgroup.c type, major, minor, access); minor 819 security/device_cgroup.c minor, access); minor 31 security/keys/encrypted-keys/ecryptfs_format.c void ecryptfs_get_versions(int *major, int *minor, int *file_version) minor 34 security/keys/encrypted-keys/ecryptfs_format.c *minor = ECRYPTFS_VERSION_MINOR; minor 51 security/keys/encrypted-keys/ecryptfs_format.c int major, minor; minor 53 security/keys/encrypted-keys/ecryptfs_format.c ecryptfs_get_versions(&major, &minor, NULL); minor 55 security/keys/encrypted-keys/ecryptfs_format.c | ((uint16_t)minor & 0x00FF)); minor 23 security/keys/encrypted-keys/ecryptfs_format.h void ecryptfs_get_versions(int *major, int *minor, int *file_version); minor 1500 security/tomoyo/common.c tomoyo_print_number_union(head, &ptr->minor); minor 451 security/tomoyo/common.h unsigned int minor; minor 734 security/tomoyo/common.h struct tomoyo_number_union minor; minor 202 security/tomoyo/file.c r->param.mkdev.minor); minor 327 security/tomoyo/file.c tomoyo_compare_number_union(r->param.mkdev.minor, minor 328 security/tomoyo/file.c &acl->minor) && minor 422 security/tomoyo/file.c tomoyo_same_number_union(&p1->minor, &p2->minor); minor 474 security/tomoyo/file.c !tomoyo_parse_number_union(param, &e.minor)) minor 483 security/tomoyo/file.c tomoyo_put_number_union(&e.minor); minor 883 security/tomoyo/file.c r.param.mkdev.minor = MINOR(dev); minor 193 security/tomoyo/gc.c tomoyo_put_number_union(&entry->minor); minor 2327 sound/core/oss/pcm_oss.c int minor) minor 2342 sound/core/oss/pcm_oss.c switch (SNDRV_MINOR_OSS_DEVICE(minor)) { minor 2377 sound/core/oss/pcm_oss.c int minor, minor 2416 sound/core/oss/pcm_oss.c snd_pcm_oss_init_substream(substream, &setup[idx], minor); minor 1973 sound/core/pcm_native.c unsigned int minor; minor 1977 sound/core/pcm_native.c minor = iminor(inode); minor 1978 sound/core/pcm_native.c pcm = snd_lookup_minor_data(minor, SNDRV_DEVICE_TYPE_PCM_PLAYBACK); minor 1980 sound/core/pcm_native.c pcm = snd_lookup_minor_data(minor, SNDRV_DEVICE_TYPE_PCM_CAPTURE); minor 64 sound/core/sound.c static void snd_request_other(int minor) minor 68 sound/core/sound.c switch (minor) { minor 93 sound/core/sound.c void *snd_lookup_minor_data(unsigned int minor, int type) minor 98 sound/core/sound.c if (minor >= ARRAY_SIZE(snd_minors)) minor 101 sound/core/sound.c mreg = snd_minors[minor]; minor 114 sound/core/sound.c static struct snd_minor *autoload_device(unsigned int minor) minor 118 sound/core/sound.c dev = SNDRV_MINOR_DEVICE(minor); minor 121 sound/core/sound.c int card = SNDRV_MINOR_CARD(minor); minor 129 sound/core/sound.c snd_request_other(minor); minor 132 sound/core/sound.c return snd_minors[minor]; minor 135 sound/core/sound.c #define autoload_device(minor) NULL minor 140 sound/core/sound.c unsigned int minor = iminor(inode); minor 145 sound/core/sound.c if (minor >= ARRAY_SIZE(snd_minors)) minor 148 sound/core/sound.c mptr = snd_minors[minor]; minor 150 sound/core/sound.c mptr = autoload_device(minor); minor 177 sound/core/sound.c int minor; minor 185 sound/core/sound.c for (minor = 0; minor < ARRAY_SIZE(snd_minors); ++minor) { minor 187 sound/core/sound.c if (SNDRV_MINOR_DEVICE(minor) == SNDRV_MINOR_CONTROL) minor 189 sound/core/sound.c if (minor == SNDRV_MINOR_SEQUENCER || minor 190 sound/core/sound.c minor == SNDRV_MINOR_TIMER) minor 192 sound/core/sound.c if (!snd_minors[minor]) minor 193 sound/core/sound.c return minor; minor 200 sound/core/sound.c int minor; minor 205 sound/core/sound.c minor = type; minor 210 sound/core/sound.c minor = SNDRV_MINOR(card->number, type); minor 219 sound/core/sound.c minor = SNDRV_MINOR(card->number, type + dev); minor 224 sound/core/sound.c if (snd_BUG_ON(minor < 0 || minor >= SNDRV_OS_MINORS)) minor 226 sound/core/sound.c if (snd_minors[minor]) minor 228 sound/core/sound.c return minor; minor 250 sound/core/sound.c int minor; minor 267 sound/core/sound.c minor = snd_find_free_minor(type, card, dev); minor 268 sound/core/sound.c if (minor < 0) { minor 269 sound/core/sound.c err = minor; minor 274 sound/core/sound.c device->devt = MKDEV(major, minor); minor 279 sound/core/sound.c snd_minors[minor] = preg; minor 299 sound/core/sound.c int minor; minor 303 sound/core/sound.c for (minor = 0; minor < ARRAY_SIZE(snd_minors); ++minor) { minor 304 sound/core/sound.c preg = snd_minors[minor]; minor 306 sound/core/sound.c snd_minors[minor] = NULL; minor 313 sound/core/sound.c if (minor >= ARRAY_SIZE(snd_minors)) minor 347 sound/core/sound.c int minor; minor 351 sound/core/sound.c for (minor = 0; minor < SNDRV_OS_MINORS; ++minor) { minor 352 sound/core/sound.c if (!(mptr = snd_minors[minor])) minor 357 sound/core/sound.c minor, mptr->card, mptr->device, minor 361 sound/core/sound.c minor, mptr->card, minor 364 sound/core/sound.c snd_iprintf(buffer, "%3i: : %s\n", minor, minor 25 sound/core/sound_oss.c void *snd_lookup_oss_minor_data(unsigned int minor, int type) minor 30 sound/core/sound_oss.c if (minor >= ARRAY_SIZE(snd_oss_minors)) minor 33 sound/core/sound_oss.c mreg = snd_oss_minors[minor]; minor 47 sound/core/sound_oss.c int minor; minor 53 sound/core/sound_oss.c minor = SNDRV_MINOR_OSS(card->number, (dev ? SNDRV_MINOR_OSS_MIXER1 : SNDRV_MINOR_OSS_MIXER)); minor 56 sound/core/sound_oss.c minor = SNDRV_MINOR_OSS_SEQUENCER; minor 59 sound/core/sound_oss.c minor = SNDRV_MINOR_OSS_MUSIC; minor 64 sound/core/sound_oss.c minor = SNDRV_MINOR_OSS(card->number, (dev ? SNDRV_MINOR_OSS_PCM1 : SNDRV_MINOR_OSS_PCM)); minor 69 sound/core/sound_oss.c minor = SNDRV_MINOR_OSS(card->number, (dev ? SNDRV_MINOR_OSS_MIDI1 : SNDRV_MINOR_OSS_MIDI)); minor 72 sound/core/sound_oss.c minor = SNDRV_MINOR_OSS(card->number, SNDRV_MINOR_OSS_DMFM); minor 75 sound/core/sound_oss.c minor = SNDRV_MINOR_OSS_SNDSTAT; minor 80 sound/core/sound_oss.c if (minor < 0 || minor >= SNDRV_OSS_MINORS) minor 82 sound/core/sound_oss.c return minor; minor 88 sound/core/sound_oss.c int minor = snd_oss_kernel_minor(type, card, dev); minor 91 sound/core/sound_oss.c int cidx = SNDRV_MINOR_OSS_CARD(minor); minor 98 sound/core/sound_oss.c if (minor < 0) minor 99 sound/core/sound_oss.c return minor; minor 110 sound/core/sound_oss.c snd_oss_minors[minor] = preg; minor 111 sound/core/sound_oss.c minor_unit = SNDRV_MINOR_OSS_DEVICE(minor); minor 123 sound/core/sound_oss.c register1 = register_sound_special_device(f_ops, minor, carddev); minor 124 sound/core/sound_oss.c if (register1 != minor) minor 141 sound/core/sound_oss.c snd_oss_minors[minor] = NULL; minor 150 sound/core/sound_oss.c int minor = snd_oss_kernel_minor(type, card, dev); minor 151 sound/core/sound_oss.c int cidx = SNDRV_MINOR_OSS_CARD(minor); minor 157 sound/core/sound_oss.c if (minor < 0) minor 158 sound/core/sound_oss.c return minor; minor 160 sound/core/sound_oss.c mptr = snd_oss_minors[minor]; minor 165 sound/core/sound_oss.c unregister_sound_special(minor); minor 166 sound/core/sound_oss.c switch (SNDRV_MINOR_OSS_DEVICE(minor)) { minor 181 sound/core/sound_oss.c snd_oss_minors[minor] = NULL; minor 215 sound/core/sound_oss.c int minor; minor 219 sound/core/sound_oss.c for (minor = 0; minor < SNDRV_OSS_MINORS; ++minor) { minor 220 sound/core/sound_oss.c if (!(mptr = snd_oss_minors[minor])) minor 223 sound/core/sound_oss.c snd_iprintf(buffer, "%3i: [%i-%2i]: %s\n", minor, minor 227 sound/core/sound_oss.c snd_iprintf(buffer, "%3i: : %s\n", minor, minor 109 sound/isa/es1688/es1688_lib.c unsigned short major, minor; minor 136 sound/isa/es1688/es1688_lib.c for (i = 1000, major = minor = 0; i; i--) { minor 141 sound/isa/es1688/es1688_lib.c minor = inb(ES1688P(chip, READ)); minor 148 sound/isa/es1688/es1688_lib.c snd_printdd("ESS: [0x%lx] found.. major = 0x%x, minor = 0x%x\n", chip->port, major, minor); minor 150 sound/isa/es1688/es1688_lib.c chip->version = (major << 8) | minor; minor 114 sound/isa/galaxy/galaxy.c static int dsp_get_version(void __iomem *port, u8 *major, u8 *minor) minor 126 sound/isa/galaxy/galaxy.c err = dsp_get_byte(port, minor); minor 375 sound/isa/galaxy/galaxy.c u8 minor; minor 382 sound/isa/galaxy/galaxy.c err = dsp_get_version(galaxy->port, &major, &minor); minor 386 sound/isa/galaxy/galaxy.c if (major != GALAXY_DSP_MAJOR || minor != GALAXY_DSP_MINOR) minor 94 sound/isa/sb/sb_common.c int major, minor; minor 114 sound/isa/sb/sb_common.c minor = version & 0xff; minor 116 sound/isa/sb/sb_common.c chip->port, major, minor); minor 126 sound/isa/sb/sb_common.c if (minor) { minor 144 sound/isa/sb/sb_common.c chip->port, major, minor); minor 167 sound/isa/sb/sb_common.c chip->version = (major << 8) | minor; minor 772 sound/mips/hal2.c unsigned short board, major, minor; minor 790 sound/mips/hal2.c minor = (rev & H2_REV_MINOR_CHIP_M); minor 793 sound/mips/hal2.c board, major, minor); minor 236 sound/soc/intel/atom/sst-mfld-dsp.h u8 minor; /* minor number*/ minor 244 sound/soc/intel/atom/sst/sst.c ctx->fw_version.minor == 0 && ctx->fw_version.build == 0) minor 249 sound/soc/intel/atom/sst/sst.c ctx->fw_version.minor, ctx->fw_version.build); minor 235 sound/soc/intel/atom/sst/sst_ipc.c init->fw_version.minor, init->fw_version.build); minor 242 sound/soc/intel/atom/sst/sst_ipc.c sst_drv_ctx->fw_version.minor = init->fw_version.minor; minor 119 sound/soc/intel/baytrail/sst-baytrail-ipc.c u8 minor; minor 739 sound/soc/intel/baytrail/sst-baytrail-ipc.c init.fw_version.major, init.fw_version.minor, minor 260 sound/soc/intel/haswell/sst-haswell-ipc.h u8 minor; minor 73 sound/soc/intel/skylake/skl-sst-utils.c u16 minor; minor 742 sound/soc/sof/ipc.c "Firmware info: version %d:%d:%d-%s\n", v->major, v->minor, minor 2640 sound/soc/sof/topology.c if (SOF_ABI_VER(v->major, v->minor, v->micro) < SOF_ABI_VER(3, 0, 1)) { minor 145 tools/hv/hv_vss_daemon.c major(sb.st_rdev), minor(sb.st_rdev)); minor 2454 tools/include/nolibc/nolibc.h dev_t makedev(unsigned int major, unsigned int minor) minor 2456 tools/include/nolibc/nolibc.h return ((major & 0xfff) << 8) | (minor & 0xff); minor 3465 tools/include/uapi/linux/bpf.h __u32 minor; minor 42 tools/include/uapi/sound/asound.h #define SNDRV_PROTOCOL_VERSION(major, minor, subminor) (((major)<<16)|((minor)<<8)|(subminor)) minor 464 tools/perf/util/jitdump.c event->mmap2.min = minor(st.st_dev); minor 556 tools/perf/util/jitdump.c event->mmap2.min = minor(st.st_dev); minor 41 tools/testing/selftests/bpf/progs/dev_cgroup.c bpf_trace_printk(fmt, sizeof(fmt), ctx->major, ctx->minor); minor 50 tools/testing/selftests/bpf/progs/dev_cgroup.c switch (ctx->minor) { minor 191 tools/testing/selftests/filesystems/binderfs/binderfs_test.c device.major, device.minor, device.name); minor 907 tools/vm/page-types.c int major, minor; minor 917 tools/vm/page-types.c &major, &minor,