Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/marvell/libertas_tf/
H A Dif_usb.c582 static inline void process_cmdtypedata(int recvlength, struct sk_buff *skb, in process_cmdtypedata() argument
586 if (recvlength > MRVDRV_ETH_RX_PACKET_BUFFER_SIZE + MESSAGE_HEADER_LEN in process_cmdtypedata()
587 || recvlength < MRVDRV_MIN_PKT_LEN) { in process_cmdtypedata()
593 skb_put(skb, recvlength); in process_cmdtypedata()
598 static inline void process_cmdrequest(int recvlength, uint8_t *recvbuff, in process_cmdrequest() argument
605 if (recvlength < MESSAGE_HEADER_LEN || in process_cmdrequest()
606 recvlength > LBS_CMD_BUFFER_SIZE) { in process_cmdrequest()
608 "The receive buffer is invalid: %d\n", recvlength); in process_cmdrequest()
615 recvlength - MESSAGE_HEADER_LEN); in process_cmdrequest()
631 int recvlength = urb->actual_length; in if_usb_receive() local
[all …]
/linux/drivers/net/wireless/marvell/libertas/
H A Dif_usb.c600 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()
[all …]