Home
last modified time | relevance | path

Searched refs:wValue (Results 1 – 25 of 39) sorted by relevance

12

/linux-2.4.37.9/drivers/usb/host/
Dhc_sl811_rh.c272 __u16 wValue; in rh_submit_urb() local
288 wValue = le16_to_cpu (cmd->wValue); in rh_submit_urb()
326 switch (wValue) { in rh_submit_urb()
333 switch (wValue) { in rh_submit_urb()
344 switch (wValue) { in rh_submit_urb()
380 switch (wValue) { in rh_submit_urb()
409 hci->rh.devnum = wValue; in rh_submit_urb()
413 DBGVERBOSE ("rh_submit_urb: RH_GET_DESCRIPTOR, wValue = 0x%x\n", wValue); in rh_submit_urb()
414 switch ((wValue & 0xff00) >> 8) { in rh_submit_urb()
426 len = usb_root_hub_string (wValue & 0xff, (int) (long) 0, in rh_submit_urb()
Dehci-hub.c140 u16 wValue, in ehci_hub_control() argument
161 switch (wValue) { in ehci_hub_control()
178 switch (wValue) { in ehci_hub_control()
282 switch (wValue) { in ehci_hub_control()
299 switch (wValue) { in ehci_hub_control()
Dsl811.c393 __u16 wValue; in sl811_rh_submit_urb() local
408 wValue = le16_to_cpu (cmd->wValue); in sl811_rh_submit_urb()
443 switch (wValue) { in sl811_rh_submit_urb()
450 switch (wValue) { in sl811_rh_submit_urb()
460 switch (wValue) { in sl811_rh_submit_urb()
496 switch (wValue) { in sl811_rh_submit_urb()
520 hc->rh.devnum = wValue; in sl811_rh_submit_urb()
524 switch ((wValue & 0xff00) >> 8) { in sl811_rh_submit_urb()
536 len = usb_root_hub_string(wValue & 0xff, (int)(long)0, "SL811HS", data, wLength); in sl811_rh_submit_urb()
Duhci.c2097 __u16 wValue; in rh_submit_urb() local
2111 wValue = le16_to_cpu(cmd->wValue); in rh_submit_urb()
2155 switch (wValue) { in rh_submit_urb()
2161 switch (wValue) { in rh_submit_urb()
2167 switch (wValue) { in rh_submit_urb()
2193 switch (wValue) { in rh_submit_urb()
2215 uhci->rh.devnum = wValue; in rh_submit_urb()
2218 switch ((wValue & 0xff00) >> 8) { in rh_submit_urb()
2232 len = usb_root_hub_string (wValue & 0xff, in rh_submit_urb()
Dusb-ohci.c1964 __u16 wValue; in rh_submit_urb() local
1982 wValue = le16_to_cpu (cmd->wValue); in rh_submit_urb()
2009 switch (wValue) { in rh_submit_urb()
2015 switch (wValue) { in rh_submit_urb()
2024 switch (wValue) { in rh_submit_urb()
2045 switch (wValue) { in rh_submit_urb()
2061 case RH_SET_ADDRESS: ohci->rh.devnum = wValue; OK(0); in rh_submit_urb()
2064 switch ((wValue & 0xff00) >> 8) { in rh_submit_urb()
2080 len = usb_root_hub_string (wValue & 0xff, in rh_submit_urb()
Dusb-uhci.c1982 __u16 wValue; in rh_submit_urb() local
1998 wValue = le16_to_cpu (cmd->wValue); in rh_submit_urb()
2006 uhci->rh.devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in rh_submit_urb()
2046 switch (wValue) { in rh_submit_urb()
2053 switch (wValue) { in rh_submit_urb()
2060 switch (wValue) { in rh_submit_urb()
2087 switch (wValue) { in rh_submit_urb()
2110 uhci->rh.devnum = wValue; in rh_submit_urb()
2114 switch ((wValue & 0xff00) >> 8) { in rh_submit_urb()
2128 len = usb_root_hub_string (wValue & 0xff, in rh_submit_urb()
/linux-2.4.37.9/drivers/usb/
Dpowermate.c100 pm->configdr.wValue = cpu_to_le16( SET_PULSE_ASLEEP ); in powermate_sync_state()
104 pm->configdr.wValue = cpu_to_le16( SET_PULSE_AWAKE ); in powermate_sync_state()
136 pm->configdr.wValue = cpu_to_le16( (pm->pulse_table << 8) | SET_PULSE_MODE ); in powermate_sync_state()
140 pm->configdr.wValue = cpu_to_le16( SET_STATIC_BRIGHTNESS ); in powermate_sync_state()
Dhcd.c324 u16 typeReq, wValue, wIndex, wLength; in rh_call_control() local
330 wValue = le16_to_cpu (cmd->wValue); in rh_call_control()
359 switch (wValue & 0xff00) { in rh_call_control()
380 wValue & 0xff, hcd, in rh_call_control()
395 hcd->bus->bus_name, wValue); in rh_call_control()
417 typeReq, wValue, wIndex, in rh_call_control()
429 typeReq, wValue, wIndex, wLength, urb->status); in rh_call_control()
Dauermain.c169 bp->dr->wLength = bp->dr->wValue; /* temporary stored */ in auerswald_ctrlread_wretcomplete()
170 bp->dr->wValue = cpu_to_le16(1); /* Retry Flag */ in auerswald_ctrlread_wretcomplete()
221 bp->dr->wValue = bp->dr->wLength; /* temporary storage */ in auerswald_ctrlread_complete()
337 bp->dr->wValue = cpu_to_le16(0); in auerswald_int_complete()
Dhcd.h148 u16 typeReq, u16 wValue, u16 wIndex,
Dauerisdn_b.c451 bp->dr->wValue = cpu_to_le16(1); in auerisdn_bmode()
453 bp->dr->wValue = cpu_to_le16(0); in auerisdn_bmode()
Dpegasus.c136 pegasus->dr.wValue = cpu_to_le16(0); in get_registers()
187 pegasus->dr.wValue = cpu_to_le16(0); in set_registers()
235 pegasus->dr.wValue = cpu_to_le16(data); in set_register()
268 pegasus->dr.wValue = 0; in update_eth_regs_async()
DCDCEther.c235 event->wValue ? "connect" : "disconnect"); in intr_callback()
236 if (event->wValue) in intr_callback()
507 dr->wValue = cpu_to_le16(ether_dev->mode_flags); in CDC_SetEthernetPacketFilter()
Dauerisdn.c156 bp->dr->wValue = cpu_to_le16(0); in auerisdn_translate_incoming()
607 bp->dr->wValue = cpu_to_le16(0); in auerisdn_d_l2l1()
706 bp->dr->wValue = cpu_to_le16(1); in auerisdn_dcopen()
Dusbkbd.c220 kbd->dr.wValue = 0x200; in usb_kbd_probe()
/linux-2.4.37.9/arch/mips/au1000/common/
Dusbdev.c207 dbg(__FUNCTION__ ": value=0x%04x", s->wValue);
664 if ((le16_to_cpu(setup->wValue) & 0xff) == 1) in do_clear_feature()
670 if ((le16_to_cpu(setup->wValue) & 0xff) == 0) { in do_clear_feature()
698 if ((le16_to_cpu(setup->wValue) & 0xff) == 1) in do_set_feature()
704 if ((le16_to_cpu(setup->wValue) & 0xff) == 0) { in do_set_feature()
722 int new_addr = le16_to_cpu(setup->wValue); in do_set_address()
750 switch (le16_to_cpu(setup->wValue) >> 8) { in do_get_descriptor()
763 if ((le16_to_cpu(setup->wValue) & 0xff) == 0) { in do_get_descriptor()
790 strnum = le16_to_cpu(setup->wValue) & 0xff; in do_get_descriptor()
806 le16_to_cpu(setup->wValue) >> 8); in do_get_descriptor()
[all …]
/linux-2.4.37.9/drivers/usb/gadget/
Dzero.c939 switch (ctrl->wValue >> 8) { in zero_setup()
960 ctrl->wValue >> 8, in zero_setup()
961 ctrl->wValue & 0xff); in zero_setup()
973 ctrl->wValue & 0xff, req->buf); in zero_setup()
991 value = zero_set_config (dev, ctrl->wValue, GFP_ATOMIC); in zero_setup()
1009 if (dev->config && ctrl->wIndex == 0 && ctrl->wValue == 0) { in zero_setup()
1046 if (ctrl->wValue || ctrl->wIndex) in zero_setup()
1056 if (ctrl->wValue || ctrl->wIndex) in zero_setup()
1070 ctrl->wValue, ctrl->wIndex, ctrl->wLength); in zero_setup()
Dether.c1276 u16 wValue; member
1295 event->wValue = __constant_cpu_to_le16 (0); in eth_status_complete()
1358 event->wValue = __constant_cpu_to_le16 (1); /* connected */ in issue_start_status()
1457 switch (ctrl->wValue >> 8) { in eth_setup()
1478 ctrl->wValue >> 8, in eth_setup()
1479 ctrl->wValue & 0xff, in eth_setup()
1487 ctrl->wValue & 0xff, req->buf); in eth_setup()
1502 value = eth_set_config (dev, ctrl->wValue, GFP_ATOMIC); in eth_setup()
1533 if (ctrl->wValue != 0) in eth_setup()
1542 if (ctrl->wValue > 1) in eth_setup()
[all …]
Dfile_storage.c1305 ctrl->wValue, ctrl->wIndex, ctrl->wLength); in class_setup_req()
1328 switch (ctrl->wValue >> 8) { in standard_setup_req()
1357 ctrl->wValue >> 8, in standard_setup_req()
1358 ctrl->wValue & 0xff); in standard_setup_req()
1368 ctrl->wValue & 0xff, req->buf); in standard_setup_req()
1381 if (ctrl->wValue == CONFIG_VALUE || ctrl->wValue == 0) { in standard_setup_req()
1382 fsg->new_config = ctrl->wValue; in standard_setup_req()
1431 ctrl->wValue, ctrl->wIndex, ctrl->wLength); in standard_setup_req()
Dgoku_udc.c1529 ctrl.wValue = (readl(&regs->wValueH) << 8) | readl(&regs->wValueL); in ep0_setup()
1565 if (ctrl.wValue != 0) in ep0_setup()
1577 if (ctrl.wValue != 1) in ep0_setup()
1595 ctrl.wValue, ctrl.wIndex, ctrl.wLength); in ep0_setup()
1602 dev->configured = (ctrl.wValue != 0); in ep0_setup()
/linux-2.4.37.9/arch/cris/drivers/
Dusb-host.c3252 __u16 wValue; in etrax_rh_submit_urb() local
3275 wValue = le16_to_cpu(cmd->wValue); in etrax_rh_submit_urb()
3280 wValue = le16_to_cpu(cmd->value); in etrax_rh_submit_urb()
3286 dbg_rh("wValue : 0x%04x (%d)", wValue, wValue); in etrax_rh_submit_urb()
3331 switch (wValue) { in etrax_rh_submit_urb()
3338 switch (wValue) { in etrax_rh_submit_urb()
3345 switch (wValue) { in etrax_rh_submit_urb()
3448 switch (wValue) { in etrax_rh_submit_urb()
3613 hc->rh.devnum = wValue; in etrax_rh_submit_urb()
3618 switch ((wValue & 0xff00) >> 8) { in etrax_rh_submit_urb()
[all …]
/linux-2.4.37.9/include/linux/
Dusb_ch9.h107 __u16 wValue; member
/linux-2.4.37.9/drivers/usb/serial/
Dkeyspan_pda.S395 ;; 00 is set baud, wValue[0] has baud rate index
443 ;; 06, wValue[0]=0 is query write_room
450 ;; 06, wValue[0]=1 is query chars_in_buffer
460 mov tx_unthrottle_threshold, r3; wValue[0] is threshold value
686 mov a, r3 ; wValue[0] holds new bits: b7 is new DTR, b2 is new RTS
Dxircom_pgs.S433 ;; 00 is set baud, wValue[0] has baud rate index
481 ;; 06, wValue[0]=0 is query write_room
488 ;; 06, wValue[0]=1 is query chars_in_buffer
498 mov tx_unthrottle_threshold, r3; wValue[0] is threshold value
725 mov a, r3 ; wValue[0] holds new bits: b7 is new RTS
/linux-2.4.37.9/drivers/isdn/hisax/
Dst5481_usb.c45 ((struct ctrl_msg *)urb->setup_packet)->dr.wValue, in usb_next_ctrl_msg()
74 ctrl_msg->dr.wValue = cpu_to_le16p(&value); in usb_ctrl_msg()

12