Home
last modified time | relevance | path

Searched refs:recvlength (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/wireless/marvell/libertas/
H A Dif_usb.c611 static inline void process_cmdtypedata(int recvlength, struct sk_buff *skb, in process_cmdtypedata() argument
615 if (recvlength > MRVDRV_ETH_RX_PACKET_BUFFER_SIZE + MESSAGE_HEADER_LEN in process_cmdtypedata()
616 || recvlength < MRVDRV_MIN_PKT_LEN) { in process_cmdtypedata()
623 skb_put(skb, recvlength); in process_cmdtypedata()
629 static inline void process_cmdrequest(int recvlength, uint8_t *recvbuff, in process_cmdrequest() argument
637 if (recvlength < MESSAGE_HEADER_LEN || in process_cmdrequest()
638 recvlength > LBS_CMD_BUFFER_SIZE) { in process_cmdrequest()
640 "The receive buffer is invalid: %d\n", recvlength); in process_cmdrequest()
649 priv->resp_len[i] = (recvlength - MESSAGE_HEADER_LEN); in process_cmdrequest()
673 int recvlength = urb->actual_length; in if_usb_receive() local
[all …]