/arch/sparc/kernel/ |
D | hvapi.c | 19 unsigned long major; member 75 p->major = p->minor = 0; in __put_ref() 90 int sun4v_hvapi_register(unsigned long group, unsigned long major, in sun4v_hvapi_register() argument 103 if (p->major == major) { in sun4v_hvapi_register() 111 hv_ret = sun4v_set_version(group, major, *minor, in sun4v_hvapi_register() 116 p->major = major; in sun4v_hvapi_register() 122 if (major == 1) { in sun4v_hvapi_register() 123 p->major = 1; in sun4v_hvapi_register() 155 unsigned long *major, in sun4v_hvapi_get() argument 166 *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 902 pbuf.req.major = 1; in register_services() 1063 req.ver.major = 1; in ds_up() 1252 unsigned long hv_ret, major, minor; in ds_init() local 1255 hv_ret = sun4v_get_version(HV_GRP_REBOOT_DATA, &major, &minor); in ds_init() 1258 major, minor); in ds_init()
|
/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-msm/ |
D | scm.h | 21 #define SCM_VERSION(major, minor) (((major) << 16) | ((minor) & 0xFF)) argument
|
/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, blocks, in nfhd_get_capacity() 131 dev->disk->major = major_num; in nfhd_init_one()
|
/arch/mips/ath79/ |
D | setup.c | 71 u32 major; in ath79_detect_sys_type() local 76 major = id & REV_ID_MAJOR_MASK; in ath79_detect_sys_type() 78 switch (major) { in ath79_detect_sys_type()
|
/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() 203 ps3_firmware_version.major, ps3_firmware_version.minor, in ps3_setup_arch()
|
/arch/mips/kernel/ |
D | rtlx.c | 45 static int major; variable 501 major = register_chrdev(0, module_name, &rtlx_fops); in rtlx_module_init() 502 if (major < 0) { in rtlx_module_init() 504 return major; in rtlx_module_init() 514 dev = device_create(mt_class, NULL, MKDEV(major, i), NULL, in rtlx_module_init() 542 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_init() 552 device_destroy(mt_class, MKDEV(major, i)); in rtlx_module_exit() 554 unregister_chrdev(major, module_name); in rtlx_module_exit()
|
/arch/sh/kernel/cpu/sh5/ |
D | unwind.c | 79 u8 major, minor; in lookup_prev_stack_frame() local 84 major = (op >> 26) & 0x3f; in lookup_prev_stack_frame() 104 switch (major) { in lookup_prev_stack_frame()
|
/arch/sh/kernel/ |
D | traps_64.c | 165 unsigned long major, minor, combined; in do_reserved_inst() local 168 major = (opcode >> 26) & 0x3f; in do_reserved_inst() 170 combined = (major << 4) | minor; in do_reserved_inst() 171 index = major; in do_reserved_inst() 730 int major, minor; in misaligned_fixup() local 739 major = (opcode >> 26) & 0x3f; in misaligned_fixup() 759 switch (major) { in misaligned_fixup()
|
/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/m68k/include/asm/ |
D | bootinfo.h | 240 #define MK_BI_VERSION(major,minor) (((major)<<16)+(minor)) argument
|
/arch/arm/mach-imx/ |
D | mach-qong.c | 38 #define QONG_FPGA_VERSION(major, minor, rev) \ argument 39 (((major & 0xF) << 12) | ((minor & 0xF) << 8) | (rev & 0xFF))
|
/arch/sparc/include/asm/ |
D | hypervisor.h | 2971 unsigned long *major, 2974 unsigned long major, 2978 extern int sun4v_hvapi_register(unsigned long group, unsigned long major, 2982 unsigned long *major,
|
/arch/powerpc/include/asm/ |
D | vdso_datapage.h | 55 __u32 major; /* Major number 0x10 */ member
|
/arch/powerpc/sysdev/ |
D | axonram.c | 229 bank->disk->major = azfs_major; in axon_ram_probe() 282 if (bank->disk->major > 0) in axon_ram_probe() 283 unregister_blkdev(bank->disk->major, in axon_ram_probe()
|
/arch/cris/boot/tools/ |
D | build.c | 126 major_root = major(sb.st_dev); in main() 133 major_root = major(sb.st_rdev); in main()
|
/arch/um/drivers/ |
D | ubd_kern.c | 275 int major; in ubd_setup_common() local 284 major = simple_strtoul(str, &end, 0); in ubd_setup_common() 296 fake_major = major; in ubd_setup_common() 299 major); in ubd_setup_common() 805 static int ubd_disk_register(int major, u64 size, int unit, in ubd_disk_register() argument 814 disk->major = major; in ubd_disk_register() 818 if (major == UBD_MAJOR) in ubd_disk_register() 824 if (major == UBD_MAJOR) { in ubd_disk_register()
|
D | line.h | 22 const short major; member
|
/arch/powerpc/sysdev/qe_lib/ |
D | qe.c | 384 if (ucode->major || ucode->minor || ucode->revision) in qe_upload_microcode() 387 ucode->id, ucode->major, ucode->minor, ucode->revision); in qe_upload_microcode() 488 firmware->soc.major, firmware->soc.minor); in qe_upload_firmware()
|
/arch/um/os-Linux/ |
D | file.c | 565 return major(dev); in os_major() 573 unsigned long long os_makedev(unsigned major, unsigned minor) in os_makedev() argument 575 return makedev(major, minor); in os_makedev()
|