Searched refs:etd (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/usb/host/ |
D | imx21-hcd.c | 57 #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 …]
|
D | imx21-dbg.c | 197 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 …]
|
D | imx21-hcd.h | 332 int etd[NUM_ISO_ETDS]; member 414 struct etd_priv etd[USB_NUM_ETD]; member
|
/Linux-v5.4/drivers/input/mouse/ |
D | elantech.c | 27 if (etd->info.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->info.hw_version) { in elantech_read_reg() 140 else if (etd->info.hw_version != 4) in elantech_read_reg() 154 struct elantech_data *etd = psmouse->private; in elantech_write_reg() local 163 switch (etd->info.hw_version) { in elantech_write_reg() 282 struct elantech_data *etd = psmouse->private; in elantech_report_absolute_v1() local 286 if (etd->info.fw_version < 0x020000) { in elantech_report_absolute_v1() 301 if (etd->info.jumpy_cursor) { in elantech_report_absolute_v1() [all …]
|
/Linux-v5.4/drivers/staging/wusbcore/ |
D | security.c | 208 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 …]
|
/Linux-v5.4/drivers/staging/wusbcore/host/ |
D | hwa-hc.c | 629 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()
|