Home
last modified time | relevance | path

Searched full:frame (Results 1 – 25 of 4880) sorted by relevance

12345678910>>...196

/linux-6.12.1/drivers/video/
Dhdmi.c56 * @frame: HDMI AVI infoframe
58 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()
[all …]
/linux-6.12.1/net/hsr/
Dhsr_forward.c7 * Frame router for HSR and PRP.
25 * Or not - resetting the counter and bridging the frame would create a
29 * frame is received from a particular node, we know something is wrong.
93 /* if this is a redbox supervision frame we need to verify in is_supervision_frame()
143 * frame with MAC addresses from own ProxyNodeTable. in is_proxy_supervision_frame()
150 struct hsr_frame_info *frame) in create_stripped_skb_hsr() argument
168 if (frame->is_vlan) in create_stripped_skb_hsr()
178 struct sk_buff *hsr_get_untagged_frame(struct hsr_frame_info *frame, in hsr_get_untagged_frame() argument
181 if (!frame->skb_std) { in hsr_get_untagged_frame()
182 if (frame->skb_hsr) in hsr_get_untagged_frame()
[all …]
/linux-6.12.1/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.c104 * 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-6.12.1/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.12.1/arch/arm/kernel/
Dstacktrace.c16 * Unwind the current stack frame and store the new register values in the
47 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()
66 /* check current frame pointer is within bounds */ 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()
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Dia_css_frame_public.h20 * This file contains structs to describe various frame-formats supported by the ISP.
43 /* Frame plane structure. This describes one plane in an image
44 * frame buffer.
53 unsigned int offset; /** offset in bytes to start of frame data.
109 /* Frame info struct. This describes the contents of an image frame buffer.
112 struct ia_css_resolution res; /** Frame resolution (valid data) */
114 enum ia_css_frame_format format; /** format of the frame data */
132 * Specifies the DVS loop delay in "frame periods"
135 IA_CSS_FRAME_DELAY_0, /** Frame delay = 0 */
136 IA_CSS_FRAME_DELAY_1, /** Frame delay = 1 */
[all …]
/linux-6.12.1/include/soc/fsl/
Ddpaa2-fd.h14 * DOC: DPAA2 FD - Frame Descriptor APIs for DPAA2
16 * Frame Descriptors (FDs) are used to describe frame data in the DPAA2.
17 * Frames can be enqueued and dequeued to Frame Queues (FQs) which are consumed
20 * There are three types of frames: single, scatter gather, and frame lists.
23 * query Frame Descriptors.
33 * @frc: frame context
37 * This structure represents the basic Frame Descriptor used in the system.
99 * dpaa2_fd_get_addr() - get the addr field of frame descriptor
100 * @fd: the given frame descriptor
102 * Return the address in the frame descriptor.
[all …]
/linux-6.12.1/arch/arm/lib/
Dbacktrace-clang.S13 /* fp is 0 or stack frame */
15 #define frame r4 macro
34 * We can treat the current frame's lr as the saved pc and the preceding
35 * frame's lr as the current frame's lr, but we can't trace the most recent
36 * call. Inserting a false stack frame allows us to reference the function
45 * Unfortunately due to the stack frame layout we can't dump r0 - r3, but these
48 * Stack frame layout:
51 * frame=> saved fp
54 * <top of stack frame>
69 * The frame for c_backtrace has pointers to the code of dump_stack. This is
[all …]
/linux-6.12.1/drivers/media/platform/st/sti/delta/
Ddelta.h52 * @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-6.12.1/drivers/gpu/drm/i915/display/
Dintel_display_trace.h30 __array(u32, frame, 3)
39 __entry->frame[it__->pipe] = intel_crtc_get_vblank_counter(it__);
45 …TP_printk("dev %s, pipe %c enable, pipe A: frame=%u, scanline=%u, pipe B: frame=%u, scanline=%u, p…
47 __entry->frame[PIPE_A], __entry->scanline[PIPE_A],
48 __entry->frame[PIPE_B], __entry->scanline[PIPE_B],
49 __entry->frame[PIPE_C], __entry->scanline[PIPE_C])
58 __array(u32, frame, 3)
68 __entry->frame[it__->pipe] = intel_crtc_get_vblank_counter(it__);
74 …P_printk("dev %s, pipe %c disable, pipe A: frame=%u, scanline=%u, pipe B: frame=%u, scanline=%u, p…
76 __entry->frame[PIPE_A], __entry->scanline[PIPE_A],
[all …]
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dvidioc-enum-frameintervals.rst13 VIDIOC_ENUM_FRAMEINTERVALS - Enumerate frame intervals
30 that contains a pixel format and size and receives a frame interval.
35 This ioctl allows applications to enumerate all frame intervals that the
36 device supports for the given pixel format and frame size.
38 The supported pixel formats and frame sizes can be obtained by using the
43 depend on the type of frame intervals the device supports. Here are the
67 the ``type`` field to determine the type of frame interval enumeration
69 does it make sense to increase the index value to receive more frame
74 The order in which the frame intervals are returned has no
76 default frame intervals.
[all …]
/linux-6.12.1/drivers/gpu/drm/exynos/
Dregs-fimc.h24 /* 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-6.12.1/drivers/gpu/drm/display/
Ddrm_hdmi_helper.c20 * @frame: HDMI DRM infoframe
25 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()
[all …]
/linux-6.12.1/drivers/media/platform/samsung/exynos-gsc/
Dgsc-regs.c123 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-6.12.1/arch/sh/kernel/
Dsignal_32.c42 * stack frame and previous contents of the stack. This allows
43 * frame unwinding in a function epilogue but only if a frame
158 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()
[all …]
/linux-6.12.1/Documentation/driver-api/surface_aggregator/
Dssh.rst50 The fundamental communication unit of the SSH protocol is a frame
51 (:c:type:`struct ssh_frame <ssh_frame>`). A frame consists of the following
54 .. flat-table:: SSH Frame
64 - Type identifier of the frame.
68 - Length of the payload associated with the frame.
74 Each frame structure is followed by a CRC over this structure. The CRC over
75 the frame structure (|TYPE|, |LEN|, and |SEQ| fields) is placed directly
76 after the frame structure and before the payload. The payload is followed by
78 the frame has ``LEN=0``), the CRC of the payload is still present and will
80 equals the number of bytes between the CRC of the frame and the CRC of the
[all …]
/linux-6.12.1/arch/mips/kernel/
Dsignal_o32.c118 struct sigframe32 __user *frame; in setup_frame_32() local
121 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_frame_32()
122 if (!access_ok(frame, sizeof (*frame))) in setup_frame_32()
125 err |= setup_sigcontext32(regs, &frame->sf_sc); in setup_frame_32()
126 err |= __copy_conv_sigset_to_user(&frame->sf_mask, set); in setup_frame_32()
143 regs->regs[ 6] = (unsigned long) &frame->sf_sc; in setup_frame_32()
144 regs->regs[29] = (unsigned long) frame; in setup_frame_32()
150 frame, regs->cp0_epc, regs->regs[31]); in setup_frame_32()
157 struct rt_sigframe32 __user *frame; in sys32_rt_sigreturn() local
163 frame = (struct rt_sigframe32 __user *)regs->regs[29]; in sys32_rt_sigreturn()
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/runtime/frame/interface/
Dia_css_frame.h27 **** Frame INFO APIs
29 /* @brief Sets the given width and alignment to the frame info
41 /* @brief Sets the given format to the frame info
51 /* @brief Sets the frame info with the given parameters
67 /* @brief Checks whether 2 frame infos has the same resolution
70 * @param[in] frame_a The first frame to be compared
71 * @param[in] frame_b The second frame to be compared
78 /* @brief Check the frame info is valid
81 * @param[in] info The frame attributes to be initialized
87 **** Frame APIs
[all …]
/linux-6.12.1/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.12.1/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-regs.c232 const struct v4l2_selection *s, struct mdp_frame *frame) in mdp_try_crop() argument
246 framew = frame->format.fmt.pix_mp.width; in mdp_try_crop()
247 frameh = frame->format.fmt.pix_mp.height; in mdp_try_crop()
253 walign = frame->mdp_fmt->walign; in mdp_try_crop()
254 halign = frame->mdp_fmt->halign; in mdp_try_crop()
307 bool mdp_check_pp_enable(struct mdp_dev *mdp, struct mdp_frame *frame) in mdp_check_pp_enable() argument
311 if (!mdp || !frame) in mdp_check_pp_enable()
319 r1 = frame->crop.c.width * frame->crop.c.height; in mdp_check_pp_enable()
320 r2 = frame->compose.width * frame->compose.height; in mdp_check_pp_enable()
383 struct mdp_frame *frame, struct vb2_buffer *vb) in mdp_prepare_buffer() argument
[all …]
/linux-6.12.1/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.12.1/drivers/net/wireless/ralink/rt2x00/
Drt2x00dump.h30 * 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-6.12.1/arch/s390/kernel/
Dcompat_signal.c55 /* Store registers needed to create the signal frame */
181 sigframe32 __user *frame = (sigframe32 __user *)regs->gprs[15]; in COMPAT_SYSCALL_DEFINE0() local
184 if (get_compat_sigset(&set, (compat_sigset_t __user *)frame->sc.oldmask)) in COMPAT_SYSCALL_DEFINE0()
188 if (restore_sigregs32(regs, &frame->sregs)) in COMPAT_SYSCALL_DEFINE0()
190 if (restore_sigregs_ext32(regs, &frame->sregs_ext)) in COMPAT_SYSCALL_DEFINE0()
202 rt_sigframe32 __user *frame = (rt_sigframe32 __user *)regs->gprs[15]; in COMPAT_SYSCALL_DEFINE0() local
205 if (get_compat_sigset(&set, &frame->uc.uc_sigmask)) in COMPAT_SYSCALL_DEFINE0()
208 if (compat_restore_altstack(&frame->uc.uc_stack)) in COMPAT_SYSCALL_DEFINE0()
211 if (restore_sigregs32(regs, &frame->uc.uc_mcontext)) in COMPAT_SYSCALL_DEFINE0()
213 if (restore_sigregs_ext32(regs, &frame->uc.uc_mcontext_ext)) in COMPAT_SYSCALL_DEFINE0()
[all …]
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/encoder/
Dvenc_drv_if.h30 * enum venc_start_opt - encode frame option used in venc_if_encode()
32 * @VENC_START_OPT_ENCODE_FRAME: encode normal frame
44 * @VENC_SET_PARAM_FORCE_INTRA: force an intra frame
46 * @VENC_SET_PARAM_ADJUST_FRAMERATE: set frame rate
48 * @VENC_SET_PARAM_INTRA_PERIOD: set I frame interval
49 * @VENC_SET_PARAM_SKIP_FRAME: set H264 skip one frame
75 * @frm_rate: frame rate in fps
76 * @intra_period: intra frame period
95 * struct venc_frame_info - per-frame information to pass to the firmware.
97 * @frm_count: sequential number for this frame
[all …]

12345678910>>...196