Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/gadget/
Dcomposite.c213 static int config_desc(struct usb_composite_dev *cdev, unsigned w_value) in config_desc() argument
217 u8 type = w_value >> 8; in config_desc()
230 w_value &= 0xff; in config_desc()
239 if (w_value == 0) in config_desc()
241 w_value--; in config_desc()
703 u16 w_value = le16_to_cpu(ctrl->wValue); in composite_setup() local
733 switch (w_value >> 8) { in composite_setup()
755 value = config_desc(cdev, w_value); in composite_setup()
761 w_index, w_value & 0xff); in composite_setup()
791 value = set_config(cdev, ctrl, w_value); in composite_setup()
[all …]
Df_dfu.c318 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_idle() local
330 f_dfu->blk_seq_num = w_value; in state_dfu_idle()
421 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_dnload_idle() local
428 f_dfu->blk_seq_num = w_value; in state_dfu_dnload_idle()
508 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_upload_idle() local
515 f_dfu->blk_seq_num = w_value; in state_dfu_upload_idle()
590 u16 w_value = le16_to_cpu(ctrl->wValue); in dfu_handle() local
594 debug("w_value: 0x%x len: 0x%x\n", w_value, len); in dfu_handle()
600 (w_value >> 8) == DFU_DT_FUNC) { in dfu_handle()
Dat91_udc.c885 #define w_value le16_to_cpu(pkt.r.wValue) in handle_setup() macro
890 w_value, w_index, w_length); in handle_setup()
905 udc->addr = w_value; in handle_setup()
939 if (w_value != USB_DEVICE_REMOTE_WAKEUP) in handle_setup()
947 if (w_value != USB_DEVICE_REMOTE_WAKEUP) in handle_setup()
1002 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup()
1021 if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) in handle_setup()
1044 #undef w_value in handle_setup()
Df_sdp.c415 u16 w_value = le16_to_cpu(ctrl->wValue); in sdp_setup() local
419 debug("w_value: 0x%04x len: 0x%04x\n", w_value, len); in sdp_setup()
433 int report = w_value & HID_REPORT_ID_MASK; in sdp_setup()
Df_mass_storage.c535 u16 w_value = get_unaligned_le16(&ctrl->wValue); in fsg_setup() local
547 if (w_index != fsg->interface_number || w_value != 0) in fsg_setup()
560 if (w_index != fsg->interface_number || w_value != 0) in fsg_setup()
/external/ltp/testcases/open_posix_testsuite/functional/semaphores/
Dsem_readerwriter.c114 int w_value = 1; in main() local
125 if (-1 == sem_init(&w_lock, shared, w_value)) { in main()