Searched refs:ucr (Results 1 – 4 of 4) sorted by relevance
/drivers/misc/cardreader/ |
D | rtsx_usb.c | 34 struct rtsx_ucr *ucr = from_timer(ucr, t, sg_timer); in rtsx_usb_sg_timed_out() local 36 dev_dbg(&ucr->pusb_intf->dev, "%s: sg transfer timed out", __func__); in rtsx_usb_sg_timed_out() 37 usb_sg_cancel(&ucr->current_sg); in rtsx_usb_sg_timed_out() 40 static int rtsx_usb_bulk_transfer_sglist(struct rtsx_ucr *ucr, in rtsx_usb_bulk_transfer_sglist() argument 46 dev_dbg(&ucr->pusb_intf->dev, "%s: xfer %u bytes, %d entries\n", in rtsx_usb_bulk_transfer_sglist() 48 ret = usb_sg_init(&ucr->current_sg, ucr->pusb_dev, pipe, 0, in rtsx_usb_bulk_transfer_sglist() 53 ucr->sg_timer.expires = jiffies + msecs_to_jiffies(timeout); in rtsx_usb_bulk_transfer_sglist() 54 add_timer(&ucr->sg_timer); in rtsx_usb_bulk_transfer_sglist() 55 usb_sg_wait(&ucr->current_sg); in rtsx_usb_bulk_transfer_sglist() 56 if (!del_timer_sync(&ucr->sg_timer)) in rtsx_usb_bulk_transfer_sglist() [all …]
|
/drivers/mmc/host/ |
D | rtsx_usb_sdmmc.c | 35 struct rtsx_ucr *ucr; member 66 struct rtsx_ucr *ucr = host->ucr; in sd_clear_error() local 67 rtsx_usb_ep0_write_register(ucr, CARD_STOP, in sd_clear_error() 71 rtsx_usb_clear_dma_err(ucr); in sd_clear_error() 72 rtsx_usb_clear_fsm_err(ucr); in sd_clear_error() 78 struct rtsx_ucr *ucr = host->ucr; in sd_print_debug_regs() local 81 rtsx_usb_ep0_read_register(ucr, SD_STAT1, &val); in sd_print_debug_regs() 83 rtsx_usb_ep0_read_register(ucr, SD_STAT2, &val); in sd_print_debug_regs() 85 rtsx_usb_ep0_read_register(ucr, SD_BUS_STAT, &val); in sd_print_debug_regs() 95 struct rtsx_ucr *ucr = host->ucr; in sd_read_data() local [all …]
|
/drivers/memstick/host/ |
D | rtsx_usb_ms.c | 26 struct rtsx_ucr *ucr; member 49 struct rtsx_ucr *ucr = host->ucr; in ms_clear_error() local 50 rtsx_usb_ep0_write_register(ucr, CARD_STOP, in ms_clear_error() 54 rtsx_usb_clear_dma_err(ucr); in ms_clear_error() 55 rtsx_usb_clear_fsm_err(ucr); in ms_clear_error() 62 struct rtsx_ucr *ucr = host->ucr; in ms_print_debug_regs() local 67 rtsx_usb_init_cmd(ucr); in ms_print_debug_regs() 71 rtsx_usb_add_cmd(ucr, READ_REG_CMD, i, 0, 0); in ms_print_debug_regs() 75 rtsx_usb_add_cmd(ucr, READ_REG_CMD, i, 0, 0); in ms_print_debug_regs() 79 rtsx_usb_add_cmd(ucr, READ_REG_CMD, i, 0, 0); in ms_print_debug_regs() [all …]
|
/drivers/tty/serial/ |
D | imx.c | 368 struct imx_port_ucrs *ucr) in imx_uart_ucrs_save() argument 371 ucr->ucr1 = imx_uart_readl(sport, UCR1); in imx_uart_ucrs_save() 372 ucr->ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_ucrs_save() 373 ucr->ucr3 = imx_uart_readl(sport, UCR3); in imx_uart_ucrs_save() 377 struct imx_port_ucrs *ucr) in imx_uart_ucrs_restore() argument 380 imx_uart_writel(sport, ucr->ucr1, UCR1); in imx_uart_ucrs_restore() 381 imx_uart_writel(sport, ucr->ucr2, UCR2); in imx_uart_ucrs_restore() 382 imx_uart_writel(sport, ucr->ucr3, UCR3); in imx_uart_ucrs_restore()
|