Lines Matching refs:datalen
35 u32 datalen; member
244 emsg.datalen = be32_to_cpu(emsg_be->datalen); in brcmf_fweh_event_worker()
253 min_t(u32, emsg.datalen, 64), in brcmf_fweh_event_worker()
254 "event payload, len=%d\n", emsg.datalen); in brcmf_fweh_event_worker()
404 u32 datalen; in brcmf_fweh_process_event() local
408 datalen = get_unaligned_be32(&event_packet->msg.datalen); in brcmf_fweh_process_event()
417 if (datalen > BRCMF_DCMD_MAXLEN || in brcmf_fweh_process_event()
418 datalen + sizeof(*event_packet) > packet_len) in brcmf_fweh_process_event()
421 event = kzalloc(sizeof(*event) + datalen, gfp); in brcmf_fweh_process_event()
430 memcpy(event->data, data, datalen); in brcmf_fweh_process_event()
431 event->datalen = datalen; in brcmf_fweh_process_event()