Home
last modified time | relevance | path

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

12345678910>>...235

/kernel/linux/linux-5.10/drivers/video/
Dhdmi.c55 * @frame: HDMI AVI infoframe
57 void hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame) in hdmi_avi_infoframe_init() argument
59 memset(frame, 0, sizeof(*frame)); in hdmi_avi_infoframe_init()
61 frame->type = HDMI_INFOFRAME_TYPE_AVI; in hdmi_avi_infoframe_init()
62 frame->version = 2; in hdmi_avi_infoframe_init()
63 frame->length = HDMI_AVI_INFOFRAME_SIZE; in hdmi_avi_infoframe_init()
67 static int hdmi_avi_infoframe_check_only(const struct hdmi_avi_infoframe *frame) in hdmi_avi_infoframe_check_only() argument
69 if (frame->type != HDMI_INFOFRAME_TYPE_AVI || in hdmi_avi_infoframe_check_only()
70 frame->version != 2 || in hdmi_avi_infoframe_check_only()
71 frame->length != HDMI_AVI_INFOFRAME_SIZE) in hdmi_avi_infoframe_check_only()
[all …]
/kernel/linux/linux-4.19/drivers/video/
Dhdmi.c55 * @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()
73 * @frame: HDMI AVI infoframe
77 * Packs the information contained in the @frame structure into a binary
85 ssize_t hdmi_avi_infoframe_pack(struct hdmi_avi_infoframe *frame, void *buffer, in hdmi_avi_infoframe_pack() argument
91 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_avi_infoframe_pack()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dia_css_frame_public.h20 * This file contains structs to describe various frame-formats supported by the ISP.
42 /* Frame plane structure. This describes one plane in an image
43 * frame buffer.
52 unsigned int offset; /** offset in bytes to start of frame data.
108 /* Frame info struct. This describes the contents of an image frame buffer.
111 struct ia_css_resolution res; /** Frame resolution (valid data) */
113 enum ia_css_frame_format format; /** format of the frame data */
131 * Specifies the DVS loop delay in "frame periods"
134 IA_CSS_FRAME_DELAY_0, /** Frame delay = 0 */
135 IA_CSS_FRAME_DELAY_1, /** Frame delay = 1 */
[all …]
/kernel/linux/linux-5.10/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.
79 struct hsr_frame_info *frame) in create_stripped_skb_hsr() argument
97 if (frame->is_vlan) in create_stripped_skb_hsr()
107 struct sk_buff *hsr_get_untagged_frame(struct hsr_frame_info *frame, in hsr_get_untagged_frame() argument
110 if (!frame->skb_std) { in hsr_get_untagged_frame()
111 if (frame->skb_hsr) { in hsr_get_untagged_frame()
112 frame->skb_std = in hsr_get_untagged_frame()
113 create_stripped_skb_hsr(frame->skb_hsr, frame); in hsr_get_untagged_frame()
[all …]
/kernel/linux/linux-4.19/net/hsr/
Dhsr_forward.c41 * Or not - resetting the counter and bridging the frame would create a
45 * frame is received from a particular node, we know something is wrong.
94 struct hsr_frame_info *frame) in create_stripped_skb() argument
112 if (frame->is_vlan) in create_stripped_skb()
122 static struct sk_buff *frame_get_stripped_skb(struct hsr_frame_info *frame, in frame_get_stripped_skb() argument
125 if (!frame->skb_std) in frame_get_stripped_skb()
126 frame->skb_std = create_stripped_skb(frame->skb_hsr, frame); in frame_get_stripped_skb()
127 return skb_clone(frame->skb_std, GFP_ATOMIC); in frame_get_stripped_skb()
131 static void hsr_fill_tag(struct sk_buff *skb, struct hsr_frame_info *frame, in hsr_fill_tag() argument
144 if (frame->is_vlan) in hsr_fill_tag()
[all …]
/kernel/linux/linux-4.19/net/lapb/
Dlapb_in.c45 struct lapb_frame *frame) in lapb_state0_machine() argument
47 switch (frame->type) { in lapb_state0_machine()
49 lapb_dbg(1, "(%p) S0 RX SABM(%d)\n", lapb->dev, frame->pf); in lapb_state0_machine()
52 lapb->dev, frame->pf); in lapb_state0_machine()
53 lapb_send_control(lapb, LAPB_DM, frame->pf, in lapb_state0_machine()
57 lapb->dev, frame->pf); in lapb_state0_machine()
59 lapb_send_control(lapb, LAPB_UA, frame->pf, in lapb_state0_machine()
74 lapb_dbg(1, "(%p) S0 RX SABME(%d)\n", lapb->dev, frame->pf); in lapb_state0_machine()
77 lapb->dev, frame->pf); in lapb_state0_machine()
79 lapb_send_control(lapb, LAPB_UA, frame->pf, in lapb_state0_machine()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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_mipi_plane(struct ia_css_frame *frame,
57 static void frame_init_nv_planes(struct ia_css_frame *frame,
62 static void frame_init_yuv_planes(struct ia_css_frame *frame,
68 static void frame_init_rgb_planes(struct ia_css_frame *frame,
71 static void frame_init_qplane6_planes(struct ia_css_frame *frame);
73 static int frame_allocate_buffer_data(struct ia_css_frame *frame);
75 static int frame_allocate_with_data(struct ia_css_frame **frame,
99 void ia_css_frame_zero(struct ia_css_frame *frame) in ia_css_frame_zero() argument
[all …]
/kernel/linux/linux-5.10/include/soc/fsl/
Ddpaa2-fd.h13 * 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 …]
/kernel/linux/linux-5.10/arch/arm/kernel/
Dstacktrace.c13 * Unwind the current stack frame and store the new register values in the
41 int notrace unwind_frame(struct stackframe *frame) in unwind_frame() argument
44 unsigned long fp = frame->fp; in unwind_frame()
47 low = frame->sp; in unwind_frame()
51 /* check current frame pointer is within bounds */ in unwind_frame()
55 frame->sp = frame->fp; in unwind_frame()
56 frame->fp = *(unsigned long *)(fp); in unwind_frame()
57 frame->pc = frame->lr; in unwind_frame()
58 frame->lr = *(unsigned long *)(fp + 4); in unwind_frame()
60 /* check current frame pointer is within bounds */ in unwind_frame()
[all …]
/kernel/linux/linux-4.19/arch/arm/kernel/
Dstacktrace.c12 * Unwind the current stack frame and store the new register values in the
40 int notrace unwind_frame(struct stackframe *frame) in unwind_frame() argument
43 unsigned long fp = frame->fp; in unwind_frame()
46 low = frame->sp; in unwind_frame()
50 /* check current frame pointer is within bounds */ in unwind_frame()
54 frame->sp = frame->fp; in unwind_frame()
55 frame->fp = *(unsigned long *)(fp); in unwind_frame()
56 frame->pc = frame->lr; in unwind_frame()
57 frame->lr = *(unsigned long *)(fp + 4); in unwind_frame()
59 /* check current frame pointer is within bounds */ in unwind_frame()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dstacktrace.c22 * AArch64 PCS assigns the frame pointer to x29.
36 * Unwind from one frame record (A) to the next frame record (B).
38 * We terminate early if the location of B indicates a malformed chain of frame
42 int notrace unwind_frame(struct task_struct *tsk, struct stackframe *frame) in unwind_frame() argument
44 unsigned long fp = frame->fp; in unwind_frame()
56 if (test_bit(info.type, frame->stacks_done)) in unwind_frame()
72 if (info.type == frame->prev_type) { in unwind_frame()
73 if (fp <= frame->prev_fp) in unwind_frame()
76 set_bit(frame->prev_type, frame->stacks_done); in unwind_frame()
80 * Record this frame record's values and location. The prev_fp and in unwind_frame()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/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 …]
/kernel/linux/linux-4.19/drivers/media/platform/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/include/soc/fsl/
Ddpaa2-fd.h13 * 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.
89 * dpaa2_fd_get_addr() - get the addr field of frame descriptor
90 * @fd: the given frame descriptor
92 * Return the address in the frame descriptor.
[all …]
/kernel/linux/linux-4.19/Documentation/media/uapi/v4l/
Dvidioc-enum-frameintervals.rst12 VIDIOC_ENUM_FRAMEINTERVALS - Enumerate frame intervals
30 that contains a pixel format and size and receives a frame interval.
36 This ioctl allows applications to enumerate all frame intervals that the
37 device supports for the given pixel format and frame size.
39 The supported pixel formats and frame sizes can be obtained by using the
44 depend on the type of frame intervals the device supports. Here are the
68 the ``type`` field to determine the type of frame interval enumeration
70 does it make sense to increase the index value to receive more frame
75 The order in which the frame intervals are returned has no
77 default frame intervals.
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/exynos/
Dregs-fimc.h27 /* Y 1st frame start address for output DMA */
29 /* Y 2nd frame start address for output DMA */
31 /* Y 3rd frame start address for output DMA */
33 /* Y 4th frame start address for output DMA */
35 /* Cb 1st frame start address for output DMA */
37 /* Cb 2nd frame start address for output DMA */
39 /* Cb 3rd frame start address for output DMA */
41 /* Cb 4th frame start address for output DMA */
43 /* Cr 1st frame start address for output DMA */
45 /* Cr 2nd frame start address for output DMA */
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/arch/arm64/kernel/
Dstacktrace.c32 * AArch64 PCS assigns the frame pointer to x29.
44 int notrace unwind_frame(struct task_struct *tsk, struct stackframe *frame) in unwind_frame() argument
46 unsigned long fp = frame->fp; in unwind_frame()
57 frame->fp = READ_ONCE_NOCHECK(*(unsigned long *)(fp)); in unwind_frame()
58 frame->pc = READ_ONCE_NOCHECK(*(unsigned long *)(fp + 8)); in unwind_frame()
62 (frame->pc == (unsigned long)return_to_handler)) { in unwind_frame()
63 if (WARN_ON_ONCE(frame->graph == -1)) in unwind_frame()
65 if (frame->graph < -1) in unwind_frame()
66 frame->graph += FTRACE_NOTRACE_DEPTH; in unwind_frame()
70 * modified a return address (LR) in a stack frame in unwind_frame()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c41 nfp_flower_compile_meta_tci(struct nfp_flower_meta_tci *frame, in nfp_flower_compile_meta_tci() argument
49 memset(frame, 0, sizeof(struct nfp_flower_meta_tci)); in nfp_flower_compile_meta_tci()
50 /* Populate the metadata frame. */ in nfp_flower_compile_meta_tci()
51 frame->nfp_flow_key_layer = key_type; in nfp_flower_compile_meta_tci()
52 frame->mask_id = ~0; in nfp_flower_compile_meta_tci()
64 frame->tci = cpu_to_be16(tmp_tci); in nfp_flower_compile_meta_tci()
69 nfp_flower_compile_ext_meta(struct nfp_flower_ext_meta *frame, u32 key_ext) in nfp_flower_compile_ext_meta() argument
71 frame->nfp_flow_key_layer2 = cpu_to_be32(key_ext); in nfp_flower_compile_ext_meta()
75 nfp_flower_compile_port(struct nfp_flower_in_port *frame, u32 cmsg_port, in nfp_flower_compile_port() argument
79 frame->in_port = cpu_to_be32(~0); in nfp_flower_compile_port()
[all …]
/kernel/linux/linux-4.19/arch/unicore32/kernel/
Dstacktrace.c21 * Unwind the current stack frame and store the new register values in the
36 int notrace unwind_frame(struct stackframe *frame) in unwind_frame() argument
39 unsigned long fp = frame->fp; in unwind_frame()
42 low = frame->sp; in unwind_frame()
45 /* check current frame pointer is within bounds */ in unwind_frame()
49 /* restore the registers from the stack frame */ in unwind_frame()
50 frame->fp = *(unsigned long *)(fp - 12); in unwind_frame()
51 frame->sp = *(unsigned long *)(fp - 8); in unwind_frame()
52 frame->pc = *(unsigned long *)(fp - 4); in unwind_frame()
58 void notrace walk_stackframe(struct stackframe *frame, in walk_stackframe() argument
[all …]
/kernel/linux/linux-5.10/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
155 struct sigframe __user *frame = (struct sigframe __user *)regs->regs[15]; in sys_sigreturn() local
162 if (!access_ok(frame, sizeof(*frame))) in sys_sigreturn()
165 if (__get_user(set.sig[0], &frame->sc.oldmask) in sys_sigreturn()
167 && __copy_from_user(&set.sig[1], &frame->extramask, in sys_sigreturn()
168 sizeof(frame->extramask)))) in sys_sigreturn()
173 if (restore_sigcontext(regs, &frame->sc, &r0)) in sys_sigreturn()
185 struct rt_sigframe __user *frame = (struct rt_sigframe __user *)regs->regs[15]; in sys_rt_sigreturn() local
192 if (!access_ok(frame, sizeof(*frame))) in sys_rt_sigreturn()
[all …]

12345678910>>...235