Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/marvell/libertas_tf/
H A Dif_usb.c587 || recvlength < MRVDRV_MIN_PKT_LEN) { in process_cmdtypedata()
593 skb_put(skb, recvlength); in process_cmdtypedata()
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
638 if (recvlength) { in if_usb_receive()
650 recvlength, recvtype); in if_usb_receive()
659 process_cmdtypedata(recvlength, skb, cardp, priv); in if_usb_receive()
[all …]
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dif_usb.c604 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()
[all …]