Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-dw.c34 u8 tmode; /* TR/TO/RO/EEPROM */ member
325 | (chip->tmode << SPI_TMOD_OFFSET); in dw_spi_transfer_one()
333 chip->tmode = SPI_TMOD_TR; in dw_spi_transfer_one()
335 chip->tmode = SPI_TMOD_RO; in dw_spi_transfer_one()
337 chip->tmode = SPI_TMOD_TO; in dw_spi_transfer_one()
340 cr0 |= (chip->tmode << SPI_TMOD_OFFSET); in dw_spi_transfer_one()
430 chip->tmode = SPI_TMOD_TR; in dw_spi_setup()
Dspi-rockchip.c179 u8 tmode; member
530 cr0 |= (rs->tmode << CR0_XFM_OFFSET); in rockchip_spi_config()
622 rs->tmode = CR0_XFM_TR; in rockchip_spi_transfer_one()
624 rs->tmode = CR0_XFM_TO; in rockchip_spi_transfer_one()
626 rs->tmode = CR0_XFM_RO; in rockchip_spi_transfer_one()
637 if (rs->tmode == CR0_XFM_RO) { in rockchip_spi_transfer_one()
/drivers/usb/chipidea/
Dudc.c1023 u8 tmode = 0; in isr_setup_packet_handler() local
1121 tmode = le16_to_cpu(req.wIndex) >> 8; in isr_setup_packet_handler()
1122 switch (tmode) { in isr_setup_packet_handler()
1128 ci->test_mode = tmode; in isr_setup_packet_handler()