/Linux-v6.6/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-v6.6/arch/xtensa/include/asm/ |
D | asmmacro.h | 239 #define abi_entry(frame_size) \ argument 241 (((frame_size) + XTENSA_STACK_ALIGNMENT - 1) & \ 245 #define abi_ret(frame_size) retw argument 278 #define abi_entry(frame_size) __abi_entry (frame_size) 280 .macro __abi_entry frame_size 281 .ifgt \frame_size 282 addi sp, sp, -(((\frame_size) + XTENSA_STACK_ALIGNMENT - 1) & \ 289 #define abi_ret(frame_size) __abi_ret (frame_size) 291 .macro __abi_ret frame_size 292 .ifgt \frame_size [all …]
|
/Linux-v6.6/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-v6.6/drivers/firmware/tegra/ |
D | ivc.c | 229 size_t offset = sizeof(struct tegra_ivc_header) + ivc->frame_size * frame; in tegra_ivc_frame_virt() 245 offset = sizeof(struct tegra_ivc_header) + ivc->frame_size * frame; in tegra_ivc_frame_phys() 297 ivc->frame_size); in tegra_ivc_read_get_next_frame() 367 ivc->frame_size); in tegra_ivc_write_advance() 575 unsigned int num_frames, size_t frame_size) in tegra_ivc_check_params() argument 584 if ((uint64_t)num_frames * (uint64_t)frame_size >= 0x100000000UL) { in tegra_ivc_check_params() 589 if (!IS_ALIGNED(frame_size, TEGRA_IVC_ALIGN)) { in tegra_ivc_check_params() 590 pr_err("frame size not adequately aligned: %zu\n", frame_size); in tegra_ivc_check_params() 609 if (rx + frame_size * num_frames > tx) { in tegra_ivc_check_params() 611 rx, frame_size * num_frames, tx); in tegra_ivc_check_params() [all …]
|
/Linux-v6.6/arch/parisc/kernel/ |
D | unwind.c | 215 static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int frame_size) in unwind_special() argument 235 struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN); in unwind_special() 281 long frame_size = 0; in unwind_frame_regs() local 333 (frame_size < (e->Total_frame_size << 3) || in unwind_frame_regs() 343 frame_size += (insn & 0x3fff) >> 1; in unwind_frame_regs() 346 insn, npc, frame_size); in unwind_frame_regs() 349 frame_size += ((insn >> 4) & 0x3ff) << 3; in unwind_frame_regs() 352 insn, npc, frame_size); in unwind_frame_regs() 368 if (frame_size > e->Total_frame_size << 3) in unwind_frame_regs() 369 frame_size = e->Total_frame_size << 3; in unwind_frame_regs() [all …]
|
/Linux-v6.6/arch/riscv/kernel/ |
D | signal.c | 205 size_t frame_size; in get_rt_frame_size() local 208 frame_size = sizeof(*frame); in get_rt_frame_size() 221 frame_size += total_context_size; in get_rt_frame_size() 223 frame_size = round_up(frame_size, 16); in get_rt_frame_size() 224 return frame_size; in get_rt_frame_size() 233 size_t frame_size = get_rt_frame_size(false); in SYSCALL_DEFINE0() local 240 if (!access_ok(frame, frame_size)) in SYSCALL_DEFINE0() 323 size_t frame_size = get_rt_frame_size(false); in setup_rt_frame() local 325 frame = get_sigframe(ksig, regs, frame_size); in setup_rt_frame() 326 if (!access_ok(frame, frame_size)) in setup_rt_frame()
|
/Linux-v6.6/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-v6.6/arch/s390/kernel/ |
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 …]
|
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 …]
|
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/arch/loongarch/kernel/ |
D | unwind_prologue.c | 113 unsigned long frame_size = 0; in unwind_by_prologue() local 145 frame_size = (1 << 12) - ip->reg2i12_format.immediate; in unwind_by_prologue() 156 if (!frame_size) { in unwind_by_prologue() 176 state->sp = state->sp + frame_size; in unwind_by_prologue() 183 state->sp = state->sp + frame_size; in unwind_by_prologue()
|
/Linux-v6.6/drivers/net/thunderbolt/ |
D | main.c | 63 __le32 frame_size; member 734 u32 frame_id, frame_count, frame_size, frame_index; in tbnet_check_frame() local 753 frame_size = le32_to_cpu(hdr->frame_size); in tbnet_check_frame() 757 if ((frame_size > size - sizeof(*hdr)) || !frame_size) { in tbnet_check_frame() 781 if (net->skb->len + frame_size > TBNET_MAX_MTU) { in tbnet_check_frame() 817 u32 frame_size; in tbnet_poll() local 844 trace_tbnet_invalid_rx_ip_frame(hdr->frame_size, in tbnet_poll() 852 trace_tbnet_rx_ip_frame(hdr->frame_size, hdr->frame_id, in tbnet_poll() 854 frame_size = le32_to_cpu(hdr->frame_size); in tbnet_poll() 867 skb_put(skb, frame_size); in tbnet_poll() [all …]
|
/Linux-v6.6/drivers/staging/media/meson/vdec/ |
D | esparser.c | 88 int frame_size[8], tot_frame_size[8]; in vp9_update_header() local 111 frame_size[cur_frame] = 0; in vp9_update_header() 113 frame_size[cur_frame] |= in vp9_update_header() 119 frame_size[cur_frame]; in vp9_update_header() 123 frame_size[cur_frame]; in vp9_update_header() 124 total_datasize += frame_size[cur_frame]; in vp9_update_header() 128 frame_size[0] = dsize; in vp9_update_header() 141 int framesize = frame_size[cur_frame]; in vp9_update_header()
|
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | xskxceiver.c | 176 return umem->num_frames * umem->frame_size; in umem_size() 185 .frame_size = umem->frame_size, in xsk_configure_umem() 213 umem->next_buffer += umem->frame_size; in umem_alloc_buffer() 285 umem->frame_size = XSK_UMEM__DEFAULT_FRAME_SIZE; in ifobj_zc_avail() 408 ifobj->umem->frame_size = XSK_UMEM__DEFAULT_FRAME_SIZE; in __test_spec_init() 571 static u32 pkt_nb_frags(u32 frame_size, struct pkt_stream *pkt_stream, struct pkt *pkt) in pkt_nb_frags() argument 581 return ceil_u32(pkt->len, frame_size); in pkt_nb_frags() 611 return ceil_u32(len, umem->frame_size) * umem->frame_size; in pkt_get_buffer_len() 820 u32 offset = addr % umem->frame_size, expected_offset; in is_offset_correct() 826 expected_offset = (pkt_offset + headroom + XDP_PACKET_HEADROOM) % umem->frame_size; in is_offset_correct() [all …]
|
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/net/ethernet/intel/igc/ |
D | igc_xdp.c | 51 u32 frame_size; in igc_xdp_enable_pool() local 58 frame_size = xsk_pool_get_rx_frame_size(pool); in igc_xdp_enable_pool() 59 if (frame_size < ETH_FRAME_LEN + VLAN_HLEN * 2) { in igc_xdp_enable_pool()
|
/Linux-v6.6/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-v6.6/include/soc/tegra/ |
D | ivc.h | 29 size_t frame_size; member 98 unsigned int num_frames, size_t frame_size,
|
/Linux-v6.6/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()
|