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

/linux-4.4.14/drivers/net/wireless/libertas_tf/
H A Dif_usb.c591 static inline void process_cmdtypedata(int recvlength, struct sk_buff *skb, process_cmdtypedata() argument
595 if (recvlength > MRVDRV_ETH_RX_PACKET_BUFFER_SIZE + MESSAGE_HEADER_LEN process_cmdtypedata()
596 || recvlength < MRVDRV_MIN_PKT_LEN) { process_cmdtypedata()
602 skb_put(skb, recvlength); process_cmdtypedata()
607 static inline void process_cmdrequest(int recvlength, uint8_t *recvbuff, process_cmdrequest() argument
612 if (recvlength > LBS_CMD_BUFFER_SIZE) { process_cmdrequest()
623 recvlength - MESSAGE_HEADER_LEN); process_cmdrequest()
639 int recvlength = urb->actual_length; if_usb_receive() local
646 if (recvlength) { if_usb_receive()
658 recvlength, recvtype); if_usb_receive()
667 process_cmdtypedata(recvlength, skb, cardp, priv); if_usb_receive()
671 process_cmdrequest(recvlength, recvbuff, skb, cardp, priv); if_usb_receive()
/linux-4.4.14/drivers/net/wireless/libertas/
H A Dif_usb.c605 static inline void process_cmdtypedata(int recvlength, struct sk_buff *skb, process_cmdtypedata() argument
609 if (recvlength > MRVDRV_ETH_RX_PACKET_BUFFER_SIZE + MESSAGE_HEADER_LEN process_cmdtypedata()
610 || recvlength < MRVDRV_MIN_PKT_LEN) { process_cmdtypedata()
617 skb_put(skb, recvlength); process_cmdtypedata()
623 static inline void process_cmdrequest(int recvlength, uint8_t *recvbuff, process_cmdrequest() argument
630 if (recvlength > LBS_CMD_BUFFER_SIZE) { process_cmdrequest()
643 priv->resp_len[i] = (recvlength - MESSAGE_HEADER_LEN); process_cmdrequest()
667 int recvlength = urb->actual_length; if_usb_receive() local
675 if (recvlength) { if_usb_receive()
687 recvlength, recvtype); if_usb_receive()
695 process_cmdtypedata(recvlength, skb, cardp, priv); if_usb_receive()
699 process_cmdrequest(recvlength, recvbuff, skb, cardp, priv); if_usb_receive()

Completed in 71 milliseconds