Home
last modified time | relevance | path

Searched refs:u (Results 1 – 25 of 412) sorted by relevance

12345678910>>...17

/arch/x86/xen/
Dvga.c27 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/sparc/include/asm/
Dtermios.h66 #define user_termios_to_kernel_termios(k, u) \ argument
69 err = get_user((k)->c_iflag, &(u)->c_iflag); \
70 err |= get_user((k)->c_oflag, &(u)->c_oflag); \
71 err |= get_user((k)->c_cflag, &(u)->c_cflag); \
72 err |= get_user((k)->c_lflag, &(u)->c_lflag); \
73 err |= get_user((k)->c_line, &(u)->c_line); \
74 err |= copy_from_user((k)->c_cc, (u)->c_cc, NCCS); \
76 err |= get_user((k)->c_cc[VEOF], &(u)->c_cc[VEOF]); \
77 err |= get_user((k)->c_cc[VEOL], &(u)->c_cc[VEOL]); \
79 err |= get_user((k)->c_cc[VMIN], &(u)->c_cc[_VMIN]); \
[all …]
/arch/powerpc/kernel/
Dmce.c50 mce->u.ue_error.ue_error_type = mce_err->u.ue_error_type; in mce_set_error_info()
53 mce->u.slb_error.slb_error_type = mce_err->u.slb_error_type; in mce_set_error_info()
56 mce->u.erat_error.erat_error_type = mce_err->u.erat_error_type; in mce_set_error_info()
59 mce->u.tlb_error.tlb_error_type = mce_err->u.tlb_error_type; in mce_set_error_info()
112 mce->u.tlb_error.effective_address_provided = true; in save_mce_event()
113 mce->u.tlb_error.effective_address = addr; in save_mce_event()
115 mce->u.slb_error.effective_address_provided = true; in save_mce_event()
116 mce->u.slb_error.effective_address = addr; in save_mce_event()
118 mce->u.erat_error.effective_address_provided = true; in save_mce_event()
119 mce->u.erat_error.effective_address = addr; in save_mce_event()
[all …]
Dvecemu.c292 vrs[vd].u[i] = eexp2(vrs[vb].u[i]); in emulate_altivec()
296 vrs[vd].u[i] = elog2(vrs[vb].u[i]); in emulate_altivec()
300 vrs[vd].u[i] = rfin(vrs[vb].u[i]); in emulate_altivec()
304 vrs[vd].u[i] = rfiz(vrs[vb].u[i]); in emulate_altivec()
308 u32 x = vrs[vb].u[i]; in emulate_altivec()
310 vrs[vd].u[i] = x; in emulate_altivec()
315 u32 x = vrs[vb].u[i]; in emulate_altivec()
317 vrs[vd].u[i] = x; in emulate_altivec()
322 vrs[vd].u[i] = ctuxs(vrs[vb].u[i], va, in emulate_altivec()
323 &current->thread.vr_state.vscr.u[3]); in emulate_altivec()
[all …]
Dmce_power.c142 mce_err->u.slb_error_type = MCE_SLB_ERROR_PARITY; in mce_get_common_ierror()
146 mce_err->u.slb_error_type = MCE_SLB_ERROR_MULTIHIT; in mce_get_common_ierror()
150 mce_err->u.tlb_error_type = MCE_TLB_ERROR_MULTIHIT; in mce_get_common_ierror()
155 mce_err->u.ue_error_type = MCE_UE_ERROR_IFETCH; in mce_get_common_ierror()
159 mce_err->u.ue_error_type = in mce_get_common_ierror()
170 mce_err->u.slb_error_type = MCE_SLB_ERROR_INDETERMINATE; in mce_get_ierror_p7()
178 mce_err->u.ue_error_type = MCE_UE_ERROR_LOAD_STORE; in mce_get_derror_p7()
181 mce_err->u.ue_error_type = in mce_get_derror_p7()
185 mce_err->u.erat_error_type = MCE_ERAT_ERROR_MULTIHIT; in mce_get_derror_p7()
188 mce_err->u.slb_error_type = MCE_SLB_ERROR_MULTIHIT; in mce_get_derror_p7()
[all …]
/arch/arm/plat-orion/
Dtime.c76 u32 u; in orion_clkevt_next_event() local
88 u = readl(bridge_base + BRIDGE_MASK_OFF); in orion_clkevt_next_event()
89 u |= BRIDGE_INT_TIMER1; in orion_clkevt_next_event()
90 writel(u, bridge_base + BRIDGE_MASK_OFF); in orion_clkevt_next_event()
100 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_next_event()
101 u = (u & ~TIMER1_RELOAD_EN) | TIMER1_EN; in orion_clkevt_next_event()
102 writel(u, timer_base + TIMER_CTRL_OFF); in orion_clkevt_next_event()
113 u32 u; in orion_clkevt_mode() local
126 u = readl(bridge_base + BRIDGE_MASK_OFF); in orion_clkevt_mode()
127 writel(u | BRIDGE_INT_TIMER1, bridge_base + BRIDGE_MASK_OFF); in orion_clkevt_mode()
[all …]
/arch/arm/kernel/
Datags_parse.c57 if ((tag->u.core.flags & 1) == 0) in parse_tag_core()
59 ROOT_DEV = old_decode_dev(tag->u.core.rootdev); in parse_tag_core()
68 return arm_add_memory(tag->u.mem.start, tag->u.mem.size); in parse_tag_mem32()
76 screen_info.orig_x = tag->u.videotext.x; in parse_tag_videotext()
77 screen_info.orig_y = tag->u.videotext.y; in parse_tag_videotext()
78 screen_info.orig_video_page = tag->u.videotext.video_page; in parse_tag_videotext()
79 screen_info.orig_video_mode = tag->u.videotext.video_mode; in parse_tag_videotext()
80 screen_info.orig_video_cols = tag->u.videotext.video_cols; in parse_tag_videotext()
81 screen_info.orig_video_ega_bx = tag->u.videotext.video_ega_bx; in parse_tag_videotext()
82 screen_info.orig_video_lines = tag->u.videotext.video_lines; in parse_tag_videotext()
[all …]
Datags_compat.c89 tag->u.mem.size = size; in memtag()
90 tag->u.mem.start = start; in memtag()
126 tag->u.core.flags = params->u1.s.flags & FLAG_READONLY; in build_tag_list()
127 tag->u.core.pagesize = params->u1.s.page_size; in build_tag_list()
128 tag->u.core.rootdev = params->u1.s.rootdev; in build_tag_list()
133 tag->u.ramdisk.flags = (params->u1.s.flags & FLAG_RDLOAD ? 1 : 0) | in build_tag_list()
135 tag->u.ramdisk.size = params->u1.s.ramdisk_size; in build_tag_list()
136 tag->u.ramdisk.start = params->u1.s.rd_start; in build_tag_list()
141 tag->u.initrd.start = params->u1.s.initrd_start; in build_tag_list()
142 tag->u.initrd.size = params->u1.s.initrd_size; in build_tag_list()
[all …]
/arch/arm/mach-dove/
Dirq.c27 u32 u; in pmu_irq_mask() local
29 u = readl(PMU_INTERRUPT_MASK); in pmu_irq_mask()
30 u &= ~(1 << (pin & 31)); in pmu_irq_mask()
31 writel(u, PMU_INTERRUPT_MASK); in pmu_irq_mask()
37 u32 u; in pmu_irq_unmask() local
39 u = readl(PMU_INTERRUPT_MASK); in pmu_irq_unmask()
40 u |= 1 << (pin & 31); in pmu_irq_unmask()
41 writel(u, PMU_INTERRUPT_MASK); in pmu_irq_unmask()
47 u32 u; in pmu_irq_ack() local
60 u = ~(1 << (pin & 31)); in pmu_irq_ack()
[all …]
/arch/mips/include/asm/
Dcompat-signal.h36 } *u = (union sigset_u *) d; in __copy_conv_sigset_from_user() local
42 err = __get_user(u->c.sig[1], &s->sig[0]); in __copy_conv_sigset_from_user()
43 err |= __get_user(u->c.sig[0], &s->sig[1]); in __copy_conv_sigset_from_user()
44 err |= __get_user(u->c.sig[3], &s->sig[2]); in __copy_conv_sigset_from_user()
45 err |= __get_user(u->c.sig[2], &s->sig[3]); in __copy_conv_sigset_from_user()
48 err = __get_user(u->c.sig[0], &s->sig[0]); in __copy_conv_sigset_from_user()
49 err |= __get_user(u->c.sig[1], &s->sig[1]); in __copy_conv_sigset_from_user()
50 err |= __get_user(u->c.sig[2], &s->sig[2]); in __copy_conv_sigset_from_user()
51 err |= __get_user(u->c.sig[3], &s->sig[3]); in __copy_conv_sigset_from_user()
Dtermios.h82 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/parisc/include/asm/
Dtermios.h46 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) argument
47 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) argument
48 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) argument
49 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
/arch/ia64/include/asm/
Dtermios.h52 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) argument
53 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) argument
54 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) argument
55 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
/arch/m32r/include/asm/
Dtermios.h46 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) argument
47 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) argument
48 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) argument
49 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
Duser.h48 #define HOST_TEXT_START_ADDR (u.start_code)
49 #define HOST_DATA_START_ADDR (u.start_data)
50 #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
/arch/cris/include/asm/
Dtermios.h46 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) argument
47 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) argument
48 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) argument
49 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
Duser.h48 #define HOST_TEXT_START_ADDR (u.start_code)
49 #define HOST_DATA_START_ADDR (u.start_data)
50 #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
/arch/arm/mm/
Dcache-tauros2.c138 u32 u; in read_extra_features() local
140 __asm__("mrc p15, 1, %0, c15, c1, 0" : "=r" (u)); in read_extra_features()
142 return u; in read_extra_features()
145 static inline void __init write_extra_features(u32 u) in write_extra_features() argument
147 __asm__("mcr p15, 1, %0, c15, c1, 0" : : "r" (u)); in write_extra_features()
180 u32 u; in enable_extra_feature() local
182 u = read_extra_features(); in enable_extra_feature()
185 u &= ~0x01000000; in enable_extra_feature()
187 u |= 0x01000000; in enable_extra_feature()
193 u |= 0x00100000; in enable_extra_feature()
[all …]
/arch/mn10300/include/uapi/asm/
Dtermios.h74 #define user_termios_to_kernel_termios(k, u) \ argument
75 copy_from_user(k, u, sizeof(struct termios2))
76 #define kernel_termios_to_user_termios(u, k) \ argument
77 copy_to_user(u, k, sizeof(struct termios2))
78 #define user_termios_to_kernel_termios_1(k, u) \ argument
79 copy_from_user(k, u, sizeof(struct termios))
80 #define kernel_termios_to_user_termios_1(u, k) \ argument
81 copy_to_user(u, k, sizeof(struct termios))
/arch/m68k/lib/
Dmuldi3.c30 #define umul_ppmm(w1, w0, u, v) \ argument
35 __ul = __ll_lowpart (u); \
36 __uh = __ll_highpart (u); \
56 #define umul_ppmm(w1, w0, u, v) \ argument
60 : "%0" ((USItype)(u)), \
65 #define __umulsidi3(u, v) \ argument
67 umul_ppmm (__w.s.high, __w.s.low, u, v); \
84 __muldi3 (DItype u, DItype v) in __muldi3() argument
89 uu.ll = u, in __muldi3()
/arch/s390/include/asm/
Dtermios.h20 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) argument
21 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) argument
/arch/sh/kernel/
Dhead_64.S154 ptabs/u ZERO, tr0
155 ptabs/u ZERO, tr1
156 ptabs/u ZERO, tr2
157 ptabs/u ZERO, tr3
158 ptabs/u ZERO, tr4
159 ptabs/u ZERO, tr5
160 ptabs/u ZERO, tr6
161 ptabs/u ZERO, tr7
277 pta/u hopeless, tr1
278 pta/u hopeless, tr2
[all …]
/arch/microblaze/lib/
Dmuldi3.c13 #define umul_ppmm(w1, w0, u, v) \ argument
18 __ul = __ll_lowpart(u); \
19 __uh = __ll_highpart(u); \
39 #define __umulsidi3(u, v) ({ \ argument
41 umul_ppmm(__w.s.high, __w.s.low, u, v); \
46 long long __muldi3(long long u, long long v) in __muldi3() argument
48 const DWunion uu = {.ll = u}; in __muldi3()
/arch/arm/nwfpe/
Ddouble_cpdo.c75 union float64_components u; in float64_mnf() local
77 u.f64 = rFm; in float64_mnf()
79 u.i[0] ^= 0x80000000; in float64_mnf()
81 u.i[1] ^= 0x80000000; in float64_mnf()
84 return u.f64; in float64_mnf()
89 union float64_components u; in float64_abs() local
91 u.f64 = rFm; in float64_abs()
93 u.i[0] &= 0x7fffffff; in float64_abs()
95 u.i[1] &= 0x7fffffff; in float64_abs()
98 return u.f64; in float64_abs()
/arch/powerpc/include/asm/
Duser.h48 #define HOST_TEXT_START_ADDR (u.start_code)
49 #define HOST_DATA_START_ADDR (u.start_data)
50 #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)

12345678910>>...17