| /linux/net/hsr/ |
| H A D | hsr_forward.c | 7 * 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 …]
|
| H A D | prp_dup_discard_test.c | 12 struct hsr_frame_info frame; 33 data->frame.node_src = &data->node; 34 data->frame.port_rcv = &data->port_rcv; in check_prp_counters() 71 /* Normal situation, both LANs in sync. Next frame is forwarded */ in prp_dup_discard_inside_dropwindow() 74 data->frame.sequence_nr = 2; in prp_dup_discard_inside_dropwindow() 76 prp_register_frame_out(&data->port, &data->frame)); in prp_dup_discard_inside_dropwindow() 77 check_prp_frame_seen(test, data, data->frame.sequence_nr); in prp_dup_discard_inside_dropwindow() 84 data->frame.sequence_nr = 2; in prp_dup_discard_node_timeout() 86 prp_register_frame_out(&data->port, &data->frame)); in prp_dup_discard_node_timeout() 87 check_prp_frame_seen(test, data, data->frame in prp_dup_discard_node_timeout() 10 struct hsr_frame_info frame; global() member [all...] |
| /linux/net/lapb/ |
| H A 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 …]
|
| H A 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/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
| H A D | frame.c | 30 static void frame_init_single_plane(struct ia_css_frame *frame, 37 struct ia_css_frame *frame, 43 static void frame_init_nv_planes(struct ia_css_frame *frame, 48 static void frame_init_yuv_planes(struct ia_css_frame *frame, 54 static void frame_init_rgb_planes(struct ia_css_frame *frame, 57 static void frame_init_qplane6_planes(struct ia_css_frame *frame); 59 static int frame_allocate_buffer_data(struct ia_css_frame *frame); 61 static int frame_allocate_with_data(struct ia_css_frame **frame, 83 int ia_css_frame_allocate_from_info(struct ia_css_frame **frame, in ia_css_frame_allocate_from_info() argument 88 if (!frame || !inf in ia_css_frame_allocate_from_info() 101 ia_css_frame_allocate(struct ia_css_frame ** frame,unsigned int width,unsigned int height,enum ia_css_frame_format format,unsigned int padded_width,unsigned int raw_bit_depth) ia_css_frame_allocate() argument 132 ia_css_frame_free(struct ia_css_frame * frame) ia_css_frame_free() argument 156 ia_css_frame_init_planes(struct ia_css_frame * frame) ia_css_frame_init_planes() argument 354 ia_css_frame_allocate_with_buffer_size(struct ia_css_frame ** frame,const unsigned int buffer_size_bytes) ia_css_frame_allocate_with_buffer_size() argument 454 frame_init_single_plane(struct ia_css_frame * frame,struct ia_css_frame_plane * plane,unsigned int height,unsigned int subpixels_per_line,unsigned int bytes_per_pixel) frame_init_single_plane() argument 476 frame_init_raw_single_plane(struct ia_css_frame * frame,struct ia_css_frame_plane * plane,unsigned int height,unsigned int subpixels_per_line,unsigned int bits_per_pixel) frame_init_raw_single_plane() argument 493 frame_init_nv_planes(struct ia_css_frame * frame,unsigned int horizontal_decimation,unsigned int vertical_decimation,unsigned int bytes_per_element) frame_init_nv_planes() argument 531 frame_init_yuv_planes(struct ia_css_frame * frame,unsigned int horizontal_decimation,unsigned int vertical_decimation,bool swap_uv,unsigned int bytes_per_element) frame_init_yuv_planes() argument 564 frame_init_rgb_planes(struct ia_css_frame * frame,unsigned int bytes_per_element) frame_init_rgb_planes() argument 581 frame_init_qplane6_planes(struct ia_css_frame * frame) frame_init_qplane6_planes() argument 605 frame_allocate_buffer_data(struct ia_css_frame * frame) frame_allocate_buffer_data() argument 613 frame_allocate_with_data(struct ia_css_frame ** frame,unsigned int width,unsigned int height,enum ia_css_frame_format format,unsigned int padded_width,unsigned int raw_bit_depth) frame_allocate_with_data() argument 726 ia_css_frame_init_from_info(struct ia_css_frame * frame,const struct ia_css_frame_info * frame_info) ia_css_frame_init_from_info() argument [all...] |
| /linux/arch/arm/kernel/ |
| H A D | stacktrace.c | 16 * 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/include/soc/fsl/ |
| H A D | dpaa2-fd.h | 14 * 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/arch/x86/um/ |
| H A D | signal.c | 191 * Skip this if we do not have an XSTATE frame. in copy_sc_to_user() 232 struct sigframe __user *frame; in setup_signal_stack_sc() local 239 frame = (struct sigframe __user *) stack_top - 1; in setup_signal_stack_sc() 240 if (!access_ok(frame, sizeof(*frame))) in setup_signal_stack_sc() 243 /* Add required space for math frame */ in setup_signal_stack_sc() 244 frame = (struct sigframe __user *)((unsigned long)frame - math_size); in setup_signal_stack_sc() 246 restorer = frame->retcode; in setup_signal_stack_sc() 250 err |= __put_user(restorer, (void __user * __user *)&frame->pretcode); in setup_signal_stack_sc() 251 err |= __put_user(sig, &frame->sig); in setup_signal_stack_sc() 253 fp_to = (unsigned long)frame + sizeof(*frame); in setup_signal_stack_sc() [all …]
|
| /linux/drivers/media/platform/st/sti/delta/ |
| H A 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/arch/arm/lib/ |
| H A D | backtrace-clang.S | 13 /* 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 …]
|
| H A D | backtrace.S | 14 @ fp is 0 or stack frame 16 #define frame r4 macro 30 movs frame, r0 @ if frame pointer is zero 46 * Stack frame layout: 51 * frame => saved pc 60 for_each_frame: tst frame, mask @ Check for address exceptions 63 1001: ldr sv_pc, [frame, #0] @ get saved pc 64 1002: ldr sv_fp, [frame, #-12] @ get saved fp 75 ldr r1, [frame, #-4] @ get saved lr 76 mov r2, frame [all …]
|
| /linux/drivers/gpu/drm/exynos/ |
| H A 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/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-enum-frameintervals.rst | 13 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/arch/sh/kernel/ |
| H A D | signal_32.c | 42 * 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 …]
|
| H A D | dwarf.c | 32 /* ... with 4 registers per frame. */ 53 * @frame: the DWARF frame whose list of registers we insert on 58 * dwarf registers for @frame. 62 static struct dwarf_reg *dwarf_frame_alloc_reg(struct dwarf_frame *frame, in dwarf_frame_alloc_reg() argument 81 list_add(®->link, &frame->reg_list); in dwarf_frame_alloc_reg() 86 static void dwarf_frame_free_regs(struct dwarf_frame *frame) in dwarf_frame_free_regs() argument 90 list_for_each_entry_safe(reg, n, &frame->reg_list, link) { in dwarf_frame_free_regs() 98 * @frame: the DWARF frame t 104 dwarf_frame_reg(struct dwarf_frame * frame,unsigned int reg_num) dwarf_frame_reg() argument 400 dwarf_cfa_execute_insns(unsigned char * insn_start,unsigned char * insn_end,struct dwarf_cie * cie,struct dwarf_fde * fde,struct dwarf_frame * frame,unsigned long pc) dwarf_cfa_execute_insns() argument 556 dwarf_free_frame(struct dwarf_frame * frame) dwarf_free_frame() argument 577 struct dwarf_frame *frame; dwarf_unwind_stack() local 963 struct dwarf_frame *frame, *_frame; dwarf_unwinder_dump() local [all...] |
| /linux/drivers/media/platform/samsung/exynos-gsc/ |
| H A 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/Documentation/driver-api/surface_aggregator/ |
| H A D | ssh.rst | 50 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/arch/mips/kernel/ |
| H A D | signal_o32.c | 118 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/arch/arm64/kernel/pi/ |
| H A D | patch-scs.c | 112 * The size of this frame if 0 < size < U32_MAX, 0 terminates the list. 117 * The first frame is a Common Information Entry (CIE) frame, followed 118 * by one or more Frame Description Entry (FDE) frames. In the former 120 * to the associated CIE frame. 149 static int scs_handle_fde_frame(const struct eh_frame *frame, in scs_handle_fde_frame() argument 154 int size = frame->size - offsetof(struct eh_frame, opcodes) + 4; in scs_handle_fde_frame() 155 u64 loc = (u64)offset_to_ptr(&frame->initial_loc); in scs_handle_fde_frame() 156 const u8 *opcode = frame->opcodes; in scs_handle_fde_frame() 160 loc = (u64)&frame->initial_loc64 + frame->initial_loc64; in scs_handle_fde_frame() 161 opcode = frame->opcodes64; in scs_handle_fde_frame() [all …]
|
| /linux/arch/m68k/fpsp040/ |
| H A D | gen_except.S | 11 | the stack frame in memory with the exceptional operand(s). 58 cmpib #IDLE_SIZE-4,1(%a7) |test for idle frame 59 beq do_check |go handle idle frame 60 cmpib #UNIMP_40_SIZE-4,1(%a7) |test for orig unimp frame 61 beqs unimp_x |go handle unimp frame 62 cmpib #UNIMP_41_SIZE-4,1(%a7) |test for rev unimp frame 63 beqs unimp_x |go handle unimp frame 68 | Fix up the new busy frame with entries from the unimp frame 71 movel ETEMP_HI(%a6),ETEMP_HI(%a1) |frame to busy frame 73 movel CMDREG1B(%a6),CMDREG1B(%a1) |set inst in frame to unimp [all …]
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A 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/arch/xtensa/kernel/ |
| H A D | stacktrace.c | 29 int (*ufn)(struct stackframe *frame, void *data), in xtensa_backtrace_user() argument 37 struct stackframe frame; in xtensa_backtrace_user() local 43 frame.pc = pc; in xtensa_backtrace_user() 44 frame.sp = a1; in xtensa_backtrace_user() 46 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user() 81 frame.pc = pc; in xtensa_backtrace_user() 82 frame.sp = a1; in xtensa_backtrace_user() 84 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user() 103 /* Copy a1, a0 from user space stack frame. */ in xtensa_backtrace_user() 108 frame.pc = pc; in xtensa_backtrace_user() [all …]
|
| /linux/drivers/scsi/isci/ |
| H A 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/drivers/gpu/drm/lima/ |
| H A 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() 335 struct drm_lima_m450_pp_frame *f = task->frame; in lima_pp_task_validate() 342 struct drm_lima_m400_pp_frame *f = task->frame; in lima_pp_task_validate() 357 struct drm_lima_m450_pp_frame *frame = task->frame; in lima_pp_task_run() local [all …]
|
| /linux/drivers/media/platform/mediatek/vcodec/encoder/ |
| H A D | venc_drv_if.h | 30 * 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 …]
|