• Home
  • Raw
  • Download

Lines Matching refs:usb_dev

938 static int cxacru_fw(struct usb_device *usb_dev, enum cxacru_fw_request fw,  in cxacru_fw()  argument
968 ret = usb_bulk_msg(usb_dev, usb_sndbulkpipe(usb_dev, CXACRU_EP_CMD), in cxacru_fw()
971 dev_dbg(&usb_dev->dev, "sending fw %#x failed\n", fw); in cxacru_fw()
977 dev_dbg(&usb_dev->dev, "sent fw %#x\n", fw); in cxacru_fw()
992 struct usb_device *usb_dev = usbatm->usb_dev; in cxacru_upload_firmware() local
993 __le16 signature[] = { usb_dev->descriptor.idVendor, in cxacru_upload_firmware()
994 usb_dev->descriptor.idProduct }; in cxacru_upload_firmware()
1001 ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, PLLFCLK_ADDR, (u8 *) &val, 4); in cxacru_upload_firmware()
1009 ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, PLLBCLK_ADDR, (u8 *) &val, 4); in cxacru_upload_firmware()
1017 ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, SDRAMEN_ADDR, (u8 *) &val, 4); in cxacru_upload_firmware()
1025 ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, FW_ADDR, fw->data, fw->size); in cxacru_upload_firmware()
1034 ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, BR_ADDR, bp->data, bp->size); in cxacru_upload_firmware()
1042 ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, SIG_ADDR, (u8 *) signature, 4); in cxacru_upload_firmware()
1051 ret = cxacru_fw(usb_dev, FW_WRITE_MEM, 0x2, 0x0, BR_STACK_ADDR, (u8 *) &val, 4); in cxacru_upload_firmware()
1053 ret = cxacru_fw(usb_dev, FW_GOTO_MEM, 0x0, 0x0, FW_ADDR, NULL, 0); in cxacru_upload_firmware()
1063 usb_clear_halt(usb_dev, usb_sndbulkpipe(usb_dev, CXACRU_EP_CMD)); in cxacru_upload_firmware()
1064 usb_clear_halt(usb_dev, usb_rcvbulkpipe(usb_dev, CXACRU_EP_CMD)); in cxacru_upload_firmware()
1065 usb_clear_halt(usb_dev, usb_sndbulkpipe(usb_dev, CXACRU_EP_DATA)); in cxacru_upload_firmware()
1066 usb_clear_halt(usb_dev, usb_rcvbulkpipe(usb_dev, CXACRU_EP_DATA)); in cxacru_upload_firmware()
1135 struct usb_device *usb_dev = interface_to_usbdev(intf); in cxacru_bind() local
1136 struct usb_host_endpoint *cmd_ep = usb_dev->ep_in[CXACRU_EP_CMD]; in cxacru_bind()
1186 usb_dev, usb_rcvintpipe(usb_dev, CXACRU_EP_CMD), in cxacru_bind()
1191 usb_dev, usb_sndintpipe(usb_dev, CXACRU_EP_CMD), in cxacru_bind()
1196 usb_dev, usb_rcvbulkpipe(usb_dev, CXACRU_EP_CMD), in cxacru_bind()
1201 usb_dev, usb_sndbulkpipe(usb_dev, CXACRU_EP_CMD), in cxacru_bind()
1351 struct usb_device *usb_dev = interface_to_usbdev(intf); in cxacru_usb_probe() local
1357 if (usb_dev->descriptor.bDeviceClass == USB_CLASS_VENDOR_SPEC in cxacru_usb_probe()
1358 && usb_string(usb_dev, usb_dev->descriptor.iProduct, in cxacru_usb_probe()