Lines Matching defs:udev
558 static int af9005_boot_packet(struct usb_device *udev, int type, u8 *reply,
608 ret = usb_bulk_msg(udev,
609 usb_sndbulkpipe(udev, 0x02),
619 ret = usb_bulk_msg(udev,
620 usb_rcvbulkpipe(udev, 0x01), buf, 9, &act_len, 2000);
713 static int af9005_download_firmware(struct usb_device *udev, const struct firmware *fw)
724 ret = af9005_boot_packet(udev, FW_CONFIG, &reply, buf,
741 ret = usb_bulk_msg(udev,
742 usb_sndbulkpipe(udev, 0x02),
749 ret = af9005_boot_packet(udev, FW_CONFIRM, &reply,
758 ret = af9005_boot_packet(udev, FW_BOOT, &reply, buf,
762 ret = af9005_boot_packet(udev, FW_CONFIG, &reply, buf,
814 struct usb_device *udev = adap->dev->udev;
815 usb_clear_halt(udev, usb_sndbulkpipe(udev, 2));
816 usb_clear_halt(udev, usb_rcvbulkpipe(udev, 1));
962 static int af9005_identify_state(struct usb_device *udev,
974 ret = af9005_boot_packet(udev, FW_CONFIG, &reply,