Home
last modified time | relevance | path

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

/linux/drivers/mmc/host/
H A Dushc.c119 static int ushc_hw_reset(struct ushc_data *ushc) in ushc_hw_reset() argument
121 return usb_control_msg(ushc->usb_dev, usb_sndctrlpipe(ushc->usb_dev, 0), in ushc_hw_reset()
126 static int ushc_hw_get_caps(struct ushc_data *ushc) in ushc_hw_get_caps() argument
131 ret = usb_control_msg(ushc->usb_dev, usb_rcvctrlpipe(ushc->usb_dev, 0), in ushc_hw_get_caps()
133 0, 0, &ushc->caps, sizeof(ushc->caps), 100); in ushc_hw_get_caps()
137 ushc->caps = le32_to_cpu(ushc->caps); in ushc_hw_get_caps()
139 version = ushc->caps & USHC_GET_CAPS_VERSION_MASK; in ushc_hw_get_caps()
141 dev_err(&ushc->usb_dev->dev, "controller version %d is not supported\n", version); in ushc_hw_get_caps()
148 static int ushc_hw_set_host_ctrl(struct ushc_data *ushc, u16 mask, u16 val) in ushc_hw_set_host_ctrl() argument
153 host_ctrl = (ushc->host_ctrl & ~mask) | val; in ushc_hw_set_host_ctrl()
[all …]
H A DMakefile62 obj-$(CONFIG_MMC_USHC) += ushc.o