Searched defs:is_out (Results 1 - 17 of 17) sorted by relevance

/drivers/mfd/
H A Dhtc-egpio.c25 unsigned long is_out; member in struct:egpio_chip
174 return test_bit(offset, &egpio->is_out) ? -EINVAL : 0;
220 if (test_bit(offset, &egpio->is_out)) {
236 if (!egpio->is_out)
244 if (!((egpio->is_out >> shift) & ei->reg_mask))
317 ei->chip[i].is_out = pdata->chip[i].direction;
/drivers/staging/usbip/
H A Dstub_rx.c408 int is_out; local
429 is_out = !(setup->bRequestType & USB_DIR_IN) ||
432 is_out = usb_endpoint_dir_out(&ep->desc);
440 if (is_out)
447 if (!is_out)
/drivers/usb/core/
H A Durb.c306 int is_out; local
336 is_out = !(setup->bRequestType & USB_DIR_IN) ||
339 is_out = usb_endpoint_dir_out(&ep->desc);
347 urb->transfer_flags |= (is_out ? URB_DIR_OUT : URB_DIR_IN);
357 usb_endpoint_num(&ep->desc), is_out ? "out" : "in",
421 if (is_out)
428 if (!is_out)
H A Dhcd.c1852 int is_out = usb_endpoint_dir_out(&ep->desc); local
1855 usb_settoggle(udev, epnum, is_out, 0);
1857 usb_settoggle(udev, epnum, !is_out, 0);
H A Dmessage.c1215 int is_out = usb_endpoint_dir_out(&ep->desc); local
1220 if (is_out || is_control)
1222 if (!is_out || is_control)
/drivers/usb/host/
H A Dehci-q.c104 unsigned is_out, epnum; local
106 is_out = qh->is_out;
108 if (unlikely (!usb_gettoggle (qh->dev, epnum, is_out))) {
110 usb_settoggle (qh->dev, epnum, is_out, 1);
959 qh->is_out = !is_input;
H A Dohci-q.c400 int is_out; local
422 is_out = !(ep->desc.bEndpointAddress & USB_DIR_IN);
436 info |= is_out ? ED_OUT : ED_IN;
445 udev->speed, !is_out,
586 int is_out = usb_pipeout (urb->pipe); local
593 if (!usb_gettoggle (urb->dev, usb_pipeendpoint (urb->pipe), is_out)) {
595 is_out, 1);
622 info = is_out
657 info |= is_out ? TD_DP_OUT : TD_DP_IN;
661 info = (is_out || data_le
[all...]
H A Dehci-hcd.c1212 int is_out = usb_endpoint_dir_out(&ep->desc); local
1227 usb_settoggle(qh->dev, epnum, is_out, 0);
H A Dsl811-hcd.c795 int is_out = !usb_pipein(pipe); local
842 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out);
844 usb_settoggle(udev, epnum, is_out, 0);
848 else if (is_out)
876 ep->load = usb_calc_bus_time(udev->speed, !is_out,
878 usb_maxpacket(udev, pipe, is_out))
H A Disp116x-hcd.c687 int is_out = !usb_pipein(pipe); local
728 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out);
729 usb_settoggle(udev, epnum, is_out, 0);
733 } else if (is_out) {
757 !is_out,
760 is_out)) /
H A Disp1362-hcd.c1227 int is_out = !usb_pipein(pipe); local
1244 is_out ? "out" : "in",
1286 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out);
1289 usb_settoggle(udev, epnum, is_out, 0);
1293 else if (is_out)
1305 ep->load = usb_calc_bus_time(udev->speed, !is_out,
1307 usb_maxpacket(udev, pipe, is_out)) / 1000;
H A Doxu210hp-hcd.c832 unsigned is_out, epnum; local
834 is_out = !(qtd->hw_token & cpu_to_le32(1 << 8));
836 if (unlikely(!usb_gettoggle(qh->dev, epnum, is_out))) {
838 usb_settoggle(qh->dev, epnum, is_out, 1);
H A Dehci.h390 unsigned is_out:1; /* bulk or intr OUT */ member in struct:ehci_qh
/drivers/usb/host/whci/
H A Dqset.c58 bool is_out; local
61 is_out = usb_pipeout(urb->pipe);
92 | (is_out ? QH_INFO1_DIR_OUT : QH_INFO1_DIR_IN)
303 bool is_out = usb_pipeout(std->urb->pipe); local
312 std->len, is_out ? DMA_TO_DEVICE : DMA_FROM_DEVICE);
313 if (!is_out)
550 bool is_out = usb_pipeout(urb->pipe); local
592 if (is_out)
614 is_out ? DMA_TO_DEVICE : DMA_FROM_DEVICE);
/drivers/usb/musb/
H A Dmusb_host.c101 struct urb *urb, int is_out,
675 struct urb *urb, int is_out,
684 struct musb_qh *qh = musb_ep_get_qh(hw_ep, !is_out);
689 is_out ? "-->" : "<--",
691 qh->addr_reg, qh->epnum, is_out ? "out" : "in",
700 dma_channel = is_out ? hw_ep->tx_channel : hw_ep->rx_channel;
703 dma_controller, hw_ep, is_out);
704 if (is_out)
715 if (is_out) {
674 musb_ep_program(struct musb *musb, u8 epnum, struct urb *urb, int is_out, u8 *buf, u32 offset, u32 len) argument
/drivers/gpio/
H A Dgpio-nomadik.c887 int is_out; local
904 is_out = readl(nmk_chip->addr + NMK_GPIO_DIR) & bit;
909 is_out ? "out" : "in ",
916 if (label && !is_out) {
H A Dgpiolib.c1749 int is_out; local
1755 is_out = test_bit(FLAG_IS_OUT, &gdesc->flags);
1758 is_out ? "out" : "in ",

Completed in 861 milliseconds