Home
last modified time | relevance | path

Searched refs:frame (Results 1 – 25 of 1237) sorted by relevance

12345678910>>...50

/linux-6.6.21/drivers/video/
Dhdmi.c58 void hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame) in hdmi_avi_infoframe_init() argument
60 memset(frame, 0, sizeof(*frame)); in hdmi_avi_infoframe_init()
62 frame->type = HDMI_INFOFRAME_TYPE_AVI; in hdmi_avi_infoframe_init()
63 frame->version = 2; in hdmi_avi_infoframe_init()
64 frame->length = HDMI_AVI_INFOFRAME_SIZE; in hdmi_avi_infoframe_init()
68 static int hdmi_avi_infoframe_check_only(const struct hdmi_avi_infoframe *frame) in hdmi_avi_infoframe_check_only() argument
70 if (frame->type != HDMI_INFOFRAME_TYPE_AVI || in hdmi_avi_infoframe_check_only()
71 frame->version != 2 || in hdmi_avi_infoframe_check_only()
72 frame->length != HDMI_AVI_INFOFRAME_SIZE) in hdmi_avi_infoframe_check_only()
75 if (frame->picture_aspect > HDMI_PICTURE_ASPECT_16_9) in hdmi_avi_infoframe_check_only()
[all …]
/linux-6.6.21/arch/arm/kernel/
Dstacktrace.c47 static int frame_pointer_check(struct stackframe *frame) in frame_pointer_check() argument
50 unsigned long fp = frame->fp; in frame_pointer_check()
51 unsigned long pc = frame->pc; in frame_pointer_check()
63 low = frame->sp; in frame_pointer_check()
78 int notrace unwind_frame(struct stackframe *frame) in unwind_frame() argument
80 unsigned long fp = frame->fp; in unwind_frame()
82 if (frame_pointer_check(frame)) in unwind_frame()
89 if (frame->ex_frame) { in unwind_frame()
90 struct pt_regs *regs = (struct pt_regs *)frame->sp; in unwind_frame()
98 if ((unsigned long)&regs[1] > ALIGN(frame->sp, THREAD_SIZE)) in unwind_frame()
[all …]
Dunwind.c406 int unwind_frame(struct stackframe *frame) in unwind_frame() argument
413 sp_low = frame->sp; in unwind_frame()
418 frame->pc, frame->lr, frame->sp); in unwind_frame()
420 idx = unwind_find_idx(frame->pc); in unwind_frame()
422 if (frame->pc && kernel_text_address(frame->pc)) { in unwind_frame()
423 if (in_module_plt(frame->pc) && frame->pc != frame->lr) { in unwind_frame()
429 frame->pc = frame->lr; in unwind_frame()
432 pr_warn("unwind: Index not found %08lx\n", frame->pc); in unwind_frame()
437 ctrl.vrs[FP] = frame->fp; in unwind_frame()
438 ctrl.vrs[SP] = frame->sp; in unwind_frame()
[all …]
Dsignal.c31 static int preserve_iwmmxt_context(struct iwmmxt_sigframe __user *frame) in preserve_iwmmxt_context() argument
33 char kbuf[sizeof(*frame) + 8]; in preserve_iwmmxt_context()
57 err = __copy_to_user(frame, kframe, sizeof(*kframe)); in preserve_iwmmxt_context()
64 struct iwmmxt_sigframe __user *frame = in restore_iwmmxt_context() local
66 char kbuf[sizeof(*frame) + 8]; in restore_iwmmxt_context()
71 if (__copy_from_user(kframe, frame, sizeof(*frame))) in restore_iwmmxt_context()
102 static int preserve_vfp_context(struct vfp_sigframe __user *frame) in preserve_vfp_context() argument
115 return __copy_to_user(frame, &kframe, sizeof(kframe)); in preserve_vfp_context()
120 struct vfp_sigframe frame; in restore_vfp_context() local
123 err = __copy_from_user(&frame, *auxp, sizeof(frame)); in restore_vfp_context()
[all …]
/linux-6.6.21/net/lapb/
Dlapb_in.c40 struct lapb_frame *frame) in lapb_state0_machine() argument
42 switch (frame->type) { in lapb_state0_machine()
44 lapb_dbg(1, "(%p) S0 RX SABM(%d)\n", lapb->dev, frame->pf); in lapb_state0_machine()
47 lapb->dev, frame->pf); in lapb_state0_machine()
48 lapb_send_control(lapb, LAPB_DM, frame->pf, in lapb_state0_machine()
52 lapb->dev, frame->pf); in lapb_state0_machine()
54 lapb_send_control(lapb, LAPB_UA, frame->pf, in lapb_state0_machine()
69 lapb_dbg(1, "(%p) S0 RX SABME(%d)\n", lapb->dev, frame->pf); in lapb_state0_machine()
72 lapb->dev, frame->pf); in lapb_state0_machine()
74 lapb_send_control(lapb, LAPB_UA, frame->pf, in lapb_state0_machine()
[all …]
Dlapb_subr.c107 struct lapb_frame *frame) in lapb_decode() argument
109 frame->type = LAPB_ILLEGAL; in lapb_decode()
122 frame->cr = LAPB_COMMAND; in lapb_decode()
124 frame->cr = LAPB_RESPONSE; in lapb_decode()
127 frame->cr = LAPB_COMMAND; in lapb_decode()
129 frame->cr = LAPB_RESPONSE; in lapb_decode()
134 frame->cr = LAPB_COMMAND; in lapb_decode()
136 frame->cr = LAPB_RESPONSE; in lapb_decode()
139 frame->cr = LAPB_COMMAND; in lapb_decode()
141 frame->cr = LAPB_RESPONSE; in lapb_decode()
[all …]
/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c38 static void frame_init_single_plane(struct ia_css_frame *frame,
45 struct ia_css_frame *frame,
51 static void frame_init_nv_planes(struct ia_css_frame *frame,
56 static void frame_init_yuv_planes(struct ia_css_frame *frame,
62 static void frame_init_rgb_planes(struct ia_css_frame *frame,
65 static void frame_init_qplane6_planes(struct ia_css_frame *frame);
67 static int frame_allocate_buffer_data(struct ia_css_frame *frame);
69 static int frame_allocate_with_data(struct ia_css_frame **frame,
91 int ia_css_frame_allocate_from_info(struct ia_css_frame **frame, in ia_css_frame_allocate_from_info() argument
96 if (!frame || !info) in ia_css_frame_allocate_from_info()
[all …]
/linux-6.6.21/net/hsr/
Dhsr_forward.c121 struct hsr_frame_info *frame) in create_stripped_skb_hsr() argument
139 if (frame->is_vlan) in create_stripped_skb_hsr()
149 struct sk_buff *hsr_get_untagged_frame(struct hsr_frame_info *frame, in hsr_get_untagged_frame() argument
152 if (!frame->skb_std) { in hsr_get_untagged_frame()
153 if (frame->skb_hsr) in hsr_get_untagged_frame()
154 frame->skb_std = in hsr_get_untagged_frame()
155 create_stripped_skb_hsr(frame->skb_hsr, frame); in hsr_get_untagged_frame()
160 if (!frame->skb_std) in hsr_get_untagged_frame()
164 return skb_clone(frame->skb_std, GFP_ATOMIC); in hsr_get_untagged_frame()
167 struct sk_buff *prp_get_untagged_frame(struct hsr_frame_info *frame, in prp_get_untagged_frame() argument
[all …]
/linux-6.6.21/drivers/gpu/drm/display/
Ddrm_hdmi_helper.c25 int drm_hdmi_infoframe_set_hdr_metadata(struct hdmi_drm_infoframe *frame, in drm_hdmi_infoframe_set_hdr_metadata() argument
32 if (!frame || !conn_state) in drm_hdmi_infoframe_set_hdr_metadata()
50 err = hdmi_drm_infoframe_init(frame); in drm_hdmi_infoframe_set_hdr_metadata()
54 frame->eotf = hdr_metadata->hdmi_metadata_type1.eotf; in drm_hdmi_infoframe_set_hdr_metadata()
55 frame->metadata_type = hdr_metadata->hdmi_metadata_type1.metadata_type; in drm_hdmi_infoframe_set_hdr_metadata()
57 BUILD_BUG_ON(sizeof(frame->display_primaries) != in drm_hdmi_infoframe_set_hdr_metadata()
59 BUILD_BUG_ON(sizeof(frame->white_point) != in drm_hdmi_infoframe_set_hdr_metadata()
62 memcpy(&frame->display_primaries, in drm_hdmi_infoframe_set_hdr_metadata()
64 sizeof(frame->display_primaries)); in drm_hdmi_infoframe_set_hdr_metadata()
66 memcpy(&frame->white_point, in drm_hdmi_infoframe_set_hdr_metadata()
[all …]
/linux-6.6.21/arch/sh/kernel/
Dsignal_32.c158 struct sigframe __user *frame = (struct sigframe __user *)regs->regs[15]; in sys_sigreturn() local
165 if (!access_ok(frame, sizeof(*frame))) in sys_sigreturn()
168 if (__get_user(set.sig[0], &frame->sc.oldmask) in sys_sigreturn()
170 && __copy_from_user(&set.sig[1], &frame->extramask, in sys_sigreturn()
171 sizeof(frame->extramask)))) in sys_sigreturn()
176 if (restore_sigcontext(regs, &frame->sc, &r0)) in sys_sigreturn()
188 struct rt_sigframe __user *frame = (struct rt_sigframe __user *)regs->regs[15]; in sys_rt_sigreturn() local
195 if (!access_ok(frame, sizeof(*frame))) in sys_rt_sigreturn()
198 if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) in sys_rt_sigreturn()
203 if (restore_sigcontext(regs, &frame->uc.uc_mcontext, &r0)) in sys_rt_sigreturn()
[all …]
/linux-6.6.21/arch/mips/kernel/
Dsignal_o32.c117 struct sigframe32 __user *frame; in setup_frame_32() local
120 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_frame_32()
121 if (!access_ok(frame, sizeof (*frame))) in setup_frame_32()
124 err |= setup_sigcontext32(regs, &frame->sf_sc); in setup_frame_32()
125 err |= __copy_conv_sigset_to_user(&frame->sf_mask, set); in setup_frame_32()
142 regs->regs[ 6] = (unsigned long) &frame->sf_sc; in setup_frame_32()
143 regs->regs[29] = (unsigned long) frame; in setup_frame_32()
149 frame, regs->cp0_epc, regs->regs[31]); in setup_frame_32()
156 struct rt_sigframe32 __user *frame; in sys32_rt_sigreturn() local
162 frame = (struct rt_sigframe32 __user *)regs->regs[29]; in sys32_rt_sigreturn()
[all …]
Dsignal_n32.c55 struct rt_sigframe_n32 __user *frame; in sysn32_rt_sigreturn() local
61 frame = (struct rt_sigframe_n32 __user *)regs->regs[29]; in sysn32_rt_sigreturn()
62 if (!access_ok(frame, sizeof(*frame))) in sysn32_rt_sigreturn()
64 if (__copy_conv_sigset_from_user(&set, &frame->rs_uc.uc_sigmask)) in sysn32_rt_sigreturn()
69 sig = restore_sigcontext(regs, &frame->rs_uc.uc_mcontext); in sysn32_rt_sigreturn()
75 if (compat_restore_altstack(&frame->rs_uc.uc_stack)) in sysn32_rt_sigreturn()
95 struct rt_sigframe_n32 __user *frame; in setup_rt_frame_n32() local
98 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame_n32()
99 if (!access_ok(frame, sizeof (*frame))) in setup_rt_frame_n32()
103 err |= copy_siginfo_to_user32(&frame->rs_info, &ksig->info); in setup_rt_frame_n32()
[all …]
/linux-6.6.21/arch/xtensa/kernel/
Dstacktrace.c28 int (*ufn)(struct stackframe *frame, void *data), in xtensa_backtrace_user() argument
36 struct stackframe frame; in xtensa_backtrace_user() local
42 frame.pc = pc; in xtensa_backtrace_user()
43 frame.sp = a1; in xtensa_backtrace_user()
45 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user()
80 frame.pc = pc; in xtensa_backtrace_user()
81 frame.sp = a1; in xtensa_backtrace_user()
83 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user()
107 frame.pc = pc; in xtensa_backtrace_user()
108 frame.sp = a1; in xtensa_backtrace_user()
[all …]
Dsignal.c144 setup_sigcontext(struct rt_sigframe __user *frame, struct pt_regs *regs) in setup_sigcontext() argument
146 struct sigcontext __user *sc = &frame->uc.uc_mcontext; in setup_sigcontext()
168 err |= __copy_to_user(&frame->xtregs.cp, &ti->xtregs_cp, in setup_sigcontext()
169 sizeof (frame->xtregs.cp)); in setup_sigcontext()
171 err |= __copy_to_user(&frame->xtregs.opt, &regs->xtregs_opt, in setup_sigcontext()
173 err |= __copy_to_user(&frame->xtregs.user, &ti->xtregs_user, in setup_sigcontext()
176 err |= __put_user(err ? NULL : &frame->xtregs, &sc->sc_xtregs); in setup_sigcontext()
182 restore_sigcontext(struct pt_regs *regs, struct rt_sigframe __user *frame) in restore_sigcontext() argument
184 struct sigcontext __user *sc = &frame->uc.uc_mcontext; in restore_sigcontext()
232 err |= __copy_from_user(&ti->xtregs_cp, &frame->xtregs.cp, in restore_sigcontext()
[all …]
/linux-6.6.21/arch/x86/um/
Dsignal.c364 struct sigframe __user *frame; in setup_signal_stack_sc() local
370 frame = (struct sigframe __user *) stack_top - 1; in setup_signal_stack_sc()
371 if (!access_ok(frame, sizeof(*frame))) in setup_signal_stack_sc()
374 restorer = frame->retcode; in setup_signal_stack_sc()
378 err |= __put_user(restorer, &frame->pretcode); in setup_signal_stack_sc()
379 err |= __put_user(sig, &frame->sig); in setup_signal_stack_sc()
380 err |= copy_sc_to_user(&frame->sc, &frame->fpstate, regs, mask->sig[0]); in setup_signal_stack_sc()
382 err |= __copy_to_user(&frame->extramask, &mask->sig[1], in setup_signal_stack_sc()
383 sizeof(frame->extramask)); in setup_signal_stack_sc()
392 err |= __put_user(0xb858, (short __user *)(frame->retcode+0)); in setup_signal_stack_sc()
[all …]
/linux-6.6.21/drivers/iio/chemical/
Dpms7003.c73 struct pms7003_frame frame; member
111 struct pms7003_frame *frame = &state->frame; in pms7003_trigger_handler() local
122 pms7003_get_pm(frame->data + PMS7003_PM1_OFFSET); in pms7003_trigger_handler()
124 pms7003_get_pm(frame->data + PMS7003_PM2P5_OFFSET); in pms7003_trigger_handler()
126 pms7003_get_pm(frame->data + PMS7003_PM10_OFFSET); in pms7003_trigger_handler()
142 struct pms7003_frame *frame = &state->frame; in pms7003_read_raw() local
156 *val = pms7003_get_pm(frame->data + chan->address); in pms7003_read_raw()
194 static u16 pms7003_calc_checksum(struct pms7003_frame *frame) in pms7003_calc_checksum() argument
197 (frame->length >> 8) + (u8)frame->length; in pms7003_calc_checksum()
200 for (i = 0; i < frame->length - PMS7003_CHECKSUM_LENGTH; i++) in pms7003_calc_checksum()
[all …]
/linux-6.6.21/drivers/gpu/drm/lima/
Dlima_pp.c67 struct drm_lima_m450_pp_frame *frame; in lima_pp_bcast_irq_handler() local
73 frame = pipe->current_task->frame; in lima_pp_bcast_irq_handler()
75 for (i = 0; i < frame->num_pp; i++) { in lima_pp_bcast_irq_handler()
147 struct drm_lima_m450_pp_frame *frame = pipe->current_task->frame; in lima_pp_soft_reset_async_wait() local
149 for (i = 0; i < frame->num_pp; i++) in lima_pp_soft_reset_async_wait()
158 static void lima_pp_write_frame(struct lima_ip *ip, u32 *frame, u32 *wb) in lima_pp_write_frame() argument
163 writel(frame[i], ip->iomem + LIMA_PP_FRAME + i * 4); in lima_pp_write_frame()
311 struct drm_lima_m450_pp_frame *f = task->frame; in lima_pp_task_validate()
318 struct drm_lima_m400_pp_frame *f = task->frame; in lima_pp_task_validate()
333 struct drm_lima_m450_pp_frame *frame = task->frame; in lima_pp_task_run() local
[all …]
/linux-6.6.21/arch/arm64/kernel/
Dsignal32.c92 static int compat_preserve_vfp_context(struct compat_vfp_sigframe __user *frame) in compat_preserve_vfp_context() argument
109 __put_user_error(magic, &frame->magic, err); in compat_preserve_vfp_context()
110 __put_user_error(size, &frame->size, err); in compat_preserve_vfp_context()
116 for (i = 0; i < ARRAY_SIZE(frame->ufp.fpregs); i += 2) { in compat_preserve_vfp_context()
121 __put_user_error(vreg.lo, &frame->ufp.fpregs[i], err); in compat_preserve_vfp_context()
122 __put_user_error(vreg.hi, &frame->ufp.fpregs[i + 1], err); in compat_preserve_vfp_context()
128 __put_user_error(fpscr, &frame->ufp.fpscr, err); in compat_preserve_vfp_context()
135 __put_user_error(fpexc, &frame->ufp_exc.fpexc, err); in compat_preserve_vfp_context()
136 __put_user_error(0, &frame->ufp_exc.fpinst, err); in compat_preserve_vfp_context()
137 __put_user_error(0, &frame->ufp_exc.fpinst2, err); in compat_preserve_vfp_context()
[all …]
/linux-6.6.21/arch/riscv/kernel/
Dcompat_signal.c122 struct compat_rt_sigframe __user *frame; in COMPAT_SYSCALL_DEFINE0() local
129 frame = (struct compat_rt_sigframe __user *)regs->sp; in COMPAT_SYSCALL_DEFINE0()
131 if (!access_ok(frame, sizeof(*frame))) in COMPAT_SYSCALL_DEFINE0()
134 if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) in COMPAT_SYSCALL_DEFINE0()
139 if (compat_restore_sigcontext(regs, &frame->uc.uc_mcontext)) in COMPAT_SYSCALL_DEFINE0()
142 if (compat_restore_altstack(&frame->uc.uc_stack)) in COMPAT_SYSCALL_DEFINE0()
153 frame, (void *)regs->epc, (void *)regs->sp); in COMPAT_SYSCALL_DEFINE0()
159 static long compat_setup_sigcontext(struct compat_rt_sigframe __user *frame, in compat_setup_sigcontext() argument
162 struct compat_sigcontext __user *sc = &frame->uc.uc_mcontext; in compat_setup_sigcontext()
202 struct compat_rt_sigframe __user *frame; in compat_setup_rt_frame() local
[all …]
/linux-6.6.21/arch/openrisc/kernel/
Dsignal.c75 struct rt_sigframe __user *frame = (struct rt_sigframe __user *)regs->sp; in _sys_rt_sigreturn() local
83 if (((unsigned long)frame) & 3) in _sys_rt_sigreturn()
86 if (!access_ok(frame, sizeof(*frame))) in _sys_rt_sigreturn()
88 if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) in _sys_rt_sigreturn()
93 if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) in _sys_rt_sigreturn()
96 if (restore_altstack(&frame->uc.uc_stack)) in _sys_rt_sigreturn()
159 struct rt_sigframe __user *frame; in setup_rt_frame() local
163 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame()
165 if (!access_ok(frame, sizeof(*frame))) in setup_rt_frame()
170 err |= copy_siginfo_to_user(&frame->info, &ksig->info); in setup_rt_frame()
[all …]
/linux-6.6.21/arch/x86/kernel/
Dsignal_32.c128 struct sigframe_ia32 __user *frame = (struct sigframe_ia32 __user *)(regs->sp-8); in SYSCALL32_DEFINE0() local
131 if (!access_ok(frame, sizeof(*frame))) in SYSCALL32_DEFINE0()
133 if (__get_user(set.sig[0], &frame->sc.oldmask) in SYSCALL32_DEFINE0()
134 || __get_user(((__u32 *)&set)[1], &frame->extramask[0])) in SYSCALL32_DEFINE0()
139 if (!ia32_restore_sigcontext(regs, &frame->sc)) in SYSCALL32_DEFINE0()
144 signal_fault(regs, frame, "32bit sigreturn"); in SYSCALL32_DEFINE0()
151 struct rt_sigframe_ia32 __user *frame; in SYSCALL32_DEFINE0() local
154 frame = (struct rt_sigframe_ia32 __user *)(regs->sp - 4); in SYSCALL32_DEFINE0()
156 if (!access_ok(frame, sizeof(*frame))) in SYSCALL32_DEFINE0()
158 if (__get_user(*(__u64 *)&set, (__u64 __user *)&frame->uc.uc_sigmask)) in SYSCALL32_DEFINE0()
[all …]
Dsignal_64.c144 #define unsafe_put_sigmask(set, frame, label) \ argument
146 (__u64 __user *)&(frame)->uc.uc_sigmask, \
167 struct rt_sigframe __user *frame; in x64_setup_rt_frame() local
175 frame = get_sigframe(ksig, regs, sizeof(struct rt_sigframe), &fp); in x64_setup_rt_frame()
178 if (!user_access_begin(frame, sizeof(*frame))) in x64_setup_rt_frame()
182 unsafe_put_user(uc_flags, &frame->uc.uc_flags, Efault); in x64_setup_rt_frame()
183 unsafe_put_user(0, &frame->uc.uc_link, Efault); in x64_setup_rt_frame()
184 unsafe_save_altstack(&frame->uc.uc_stack, regs->sp, Efault); in x64_setup_rt_frame()
188 unsafe_put_user(ksig->ka.sa.sa_restorer, &frame->pretcode, Efault); in x64_setup_rt_frame()
189 unsafe_put_sigcontext(&frame->uc.uc_mcontext, fp, regs, set, Efault); in x64_setup_rt_frame()
[all …]
/linux-6.6.21/arch/s390/kernel/
Dcompat_signal.c184 sigframe32 __user *frame = (sigframe32 __user *)regs->gprs[15]; in COMPAT_SYSCALL_DEFINE0() local
187 if (get_compat_sigset(&set, (compat_sigset_t __user *)frame->sc.oldmask)) in COMPAT_SYSCALL_DEFINE0()
191 if (restore_sigregs32(regs, &frame->sregs)) in COMPAT_SYSCALL_DEFINE0()
193 if (restore_sigregs_ext32(regs, &frame->sregs_ext)) in COMPAT_SYSCALL_DEFINE0()
205 rt_sigframe32 __user *frame = (rt_sigframe32 __user *)regs->gprs[15]; in COMPAT_SYSCALL_DEFINE0() local
208 if (get_compat_sigset(&set, &frame->uc.uc_sigmask)) in COMPAT_SYSCALL_DEFINE0()
211 if (compat_restore_altstack(&frame->uc.uc_stack)) in COMPAT_SYSCALL_DEFINE0()
214 if (restore_sigregs32(regs, &frame->uc.uc_mcontext)) in COMPAT_SYSCALL_DEFINE0()
216 if (restore_sigregs_ext32(regs, &frame->uc.uc_mcontext_ext)) in COMPAT_SYSCALL_DEFINE0()
258 sigframe32 __user *frame; in setup_frame32() local
[all …]
Dprocess.c118 } *frame; in copy_thread() local
120 frame = container_of(task_pt_regs(p), struct fake_frame, childregs); in copy_thread()
121 p->thread.ksp = (unsigned long) frame; in copy_thread()
138 frame->sf.back_chain = 0; in copy_thread()
139 frame->sf.gprs[11 - 6] = (unsigned long)&frame->childregs; in copy_thread()
140 frame->sf.gprs[12 - 6] = (unsigned long)p; in copy_thread()
142 frame->sf.gprs[14 - 6] = (unsigned long)ret_from_fork; in copy_thread()
144 frame->sf.gprs[15 - 6] = (unsigned long)frame; in copy_thread()
149 memset(&frame->childregs, 0, sizeof(struct pt_regs)); in copy_thread()
150 frame->childregs.psw.mask = PSW_KERNEL_BITS | PSW_MASK_IO | in copy_thread()
[all …]
/linux-6.6.21/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_regs.c70 struct mtk_mdp_frame *frame = &ctx->s_frame; in mtk_mdp_hw_set_in_size() local
74 config->crop_x = frame->crop.left; in mtk_mdp_hw_set_in_size()
75 config->crop_y = frame->crop.top; in mtk_mdp_hw_set_in_size()
78 config->crop_w = frame->crop.width; in mtk_mdp_hw_set_in_size()
79 config->crop_h = frame->crop.height; in mtk_mdp_hw_set_in_size()
84 config->w = frame->width; in mtk_mdp_hw_set_in_size()
85 config->h = frame->height; in mtk_mdp_hw_set_in_size()
91 struct mtk_mdp_frame *frame = &ctx->s_frame; in mtk_mdp_hw_set_in_image_format() local
95 src_buf->plane_num = frame->fmt->num_comp; in mtk_mdp_hw_set_in_image_format()
96 config->format = mtk_mdp_map_color_format(frame->fmt->pixelformat); in mtk_mdp_hw_set_in_image_format()
[all …]

12345678910>>...50