Home
last modified time | relevance | path

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

/drivers/usb/cdns3/
Dcdnsp-ep0.c208 u16 tmode; in cdnsp_ep0_handle_feature_device() local
238 tmode = le16_to_cpu(ctrl->wIndex); in cdnsp_ep0_handle_feature_device()
240 if (!set || (tmode & 0xff) != 0) in cdnsp_ep0_handle_feature_device()
243 tmode = tmode >> 8; in cdnsp_ep0_handle_feature_device()
245 if (tmode > USB_TEST_FORCE_ENABLE || tmode < USB_TEST_J) in cdnsp_ep0_handle_feature_device()
248 pdev->test_mode = tmode; in cdnsp_ep0_handle_feature_device()
Dcdns3-ep0.c282 u16 tmode; in cdns3_ep0_feature_handle_device() local
311 tmode = le16_to_cpu(ctrl->wIndex); in cdns3_ep0_feature_handle_device()
313 if (!set || (tmode & 0xff) != 0) in cdns3_ep0_feature_handle_device()
316 tmode >>= 8; in cdns3_ep0_feature_handle_device()
317 switch (tmode) { in cdns3_ep0_feature_handle_device()
324 USB_STS_TMODE_SEL(tmode - 1)); in cdns3_ep0_feature_handle_device()
/drivers/spi/
Dspi-dw-core.c326 cr0 |= FIELD_PREP(DW_PSSI_CTRLR0_TMOD_MASK, cfg->tmode); in dw_spi_update_config()
329 cr0 |= FIELD_PREP(DW_HSSI_CTRLR0_TMOD_MASK, cfg->tmode); in dw_spi_update_config()
333 if (cfg->tmode == DW_SPI_CTRLR0_TMOD_EPROMREAD || in dw_spi_update_config()
334 cfg->tmode == DW_SPI_CTRLR0_TMOD_RO) in dw_spi_update_config()
417 .tmode = DW_SPI_CTRLR0_TMOD_TR, in dw_spi_transfer_one()
684 cfg.tmode = DW_SPI_CTRLR0_TMOD_EPROMREAD; in dw_spi_exec_mem_op()
687 cfg.tmode = DW_SPI_CTRLR0_TMOD_TO; in dw_spi_exec_mem_op()
Dspi-dw-bt1.c126 cfg.tmode = DW_SPI_CTRLR0_TMOD_EPROMREAD; in dw_spi_bt1_dirmap_read()
Dspi-dw.h134 u8 tmode; member
/drivers/usb/gadget/udc/cdns2/
Dcdns2-ep0.c218 u16 tmode; in cdns2_ep0_handle_feature_device() local
232 tmode = le16_to_cpu(ctrl->wIndex); in cdns2_ep0_handle_feature_device()
234 if (!set || (tmode & 0xff) != 0) in cdns2_ep0_handle_feature_device()
237 tmode >>= 8; in cdns2_ep0_handle_feature_device()
238 switch (tmode) { in cdns2_ep0_handle_feature_device()
/drivers/usb/chipidea/
Dudc.c1150 u8 tmode = 0; in isr_setup_packet_handler() local
1248 tmode = le16_to_cpu(req.wIndex) >> 8; in isr_setup_packet_handler()
1249 switch (tmode) { in isr_setup_packet_handler()
1255 ci->test_mode = tmode; in isr_setup_packet_handler()