Home
last modified time | relevance | path

Searched refs:tmode (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/spi/
H A Ddesignware_spi.c106 u8 tmode; /* TR/TO/RO/EEPROM */ member
251 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()
/rk3399_rockchip-uboot/drivers/usb/cdns3/
H A Dep0.c305 u16 tmode; in cdns3_ep0_feature_handle_device() local
333 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()