Lines Matching refs:recvlength
600 static inline void process_cmdtypedata(int recvlength, struct sk_buff *skb, in process_cmdtypedata() argument
604 if (recvlength > MRVDRV_ETH_RX_PACKET_BUFFER_SIZE + MESSAGE_HEADER_LEN in process_cmdtypedata()
605 || recvlength < MRVDRV_MIN_PKT_LEN) { in process_cmdtypedata()
612 skb_put(skb, recvlength); in process_cmdtypedata()
618 static inline void process_cmdrequest(int recvlength, uint8_t *recvbuff, in process_cmdrequest() argument
626 if (recvlength > LBS_CMD_BUFFER_SIZE) { in process_cmdrequest()
637 priv->resp_len[i] = (recvlength - MESSAGE_HEADER_LEN); in process_cmdrequest()
661 int recvlength = urb->actual_length; in if_usb_receive() local
667 if (recvlength) { in if_usb_receive()
679 recvlength, recvtype); in if_usb_receive()
687 process_cmdtypedata(recvlength, skb, cardp, priv); in if_usb_receive()
691 process_cmdrequest(recvlength, recvbuff, skb, cardp, priv); in if_usb_receive()