Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/input/mouse/
Delantech.c27 if (etd->debug) \
72 struct elantech_data *etd = psmouse->private; in elantech_ps2_command() local
98 struct elantech_data *etd = psmouse->private; in elantech_read_reg() local
108 switch (etd->hw_version) { in elantech_read_reg()
140 else if (etd->hw_version != 4) in elantech_read_reg()
154 struct elantech_data *etd = psmouse->private; in elantech_write_reg() local
163 switch (etd->hw_version) { in elantech_write_reg()
240 struct elantech_data *etd = psmouse->private; in elantech_report_absolute_v1() local
244 if (etd->fw_version < 0x020000) { in elantech_report_absolute_v1()
259 if (etd->jumpy_cursor) { in elantech_report_absolute_v1()
[all …]
/linux-4.1.27/drivers/usb/host/
Dimx21-hcd.c70 #define DEBUG_LOG_FRAME(imx21, etd, event) \ argument
71 (etd)->event##_frame = readl((imx21)->regs + USBH_FRMNUB)
73 #define DEBUG_LOG_FRAME(imx21, etd, event) do { } while (0) argument
153 struct imx21 *imx21, struct etd_priv *etd, int status);
155 static void free_dmem(struct imx21 *imx21, struct etd_priv *etd);
164 struct etd_priv *etd = imx21->etd; in alloc_etd() local
166 for (i = 0; i < USB_NUM_ETD; i++, etd++) { in alloc_etd()
167 if (etd->alloc == 0) { in alloc_etd()
168 memset(etd, 0, sizeof(imx21->etd[0])); in alloc_etd()
169 etd->alloc = 1; in alloc_etd()
[all …]
Dimx21-dbg.c210 struct etd_priv *etd; in debug_status_show() local
219 for (i = 0, etd = imx21->etd; i < USB_NUM_ETD; i++, etd++) { in debug_status_show()
220 if (etd->alloc) in debug_status_show()
222 if (etd->urb) in debug_status_show()
236 list_for_each_entry(etd, &imx21->queue_for_dmem, queue) in debug_status_show()
286 struct etd_priv *etd; in debug_etd_show() local
294 for (i = 0, etd = imx21->etd; i < USB_NUM_ETD; i++, etd++) { in debug_etd_show()
297 if (etd->urb) { in debug_etd_show()
298 urb_priv = etd->urb->hcpriv; in debug_etd_show()
314 format_ep(etd->ep, buf, sizeof(buf)), in debug_etd_show()
[all …]
Dhwa-hc.c643 struct usb_encryption_descriptor *etd; in hwahc_security_create() local
682 etd = itr; in hwahc_security_create()
683 if (top - itr < sizeof(*etd)) { in hwahc_security_create()
686 top - itr, sizeof(*etd)); in hwahc_security_create()
689 if (etd->bLength < sizeof(*etd)) { in hwahc_security_create()
693 (size_t)etd->bLength, sizeof(*etd)); in hwahc_security_create()
696 itr += etd->bLength; in hwahc_security_create()
699 wusb_et_name(etd->bEncryptionType), in hwahc_security_create()
700 etd->bEncryptionValue); in hwahc_security_create()
701 wusbhc->ccm1_etd = etd; in hwahc_security_create()
Dimx21-hcd.h345 int etd[NUM_ISO_ETDS]; member
427 struct etd_priv etd[USB_NUM_ETD]; member
/linux-4.1.27/drivers/usb/wusbcore/
Dsecurity.c221 const struct usb_encryption_descriptor *etd, *ccm1_etd = NULL; in wusb_dev_sec_add() local
257 etd = itr; in wusb_dev_sec_add()
258 if (top - itr < sizeof(*etd)) { in wusb_dev_sec_add()
261 top - itr, sizeof(*etd)); in wusb_dev_sec_add()
264 if (etd->bLength < sizeof(*etd)) { in wusb_dev_sec_add()
268 etd->bLength, sizeof(*etd)); in wusb_dev_sec_add()
271 itr += etd->bLength; in wusb_dev_sec_add()
274 wusb_et_name(etd->bEncryptionType), in wusb_dev_sec_add()
275 etd->bEncryptionValue, etd->bAuthKeyIndex); in wusb_dev_sec_add()
276 if (etd->bEncryptionType == USB_ENC_TYPE_CCM_1) in wusb_dev_sec_add()
[all …]