/Linux-v5.4/drivers/video/ |
D | hdmi.c | 55 * @frame: HDMI AVI infoframe 59 int hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame) in hdmi_avi_infoframe_init() argument 61 memset(frame, 0, sizeof(*frame)); in hdmi_avi_infoframe_init() 63 frame->type = HDMI_INFOFRAME_TYPE_AVI; in hdmi_avi_infoframe_init() 64 frame->version = 2; in hdmi_avi_infoframe_init() 65 frame->length = HDMI_AVI_INFOFRAME_SIZE; in hdmi_avi_infoframe_init() 71 static int hdmi_avi_infoframe_check_only(const struct hdmi_avi_infoframe *frame) in hdmi_avi_infoframe_check_only() argument 73 if (frame->type != HDMI_INFOFRAME_TYPE_AVI || in hdmi_avi_infoframe_check_only() 74 frame->version != 2 || in hdmi_avi_infoframe_check_only() 75 frame->length != HDMI_AVI_INFOFRAME_SIZE) in hdmi_avi_infoframe_check_only() [all …]
|
/Linux-v5.4/net/hsr/ |
D | hsr_forward.c | 35 * Or not - resetting the counter and bridging the frame would create a 39 * frame is received from a particular node, we know something is wrong. 87 struct hsr_frame_info *frame) in create_stripped_skb() argument 105 if (frame->is_vlan) in create_stripped_skb() 115 static struct sk_buff *frame_get_stripped_skb(struct hsr_frame_info *frame, in frame_get_stripped_skb() argument 118 if (!frame->skb_std) in frame_get_stripped_skb() 119 frame->skb_std = create_stripped_skb(frame->skb_hsr, frame); in frame_get_stripped_skb() 120 return skb_clone(frame->skb_std, GFP_ATOMIC); in frame_get_stripped_skb() 123 static void hsr_fill_tag(struct sk_buff *skb, struct hsr_frame_info *frame, in hsr_fill_tag() argument 136 if (frame->is_vlan) in hsr_fill_tag() [all …]
|
/Linux-v5.4/net/lapb/ |
D | lapb_in.c | 40 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 …]
|
D | lapb_subr.c | 104 * information for the different frame formats. 107 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() [all …]
|
/Linux-v5.4/include/soc/fsl/ |
D | dpaa2-fd.h | 13 * DOC: DPAA2 FD - Frame Descriptor APIs for DPAA2 15 * Frame Descriptors (FDs) are used to describe frame data in the DPAA2. 16 * Frames can be enqueued and dequeued to Frame Queues (FQs) which are consumed 19 * There are three types of frames: single, scatter gather, and frame lists. 22 * query Frame Descriptors. 32 * @frc: frame context 36 * This structure represents the basic Frame Descriptor used in the system. 98 * dpaa2_fd_get_addr() - get the addr field of frame descriptor 99 * @fd: the given frame descriptor 101 * Return the address in the frame descriptor. [all …]
|
/Linux-v5.4/arch/arm/lib/ |
D | backtrace-clang.S | 13 /* fp is 0 or stack frame */ 15 #define frame r4 macro 33 * We can treat the current frame's lr as the saved pc and the preceding 34 * frame's lr as the current frame's lr, but we can't trace the most recent 35 * call. Inserting a false stack frame allows us to reference the function 44 * Unfortunately due to the stack frame layout we can't dump r0 - r3, but these 47 * Stack frame layout: 50 * frame=> saved fp 53 * <top of stack frame> 68 * The frame for c_backtrace has pointers to the code of dump_stack. This is [all …]
|
/Linux-v5.4/drivers/media/platform/sti/delta/ |
D | delta.h | 52 * @dpb: number of frames needed to decode a single frame 54 * @crop: cropping window inside decoded frame (1920x1080@0,0 55 * inside 1920x1088 frame for ex.) 92 * @list: V4L2 m2m list that the frame belongs to 112 * struct delta_frameinfo - information about decoded frame 116 * @width: width of frame 117 * @height: height of frame 118 * @aligned_width: width of frame (with encoder or decoder alignment 120 * @aligned_height: height of frame (with encoder or decoder alignment 123 * @crop: cropping window inside frame (1920x1080@0,0 [all …]
|
/Linux-v5.4/arch/arm/kernel/ |
D | stacktrace.c | 13 * Unwind the current stack frame and store the new register values in the 28 int notrace unwind_frame(struct stackframe *frame) in unwind_frame() argument 31 unsigned long fp = frame->fp; in unwind_frame() 34 low = frame->sp; in unwind_frame() 37 /* check current frame pointer is within bounds */ in unwind_frame() 41 /* restore the registers from the stack frame */ in unwind_frame() 42 frame->fp = *(unsigned long *)(fp - 12); in unwind_frame() 43 frame->sp = *(unsigned long *)(fp - 8); in unwind_frame() 44 frame->pc = *(unsigned long *)(fp - 4); in unwind_frame() 50 void notrace walk_stackframe(struct stackframe *frame, in walk_stackframe() argument [all …]
|
D | signal.c | 29 static int preserve_crunch_context(struct crunch_sigframe __user *frame) in preserve_crunch_context() argument 31 char kbuf[sizeof(*frame) + 8]; in preserve_crunch_context() 39 return __copy_to_user(frame, kframe, sizeof(*frame)); in preserve_crunch_context() 44 struct crunch_sigframe __user *frame = in restore_crunch_context() local 46 char kbuf[sizeof(*frame) + 8]; in restore_crunch_context() 51 if (__copy_from_user(kframe, frame, sizeof(*frame))) in restore_crunch_context() 64 static int preserve_iwmmxt_context(struct iwmmxt_sigframe __user *frame) in preserve_iwmmxt_context() argument 66 char kbuf[sizeof(*frame) + 8]; in preserve_iwmmxt_context() 90 err = __copy_to_user(frame, kframe, sizeof(*kframe)); in preserve_iwmmxt_context() 97 struct iwmmxt_sigframe __user *frame = in restore_iwmmxt_context() local [all …]
|
/Linux-v5.4/arch/arm64/kernel/ |
D | stacktrace.c | 21 * AArch64 PCS assigns the frame pointer to x29. 35 * Unwind from one frame record (A) to the next frame record (B). 37 * We terminate early if the location of B indicates a malformed chain of frame 41 int notrace unwind_frame(struct task_struct *tsk, struct stackframe *frame) in unwind_frame() argument 43 unsigned long fp = frame->fp; in unwind_frame() 55 if (test_bit(info.type, frame->stacks_done)) in unwind_frame() 71 if (info.type == frame->prev_type) { in unwind_frame() 72 if (fp <= frame->prev_fp) in unwind_frame() 75 set_bit(frame->prev_type, frame->stacks_done); in unwind_frame() 79 * Record this frame record's values and location. The prev_fp and in unwind_frame() [all …]
|
D | signal32.c | 94 static int compat_preserve_vfp_context(struct compat_vfp_sigframe __user *frame) in compat_preserve_vfp_context() argument 111 __put_user_error(magic, &frame->magic, err); in compat_preserve_vfp_context() 112 __put_user_error(size, &frame->size, err); in compat_preserve_vfp_context() 118 for (i = 0; i < ARRAY_SIZE(frame->ufp.fpregs); i += 2) { in compat_preserve_vfp_context() 123 __put_user_error(vreg.lo, &frame->ufp.fpregs[i], err); in compat_preserve_vfp_context() 124 __put_user_error(vreg.hi, &frame->ufp.fpregs[i + 1], err); in compat_preserve_vfp_context() 130 __put_user_error(fpscr, &frame->ufp.fpscr, err); in compat_preserve_vfp_context() 137 __put_user_error(fpexc, &frame->ufp_exc.fpexc, err); in compat_preserve_vfp_context() 138 __put_user_error(0, &frame->ufp_exc.fpinst, err); in compat_preserve_vfp_context() 139 __put_user_error(0, &frame->ufp_exc.fpinst2, err); in compat_preserve_vfp_context() [all …]
|
/Linux-v5.4/drivers/gpu/drm/exynos/ |
D | regs-fimc.h | 24 /* Y 1st frame start address for output DMA */ 26 /* Y 2nd frame start address for output DMA */ 28 /* Y 3rd frame start address for output DMA */ 30 /* Y 4th frame start address for output DMA */ 32 /* Cb 1st frame start address for output DMA */ 34 /* Cb 2nd frame start address for output DMA */ 36 /* Cb 3rd frame start address for output DMA */ 38 /* Cb 4th frame start address for output DMA */ 40 /* Cr 1st frame start address for output DMA */ 42 /* Cr 2nd frame start address for output DMA */ [all …]
|
/Linux-v5.4/Documentation/media/uapi/v4l/ |
D | vidioc-enum-frameintervals.rst | 19 VIDIOC_ENUM_FRAMEINTERVALS - Enumerate frame intervals 37 that contains a pixel format and size and receives a frame interval. 43 This ioctl allows applications to enumerate all frame intervals that the 44 device supports for the given pixel format and frame size. 46 The supported pixel formats and frame sizes can be obtained by using the 51 depend on the type of frame intervals the device supports. Here are the 75 the ``type`` field to determine the type of frame interval enumeration 77 does it make sense to increase the index value to receive more frame 82 The order in which the frame intervals are returned has no 84 default frame intervals. [all …]
|
/Linux-v5.4/arch/unicore32/kernel/ |
D | stacktrace.c | 18 * Unwind the current stack frame and store the new register values in the 33 int notrace unwind_frame(struct stackframe *frame) in unwind_frame() argument 36 unsigned long fp = frame->fp; in unwind_frame() 39 low = frame->sp; in unwind_frame() 42 /* check current frame pointer is within bounds */ in unwind_frame() 46 /* restore the registers from the stack frame */ in unwind_frame() 47 frame->fp = *(unsigned long *)(fp - 12); in unwind_frame() 48 frame->sp = *(unsigned long *)(fp - 8); in unwind_frame() 49 frame->pc = *(unsigned long *)(fp - 4); in unwind_frame() 55 void notrace walk_stackframe(struct stackframe *frame, in walk_stackframe() argument [all …]
|
/Linux-v5.4/arch/x86/kernel/ |
D | signal.c | 219 * Set up a signal frame. 315 struct sigframe __user *frame; in __setup_frame() local 320 frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fpstate); in __setup_frame() 322 if (!access_ok(frame, sizeof(*frame))) in __setup_frame() 325 if (__put_user(sig, &frame->sig)) in __setup_frame() 328 if (setup_sigcontext(&frame->sc, fpstate, regs, set->sig[0])) in __setup_frame() 332 if (__copy_to_user(&frame->extramask, &set->sig[1], in __setup_frame() 333 sizeof(frame->extramask))) in __setup_frame() 341 restorer = &frame->retcode; in __setup_frame() 346 err |= __put_user(restorer, &frame->pretcode); in __setup_frame() [all …]
|
/Linux-v5.4/arch/x86/ia32/ |
D | ia32_signal.c | 124 struct sigframe_ia32 __user *frame = (struct sigframe_ia32 __user *)(regs->sp-8); in sys32_sigreturn() local 127 if (!access_ok(frame, sizeof(*frame))) in sys32_sigreturn() 129 if (__get_user(set.sig[0], &frame->sc.oldmask) in sys32_sigreturn() 132 &frame->extramask, in sys32_sigreturn() 133 sizeof(frame->extramask)))) in sys32_sigreturn() 138 if (ia32_restore_sigcontext(regs, &frame->sc)) in sys32_sigreturn() 143 signal_fault(regs, frame, "32bit sigreturn"); in sys32_sigreturn() 150 struct rt_sigframe_ia32 __user *frame; in sys32_rt_sigreturn() local 153 frame = (struct rt_sigframe_ia32 __user *)(regs->sp - 4); in sys32_rt_sigreturn() 155 if (!access_ok(frame, sizeof(*frame))) in sys32_rt_sigreturn() [all …]
|
/Linux-v5.4/drivers/media/platform/exynos-gsc/ |
D | gsc-regs.c | 123 struct gsc_frame *frame = &ctx->s_frame; in gsc_hw_set_in_size() local 127 cfg = GSC_SRCIMG_OFFSET_X(frame->crop.left); in gsc_hw_set_in_size() 128 cfg |= GSC_SRCIMG_OFFSET_Y(frame->crop.top); in gsc_hw_set_in_size() 132 cfg = GSC_SRCIMG_WIDTH(frame->f_width); in gsc_hw_set_in_size() 133 cfg |= GSC_SRCIMG_HEIGHT(frame->f_height); in gsc_hw_set_in_size() 137 cfg = GSC_CROPPED_WIDTH(frame->crop.width); in gsc_hw_set_in_size() 138 cfg |= GSC_CROPPED_HEIGHT(frame->crop.height); in gsc_hw_set_in_size() 145 struct gsc_frame *frame = &ctx->s_frame; in gsc_hw_set_in_image_rgb() local 149 if (frame->colorspace == V4L2_COLORSPACE_REC709) in gsc_hw_set_in_image_rgb() 154 if (frame->fmt->pixelformat == V4L2_PIX_FMT_RGB565X) in gsc_hw_set_in_image_rgb() [all …]
|
/Linux-v5.4/drivers/gpu/drm/lima/ |
D | lima_pp.c | 67 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() 284 struct drm_lima_m450_pp_frame *f = task->frame; in lima_pp_task_validate() 291 struct drm_lima_m400_pp_frame *f = task->frame; in lima_pp_task_validate() 306 struct drm_lima_m450_pp_frame *frame = task->frame; in lima_pp_task_run() local [all …]
|
/Linux-v5.4/arch/sh/kernel/ |
D | signal_32.c | 43 * stack frame and previous contents of the stack. This allows 44 * frame unwinding in a function epilogue but only if a frame 156 struct sigframe __user *frame = (struct sigframe __user *)regs->regs[15]; in sys_sigreturn() local 163 if (!access_ok(frame, sizeof(*frame))) in sys_sigreturn() 166 if (__get_user(set.sig[0], &frame->sc.oldmask) in sys_sigreturn() 168 && __copy_from_user(&set.sig[1], &frame->extramask, in sys_sigreturn() 169 sizeof(frame->extramask)))) in sys_sigreturn() 174 if (restore_sigcontext(regs, &frame->sc, &r0)) in sys_sigreturn() 186 struct rt_sigframe __user *frame = (struct rt_sigframe __user *)regs->regs[15]; in sys_rt_sigreturn() local 193 if (!access_ok(frame, sizeof(*frame))) in sys_rt_sigreturn() [all …]
|
/Linux-v5.4/arch/mips/kernel/ |
D | signal_o32.c | 117 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 …]
|
/Linux-v5.4/arch/s390/kernel/ |
D | compat_signal.c | 53 /* Store registers needed to create the signal frame */ 183 sigframe32 __user *frame = (sigframe32 __user *)regs->gprs[15]; in COMPAT_SYSCALL_DEFINE0() local 186 if (get_compat_sigset(&set, (compat_sigset_t __user *)frame->sc.oldmask)) in COMPAT_SYSCALL_DEFINE0() 190 if (restore_sigregs32(regs, &frame->sregs)) in COMPAT_SYSCALL_DEFINE0() 192 if (restore_sigregs_ext32(regs, &frame->sregs_ext)) in COMPAT_SYSCALL_DEFINE0() 204 rt_sigframe32 __user *frame = (rt_sigframe32 __user *)regs->gprs[15]; in COMPAT_SYSCALL_DEFINE0() local 207 if (get_compat_sigset(&set, &frame->uc.uc_sigmask)) in COMPAT_SYSCALL_DEFINE0() 210 if (compat_restore_altstack(&frame->uc.uc_stack)) in COMPAT_SYSCALL_DEFINE0() 213 if (restore_sigregs32(regs, &frame->uc.uc_mcontext)) in COMPAT_SYSCALL_DEFINE0() 215 if (restore_sigregs_ext32(regs, &frame->uc.uc_mcontext_ext)) in COMPAT_SYSCALL_DEFINE0() [all …]
|
/Linux-v5.4/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00dump.h | 30 * by reading the frame dump file. This file can have only a single reader. 38 * [rt2x00dump header][hardware descriptor][ieee802.11 frame] 40 * rt2x00dump header: The description of the dumped frame, as well as 43 * the frame. 44 * ieee802.11 frame: The actual frame that was received or transmitted. 48 * enum rt2x00_dump_type - Frame type 51 * @DUMP_FRAME_RXDONE: This frame has been received by the hardware. 52 * @DUMP_FRAME_TX: This frame is queued for transmission to the hardware. 53 * @DUMP_FRAME_TXDONE: This frame indicates the device has handled 54 * the tx event which has either succeeded or failed. A frame [all …]
|
/Linux-v5.4/arch/x86/um/ |
D | signal.c | 363 struct sigframe __user *frame; in setup_signal_stack_sc() local 369 frame = (struct sigframe __user *) stack_top - 1; in setup_signal_stack_sc() 370 if (!access_ok(frame, sizeof(*frame))) in setup_signal_stack_sc() 373 restorer = frame->retcode; in setup_signal_stack_sc() 377 err |= __put_user(restorer, &frame->pretcode); in setup_signal_stack_sc() 378 err |= __put_user(sig, &frame->sig); in setup_signal_stack_sc() 379 err |= copy_sc_to_user(&frame->sc, &frame->fpstate, regs, mask->sig[0]); in setup_signal_stack_sc() 381 err |= __copy_to_user(&frame->extramask, &mask->sig[1], in setup_signal_stack_sc() 382 sizeof(frame->extramask)); in setup_signal_stack_sc() 391 err |= __put_user(0xb858, (short __user *)(frame->retcode+0)); in setup_signal_stack_sc() [all …]
|
/Linux-v5.4/drivers/scsi/isci/ |
D | unsolicited_frame_control.h | 66 * This structure delineates the format of an unsolicited frame header. The 83 * This field indicates if the frame is an address frame (IAF or OAF) 84 * or if it is a information unit frame. 89 * This field simply indicates the connection rate at which the frame 108 * This enumeration represents the current unsolicited frame state. The 109 * controller object can not updtate the hardware unsolicited frame put pointer 114 * This state is when the frame is empty and not in use. It is 116 * data to this frame buffer. 121 * This state is set when the frame buffer is in use by by some 127 * This state is set when the frame is returned to the free pool [all …]
|
/Linux-v5.4/arch/xtensa/kernel/ |
D | stacktrace.c | 27 int (*ufn)(struct stackframe *frame, void *data), in xtensa_backtrace_user() argument 35 struct stackframe frame; in xtensa_backtrace_user() local 41 frame.pc = pc; in xtensa_backtrace_user() 42 frame.sp = a1; in xtensa_backtrace_user() 44 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user() 79 frame.pc = pc; in xtensa_backtrace_user() 80 frame.sp = a1; in xtensa_backtrace_user() 82 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user() 101 /* Copy a1, a0 from user space stack frame. */ in xtensa_backtrace_user() 106 frame.pc = pc; in xtensa_backtrace_user() [all …]
|