Searched refs:w_index (Results 1 - 5 of 5) sorted by relevance

/u-boot/drivers/fpga/
H A Dintel_sdm_mb.c261 static u32 get_resp_hdr(u32 *r_index, u32 *w_index, u32 *resp_count, argument
278 resp_buf[(*w_index)++] = buf[i];
279 *w_index %= buf_size;
/u-boot/drivers/usb/gadget/
H A Dcomposite.c1011 u16 w_index = le16_to_cpu(ctrl->wIndex); local
1014 u8 intf = w_index & 0xFF;
1079 w_index, w_value & 0xff);
1132 if (!cdev->config || w_index >= MAX_CONFIG_INTERFACES)
1139 value = f->set_alt(f, w_index, w_value);
1144 if (!cdev->config || w_index >= MAX_CONFIG_INTERFACES)
1150 value = f->get_alt ? f->get_alt(f, w_index) : 0;
1175 if (w_index != 0x4 || (w_value >> 8))
1177 buf[6] = w_index;
1199 if (w_index !
[all...]
H A Df_acm.c388 u16 w_index = le16_to_cpu(ctrl->wIndex); local
399 if (w_length != sizeof(f_acm->line_coding) || w_index != f_acm->ctrl_id)
411 if (w_length != sizeof(f_acm->line_coding) || w_index != f_acm->ctrl_id)
423 if (w_index != f_acm->ctrl_id)
434 ctrl->bRequestType, ctrl->bRequest, w_value, w_index,
H A Dat91_udc.c887 #define w_index le16_to_cpu(pkt.r.wIndex) macro
893 w_value, w_index, w_length);
980 tmp = w_index & USB_ENDPOINT_NUMBER_MASK;
986 if ((w_index & USB_DIR_IN)) {
1003 tmp = w_index & USB_ENDPOINT_NUMBER_MASK;
1009 if ((w_index & USB_DIR_IN)) {
1022 tmp = w_index & USB_ENDPOINT_NUMBER_MASK;
1030 if ((w_index & USB_DIR_IN)) {
1048 #undef w_index macro
H A Df_mass_storage.c544 u16 w_index = get_unaligned_le16(&ctrl->wIndex); local
557 if (w_index != fsg->interface_number || w_value != 0)
570 if (w_index != fsg->interface_number || w_value != 0)
584 get_unaligned_le16(&ctrl->wValue), w_index, w_length);

Completed in 111 milliseconds