/arch/sparc/kernel/ |
D | hvapi.c | 19 unsigned long major; member 77 p->major = p->minor = 0; in __put_ref() 92 int sun4v_hvapi_register(unsigned long group, unsigned long major, in sun4v_hvapi_register() argument 105 if (p->major == major) { in sun4v_hvapi_register() 113 hv_ret = sun4v_set_version(group, major, *minor, in sun4v_hvapi_register() 118 p->major = major; in sun4v_hvapi_register() 124 if (major == 1) { in sun4v_hvapi_register() 125 p->major = 1; in sun4v_hvapi_register() 157 unsigned long *major, in sun4v_hvapi_get() argument 168 *major = p->major; in sun4v_hvapi_get() [all …]
|
D | viohs.c | 46 static int send_version(struct vio_driver_state *vio, u16 major, u16 minor) in send_version() argument 54 pkt.major = major; in send_version() 59 major, minor, vio->dev_class); in send_version() 73 vio->ver_table[0].major, in start_handshake() 229 u16 major) in find_by_major() argument 236 if (v->major <= major) { in find_by_major() 251 pkt->major, pkt->minor, pkt->dev_class); in process_ver_info() 259 vap = find_by_major(vio, pkt->major); in process_ver_info() 265 pkt->major = 0; in process_ver_info() 269 } else if (vap->major != pkt->major) { in process_ver_info() [all …]
|
D | sstate.c | 91 unsigned long major, minor; in sstate_init() local 96 major = 1; in sstate_init() 98 if (sun4v_hvapi_register(HV_GRP_SOFT_STATE, major, &minor)) in sstate_init()
|
D | ldc.c | 75 u16 major; member 81 { .major = 1, .minor = 0 }, 378 ver->major, ver->minor); in start_handshake() 392 u16 major, u16 minor) in send_version_nack() argument 398 ver.major = major; in send_version_nack() 405 ver.major, ver.minor); in send_version_nack() 422 vp->major, vp->minor); in send_version_ack() 559 static struct ldc_version *find_by_major(u16 major) in find_by_major() argument 566 if (v->major <= major) { in find_by_major() 580 vp->major, vp->minor); in process_ver_info() [all …]
|
D | ds.c | 64 __u16 major; member 80 __u16 major; member 86 __u16 major; member 100 __u16 major; member 909 pbuf.req.major = 1; in register_services() 1070 req.ver.major = 1; in ds_up() 1258 unsigned long hv_ret, major, minor; in ds_init() local 1261 hv_ret = sun4v_get_version(HV_GRP_REBOOT_DATA, &major, &minor); in ds_init() 1264 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/ia64/kvm/ |
D | vcpu.h | 54 imm9d:9, s:1, major:4; }; member 60 wh:2, d:1, un1:1, major:4; }; member 65 struct { unsigned long qp:6, un21:21, x6:6, un4:4, major:4; }; member 70 struct { unsigned long qp:6, imm20:20, :1, x6:6, :3, i:1, major:4; }; 75 struct { unsigned long qp:6, imm20:20, :1, x6:6, x3:3, i:1, major:4; }; member 80 struct { unsigned long qp:6, :7, r2:7, ar3:7, x6:6, x3:3, :1, major:4; }; 85 struct { unsigned long qp:6, :7, imm:7, ar3:7, x6:6, x3:3, s:1, major:4; }; member 90 struct { unsigned long qp:6, r1:7, :7, ar3:7, x6:6, x3:3, :1, major:4; }; 95 struct { unsigned long qp:6, :14, r3:7, x6:6, x3:3, :1, major:4; }; 100 struct { unsigned long qp:6, :7, r2:7, ar3:7, x6:6, x3:3, :1, major:4; }; [all …]
|
D | mmio.c | 196 if (inst.M1.major == 4 && inst.M1.m == 0 && inst.M1.x == 0) { in emulate_io_inst() 207 } else if (inst.M2.major == 4 && inst.M2.m == 1 && inst.M2.x == 0) { in emulate_io_inst() 216 } else if (inst.M3.major == 5) { in emulate_io_inst() 240 } else if (inst.M9.major == 6 && inst.M9.x6 == 0x3B in emulate_io_inst() 254 } else if (inst.M10.major == 7 && inst.M10.x6 == 0x3B) { in emulate_io_inst() 273 } else if (inst.M10.major == 7 && inst.M10.x6 == 0x31) { in emulate_io_inst() 286 } else if (inst.M15.major == 7 && inst.M15.x6 >= 0x2c in emulate_io_inst() 296 } else if (inst.M12.major == 6 && inst.M12.m == 1 in emulate_io_inst()
|
/arch/arm/mach-qcom/ |
D | scm.h | 21 #define SCM_VERSION(major, minor) (((major) << 16) | ((minor) & 0xFF)) argument
|
/arch/sparc/include/asm/ |
D | vio.h | 48 u16 major; member 318 u16 major; member 390 u16 major, u16 minor) in vio_version_before() argument 392 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_before() 393 u32 want = (u32)major << 16 | minor; in vio_version_before() 399 u16 major, u16 minor) in vio_version_after() argument 401 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after() 402 u32 want = (u32)major << 16 | minor; in vio_version_after() 408 u16 major, u16 minor) in vio_version_after_eq() argument 410 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after_eq() [all …]
|
D | hypervisor.h | 2996 unsigned long *major, 2999 unsigned long major, 3003 int sun4v_hvapi_register(unsigned long group, unsigned long major, 3007 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() 132 dev->disk->major = major_num; in nfhd_init_one()
|
/arch/powerpc/platforms/ps3/ |
D | setup.c | 58 int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev) in ps3_compare_firmware_version() argument 63 x.major = major; in ps3_compare_firmware_version() 207 ps3_firmware_version.major, ps3_firmware_version.minor, in ps3_setup_arch()
|
/arch/mips/ath79/ |
D | setup.c | 59 u32 major; in ath79_detect_sys_type() local 64 major = id & REV_ID_MAJOR_MASK; in ath79_detect_sys_type() 66 switch (major) { in ath79_detect_sys_type()
|
/arch/m68k/include/uapi/asm/ |
D | bootinfo.h | 156 #define MK_BI_VERSION(major, minor) (((major) << 16) + (minor)) argument
|
/arch/sh/kernel/ |
D | traps_64.c | 460 int major, minor; in misaligned_fixup() local 471 major = (opcode >> 26) & 0x3f; in misaligned_fixup() 474 switch (major) { in misaligned_fixup() 652 unsigned long major, minor, combined; in do_reserved_inst() local 689 major = (opcode >> 26) & 0x3f; in do_reserved_inst() 691 combined = (major << 4) | minor; in do_reserved_inst() 692 index = major; in do_reserved_inst()
|
/arch/sh/kernel/cpu/sh5/ |
D | unwind.c | 81 u8 major, minor; in lookup_prev_stack_frame() local 86 major = (op >> 26) & 0x3f; in lookup_prev_stack_frame() 106 switch (major) { in lookup_prev_stack_frame()
|
/arch/metag/kernel/ |
D | setup.c | 465 unsigned int txenable, thread_id, major, minor; in show_cpuinfo() local 475 major = (txenable & TXENABLE_MAJOR_REV_BITS) >> TXENABLE_MAJOR_REV_S; in show_cpuinfo() 490 cpu, major, minor, i, in show_cpuinfo() 502 cpu, major, minor, thread_id, in show_cpuinfo()
|
/arch/mn10300/boot/tools/ |
D | build.c | 88 major_root = major(sb.st_dev); in main() 95 major_root = major(sb.st_rdev); in main()
|
/arch/arm/mach-imx/ |
D | mach-qong.c | 37 #define QONG_FPGA_VERSION(major, minor, rev) \ argument 38 (((major & 0xF) << 12) | ((minor & 0xF) << 8) | (rev & 0xFF))
|
/arch/powerpc/sysdev/ |
D | axonram.c | 230 bank->disk->major = azfs_major; in axon_ram_probe() 283 if (bank->disk->major > 0) in axon_ram_probe() 284 unregister_blkdev(bank->disk->major, in axon_ram_probe()
|
/arch/powerpc/include/asm/ |
D | vdso_datapage.h | 55 __u32 major; /* Major number 0x10 */ member
|