Searched refs:tmode (Results 1 – 2 of 2) sorted by relevance
106 u8 tmode; /* TR/TO/RO/EEPROM */ member251 priv->tmode = 0; /* Tx & Rx */ in dw_spi_probe()374 (priv->tmode << SPI_TMOD_OFFSET); in dw_spi_xfer()377 priv->tmode = SPI_TMOD_TR; in dw_spi_xfer()379 priv->tmode = SPI_TMOD_RO; in dw_spi_xfer()385 priv->tmode = SPI_TMOD_TR; in dw_spi_xfer()388 cr0 |= (priv->tmode << SPI_TMOD_OFFSET); in dw_spi_xfer()
305 u16 tmode; in cdns3_ep0_feature_handle_device() local333 tmode = le16_to_cpu(ctrl->wIndex); in cdns3_ep0_feature_handle_device()335 if (!set || (tmode & 0xff) != 0) in cdns3_ep0_feature_handle_device()338 switch (tmode >> 8) { in cdns3_ep0_feature_handle_device()352 USB_STS_TMODE_SEL(tmode - 1)); in cdns3_ep0_feature_handle_device()