Home
last modified time | relevance | path

Searched refs:etd (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/usb/host/
Dimx21-hcd.c57 #define DEBUG_LOG_FRAME(imx21, etd, event) \ argument
58 (etd)->event##_frame = readl((imx21)->regs + USBH_FRMNUB)
60 #define DEBUG_LOG_FRAME(imx21, etd, event) do { } while (0) argument
140 struct imx21 *imx21, struct etd_priv *etd, int status);
142 static void free_dmem(struct imx21 *imx21, struct etd_priv *etd);
151 struct etd_priv *etd = imx21->etd; in alloc_etd() local
153 for (i = 0; i < USB_NUM_ETD; i++, etd++) { in alloc_etd()
154 if (etd->alloc == 0) { in alloc_etd()
155 memset(etd, 0, sizeof(imx21->etd[0])); in alloc_etd()
156 etd->alloc = 1; in alloc_etd()
[all …]
Dimx21-dbg.c197 struct etd_priv *etd; in debug_status_show() local
206 for (i = 0, etd = imx21->etd; i < USB_NUM_ETD; i++, etd++) { in debug_status_show()
207 if (etd->alloc) in debug_status_show()
209 if (etd->urb) in debug_status_show()
223 list_for_each_entry(etd, &imx21->queue_for_dmem, queue) in debug_status_show()
275 struct etd_priv *etd; in debug_etd_show() local
283 for (i = 0, etd = imx21->etd; i < USB_NUM_ETD; i++, etd++) { in debug_etd_show()
286 if (etd->urb) { in debug_etd_show()
287 urb_priv = etd->urb->hcpriv; in debug_etd_show()
303 format_ep(etd->ep, buf, sizeof(buf)), in debug_etd_show()
[all …]
Dhwa-hc.c629 struct usb_encryption_descriptor *etd; in hwahc_security_create() local
668 etd = itr; in hwahc_security_create()
669 if (top - itr < sizeof(*etd)) { in hwahc_security_create()
672 top - itr, sizeof(*etd)); in hwahc_security_create()
675 if (etd->bLength < sizeof(*etd)) { in hwahc_security_create()
679 (size_t)etd->bLength, sizeof(*etd)); in hwahc_security_create()
682 itr += etd->bLength; in hwahc_security_create()
685 wusb_et_name(etd->bEncryptionType), in hwahc_security_create()
686 etd->bEncryptionValue); in hwahc_security_create()
687 wusbhc->ccm1_etd = etd; in hwahc_security_create()
Dimx21-hcd.h332 int etd[NUM_ISO_ETDS]; member
414 struct etd_priv etd[USB_NUM_ETD]; member
/Linux-v4.19/drivers/input/mouse/
Delantech.c30 if (etd->info.debug) \
75 struct elantech_data *etd = psmouse->private; in elantech_ps2_command() local
101 struct elantech_data *etd = psmouse->private; in elantech_read_reg() local
111 switch (etd->info.hw_version) { in elantech_read_reg()
143 else if (etd->info.hw_version != 4) in elantech_read_reg()
157 struct elantech_data *etd = psmouse->private; in elantech_write_reg() local
166 switch (etd->info.hw_version) { in elantech_write_reg()
239 struct elantech_data *etd = psmouse->private; in elantech_report_absolute_v1() local
243 if (etd->info.fw_version < 0x020000) { in elantech_report_absolute_v1()
258 if (etd->info.jumpy_cursor) { in elantech_report_absolute_v1()
[all …]
/Linux-v4.19/drivers/usb/wusbcore/
Dsecurity.c208 const struct usb_encryption_descriptor *etd, *ccm1_etd = NULL; in wusb_dev_sec_add() local
245 etd = itr; in wusb_dev_sec_add()
246 if (top - itr < sizeof(*etd)) { in wusb_dev_sec_add()
249 top - itr, sizeof(*etd)); in wusb_dev_sec_add()
252 if (etd->bLength < sizeof(*etd)) { in wusb_dev_sec_add()
256 etd->bLength, sizeof(*etd)); in wusb_dev_sec_add()
259 itr += etd->bLength; in wusb_dev_sec_add()
262 wusb_et_name(etd->bEncryptionType), in wusb_dev_sec_add()
263 etd->bEncryptionValue, etd->bAuthKeyIndex); in wusb_dev_sec_add()
264 if (etd->bEncryptionType == USB_ENC_TYPE_CCM_1) in wusb_dev_sec_add()
[all …]