/linux-6.1.9/drivers/staging/vt6655/ |
D | dpc.c | 33 u16 frame_size; in vnt_rx_data() local 42 frame_size = le16_to_cpu(*((__le16 *)(skb->data + 2))); in vnt_rx_data() 43 if (frame_size > 2346 || frame_size < 14) { in vnt_rx_data() 86 skb_trim(skb, frame_size); in vnt_rx_data() 122 u16 frame_size; in vnt_receive_frame() local 129 frame_size = le16_to_cpu(curr_rd->rd1.req_count) in vnt_receive_frame() 132 if ((frame_size > 2364) || (frame_size < 33)) { in vnt_receive_frame() 134 dev_dbg(&priv->pcid->dev, "Wrong frame size %d\n", frame_size); in vnt_receive_frame() 139 if (vnt_rx_data(priv, skb, frame_size)) in vnt_receive_frame()
|
/linux-6.1.9/arch/xtensa/include/asm/ |
D | asmmacro.h | 238 #define abi_entry(frame_size) \ argument 240 (((frame_size) + XTENSA_STACK_ALIGNMENT - 1) & \ 244 #define abi_ret(frame_size) retw argument 277 #define abi_entry(frame_size) __abi_entry (frame_size) 279 .macro __abi_entry frame_size 280 .ifgt \frame_size 281 addi sp, sp, -(((\frame_size) + XTENSA_STACK_ALIGNMENT - 1) & \ 288 #define abi_ret(frame_size) __abi_ret (frame_size) 290 .macro __abi_ret frame_size 291 .ifgt \frame_size [all …]
|
/linux-6.1.9/arch/s390/kernel/ |
D | dumpstack.c | 66 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_mcck_stack() local 86 frame_size = STACK_FRAME_OVERHEAD + sizeof(struct pt_regs); in in_mcck_stack() 87 top = S390_lowcore.mcck_stack + frame_size; in in_mcck_stack() 93 unsigned long frame_size, top; in in_restart_stack() local [all …]
|
D | signal.c | 268 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument 276 if (on_sig_stack(sp) && !on_sig_stack((sp - frame_size) & -8UL)) in get_sigframe() 285 return (void __user *)((sp - frame_size) & -8ul); in get_sigframe() 294 size_t frame_size; in setup_frame() local 302 frame_size = sizeof(*frame) - sizeof(frame->sregs_ext); in setup_frame() 304 frame_size += sizeof(frame->sregs_ext); in setup_frame() 305 frame = get_sigframe(ka, regs, frame_size); in setup_frame() 370 size_t frame_size; in setup_rt_frame() local 372 frame_size = sizeof(struct rt_sigframe) - sizeof(_sigregs_ext); in setup_rt_frame() 381 frame_size += sizeof(_sigregs_ext); in setup_rt_frame() [all …]
|
D | compat_signal.c | 234 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument 242 if (on_sig_stack(sp) && !on_sig_stack((sp - frame_size) & -8UL)) in get_sigframe() 251 return (void __user *)((sp - frame_size) & -8ul); in get_sigframe() 260 size_t frame_size; in setup_frame32() local 267 frame_size = sizeof(*frame) - sizeof(frame->sregs_ext.__reserved); in setup_frame32() 269 frame_size -= sizeof(frame->sregs_ext.vxrs_low) + in setup_frame32() 271 frame = get_sigframe(&ksig->ka, regs, frame_size); in setup_frame32() 340 size_t frame_size; in setup_rt_frame32() local 343 frame_size = sizeof(*frame) - in setup_rt_frame32() 354 frame_size -= sizeof(frame->uc.uc_mcontext_ext.vxrs_low) + in setup_rt_frame32() [all …]
|
/linux-6.1.9/drivers/firmware/tegra/ |
D | ivc.c | 224 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 …]
|
/linux-6.1.9/arch/microblaze/kernel/ |
D | unwind.c | 88 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()
|
/linux-6.1.9/arch/parisc/kernel/ |
D | unwind.c | 214 static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int frame_size) in unwind_special() argument 233 struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN); in unwind_special() 279 long frame_size = 0; in unwind_frame_regs() local 331 (frame_size < (e->Total_frame_size << 3) || in unwind_frame_regs() 341 frame_size += (insn & 0x3fff) >> 1; in unwind_frame_regs() 344 insn, npc, frame_size); in unwind_frame_regs() 347 frame_size += ((insn >> 4) & 0x3ff) << 3; in unwind_frame_regs() 350 insn, npc, frame_size); in unwind_frame_regs() 366 if (frame_size > e->Total_frame_size << 3) in unwind_frame_regs() 367 frame_size = e->Total_frame_size << 3; in unwind_frame_regs() [all …]
|
/linux-6.1.9/drivers/most/ |
D | most_usb.c | 196 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 …]
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | unwind_prologue.c | 47 unsigned long frame_size = 0; in unwind_by_prologue() local 61 frame_size = (1 << 12) - ip->reg2i12_format.immediate; in unwind_by_prologue() 68 if (!frame_size) { in unwind_by_prologue() 87 state->sp = state->sp + frame_size; in unwind_by_prologue() 97 state->sp = state->sp + frame_size; in unwind_by_prologue()
|
/linux-6.1.9/drivers/nfc/nxp-nci/ |
D | firmware.c | 102 remaining_len = fw_info->frame_size - fw_info->written; in nxp_nci_fw_send_chunk() 137 fw_info->frame_size = get_unaligned_be16(fw_info->data) & in nxp_nci_fw_send() 143 if (fw_info->frame_size > fw_info->size) in nxp_nci_fw_send() 181 if (fw_info->written == fw_info->frame_size) { in nxp_nci_fw_work() 182 fw_info->data += fw_info->frame_size; in nxp_nci_fw_work() 183 fw_info->size -= fw_info->frame_size; in nxp_nci_fw_work() 232 fw_info->frame_size = 0; in nxp_nci_fw_download()
|
/linux-6.1.9/arch/mips/kernel/ |
D | process.c | 185 int frame_size; member 353 static inline int is_sp_move_ins(union mips_instruction *ip, int *frame_size) in is_sp_move_ins() argument 373 *frame_size = -(signed short)(tmp << 2); in is_sp_move_ins() 379 *frame_size = -(signed short)(tmp & 0xf); in is_sp_move_ins() 387 *frame_size = -ip->i_format.simmediate; in is_sp_move_ins() 397 *frame_size = -ip->i_format.simmediate; in is_sp_move_ins() 412 info->frame_size = 0; in get_frame_info() 436 } else if (!info->frame_size) { in get_frame_info() 437 is_sp_move_ins(&insn, &info->frame_size); in get_frame_info() 462 if (info->frame_size && info->pc_offset >= 0) /* nested */ in get_frame_info() [all …]
|
/linux-6.1.9/drivers/media/usb/pwc/ |
D | pwc-ctrl.c | 195 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()
|
/linux-6.1.9/drivers/staging/media/meson/vdec/ |
D | esparser.c | 89 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()
|
/linux-6.1.9/drivers/media/platform/qcom/venus/ |
D | hfi_plat_bufs_v6.c | 365 u32 frame_size; in calculate_enc_output_frame_size() local 378 frame_size = width * height * 3; in calculate_enc_output_frame_size() 381 frame_size = frame_size << 1; in calculate_enc_output_frame_size() 383 frame_size = frame_size >> 2; in calculate_enc_output_frame_size() 385 frame_size = frame_size >> 3; in calculate_enc_output_frame_size() 388 frame_size = frame_size << 1; in calculate_enc_output_frame_size() 397 frame_size *= 5; in calculate_enc_output_frame_size() 398 frame_size /= 4; in calculate_enc_output_frame_size() 400 return ALIGN(frame_size, SZ_4K); in calculate_enc_output_frame_size() 1121 u32 frame_size, num_mbs; in calculate_dec_input_frame_size() local [all …]
|
/linux-6.1.9/drivers/gpu/drm/lima/ |
D | lima_pp.c | 424 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()
|
D | lima_gp.c | 325 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()
|
/linux-6.1.9/sound/soc/atmel/ |
D | atmel_ssc_dai.c | 204 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 …]
|
/linux-6.1.9/sound/usb/usx2y/ |
D | usb_stream.c | 18 return (sk->out_phase_peeked >> 16) * s->cfg.frame_size; in usb_stream_next_packet_size() 162 unsigned int frame_size) in usb_stream_new() argument 209 sk->s->cfg.frame_size = frame_size; in usb_stream_new() 213 sk->s->period_size = frame_size * period_frames; in usb_stream_new() 329 if (unlikely(lb % s->cfg.frame_size)) { in usb_stream_prepare_playback() 428 l/(int)s->cfg.frame_size); in loop_back() 486 (s->idle_insize)/(int)s->cfg.frame_size); in stream_idle() 543 s->cfg.frame_size * inurb->number_of_packets; in stream_start() 546 max_diff_0 = s->cfg.frame_size; in stream_start() 560 (min_frames >> 8) * s->cfg.frame_size; in stream_start() [all …]
|
/linux-6.1.9/drivers/net/ |
D | thunderbolt.c | 61 u32 frame_size; member 700 u32 frame_id, frame_count, frame_size, frame_index; in tbnet_check_frame() local 719 frame_size = le32_to_cpu(hdr->frame_size); in tbnet_check_frame() 723 if ((frame_size > size - sizeof(*hdr)) || !frame_size) { in tbnet_check_frame() 747 if (net->skb->len + frame_size > TBNET_MAX_MTU) { in tbnet_check_frame() 783 u32 frame_size; in tbnet_poll() local 816 frame_size = le32_to_cpu(hdr->frame_size); in tbnet_poll() 829 skb_put(skb, frame_size); in tbnet_poll() 834 page, hdr_size, frame_size, in tbnet_poll() 838 net->rx_hdr.frame_size = frame_size; in tbnet_poll() [all …]
|
/linux-6.1.9/include/soc/tegra/ |
D | ivc.h | 27 size_t frame_size; member 96 unsigned int num_frames, size_t frame_size,
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_xdp.c | 14 u32 frame_size; in stmmac_xdp_enable_pool() local 21 frame_size = xsk_pool_get_rx_frame_size(pool); in stmmac_xdp_enable_pool() 25 if (frame_size < ETH_FRAME_LEN + VLAN_HLEN * 2) in stmmac_xdp_enable_pool()
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_xdp.c | 46 u32 frame_size; in igc_xdp_enable_pool() local 53 frame_size = xsk_pool_get_rx_frame_size(pool); in igc_xdp_enable_pool() 54 if (frame_size < ETH_FRAME_LEN + VLAN_HLEN * 2) { in igc_xdp_enable_pool()
|
/linux-6.1.9/drivers/media/usb/b2c2/ |
D | flexcop-usb.c | 429 u16 frame_size; in flexcop_usb_transfer_init() local 433 frame_size = usb_endpoint_maxp(&alt->endpoint[0].desc); in flexcop_usb_transfer_init() 434 bufsize = B2C2_USB_NUM_ISO_URB * B2C2_USB_FRAMES_PER_ISO * frame_size; in flexcop_usb_transfer_init() 438 B2C2_USB_FRAMES_PER_ISO, frame_size, bufsize); in flexcop_usb_transfer_init() 472 urb->transfer_buffer_length = frame_size * B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init() 475 buffer_offset += frame_size * B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init() 480 urb->iso_frame_desc[j].length = frame_size; in flexcop_usb_transfer_init() 481 frame_offset += frame_size; in flexcop_usb_transfer_init()
|
/linux-6.1.9/drivers/staging/qlge/ |
D | qlge_ethtool.c | 513 unsigned int frame_size) in qlge_create_lb_frame() argument 515 memset(skb->data, 0xFF, frame_size); in qlge_create_lb_frame() 516 frame_size &= ~1; in qlge_create_lb_frame() 517 memset(&skb->data[frame_size / 2], 0xAA, frame_size / 2 - 1); in qlge_create_lb_frame() 518 skb->data[frame_size / 2 + 10] = (unsigned char)0xBE; in qlge_create_lb_frame() 519 skb->data[frame_size / 2 + 12] = (unsigned char)0xAF; in qlge_create_lb_frame() 525 unsigned int frame_size = skb->len; in qlge_check_lb_frame() local 528 (*(skb->data + frame_size / 2 + 10) == 0xBE) && in qlge_check_lb_frame() 529 (*(skb->data + frame_size / 2 + 12) == 0xAF)) { in qlge_check_lb_frame()
|