/arch/x86/xen/ |
D | vga.c | 27 if (size < offsetof(struct dom0_vga_console_info, u.text_mode_3) in xen_init_vga() 28 + sizeof(info->u.text_mode_3)) in xen_init_vga() 30 screen_info->orig_video_lines = info->u.text_mode_3.rows; in xen_init_vga() 31 screen_info->orig_video_cols = info->u.text_mode_3.columns; in xen_init_vga() 32 screen_info->orig_x = info->u.text_mode_3.cursor_x; in xen_init_vga() 33 screen_info->orig_y = info->u.text_mode_3.cursor_y; in xen_init_vga() 35 info->u.text_mode_3.font_height; in xen_init_vga() 41 u.vesa_lfb.gbl_caps)) in xen_init_vga() 44 screen_info->lfb_width = info->u.vesa_lfb.width; in xen_init_vga() 45 screen_info->lfb_height = info->u.vesa_lfb.height; in xen_init_vga() [all …]
|
/arch/s390/lib/ |
D | test_unwind.c | 140 struct unwindme *u = unwindme; in pgm_pre_handler() local 142 u->ret = test_unwind(NULL, (u->flags & UWM_REGS) ? regs : NULL, in pgm_pre_handler() 143 (u->flags & UWM_SP) ? u->sp : 0); in pgm_pre_handler() 149 static noinline int unwindme_func4(struct unwindme *u) in unwindme_func4() argument 151 if (!(u->flags & UWM_CALLER)) in unwindme_func4() 152 u->sp = current_frame_address(); in unwindme_func4() 153 if (u->flags & UWM_THREAD) { in unwindme_func4() 154 complete(&u->task_ready); in unwindme_func4() 155 wait_event(u->task_wq, kthread_should_park()); in unwindme_func4() 159 } else if (u->flags & UWM_PGM) { in unwindme_func4() [all …]
|
/arch/sparc/include/asm/ |
D | termios.h | 67 #define user_termios_to_kernel_termios(k, u) \ argument 70 err = get_user((k)->c_iflag, &(u)->c_iflag); \ 71 err |= get_user((k)->c_oflag, &(u)->c_oflag); \ 72 err |= get_user((k)->c_cflag, &(u)->c_cflag); \ 73 err |= get_user((k)->c_lflag, &(u)->c_lflag); \ 74 err |= get_user((k)->c_line, &(u)->c_line); \ 75 err |= copy_from_user((k)->c_cc, (u)->c_cc, NCCS); \ 77 err |= get_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \ 78 err |= get_user((k)->c_cc[VEOL], &(u)->c_cc[VEOL]); \ 80 err |= get_user((k)->c_cc[VMIN], &(u)->c_cc[_VMIN]); \ [all …]
|
/arch/mips/lib/ |
D | bswapdi.c | 5 unsigned long long notrace __bswapdi2(unsigned long long u) in __bswapdi2() argument 7 return (((u) & 0xff00000000000000ull) >> 56) | in __bswapdi2() 8 (((u) & 0x00ff000000000000ull) >> 40) | in __bswapdi2() 9 (((u) & 0x0000ff0000000000ull) >> 24) | in __bswapdi2() 10 (((u) & 0x000000ff00000000ull) >> 8) | in __bswapdi2() 11 (((u) & 0x00000000ff000000ull) << 8) | in __bswapdi2() 12 (((u) & 0x0000000000ff0000ull) << 24) | in __bswapdi2() 13 (((u) & 0x000000000000ff00ull) << 40) | in __bswapdi2() 14 (((u) & 0x00000000000000ffull) << 56); in __bswapdi2()
|
D | bswapsi.c | 5 unsigned int notrace __bswapsi2(unsigned int u) in __bswapsi2() argument 7 return (((u) & 0xff000000) >> 24) | in __bswapsi2() 8 (((u) & 0x00ff0000) >> 8) | in __bswapsi2() 9 (((u) & 0x0000ff00) << 8) | in __bswapsi2() 10 (((u) & 0x000000ff) << 24); in __bswapsi2()
|
/arch/powerpc/kernel/ |
D | mce.c | 66 mce->u.ue_error.ue_error_type = mce_err->u.ue_error_type; in mce_set_error_info() 69 mce->u.slb_error.slb_error_type = mce_err->u.slb_error_type; in mce_set_error_info() 72 mce->u.erat_error.erat_error_type = mce_err->u.erat_error_type; in mce_set_error_info() 75 mce->u.tlb_error.tlb_error_type = mce_err->u.tlb_error_type; in mce_set_error_info() 78 mce->u.user_error.user_error_type = mce_err->u.user_error_type; in mce_set_error_info() 81 mce->u.ra_error.ra_error_type = mce_err->u.ra_error_type; in mce_set_error_info() 84 mce->u.link_error.link_error_type = mce_err->u.link_error_type; in mce_set_error_info() 136 mce->u.ue_error.ignore_event = mce_err->ignore_event; in save_mce_event() 142 mce->u.tlb_error.effective_address_provided = true; in save_mce_event() 143 mce->u.tlb_error.effective_address = addr; in save_mce_event() [all …]
|
D | vecemu.c | 298 vrs[vd].u[i] = eexp2(vrs[vb].u[i]); in emulate_altivec() 302 vrs[vd].u[i] = elog2(vrs[vb].u[i]); in emulate_altivec() 306 vrs[vd].u[i] = rfin(vrs[vb].u[i]); in emulate_altivec() 310 vrs[vd].u[i] = rfiz(vrs[vb].u[i]); in emulate_altivec() 314 u32 x = vrs[vb].u[i]; in emulate_altivec() 316 vrs[vd].u[i] = x; in emulate_altivec() 321 u32 x = vrs[vb].u[i]; in emulate_altivec() 323 vrs[vd].u[i] = x; in emulate_altivec() 328 vrs[vd].u[i] = ctuxs(vrs[vb].u[i], va, in emulate_altivec() 329 ¤t->thread.vr_state.vscr.u[3]); in emulate_altivec() [all …]
|
/arch/arm/plat-orion/ |
D | time.c | 77 u32 u; in orion_clkevt_next_event() local 89 u = readl(bridge_base + BRIDGE_MASK_OFF); in orion_clkevt_next_event() 90 u |= BRIDGE_INT_TIMER1; in orion_clkevt_next_event() 91 writel(u, bridge_base + BRIDGE_MASK_OFF); in orion_clkevt_next_event() 101 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_next_event() 102 u = (u & ~TIMER1_RELOAD_EN) | TIMER1_EN; in orion_clkevt_next_event() 103 writel(u, timer_base + TIMER_CTRL_OFF); in orion_clkevt_next_event() 113 u32 u; in orion_clkevt_shutdown() local 118 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_shutdown() 119 writel(u & ~TIMER1_EN, timer_base + TIMER_CTRL_OFF); in orion_clkevt_shutdown() [all …]
|
/arch/x86/kvm/ |
D | xen.c | 273 if (!IS_ENABLED(CONFIG_64BIT) && data->u.long_mode) { in kvm_xen_hvm_set_attr() 276 kvm->arch.xen.long_mode = !!data->u.long_mode; in kvm_xen_hvm_set_attr() 282 if (data->u.shared_info.gfn == GPA_INVALID) { in kvm_xen_hvm_set_attr() 287 r = kvm_xen_shared_info_init(kvm, data->u.shared_info.gfn); in kvm_xen_hvm_set_attr() 292 if (data->u.vector && data->u.vector < 0x10) in kvm_xen_hvm_set_attr() 295 kvm->arch.xen.upcall_vector = data->u.vector; in kvm_xen_hvm_set_attr() 316 data->u.long_mode = kvm->arch.xen.long_mode; in kvm_xen_hvm_get_attr() 321 data->u.shared_info.gfn = kvm->arch.xen.shinfo_gfn; in kvm_xen_hvm_get_attr() 326 data->u.vector = kvm->arch.xen.upcall_vector; in kvm_xen_hvm_get_attr() 353 if (data->u.gpa == GPA_INVALID) { in kvm_xen_vcpu_set_attr() [all …]
|
/arch/arm/kernel/ |
D | atags_parse.c | 56 if ((tag->u.core.flags & 1) == 0) in parse_tag_core() 58 ROOT_DEV = old_decode_dev(tag->u.core.rootdev); in parse_tag_core() 67 return arm_add_memory(tag->u.mem.start, tag->u.mem.size); in parse_tag_mem32() 75 screen_info.orig_x = tag->u.videotext.x; in parse_tag_videotext() 76 screen_info.orig_y = tag->u.videotext.y; in parse_tag_videotext() 77 screen_info.orig_video_page = tag->u.videotext.video_page; in parse_tag_videotext() 78 screen_info.orig_video_mode = tag->u.videotext.video_mode; in parse_tag_videotext() 79 screen_info.orig_video_cols = tag->u.videotext.video_cols; in parse_tag_videotext() 80 screen_info.orig_video_ega_bx = tag->u.videotext.video_ega_bx; in parse_tag_videotext() 81 screen_info.orig_video_lines = tag->u.videotext.video_lines; in parse_tag_videotext() [all …]
|
D | atags_compat.c | 86 tag->u.mem.size = size; in memtag() 87 tag->u.mem.start = start; in memtag() 121 tag->u.core.flags = params->u1.s.flags & FLAG_READONLY; in build_tag_list() 122 tag->u.core.pagesize = params->u1.s.page_size; in build_tag_list() 123 tag->u.core.rootdev = params->u1.s.rootdev; in build_tag_list() 128 tag->u.ramdisk.flags = (params->u1.s.flags & FLAG_RDLOAD ? 1 : 0) | in build_tag_list() 130 tag->u.ramdisk.size = params->u1.s.ramdisk_size; in build_tag_list() 131 tag->u.ramdisk.start = params->u1.s.rd_start; in build_tag_list() 136 tag->u.initrd.start = params->u1.s.initrd_start; in build_tag_list() 137 tag->u.initrd.size = params->u1.s.initrd_size; in build_tag_list() [all …]
|
/arch/ia64/include/asm/ |
D | termios.h | 53 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) argument 54 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) argument 55 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) argument 56 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
|
/arch/parisc/include/asm/ |
D | termios.h | 47 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) argument 48 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) argument 49 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) argument 50 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
|
/arch/arm/mm/ |
D | cache-tauros2.c | 140 u32 u; in read_extra_features() local 142 __asm__("mrc p15, 1, %0, c15, c1, 0" : "=r" (u)); in read_extra_features() 144 return u; in read_extra_features() 147 static inline void __init write_extra_features(u32 u) in write_extra_features() argument 149 __asm__("mcr p15, 1, %0, c15, c1, 0" : : "r" (u)); in write_extra_features() 182 u32 u; in enable_extra_feature() local 184 u = read_extra_features(); in enable_extra_feature() 187 u &= ~CCR_L2C_PREFETCH_DISABLE; in enable_extra_feature() 189 u |= CCR_L2C_PREFETCH_DISABLE; in enable_extra_feature() 195 u |= CCR_L2C_BURST8_ENABLE; in enable_extra_feature() [all …]
|
D | cache-feroceon-l2.c | 291 u32 u; in read_extra_features() local 293 __asm__("mrc p15, 1, %0, c15, c1, 0" : "=r" (u)); in read_extra_features() 295 return u; in read_extra_features() 298 static inline void write_extra_features(u32 u) in write_extra_features() argument 300 __asm__("mcr p15, 1, %0, c15, c1, 0" : : "r" (u)); in write_extra_features() 305 u32 u; in disable_l2_prefetch() local 311 u = read_extra_features(); in disable_l2_prefetch() 312 if (!(u & 0x01000000)) { in disable_l2_prefetch() 314 write_extra_features(u | 0x01000000); in disable_l2_prefetch() 320 u32 u; in enable_l2() local [all …]
|
/arch/um/kernel/skas/ |
D | mmu.c | 34 to_mm->id.u.pid = copy_context_skas0(stack, in init_new_context() 35 from_mm->id.u.pid); in init_new_context() 36 else to_mm->id.u.pid = start_userspace(stack); in init_new_context() 39 if (to_mm->id.u.pid < 0) { in init_new_context() 40 ret = to_mm->id.u.pid; in init_new_context() 70 if (mmu->id.u.pid < 2) { in destroy_context() 72 mmu->id.u.pid); in destroy_context() 75 os_kill_ptraced_process(mmu->id.u.pid, 1); in destroy_context()
|
/arch/m68k/lib/ |
D | muldi3.c | 28 #define umul_ppmm(w1, w0, u, v) \ argument 33 __ul = __ll_lowpart (u); \ 34 __uh = __ll_highpart (u); \ 54 #define umul_ppmm(w1, w0, u, v) \ argument 58 : "%0" ((USItype)(u)), \ 63 #define __umulsidi3(u, v) \ argument 65 umul_ppmm (__w.s.high, __w.s.low, u, v); \ 82 __muldi3 (DItype u, DItype v) in __muldi3() argument 87 uu.ll = u, in __muldi3()
|
/arch/powerpc/platforms/powernv/ |
D | opal-hmi.c | 74 if (!hmi_evt->u.xstop_error.xstop_reason) { in print_core_checkstop_reason() 80 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); in print_core_checkstop_reason() 82 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_core_checkstop_reason() 125 if (!hmi_evt->u.xstop_error.xstop_reason) { in print_nx_checkstop_reason() 131 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); in print_nx_checkstop_reason() 133 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & in print_nx_checkstop_reason() 149 if (!hmi_evt->u.xstop_error.xstop_reason) { in print_npu_checkstop_reason() 151 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); in print_npu_checkstop_reason() 165 reason_count = sizeof(hmi_evt->u.xstop_error.xstop_reason) / in print_npu_checkstop_reason() 168 reason = (hmi_evt->u.xstop_error.xstop_reason >> (8 * i)) & 0xFF; in print_npu_checkstop_reason() [all …]
|
/arch/um/kernel/ |
D | tlb.c | 37 } u; member 73 ret = map(&hvc->mm->context.id, op->u.mmap.addr, in do_ops() 74 op->u.mmap.len, op->u.mmap.prot, in do_ops() 75 op->u.mmap.fd, in do_ops() 76 op->u.mmap.offset, finished, in do_ops() 79 map_memory(op->u.mmap.addr, op->u.mmap.offset, in do_ops() 80 op->u.mmap.len, 1, 1, 1); in do_ops() 85 op->u.munmap.addr, in do_ops() 86 op->u.munmap.len, finished, in do_ops() 90 (void *) op->u.munmap.addr, in do_ops() [all …]
|
/arch/mips/include/asm/ |
D | termios.h | 82 struct termios2 *u) in user_termios_to_kernel_termios() argument 84 return copy_from_user(k, u, sizeof(struct termios2)) ? -EFAULT : 0; in user_termios_to_kernel_termios() 87 static inline int kernel_termios_to_user_termios(struct termios2 __user *u, in kernel_termios_to_user_termios() argument 90 return copy_to_user(u, k, sizeof(struct termios2)) ? -EFAULT : 0; in kernel_termios_to_user_termios() 94 struct termios __user *u) in user_termios_to_kernel_termios_1() argument 96 return copy_from_user(k, u, sizeof(struct termios)) ? -EFAULT : 0; in user_termios_to_kernel_termios_1() 99 static inline int kernel_termios_to_user_termios_1(struct termios __user *u, in kernel_termios_to_user_termios_1() argument 102 return copy_to_user(u, k, sizeof(struct termios)) ? -EFAULT : 0; in kernel_termios_to_user_termios_1()
|
/arch/microblaze/lib/ |
D | muldi3.c | 14 #define umul_ppmm(w1, w0, u, v) \ argument 19 __ul = __ll_lowpart(u); \ 20 __uh = __ll_highpart(u); \ 40 #define __umulsidi3(u, v) ({ \ argument 42 umul_ppmm(__w.s.high, __w.s.low, u, v); \ 47 long long __muldi3(long long u, long long v) in __muldi3() argument 49 const DWunion uu = {.ll = u}; in __muldi3()
|
/arch/s390/include/asm/ |
D | termios.h | 21 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) argument 22 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) argument
|
/arch/arm/nwfpe/ |
D | double_cpdo.c | 63 union float64_components u; in float64_mnf() local 65 u.f64 = rFm; in float64_mnf() 67 u.i[0] ^= 0x80000000; in float64_mnf() 69 u.i[1] ^= 0x80000000; in float64_mnf() 72 return u.f64; in float64_mnf() 77 union float64_components u; in float64_abs() local 79 u.f64 = rFm; in float64_abs() 81 u.i[0] &= 0x7fffffff; in float64_abs() 83 u.i[1] &= 0x7fffffff; in float64_abs() 86 return u.f64; in float64_abs()
|
/arch/mips/boot/dts/brcm/ |
D | bcm63268-comtrend-vr-3032u.dts | 7 compatible = "comtrend,vr-3032u", "brcm,bcm63268"; 8 model = "Comtrend VR-3032u"; 42 label = "vr-3032u:red:inet"; 47 label = "vr-3032u:green:dsl"; 52 label = "vr-3032u:green:usb"; 57 label = "vr-3032u:green:wps"; 62 label = "vr-3032u:green:inet"; 102 label = "vr-3032u:green:power";
|
/arch/h8300/lib/ |
D | muldi3.c | 8 #define umul_ppmm(w1, w0, u, v) \ argument 12 __ul = __ll_lowpart(u); \ 13 __uh = __ll_highpart(u); \ 28 #define __umulsidi3(u, v) ( \ argument 31 umul_ppmm(__w.s.high, __w.s.low, u, v); \ 35 DWtype __muldi3(DWtype u, DWtype v) in __muldi3() argument 37 const DWunion uu = {.ll = u}; in __muldi3()
|