Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/misc/cardreader/
Drtsx_usb.c34 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 …]
/Linux-v6.6/drivers/mmc/host/
Drtsx_usb_sdmmc.c35 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 …]
/Linux-v6.6/drivers/memstick/host/
Drtsx_usb_ms.c26 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 …]
/Linux-v6.6/include/linux/
Drtsx_usb.h37 #define CHECK_PKG(ucr, pkg) ((ucr)->package == (pkg)) argument
66 extern int rtsx_usb_get_card_status(struct rtsx_ucr *ucr, u16 *status);
68 extern int rtsx_usb_read_register(struct rtsx_ucr *ucr, u16 addr, u8 *data);
69 extern int rtsx_usb_write_register(struct rtsx_ucr *ucr, u16 addr, u8 mask,
72 extern int rtsx_usb_ep0_write_register(struct rtsx_ucr *ucr, u16 addr, u8 mask,
74 extern int rtsx_usb_ep0_read_register(struct rtsx_ucr *ucr, u16 addr,
77 extern void rtsx_usb_add_cmd(struct rtsx_ucr *ucr, u8 cmd_type,
79 extern int rtsx_usb_send_cmd(struct rtsx_ucr *ucr, u8 flag, int timeout);
80 extern int rtsx_usb_get_rsp(struct rtsx_ucr *ucr, int rsp_len, int timeout);
81 extern int rtsx_usb_transfer_data(struct rtsx_ucr *ucr, unsigned int pipe,
[all …]
/Linux-v6.6/drivers/tty/serial/
Dimx.c296 struct imx_port_ucrs *ucr) in imx_uart_ucrs_save() argument
299 ucr->ucr1 = imx_uart_readl(sport, UCR1); in imx_uart_ucrs_save()
300 ucr->ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_ucrs_save()
301 ucr->ucr3 = imx_uart_readl(sport, UCR3); in imx_uart_ucrs_save()
305 struct imx_port_ucrs *ucr) in imx_uart_ucrs_restore() argument
308 imx_uart_writel(sport, ucr->ucr1, UCR1); in imx_uart_ucrs_restore()
309 imx_uart_writel(sport, ucr->ucr2, UCR2); in imx_uart_ucrs_restore()
310 imx_uart_writel(sport, ucr->ucr3, UCR3); in imx_uart_ucrs_restore()
/Linux-v6.6/Documentation/networking/device_drivers/can/ctu/
Dctucanfd-driver.rst288 (details in `CAN Specification, Version 2.0 <http://esd.cs.ucr.edu/webres/can20.pdf>`_, chapter 8).
/Linux-v6.6/
DCREDITS1410 E: grif@cs.ucr.edu
1411 W: http://www.cs.ucr.edu/~grif