Lines Matching refs:datalen
34 u32 datalen; member
240 emsg.datalen = be32_to_cpu(emsg_be->datalen); in brcmf_fweh_event_worker()
249 min_t(u32, emsg.datalen, 64), in brcmf_fweh_event_worker()
250 "event payload, len=%d\n", emsg.datalen); in brcmf_fweh_event_worker()
397 u32 datalen; in brcmf_fweh_process_event() local
401 datalen = get_unaligned_be32(&event_packet->msg.datalen); in brcmf_fweh_process_event()
410 if (datalen > BRCMF_DCMD_MAXLEN || in brcmf_fweh_process_event()
411 datalen + sizeof(*event_packet) > packet_len) in brcmf_fweh_process_event()
417 event = kzalloc(sizeof(*event) + datalen, alloc_flag); in brcmf_fweh_process_event()
426 memcpy(event->data, data, datalen); in brcmf_fweh_process_event()
427 event->datalen = datalen; in brcmf_fweh_process_event()