/arch/sparc/kernel/ |
D | hvapi.c | 20 unsigned long major; member 81 p->major = p->minor = 0; in __put_ref() 96 int sun4v_hvapi_register(unsigned long group, unsigned long major, in sun4v_hvapi_register() argument 109 if (p->major == major) { in sun4v_hvapi_register() 117 hv_ret = sun4v_set_version(group, major, *minor, in sun4v_hvapi_register() 122 p->major = major; in sun4v_hvapi_register() 128 if (major == 1) { in sun4v_hvapi_register() 129 p->major = 1; in sun4v_hvapi_register() 161 unsigned long *major, in sun4v_hvapi_get() argument 172 *major = p->major; in sun4v_hvapi_get() [all …]
|
D | viohs.c | 48 static int send_version(struct vio_driver_state *vio, u16 major, u16 minor) in send_version() argument 56 pkt.major = major; in send_version() 61 major, minor, vio->dev_class); in send_version() 75 vio->ver_table[0].major, in start_handshake() 240 u16 major) in find_by_major() argument 247 if (v->major <= major) { in find_by_major() 262 pkt->major, pkt->minor, pkt->dev_class); in process_ver_info() 270 vap = find_by_major(vio, pkt->major); in process_ver_info() 276 pkt->major = 0; in process_ver_info() 280 } else if (vap->major != pkt->major) { in process_ver_info() [all …]
|
D | sstate.c | 92 unsigned long major, minor; in sstate_init() local 97 major = 1; in sstate_init() 99 if (sun4v_hvapi_register(HV_GRP_SOFT_STATE, major, &minor)) in sstate_init()
|
D | ldc.c | 80 u16 major; member 86 { .major = 1, .minor = 0 }, 376 ver->major, ver->minor); in start_handshake() 390 u16 major, u16 minor) in send_version_nack() argument 396 ver.major = major; in send_version_nack() 403 ver.major, ver.minor); in send_version_nack() 420 vp->major, vp->minor); in send_version_ack() 558 static struct ldc_version *find_by_major(u16 major) in find_by_major() argument 565 if (v->major <= major) { in find_by_major() 579 vp->major, vp->minor); in process_ver_info() [all …]
|
D | ds.c | 66 __u16 major; member 82 __u16 major; member 88 __u16 major; member 102 __u16 major; member 911 pbuf.req.major = 1; in register_services() 1072 req.ver.major = 1; in ds_up() 1260 unsigned long hv_ret, major, minor; in ds_init() local 1263 hv_ret = sun4v_get_version(HV_GRP_REBOOT_DATA, &major, &minor); in ds_init() 1266 major, minor); in ds_init()
|
/arch/mips/kernel/ |
D | rtlx-cmp.c | 20 static int major; variable 64 major = register_chrdev(0, RTLX_MODULE_NAME, &rtlx_fops); in rtlx_module_init() 65 if (major < 0) { in rtlx_module_init() 67 return major; in rtlx_module_init() 77 dev = device_create(mt_class, NULL, MKDEV(major, i), NULL, in rtlx_module_init() 81 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_init() 105 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_init() 107 unregister_chrdev(major, RTLX_MODULE_NAME); in rtlx_module_init() 117 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_exit() 119 unregister_chrdev(major, RTLX_MODULE_NAME); in rtlx_module_exit()
|
D | rtlx-mt.c | 21 static int major; variable 90 major = register_chrdev(0, RTLX_MODULE_NAME, &rtlx_fops); in rtlx_module_init() 91 if (major < 0) { in rtlx_module_init() 93 return major; in rtlx_module_init() 103 dev = device_create(mt_class, NULL, MKDEV(major, i), NULL, in rtlx_module_init() 107 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_init() 136 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_init() 138 unregister_chrdev(major, RTLX_MODULE_NAME); in rtlx_module_init() 148 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_exit() 150 unregister_chrdev(major, RTLX_MODULE_NAME); in rtlx_module_exit()
|
D | vpe-cmp.c | 17 static int major; variable 107 major = register_chrdev(0, VPE_MODULE_NAME, &vpe_fops); in vpe_module_init() 108 if (major < 0) { in vpe_module_init() 110 return major; in vpe_module_init() 123 vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR); in vpe_module_init() 163 unregister_chrdev(major, VPE_MODULE_NAME); in vpe_module_init() 174 unregister_chrdev(major, VPE_MODULE_NAME); in vpe_module_exit()
|
D | vpe-mt.c | 20 static int major; variable 355 major = register_chrdev(0, VPE_MODULE_NAME, &vpe_fops); in vpe_module_init() 356 if (major < 0) { in vpe_module_init() 358 return major; in vpe_module_init() 371 vpe_device.devt = MKDEV(major, VPE_MODULE_MINOR); in vpe_module_init() 503 unregister_chrdev(major, VPE_MODULE_NAME); in vpe_module_init() 514 unregister_chrdev(major, VPE_MODULE_NAME); in vpe_module_exit()
|
/arch/sparc/include/asm/ |
D | vio.h | 49 u16 major; member 373 u16 major; member 445 u16 major, u16 minor) in vio_version_before() argument 447 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_before() 448 u32 want = (u32)major << 16 | minor; in vio_version_before() 454 u16 major, u16 minor) in vio_version_after() argument 456 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after() 457 u32 want = (u32)major << 16 | minor; in vio_version_after() 463 u16 major, u16 minor) in vio_version_after_eq() argument 465 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after_eq() [all …]
|
D | hypervisor.h | 3511 unsigned long *major, 3514 unsigned long major, 3518 int sun4v_hvapi_register(unsigned long group, unsigned long major, 3522 unsigned long *major,
|
/arch/m68k/emu/ |
D | nfblock.c | 34 static inline s32 nfhd_read_write(u32 major, u32 minor, u32 rwflag, u32 recno, in nfhd_read_write() argument 37 return nf_call(nfhd_id + NFHD_READ_WRITE, major, minor, rwflag, recno, in nfhd_read_write() 41 static inline s32 nfhd_get_capacity(u32 major, u32 minor, u32 *blocks, in nfhd_get_capacity() argument 44 return nf_call(nfhd_id + NFHD_GET_CAPACITY, major, minor, in nfhd_get_capacity() 133 dev->disk->major = major_num; in nfhd_init_one()
|
/arch/powerpc/platforms/ps3/ |
D | setup.c | 46 int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev) in ps3_compare_firmware_version() argument 51 x.major = major; in ps3_compare_firmware_version() 194 ps3_firmware_version.major, ps3_firmware_version.minor, in ps3_setup_arch()
|
/arch/m68k/include/uapi/asm/ |
D | bootinfo.h | 158 #define MK_BI_VERSION(major, minor) (((major) << 16) + (minor)) argument
|
/arch/mips/ath79/ |
D | setup.c | 57 u32 major; in ath79_detect_sys_type() local 63 major = id & REV_ID_MAJOR_MASK; in ath79_detect_sys_type() 65 switch (major) { in ath79_detect_sys_type()
|
/arch/x86/xen/ |
D | enlighten_hvm.c | 87 int major, minor; in init_hvm_pv_info() local 93 major = eax >> 16; in init_hvm_pv_info() 95 printk(KERN_INFO "Xen version %d.%d.\n", major, minor); in init_hvm_pv_info()
|
/arch/sh/kernel/ |
D | traps_64.c | 458 int major, minor; in misaligned_fixup() local 469 major = (opcode >> 26) & 0x3f; in misaligned_fixup() 472 switch (major) { in misaligned_fixup() 650 unsigned long major, minor, combined; in do_reserved_inst() local 687 major = (opcode >> 26) & 0x3f; in do_reserved_inst() 689 combined = (major << 4) | minor; in do_reserved_inst() 690 index = major; in do_reserved_inst()
|
/arch/sh/kernel/cpu/sh5/ |
D | unwind.c | 78 u8 major, minor; in lookup_prev_stack_frame() local 83 major = (op >> 26) & 0x3f; in lookup_prev_stack_frame() 103 switch (major) { in lookup_prev_stack_frame()
|
/arch/mips/include/asm/mach-ath25/ |
D | ath25_platform.h | 20 u16 major; /* Board major number */ member
|
/arch/arm/mach-imx/ |
D | mach-qong.c | 28 #define QONG_FPGA_VERSION(major, minor, rev) \ argument 29 (((major & 0xF) << 12) | ((minor & 0xF) << 8) | (rev & 0xFF))
|
/arch/powerpc/include/asm/ |
D | vdso_datapage.h | 51 __u32 major; /* Major number 0x10 */ member
|
/arch/powerpc/mm/ |
D | fault.c | 442 vm_fault_t fault, major = 0; in __do_page_fault() local 584 major |= fault & VM_FAULT_MAJOR; in __do_page_fault() 618 if (major) { in __do_page_fault()
|
/arch/um/drivers/ |
D | ubd_kern.c | 274 int major; in ubd_setup_common() local 283 major = simple_strtoul(str, &end, 0); in ubd_setup_common() 295 fake_major = major; in ubd_setup_common() 298 major); in ubd_setup_common() 868 static int ubd_disk_register(int major, u64 size, int unit, in ubd_disk_register() argument 878 disk->major = major; in ubd_disk_register() 882 if (major == UBD_MAJOR) in ubd_disk_register() 888 if (major == UBD_MAJOR) { in ubd_disk_register()
|
D | line.h | 22 const short major; member
|
/arch/mips/include/asm/ |
D | mips-cm.h | 155 #define CM_ENCODE_REV(major, minor) \ argument 156 (((major) << __ffs(CM_GCR_REV_MAJOR)) | \
|