Home
last modified time | relevance | path

Searched refs:frame_size (Results 1 – 25 of 186) sorted by relevance

12345678

/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dasmmacro.h200 #define abi_entry(frame_size) \ argument
202 (((frame_size) + XTENSA_STACK_ALIGNMENT - 1) & \
206 #define abi_ret(frame_size) retw argument
213 #define abi_entry(frame_size) __abi_entry (frame_size)
215 .macro __abi_entry frame_size
216 .ifgt \frame_size
217 addi sp, sp, -(((\frame_size) + XTENSA_STACK_ALIGNMENT - 1) & \
224 #define abi_ret(frame_size) __abi_ret (frame_size)
226 .macro __abi_ret frame_size
227 .ifgt \frame_size
[all …]
/kernel/linux/linux-5.10/drivers/staging/vt6655/
Ddpc.c35 u16 frame_size; in vnt_rx_data() local
44 frame_size = le16_to_cpu(*((__le16 *)(skb->data + 2))); in vnt_rx_data()
45 if (frame_size > 2346 || frame_size < 14) { in vnt_rx_data()
88 skb_trim(skb, frame_size); in vnt_rx_data()
124 u16 frame_size; in vnt_receive_frame() local
131 frame_size = le16_to_cpu(curr_rd->rd1.req_count) in vnt_receive_frame()
134 if ((frame_size > 2364) || (frame_size < 33)) { in vnt_receive_frame()
136 dev_dbg(&priv->pcid->dev, "Wrong frame size %d\n", frame_size); in vnt_receive_frame()
141 if (vnt_rx_data(priv, skb, frame_size)) in vnt_receive_frame()
/kernel/linux/linux-5.10/drivers/firmware/tegra/
Divc.c224 return (void *)(header + 1) + ivc->frame_size * frame; in tegra_ivc_frame_virt()
233 offset = sizeof(struct tegra_ivc_header) + ivc->frame_size * frame; in tegra_ivc_frame_phys()
285 ivc->frame_size); in tegra_ivc_read_get_next_frame()
355 ivc->frame_size); in tegra_ivc_write_advance()
562 unsigned int num_frames, size_t frame_size) in tegra_ivc_check_params() argument
571 if ((uint64_t)num_frames * (uint64_t)frame_size >= 0x100000000UL) { in tegra_ivc_check_params()
576 if (!IS_ALIGNED(frame_size, TEGRA_IVC_ALIGN)) { in tegra_ivc_check_params()
577 pr_err("frame size not adequately aligned: %zu\n", frame_size); in tegra_ivc_check_params()
596 if (rx + frame_size * num_frames > tx) { in tegra_ivc_check_params()
598 rx, frame_size * num_frames, tx); in tegra_ivc_check_params()
[all …]
/kernel/linux/linux-5.10/arch/microblaze/kernel/
Dunwind.c88 s16 frame_size; in find_frame_creation() local
99 frame_size = get_frame_size(instr); in find_frame_creation()
100 if ((frame_size < 8) || (frame_size & 3)) { in find_frame_creation()
102 frame_size, pc); in find_frame_creation()
107 frame_size); in find_frame_creation()
137 long frame_size = get_frame_size(*prologue); in lookup_prev_stack_frame() local
139 *pprev_fp = fp + frame_size; in lookup_prev_stack_frame()
/kernel/linux/linux-5.10/arch/s390/kernel/
Ddumpstack.c66 unsigned long frame_size, top; in in_irq_stack() local
68 frame_size = STACK_FRAME_OVERHEAD + sizeof(struct pt_regs); in in_irq_stack()
69 top = S390_lowcore.async_stack + frame_size; in in_irq_stack()
75 unsigned long frame_size, top; in in_nodat_stack() local
77 frame_size = STACK_FRAME_OVERHEAD + sizeof(struct pt_regs); in in_nodat_stack()
78 top = S390_lowcore.nodat_stack + frame_size; in in_nodat_stack()
84 unsigned long frame_size, top; in in_restart_stack() local
86 frame_size = STACK_FRAME_OVERHEAD + sizeof(struct pt_regs); in in_restart_stack()
87 top = S390_lowcore.restart_stack + frame_size; in in_restart_stack()
Dcompat_signal.c233 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument
241 if (on_sig_stack(sp) && !on_sig_stack((sp - frame_size) & -8UL)) in get_sigframe()
250 return (void __user *)((sp - frame_size) & -8ul); in get_sigframe()
259 size_t frame_size; in setup_frame32() local
266 frame_size = sizeof(*frame) - sizeof(frame->sregs_ext.__reserved); in setup_frame32()
268 frame_size -= sizeof(frame->sregs_ext.vxrs_low) + in setup_frame32()
270 frame = get_sigframe(&ksig->ka, regs, frame_size); in setup_frame32()
307 __u16 __user *svc = (void __user *) frame + frame_size - 2; in setup_frame32()
343 size_t frame_size; in setup_rt_frame32() local
346 frame_size = sizeof(*frame) - in setup_rt_frame32()
[all …]
Dsignal.c267 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument
275 if (on_sig_stack(sp) && !on_sig_stack((sp - frame_size) & -8UL)) in get_sigframe()
284 return (void __user *)((sp - frame_size) & -8ul); in get_sigframe()
293 size_t frame_size; in setup_frame() local
301 frame_size = sizeof(*frame) - sizeof(frame->sregs_ext); in setup_frame()
303 frame_size += sizeof(frame->sregs_ext); in setup_frame()
304 frame = get_sigframe(ka, regs, frame_size); in setup_frame()
339 __u16 __user *svc = (void __user *) frame + frame_size - 2; in setup_frame()
374 size_t frame_size; in setup_rt_frame() local
376 frame_size = sizeof(struct rt_sigframe) - sizeof(_sigregs_ext); in setup_rt_frame()
[all …]
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dunwind.c213 static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int frame_size) in unwind_special() argument
232 struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN); in unwind_special()
278 long frame_size = 0; in unwind_frame_regs() local
332 (frame_size < (e->Total_frame_size << 3) || in unwind_frame_regs()
342 frame_size += (insn & 0x3fff) >> 1; in unwind_frame_regs()
345 insn, npc, frame_size); in unwind_frame_regs()
348 frame_size += ((insn >> 4) & 0x3ff) << 3; in unwind_frame_regs()
351 insn, npc, frame_size); in unwind_frame_regs()
367 if (frame_size > e->Total_frame_size << 3) in unwind_frame_regs()
368 frame_size = e->Total_frame_size << 3; in unwind_frame_regs()
[all …]
/kernel/linux/linux-5.10/drivers/most/
Dmost_usb.c196 unsigned int frame_size; in get_stream_frame_size() local
205 frame_size = AV_PACKETS_PER_XACT * sub_size; in get_stream_frame_size()
210 frame_size = 0; in get_stream_frame_size()
212 frame_size = (USB_MTU / sub_size) * sub_size; in get_stream_frame_size()
214 frame_size = cfg->packets_per_xact * sub_size; in get_stream_frame_size()
219 frame_size = 0; in get_stream_frame_size()
222 return frame_size; in get_stream_frame_size()
279 unsigned int frame_size = get_stream_frame_size(&mdev->dev, conf); in hdm_add_padding() local
282 if (!frame_size) in hdm_add_padding()
284 num_frames = mbo->buffer_length / frame_size; in hdm_add_padding()
[all …]
/kernel/linux/linux-5.10/drivers/nfc/nxp-nci/
Dfirmware.c104 remaining_len = fw_info->frame_size - fw_info->written; in nxp_nci_fw_send_chunk()
140 fw_info->frame_size = get_unaligned_be16(fw_info->data) & in nxp_nci_fw_send()
146 if (fw_info->frame_size > fw_info->size) in nxp_nci_fw_send()
184 if (fw_info->written == fw_info->frame_size) { in nxp_nci_fw_work()
185 fw_info->data += fw_info->frame_size; in nxp_nci_fw_work()
186 fw_info->size -= fw_info->frame_size; in nxp_nci_fw_work()
235 fw_info->frame_size = 0; in nxp_nci_fw_download()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dprocess.c201 int frame_size; member
339 static inline int is_sp_move_ins(union mips_instruction *ip, int *frame_size) in is_sp_move_ins() argument
359 *frame_size = -(signed short)(tmp << 2); in is_sp_move_ins()
365 *frame_size = -(signed short)(tmp & 0xf); in is_sp_move_ins()
373 *frame_size = -ip->i_format.simmediate; in is_sp_move_ins()
383 *frame_size = -ip->i_format.simmediate; in is_sp_move_ins()
400 info->frame_size = 0; in get_frame_info()
420 if (!info->frame_size) { in get_frame_info()
421 is_sp_move_ins(&insn, &info->frame_size); in get_frame_info()
446 if (info->frame_size && info->pc_offset >= 0) /* nested */ in get_frame_info()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/pwc/
Dpwc-ctrl.c195 pdev->frame_size = (pdev->width * pdev->height * 3) / 2; in set_video_mode_Nala()
199 pdev->frame_size /= 4; in set_video_mode_Nala()
203 pdev->frame_size /= 3; in set_video_mode_Nala()
260 pdev->frame_size = (pChoose->bandlength * pdev->height) / 4; in set_video_mode_Timon()
262 pdev->frame_size = (pdev->width * pdev->height * 12) / 8; in set_video_mode_Timon()
311 pdev->frame_size = (pdev->vbandlength * pdev->height) / 4; in set_video_mode_Kiara()
313 pdev->frame_size = (pdev->width * pdev->height * 12) / 8; in set_video_mode_Kiara()
315 pdev->frame_size, pdev->vframes, size, pdev->vbandlength); in set_video_mode_Kiara()
343 pdev->frame_total_size = pdev->frame_size + pdev->frame_header_size + pdev->frame_trailer_size; in pwc_set_video_mode()
Dpwc-uncompress.c45 memcpy(raw_frame+1, yuv, pdev->frame_size); in pwc_decompress()
47 pdev->frame_size + sizeof(struct pwc_raw_frame)); in pwc_decompress()
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
Desparser.c89 int frame_size[8], tot_frame_size[8]; in vp9_update_header() local
112 frame_size[cur_frame] = 0; in vp9_update_header()
114 frame_size[cur_frame] |= in vp9_update_header()
120 frame_size[cur_frame]; in vp9_update_header()
124 frame_size[cur_frame]; in vp9_update_header()
125 total_datasize += frame_size[cur_frame]; in vp9_update_header()
129 frame_size[0] = dsize; in vp9_update_header()
142 int framesize = frame_size[cur_frame]; in vp9_update_header()
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
Dlima_pp.c424 int frame_size; in lima_pp_pipe_init() local
428 frame_size = sizeof(struct drm_lima_m400_pp_frame); in lima_pp_pipe_init()
430 frame_size = sizeof(struct drm_lima_m450_pp_frame); in lima_pp_pipe_init()
434 "lima_pp_task", sizeof(struct lima_sched_task) + frame_size, in lima_pp_pipe_init()
436 frame_size, NULL); in lima_pp_pipe_init()
442 pipe->frame_size = frame_size; in lima_pp_pipe_init()
Dlima_gp.c325 int frame_size = sizeof(struct drm_lima_gp_frame); in lima_gp_pipe_init() local
330 "lima_gp_task", sizeof(struct lima_sched_task) + frame_size, in lima_gp_pipe_init()
332 frame_size, NULL); in lima_gp_pipe_init()
338 pipe->frame_size = frame_size; in lima_gp_pipe_init()
/kernel/linux/linux-5.10/sound/soc/atmel/
Datmel_ssc_dai.c204 int frame_size; in atmel_ssc_hw_rule_rate() local
208 frame_size = snd_soc_params_to_frame_size(params); in atmel_ssc_hw_rule_rate()
209 if (frame_size < 0) in atmel_ssc_hw_rule_rate()
210 return frame_size; in atmel_ssc_hw_rule_rate()
237 r.num = ssc_p->mck_rate / mck_div / frame_size; in atmel_ssc_hw_rule_rate()
249 t.max = ssc_p->mck_rate / mck_div / frame_size; in atmel_ssc_hw_rule_rate()
509 int frame_size = snd_soc_params_to_frame_size(params); in atmel_ssc_hw_params() local
511 if (frame_size < 0) { in atmel_ssc_hw_params()
514 frame_size); in atmel_ssc_hw_params()
515 return frame_size; in atmel_ssc_hw_params()
[all …]
/kernel/linux/linux-5.10/sound/usb/usx2y/
Dusb_stream.c18 return (sk->out_phase_peeked >> 16) * s->cfg.frame_size; in usb_stream_next_packet_size()
158 unsigned period_frames, unsigned frame_size) in usb_stream_new() argument
205 sk->s->cfg.frame_size = frame_size; in usb_stream_new()
209 sk->s->period_size = frame_size * period_frames; in usb_stream_new()
323 if (unlikely(lb % s->cfg.frame_size)) { in usb_stream_prepare_playback()
421 l/(int)s->cfg.frame_size); in loop_back()
478 (s->idle_insize)/(int)s->cfg.frame_size); in stream_idle()
531 s->cfg.frame_size * inurb->number_of_packets; in stream_start()
534 max_diff_0 = s->cfg.frame_size; in stream_start()
547 (min_frames >> 8) * s->cfg.frame_size; in stream_start()
[all …]
/kernel/linux/linux-5.10/drivers/net/
Dthunderbolt.c59 u32 frame_size; member
672 u32 frame_id, frame_count, frame_size, frame_index; in tbnet_check_frame() local
691 frame_size = le32_to_cpu(hdr->frame_size); in tbnet_check_frame()
695 if ((frame_size > size - sizeof(*hdr)) || !frame_size) { in tbnet_check_frame()
719 if (net->skb->len + frame_size > TBNET_MAX_MTU) { in tbnet_check_frame()
755 u32 frame_size; in tbnet_poll() local
788 frame_size = le32_to_cpu(hdr->frame_size); in tbnet_poll()
801 skb_put(skb, frame_size); in tbnet_poll()
806 page, hdr_size, frame_size, in tbnet_poll()
810 net->rx_hdr.frame_size = frame_size; in tbnet_poll()
[all …]
/kernel/linux/linux-5.10/include/soc/tegra/
Divc.h27 size_t frame_size; member
96 unsigned int num_frames, size_t frame_size,
/kernel/linux/linux-5.10/drivers/staging/qlge/
Dqlge_ethtool.c514 unsigned int frame_size) in ql_create_lb_frame() argument
516 memset(skb->data, 0xFF, frame_size); in ql_create_lb_frame()
517 frame_size &= ~1; in ql_create_lb_frame()
518 memset(&skb->data[frame_size / 2], 0xAA, frame_size / 2 - 1); in ql_create_lb_frame()
519 skb->data[frame_size / 2 + 10] = (unsigned char)0xBE; in ql_create_lb_frame()
520 skb->data[frame_size / 2 + 12] = (unsigned char)0xAF; in ql_create_lb_frame()
526 unsigned int frame_size = skb->len; in ql_check_lb_frame() local
529 (*(skb->data + frame_size / 2 + 10) == 0xBE) && in ql_check_lb_frame()
530 (*(skb->data + frame_size / 2 + 12) == 0xAF)) { in ql_check_lb_frame()
/kernel/linux/linux-5.10/sound/soc/img/
Dimg-i2s-in.c185 unsigned int sample_rate, unsigned int frame_size, in img_i2s_in_check_rate() argument
191 bclk_freq = sample_rate * frame_size; in img_i2s_in_check_rate()
218 unsigned int rate, channels, i2s_channels, frame_size; in img_i2s_in_hw_params() local
232 frame_size = 64; in img_i2s_in_hw_params()
238 frame_size = 64; in img_i2s_in_hw_params()
243 frame_size = 32; in img_i2s_in_hw_params()
258 ret = img_i2s_in_check_rate(i2s, rate, frame_size, in img_i2s_in_hw_params()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c379 unsigned int frame_size; in __lb_other_process() local
388 frame_size = skb->len; in __lb_other_process()
389 memset(skb->data, 0xFF, frame_size); in __lb_other_process()
396 frame_size &= ~1ul; in __lb_other_process()
397 memset(&skb->data[frame_size / 2], 0xAA, frame_size / 2 - 1); in __lb_other_process()
398 memset(&skb->data[frame_size / 2 + 10], 0xBE, in __lb_other_process()
399 frame_size / 2 - 11); in __lb_other_process()
400 memset(&skb->data[frame_size / 2 + 12], 0xAF, in __lb_other_process()
401 frame_size / 2 - 13); in __lb_other_process()
413 frame_size = skb->len; in __lb_other_process()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/b2c2/
Dflexcop-usb.c429 u16 frame_size = le16_to_cpu( in flexcop_usb_transfer_init() local
432 frame_size, i, j, ret; in flexcop_usb_transfer_init()
437 B2C2_USB_FRAMES_PER_ISO, frame_size, bufsize); in flexcop_usb_transfer_init()
471 urb->transfer_buffer_length = frame_size * B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init()
474 buffer_offset += frame_size * B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init()
479 urb->iso_frame_desc[j].length = frame_size; in flexcop_usb_transfer_init()
480 frame_offset += frame_size; in flexcop_usb_transfer_init()
/kernel/linux/linux-5.10/drivers/media/platform/davinci/
Dvpss.c375 void vpss_set_pg_frame_size(struct vpss_pg_frame_size frame_size) in vpss_set_pg_frame_size() argument
380 oper_cfg.hw_ops.set_pg_frame_size(frame_size); in vpss_set_pg_frame_size()
384 void dm365_vpss_set_pg_frame_size(struct vpss_pg_frame_size frame_size) in dm365_vpss_set_pg_frame_size() argument
386 int current_reg = ((frame_size.hlpfr >> 1) - 1) << 16; in dm365_vpss_set_pg_frame_size()
388 current_reg |= (frame_size.pplen - 1); in dm365_vpss_set_pg_frame_size()

12345678