Lines Matching refs:udev
147 struct usb_device *udev; in if_usb_probe() local
155 udev = interface_to_usbdev(intf); in if_usb_probe()
164 cardp->udev = udev; in if_usb_probe()
167 lbtf_deb_usbd(&udev->dev, "bcdUSB = 0x%X bDeviceClass = 0x%X" in if_usb_probe()
169 le16_to_cpu(udev->descriptor.bcdUSB), in if_usb_probe()
170 udev->descriptor.bDeviceClass, in if_usb_probe()
171 udev->descriptor.bDeviceSubClass, in if_usb_probe()
172 udev->descriptor.bDeviceProtocol); in if_usb_probe()
181 lbtf_deb_usbd(&udev->dev, "in_endpoint = %d\n", in if_usb_probe()
183 lbtf_deb_usbd(&udev->dev, "Bulk in size is %d\n", in if_usb_probe()
190 lbtf_deb_usbd(&udev->dev, "out_endpoint = %d\n", in if_usb_probe()
192 lbtf_deb_usbd(&udev->dev, "Bulk out size is %d\n", in if_usb_probe()
197 lbtf_deb_usbd(&udev->dev, "Endpoints not found\n"); in if_usb_probe()
217 lbtf_deb_usbd(&udev->dev, "Could not allocate buffer\n"); in if_usb_probe()
221 cardp->boot2_version = udev->descriptor.bcdDevice; in if_usb_probe()
222 priv = lbtf_add_card(cardp, &udev->dev, &if_usb_ops); in if_usb_probe()
226 usb_get_dev(udev); in if_usb_probe()
287 lbtf_deb_usb2(&cardp->udev->dev, "totalbytes = %d\n", in if_usb_send_fw_pkt()
303 lbtf_deb_usb2(&cardp->udev->dev, "Data length = %d\n", in if_usb_send_fw_pkt()
313 lbtf_deb_usb2(&cardp->udev->dev, "There are data to follow\n"); in if_usb_send_fw_pkt()
314 lbtf_deb_usb2(&cardp->udev->dev, in if_usb_send_fw_pkt()
318 lbtf_deb_usb2(&cardp->udev->dev, in if_usb_send_fw_pkt()
320 lbtf_deb_usb2(&cardp->udev->dev, "Downloading FW JUMP BLOCK\n"); in if_usb_send_fw_pkt()
328 lbtf_deb_usb2(&cardp->udev->dev, "Firmware download done; size %d\n", in if_usb_send_fw_pkt()
354 ret = usb_reset_device(cardp->udev); in if_usb_reset_device()
381 lbtf_deb_usbd(&cardp->udev->dev, "Device removed\n"); in usb_tx_block()
390 usb_fill_bulk_urb(urb, cardp->udev, in usb_tx_block()
391 usb_sndbulkpipe(cardp->udev, in usb_tx_block()
398 lbtf_deb_usbd(&cardp->udev->dev, in usb_tx_block()
403 lbtf_deb_usb2(&cardp->udev->dev, "usb_submit_urb success\n"); in usb_tx_block()
430 usb_fill_bulk_urb(cardp->rx_urb, cardp->udev, in __if_usb_submit_rx_urb()
431 usb_rcvbulkpipe(cardp->udev, cardp->ep_in), in __if_usb_submit_rx_urb()
435 lbtf_deb_usb2(&cardp->udev->dev, "Pointer for rx_urb %p\n", in __if_usb_submit_rx_urb()
439 lbtf_deb_usbd(&cardp->udev->dev, in __if_usb_submit_rx_urb()
446 lbtf_deb_usb2(&cardp->udev->dev, "Submit Rx URB success\n"); in __if_usb_submit_rx_urb()
471 lbtf_deb_usbd(&cardp->udev->dev, in if_usb_receive_fwload()
498 if (le16_to_cpu(cardp->udev->descriptor.bcdDevice) < 0x3106) { in if_usb_receive_fwload()
503 lbtf_deb_usbd(&cardp->udev->dev, in if_usb_receive_fwload()
527 lbtf_deb_usbd(&cardp->udev->dev, in if_usb_receive_fwload()
540 lbtf_deb_usbd(&cardp->udev->dev, in if_usb_receive_fwload()
548 lbtf_deb_usb2(&cardp->udev->dev, in if_usb_receive_fwload()
550 lbtf_deb_usb2(&cardp->udev->dev, in if_usb_receive_fwload()
555 lbtf_deb_usbd(&cardp->udev->dev, in if_usb_receive_fwload()
588 lbtf_deb_usbd(&cardp->udev->dev, "Packet length is Invalid\n"); in process_cmdtypedata()
607 lbtf_deb_usbd(&cardp->udev->dev, in process_cmdrequest()
640 lbtf_deb_usbd(&cardp->udev->dev, "RX URB failed: %d\n", in if_usb_receive()
648 lbtf_deb_usbd(&cardp->udev->dev, in if_usb_receive()
670 lbtf_deb_usbd(&cardp->udev->dev, "**EVENT** 0x%X\n", in if_usb_receive()
686 lbtf_deb_usbd(&cardp->udev->dev, in if_usb_receive()
693 lbtf_deb_usbd(&cardp->udev->dev, in if_usb_receive()
720 lbtf_deb_usbd(&cardp->udev->dev, "*** type = %u\n", type); in if_usb_host_to_card()
721 lbtf_deb_usbd(&cardp->udev->dev, "size after = %d\n", nb); in if_usb_host_to_card()
821 ret = request_firmware(&cardp->fw, lbtf_fw_name, &cardp->udev->dev); in if_usb_prog_firmware()
835 lbtf_deb_usbd(&cardp->udev->dev, "URB submission is failed\n"); in if_usb_prog_firmware()