Lines Matching refs:rx_cmd
361 if (atomic_read(&card->rx_cmd_urb_pending) && card->rx_cmd.urb) in mwifiex_usb_free()
362 usb_kill_urb(card->rx_cmd.urb); in mwifiex_usb_free()
364 usb_free_urb(card->rx_cmd.urb); in mwifiex_usb_free()
365 card->rx_cmd.urb = NULL; in mwifiex_usb_free()
568 if (atomic_read(&card->rx_cmd_urb_pending) && card->rx_cmd.urb) in mwifiex_usb_suspend()
569 usb_kill_urb(card->rx_cmd.urb); in mwifiex_usb_suspend()
627 card->rx_cmd.skb = dev_alloc_skb(MWIFIEX_RX_CMD_BUF_SIZE); in mwifiex_usb_resume()
628 if (card->rx_cmd.skb) in mwifiex_usb_resume()
629 mwifiex_usb_submit_rx_urb(&card->rx_cmd, in mwifiex_usb_resume()
1273 card->rx_cmd.adapter = adapter; in mwifiex_usb_rx_init()
1274 card->rx_cmd.ep = card->rx_cmd_ep; in mwifiex_usb_rx_init()
1276 card->rx_cmd.urb = usb_alloc_urb(0, GFP_KERNEL); in mwifiex_usb_rx_init()
1277 if (!card->rx_cmd.urb) in mwifiex_usb_rx_init()
1280 card->rx_cmd.skb = dev_alloc_skb(MWIFIEX_RX_CMD_BUF_SIZE); in mwifiex_usb_rx_init()
1281 if (!card->rx_cmd.skb) in mwifiex_usb_rx_init()
1284 if (mwifiex_usb_submit_rx_urb(&card->rx_cmd, MWIFIEX_RX_CMD_BUF_SIZE)) in mwifiex_usb_rx_init()
1538 skb_push(card->rx_cmd.skb, INTF_HEADER_LEN); in mwifiex_submit_rx_urb()
1541 mwifiex_usb_submit_rx_urb(&card->rx_cmd, in mwifiex_submit_rx_urb()