/kernel/linux/linux-5.10/drivers/video/ |
D | hdmi.c | 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() 74 if (frame->picture_aspect > HDMI_PICTURE_ASPECT_16_9) in hdmi_avi_infoframe_check_only() [all …]
|
/kernel/linux/linux-5.10/net/hsr/ |
D | hsr_forward.c | 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() 118 if (!frame->skb_std) in hsr_get_untagged_frame() 122 return skb_clone(frame->skb_std, GFP_ATOMIC); in hsr_get_untagged_frame() 125 struct sk_buff *prp_get_untagged_frame(struct hsr_frame_info *frame, in prp_get_untagged_frame() argument [all …]
|
/kernel/linux/linux-5.10/net/lapb/ |
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 …]
|
D | lapb_subr.c | 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() 141 frame->cr = LAPB_RESPONSE; in lapb_decode() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
D | frame.c | 38 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/arch/arm/kernel/ |
D | stacktrace.c | 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() 55 frame->sp = frame->fp; in unwind_frame() 56 frame->fp = READ_ONCE_NOCHECK(*(unsigned long *)(fp)); in unwind_frame() 57 frame->pc = READ_ONCE_NOCHECK(*(unsigned long *)(fp + 4)); in unwind_frame() 64 frame->fp = READ_ONCE_NOCHECK(*(unsigned long *)(fp - 12)); in unwind_frame() 65 frame->sp = READ_ONCE_NOCHECK(*(unsigned long *)(fp - 8)); in unwind_frame() 66 frame->pc = READ_ONCE_NOCHECK(*(unsigned long *)(fp - 4)); in unwind_frame() 73 void notrace walk_stackframe(struct stackframe *frame, in walk_stackframe() argument [all …]
|
D | signal.c | 29 static int preserve_crunch_context(struct crunch_sigframe __user *frame) in preserve_crunch_context() argument 31 char kbuf[sizeof(*frame) + 8]; in preserve_crunch_context() 39 return __copy_to_user(frame, kframe, sizeof(*frame)); in preserve_crunch_context() 44 struct crunch_sigframe __user *frame = in restore_crunch_context() local 46 char kbuf[sizeof(*frame) + 8]; in restore_crunch_context() 51 if (__copy_from_user(kframe, frame, sizeof(*frame))) in restore_crunch_context() 64 static int preserve_iwmmxt_context(struct iwmmxt_sigframe __user *frame) in preserve_iwmmxt_context() argument 66 char kbuf[sizeof(*frame) + 8]; in preserve_iwmmxt_context() 90 err = __copy_to_user(frame, kframe, sizeof(*kframe)); in preserve_iwmmxt_context() 97 struct iwmmxt_sigframe __user *frame = in restore_iwmmxt_context() local [all …]
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | stacktrace.c | 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() 83 frame->fp = READ_ONCE_NOCHECK(*(unsigned long *)(fp)); in unwind_frame() 84 frame->pc = READ_ONCE_NOCHECK(*(unsigned long *)(fp + 8)); in unwind_frame() 85 frame->prev_fp = fp; in unwind_frame() 86 frame->prev_type = info.type; in unwind_frame() [all …]
|
D | signal32.c | 94 static int compat_preserve_vfp_context(struct compat_vfp_sigframe __user *frame) in compat_preserve_vfp_context() argument 111 __put_user_error(magic, &frame->magic, err); in compat_preserve_vfp_context() 112 __put_user_error(size, &frame->size, err); in compat_preserve_vfp_context() 118 for (i = 0; i < ARRAY_SIZE(frame->ufp.fpregs); i += 2) { in compat_preserve_vfp_context() 123 __put_user_error(vreg.lo, &frame->ufp.fpregs[i], err); in compat_preserve_vfp_context() 124 __put_user_error(vreg.hi, &frame->ufp.fpregs[i + 1], err); in compat_preserve_vfp_context() 130 __put_user_error(fpscr, &frame->ufp.fpscr, err); in compat_preserve_vfp_context() 137 __put_user_error(fpexc, &frame->ufp_exc.fpexc, err); in compat_preserve_vfp_context() 138 __put_user_error(0, &frame->ufp_exc.fpinst, err); in compat_preserve_vfp_context() 139 __put_user_error(0, &frame->ufp_exc.fpinst2, err); in compat_preserve_vfp_context() [all …]
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | signal.c | 206 #define unsafe_put_sigmask(set, frame, label) \ argument 208 (__u64 __user *)&(frame)->uc.uc_sigmask, \ 324 struct sigframe __user *frame; in __setup_frame() local 328 frame = get_sigframe(&ksig->ka, regs, sizeof(*frame), &fp); in __setup_frame() 330 if (!user_access_begin(frame, sizeof(*frame))) in __setup_frame() 333 unsafe_put_user(sig, &frame->sig, Efault); in __setup_frame() 334 unsafe_put_sigcontext(&frame->sc, fp, regs, set, Efault); in __setup_frame() 335 unsafe_put_user(set->sig[1], &frame->extramask[0], Efault); in __setup_frame() 340 restorer = &frame->retcode; in __setup_frame() 345 unsafe_put_user(restorer, &frame->pretcode, Efault); in __setup_frame() [all …]
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | signal_o32.c | 117 struct sigframe32 __user *frame; in setup_frame_32() local 120 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_frame_32() 121 if (!access_ok(frame, sizeof (*frame))) in setup_frame_32() 124 err |= setup_sigcontext32(regs, &frame->sf_sc); in setup_frame_32() 125 err |= __copy_conv_sigset_to_user(&frame->sf_mask, set); in setup_frame_32() 142 regs->regs[ 6] = (unsigned long) &frame->sf_sc; in setup_frame_32() 143 regs->regs[29] = (unsigned long) frame; in setup_frame_32() 149 frame, regs->cp0_epc, regs->regs[31]); in setup_frame_32() 156 struct rt_sigframe32 __user *frame; in sys32_rt_sigreturn() local 162 frame = (struct rt_sigframe32 __user *)regs->regs[29]; in sys32_rt_sigreturn() [all …]
|
D | signal_n32.c | 56 struct rt_sigframe_n32 __user *frame; in sysn32_rt_sigreturn() local 62 frame = (struct rt_sigframe_n32 __user *)regs->regs[29]; in sysn32_rt_sigreturn() 63 if (!access_ok(frame, sizeof(*frame))) in sysn32_rt_sigreturn() 65 if (__copy_conv_sigset_from_user(&set, &frame->rs_uc.uc_sigmask)) in sysn32_rt_sigreturn() 70 sig = restore_sigcontext(regs, &frame->rs_uc.uc_mcontext); in sysn32_rt_sigreturn() 76 if (compat_restore_altstack(&frame->rs_uc.uc_stack)) in sysn32_rt_sigreturn() 96 struct rt_sigframe_n32 __user *frame; in setup_rt_frame_n32() local 99 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame_n32() 100 if (!access_ok(frame, sizeof (*frame))) in setup_rt_frame_n32() 104 err |= copy_siginfo_to_user32(&frame->rs_info, &ksig->info); in setup_rt_frame_n32() [all …]
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
D | signal_32.c | 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() 195 if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) in sys_rt_sigreturn() 200 if (restore_sigcontext(regs, &frame->uc.uc_mcontext, &r0)) in sys_rt_sigreturn() [all …]
|
D | return_address.c | 16 struct dwarf_frame *frame; in return_address() local 20 for (i = 0, frame = NULL, ra = 0; i <= depth; i++) { in return_address() 23 tmp = dwarf_unwind_stack(ra, frame); in return_address() 27 if (frame) in return_address() 28 dwarf_free_frame(frame); in return_address() 30 frame = tmp; in return_address() 32 if (!frame || !frame->return_addr) in return_address() 35 ra = frame->return_addr; in return_address() 41 if (frame) in return_address() 42 dwarf_free_frame(frame); in return_address()
|
/kernel/linux/linux-5.10/arch/x86/ia32/ |
D | ia32_signal.c | 103 struct sigframe_ia32 __user *frame = (struct sigframe_ia32 __user *)(regs->sp-8); in COMPAT_SYSCALL_DEFINE0() local 106 if (!access_ok(frame, sizeof(*frame))) in COMPAT_SYSCALL_DEFINE0() 108 if (__get_user(set.sig[0], &frame->sc.oldmask) in COMPAT_SYSCALL_DEFINE0() 109 || __get_user(((__u32 *)&set)[1], &frame->extramask[0])) in COMPAT_SYSCALL_DEFINE0() 114 if (ia32_restore_sigcontext(regs, &frame->sc)) in COMPAT_SYSCALL_DEFINE0() 119 signal_fault(regs, frame, "32bit sigreturn"); in COMPAT_SYSCALL_DEFINE0() 126 struct rt_sigframe_ia32 __user *frame; in COMPAT_SYSCALL_DEFINE0() local 129 frame = (struct rt_sigframe_ia32 __user *)(regs->sp - 4); in COMPAT_SYSCALL_DEFINE0() 131 if (!access_ok(frame, sizeof(*frame))) in COMPAT_SYSCALL_DEFINE0() 133 if (__get_user(set.sig[0], (__u64 __user *)&frame->uc.uc_sigmask)) in COMPAT_SYSCALL_DEFINE0() [all …]
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
D | stacktrace.c | 27 int (*ufn)(struct stackframe *frame, void *data), in xtensa_backtrace_user() argument 35 struct stackframe frame; in xtensa_backtrace_user() local 41 frame.pc = pc; in xtensa_backtrace_user() 42 frame.sp = a1; in xtensa_backtrace_user() 44 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user() 79 frame.pc = pc; in xtensa_backtrace_user() 80 frame.sp = a1; in xtensa_backtrace_user() 82 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user() 106 frame.pc = pc; in xtensa_backtrace_user() 107 frame.sp = a1; in xtensa_backtrace_user() [all …]
|
D | signal.c | 134 setup_sigcontext(struct rt_sigframe __user *frame, struct pt_regs *regs) in setup_sigcontext() argument 136 struct sigcontext __user *sc = &frame->uc.uc_mcontext; in setup_sigcontext() 159 err |= __copy_to_user(&frame->xtregs.cp, &ti->xtregs_cp, in setup_sigcontext() 160 sizeof (frame->xtregs.cp)); in setup_sigcontext() 162 err |= __copy_to_user(&frame->xtregs.opt, ®s->xtregs_opt, in setup_sigcontext() 164 err |= __copy_to_user(&frame->xtregs.user, &ti->xtregs_user, in setup_sigcontext() 167 err |= __put_user(err ? NULL : &frame->xtregs, &sc->sc_xtregs); in setup_sigcontext() 173 restore_sigcontext(struct pt_regs *regs, struct rt_sigframe __user *frame) in restore_sigcontext() argument 175 struct sigcontext __user *sc = &frame->uc.uc_mcontext; in restore_sigcontext() 223 err |= __copy_from_user(&ti->xtregs_cp, &frame->xtregs.cp, in restore_sigcontext() [all …]
|
/kernel/linux/linux-5.10/arch/x86/um/ |
D | signal.c | 363 struct sigframe __user *frame; in setup_signal_stack_sc() local 369 frame = (struct sigframe __user *) stack_top - 1; in setup_signal_stack_sc() 370 if (!access_ok(frame, sizeof(*frame))) in setup_signal_stack_sc() 373 restorer = frame->retcode; in setup_signal_stack_sc() 377 err |= __put_user(restorer, &frame->pretcode); in setup_signal_stack_sc() 378 err |= __put_user(sig, &frame->sig); in setup_signal_stack_sc() 379 err |= copy_sc_to_user(&frame->sc, &frame->fpstate, regs, mask->sig[0]); in setup_signal_stack_sc() 381 err |= __copy_to_user(&frame->extramask, &mask->sig[1], in setup_signal_stack_sc() 382 sizeof(frame->extramask)); in setup_signal_stack_sc() 391 err |= __put_user(0xb858, (short __user *)(frame->retcode+0)); in setup_signal_stack_sc() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/chemical/ |
D | pms7003.c | 73 struct pms7003_frame frame; member 111 struct pms7003_frame *frame = &state->frame; in pms7003_trigger_handler() local 122 pms7003_get_pm(frame->data + PMS7003_PM1_OFFSET); in pms7003_trigger_handler() 124 pms7003_get_pm(frame->data + PMS7003_PM2P5_OFFSET); in pms7003_trigger_handler() 126 pms7003_get_pm(frame->data + PMS7003_PM10_OFFSET); in pms7003_trigger_handler() 142 struct pms7003_frame *frame = &state->frame; in pms7003_read_raw() local 156 *val = pms7003_get_pm(frame->data + chan->address); in pms7003_read_raw() 194 static u16 pms7003_calc_checksum(struct pms7003_frame *frame) in pms7003_calc_checksum() argument 197 (frame->length >> 8) + (u8)frame->length; in pms7003_calc_checksum() 200 for (i = 0; i < frame->length - PMS7003_CHECKSUM_LENGTH; i++) in pms7003_calc_checksum() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
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() 311 struct drm_lima_m450_pp_frame *f = task->frame; in lima_pp_task_validate() 318 struct drm_lima_m400_pp_frame *f = task->frame; in lima_pp_task_validate() 333 struct drm_lima_m450_pp_frame *frame = task->frame; in lima_pp_task_run() local [all …]
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | compat_signal.c | 183 sigframe32 __user *frame = (sigframe32 __user *)regs->gprs[15]; in COMPAT_SYSCALL_DEFINE0() local 186 if (get_compat_sigset(&set, (compat_sigset_t __user *)frame->sc.oldmask)) in COMPAT_SYSCALL_DEFINE0() 190 if (restore_sigregs32(regs, &frame->sregs)) in COMPAT_SYSCALL_DEFINE0() 192 if (restore_sigregs_ext32(regs, &frame->sregs_ext)) in COMPAT_SYSCALL_DEFINE0() 204 rt_sigframe32 __user *frame = (rt_sigframe32 __user *)regs->gprs[15]; in COMPAT_SYSCALL_DEFINE0() local 207 if (get_compat_sigset(&set, &frame->uc.uc_sigmask)) in COMPAT_SYSCALL_DEFINE0() 210 if (compat_restore_altstack(&frame->uc.uc_stack)) in COMPAT_SYSCALL_DEFINE0() 213 if (restore_sigregs32(regs, &frame->uc.uc_mcontext)) in COMPAT_SYSCALL_DEFINE0() 215 if (restore_sigregs_ext32(regs, &frame->uc.uc_mcontext_ext)) in COMPAT_SYSCALL_DEFINE0() 257 sigframe32 __user *frame; in setup_frame32() local [all …]
|
/kernel/linux/linux-5.10/arch/openrisc/kernel/ |
D | signal.c | 71 struct rt_sigframe __user *frame = (struct rt_sigframe __user *)regs->sp; in _sys_rt_sigreturn() local 79 if (((unsigned long)frame) & 3) in _sys_rt_sigreturn() 82 if (!access_ok(frame, sizeof(*frame))) in _sys_rt_sigreturn() 84 if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) in _sys_rt_sigreturn() 89 if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) in _sys_rt_sigreturn() 92 if (restore_altstack(&frame->uc.uc_stack)) in _sys_rt_sigreturn() 154 struct rt_sigframe __user *frame; in setup_rt_frame() local 158 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame() 160 if (!access_ok(frame, sizeof(*frame))) in setup_rt_frame() 165 err |= copy_siginfo_to_user(&frame->info, &ksig->info); in setup_rt_frame() [all …]
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | signal.c | 101 struct rt_sigframe __user *frame; in SYSCALL_DEFINE0() local 108 frame = (struct rt_sigframe __user *)regs->sp; in SYSCALL_DEFINE0() 110 if (!access_ok(frame, sizeof(*frame))) in SYSCALL_DEFINE0() 113 if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) in SYSCALL_DEFINE0() 118 if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) in SYSCALL_DEFINE0() 121 if (restore_altstack(&frame->uc.uc_stack)) in SYSCALL_DEFINE0() 134 frame, (void *)regs->epc, (void *)regs->sp); in SYSCALL_DEFINE0() 140 static long setup_sigcontext(struct rt_sigframe __user *frame, in setup_sigcontext() argument 143 struct sigcontext __user *sc = &frame->uc.uc_mcontext; in setup_sigcontext() 179 struct rt_sigframe __user *frame; in setup_rt_frame() local [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/ |
D | mtk_mdp_regs.c | 70 struct mtk_mdp_frame *frame = &ctx->s_frame; in mtk_mdp_hw_set_in_size() local 74 config->crop_x = frame->crop.left; in mtk_mdp_hw_set_in_size() 75 config->crop_y = frame->crop.top; in mtk_mdp_hw_set_in_size() 78 config->crop_w = frame->crop.width; in mtk_mdp_hw_set_in_size() 79 config->crop_h = frame->crop.height; in mtk_mdp_hw_set_in_size() 84 config->w = frame->width; in mtk_mdp_hw_set_in_size() 85 config->h = frame->height; in mtk_mdp_hw_set_in_size() 91 struct mtk_mdp_frame *frame = &ctx->s_frame; in mtk_mdp_hw_set_in_image_format() local 95 src_buf->plane_num = frame->fmt->num_comp; in mtk_mdp_hw_set_in_image_format() 96 config->format = mtk_mdp_map_color_format(frame->fmt->pixelformat); in mtk_mdp_hw_set_in_image_format() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
D | wlan_cfg.c | 59 static int wilc_wlan_cfg_set_byte(u8 *frame, u32 offset, u16 id, u8 val8) in wilc_wlan_cfg_set_byte() argument 64 put_unaligned_le16(id, &frame[offset]); in wilc_wlan_cfg_set_byte() 65 put_unaligned_le16(1, &frame[offset + 2]); in wilc_wlan_cfg_set_byte() 66 frame[offset + 4] = val8; in wilc_wlan_cfg_set_byte() 70 static int wilc_wlan_cfg_set_hword(u8 *frame, u32 offset, u16 id, u16 val16) in wilc_wlan_cfg_set_hword() argument 75 put_unaligned_le16(id, &frame[offset]); in wilc_wlan_cfg_set_hword() 76 put_unaligned_le16(2, &frame[offset + 2]); in wilc_wlan_cfg_set_hword() 77 put_unaligned_le16(val16, &frame[offset + 4]); in wilc_wlan_cfg_set_hword() 82 static int wilc_wlan_cfg_set_word(u8 *frame, u32 offset, u16 id, u32 val32) in wilc_wlan_cfg_set_word() argument 87 put_unaligned_le16(id, &frame[offset]); in wilc_wlan_cfg_set_word() [all …]
|