Searched refs:usb_data_index (Results 1 – 4 of 4) sorted by relevance
69 if (++rtlpriv->usb_data_index >= RTL_USB_MAX_RX_COUNT) in _usb_read_sync()70 rtlpriv->usb_data_index = 0; in _usb_read_sync()71 data = &rtlpriv->usb_data[rtlpriv->usb_data_index]; in _usb_read_sync()89 if (++rtlpriv->usb_data_index >= RTL_USB_MAX_RX_COUNT) in _usb_write_sync()90 rtlpriv->usb_data_index = 0; in _usb_write_sync()91 data = &rtlpriv->usb_data[rtlpriv->usb_data_index]; in _usb_write_sync()990 rtlpriv->usb_data_index = 0; in rtl_usb_probe()
2730 int usb_data_index; member
70 unsigned int usb_data_index; member
82 idx = rtwusb->usb_data_index; in rtw_usb_read()83 rtwusb->usb_data_index = (idx + 1) & (RTW_USB_MAX_RXTX_COUNT - 1); in rtw_usb_read()130 idx = rtwusb->usb_data_index; in rtw_usb_write()131 rtwusb->usb_data_index = (idx + 1) & (RTW_USB_MAX_RXTX_COUNT - 1); in rtw_usb_write()