Lines Matching refs:usbdev
56 status = usb_bulk_msg(dev->usbdev, in rsi_usb_card_write()
57 usb_sndbulkpipe(dev->usbdev, ep), in rsi_usb_card_write()
175 static int rsi_usb_reg_read(struct usb_device *usbdev, in rsi_usb_reg_read() argument
190 status = usb_control_msg(usbdev, in rsi_usb_reg_read()
191 usb_rcvctrlpipe(usbdev, 0), in rsi_usb_reg_read()
220 static int rsi_usb_reg_write(struct usb_device *usbdev, in rsi_usb_reg_write() argument
240 status = usb_control_msg(usbdev, in rsi_usb_reg_write()
241 usb_sndctrlpipe(usbdev, 0), in rsi_usb_reg_write()
345 dev->usbdev, in rsi_rx_urb_submit()
346 usb_rcvbulkpipe(dev->usbdev, in rsi_rx_urb_submit()
379 status = usb_control_msg(dev->usbdev, in rsi_usb_read_register_multiple()
380 usb_rcvctrlpipe(dev->usbdev, 0), in rsi_usb_read_register_multiple()
427 status = usb_control_msg(dev->usbdev, in rsi_usb_write_register_multiple()
428 usb_sndctrlpipe(dev->usbdev, 0), in rsi_usb_write_register_multiple()
480 struct usb_device *usbdev = in rsi_usb_master_reg_read() local
481 ((struct rsi_91x_usbdev *)adapter->rsi_dev)->usbdev; in rsi_usb_master_reg_read()
485 ret = rsi_usb_reg_read(usbdev, reg, &temp, len); in rsi_usb_master_reg_read()
497 struct usb_device *usbdev = in rsi_usb_master_reg_write() local
498 ((struct rsi_91x_usbdev *)adapter->rsi_dev)->usbdev; in rsi_usb_master_reg_write()
500 return rsi_usb_reg_write(usbdev, reg, value, len); in rsi_usb_master_reg_write()
628 rsi_dev->usbdev = interface_to_usbdev(pfunction); in rsi_init_usb_interface()
827 status = rsi_usb_reg_read(dev->usbdev, FW_STATUS_REG, &fw_status, 2); in rsi_probe()