Lines Matching refs:ctl_urb
155 struct urb *ctl_urb; /* URB for control endpoint */ member
251 len == 0 || devinfo->ctl_urb == NULL) in brcmf_usb_send_ctl()
256 devinfo->ctl_urb->transfer_buffer_length = size; in brcmf_usb_send_ctl()
260 usb_fill_control_urb(devinfo->ctl_urb, in brcmf_usb_send_ctl()
268 ret = usb_submit_urb(devinfo->ctl_urb, GFP_ATOMIC); in brcmf_usb_send_ctl()
283 || (devinfo->ctl_urb == NULL)) in brcmf_usb_recv_ctl()
288 devinfo->ctl_urb->transfer_buffer_length = size; in brcmf_usb_recv_ctl()
294 usb_fill_control_urb(devinfo->ctl_urb, in brcmf_usb_recv_ctl()
302 ret = usb_submit_urb(devinfo->ctl_urb, GFP_ATOMIC); in brcmf_usb_recv_ctl()
342 usb_kill_urb(devinfo->ctl_urb); in brcmf_usb_tx_ctlpkt()
388 usb_kill_urb(devinfo->ctl_urb); in brcmf_usb_rx_ctlpkt()
683 if (devinfo->ctl_urb) { in brcmf_usb_up()
709 if (devinfo->ctl_urb) in brcmf_cancel_all_urbs()
710 usb_kill_urb(devinfo->ctl_urb); in brcmf_cancel_all_urbs()
754 if ((!devinfo) || (devinfo->ctl_urb == NULL)) in brcmf_usb_dl_cmd()
762 devinfo->ctl_urb->transfer_buffer_length = size; in brcmf_usb_dl_cmd()
769 usb_fill_control_urb(devinfo->ctl_urb, in brcmf_usb_dl_cmd()
777 ret = usb_submit_urb(devinfo->ctl_urb, GFP_ATOMIC); in brcmf_usb_dl_cmd()
784 usb_kill_urb(devinfo->ctl_urb); in brcmf_usb_dl_cmd()
1069 usb_free_urb(devinfo->ctl_urb); in brcmf_usb_detach()
1142 devinfo->ctl_urb = usb_alloc_urb(0, GFP_ATOMIC); in brcmf_usb_attach()
1143 if (!devinfo->ctl_urb) in brcmf_usb_attach()