/drivers/gpio/ |
D | gpio-htc-egpio.c | 25 unsigned long is_out; member 163 if (test_bit(offset, &egpio->is_out)) { in egpio_get() 178 return test_bit(offset, &egpio->is_out) ? -EINVAL : 0; in egpio_direction_input() 224 if (test_bit(offset, &egpio->is_out)) { in egpio_direction_output() 238 return !test_bit(offset, &egpio->is_out); in egpio_get_direction() 249 if (!egpio->is_out) in egpio_write_cache() 257 if (!((egpio->is_out >> shift) & ei->reg_mask)) in egpio_write_cache() 333 ei->chip[i].is_out = pdata->chip[i].direction; in egpio_probe()
|
D | gpio-mvebu.c | 859 bool is_out; in mvebu_gpio_dbg_show() local 866 is_out = !(io_conf & msk); in mvebu_gpio_dbg_show() 870 if (is_out) { in mvebu_gpio_dbg_show()
|
D | gpiolib.c | 3699 int is_out; in gpiolib_dbg_show() local 3712 is_out = test_bit(FLAG_IS_OUT, &gdesc->flags); in gpiolib_dbg_show() 3716 is_out ? "out" : "in ", in gpiolib_dbg_show()
|
/drivers/usb/core/ |
D | urb.c | 358 int is_out; in usb_submit_urb() local 394 is_out = !(setup->bRequestType & USB_DIR_IN) || in usb_submit_urb() 397 is_out = usb_endpoint_dir_out(&ep->desc); in usb_submit_urb() 405 urb->transfer_flags |= (is_out ? URB_DIR_OUT : URB_DIR_IN); in usb_submit_urb() 415 usb_endpoint_num(&ep->desc), is_out ? "out" : "in", in usb_submit_urb() 480 if (is_out) in usb_submit_urb() 487 if (!is_out) in usb_submit_urb()
|
D | message.c | 1229 int is_out = usb_endpoint_dir_out(&ep->desc); in usb_enable_endpoint() local 1234 if (is_out || is_control) in usb_enable_endpoint() 1236 if (!is_out || is_control) in usb_enable_endpoint()
|
D | hcd.c | 2119 int is_out = usb_endpoint_dir_out(&ep->desc); in usb_hcd_reset_endpoint() local 2122 usb_settoggle(udev, epnum, is_out, 0); in usb_hcd_reset_endpoint() 2124 usb_settoggle(udev, epnum, !is_out, 0); in usb_hcd_reset_endpoint()
|
/drivers/usb/host/whci/ |
D | qset.c | 57 bool is_out; in qset_fill_qh() local 60 is_out = usb_pipeout(urb->pipe); in qset_fill_qh() 91 | (is_out ? QH_INFO1_DIR_OUT : QH_INFO1_DIR_IN) in qset_fill_qh() 302 bool is_out = usb_pipeout(std->urb->pipe); in qset_free_std() local 311 std->len, is_out ? DMA_TO_DEVICE : DMA_FROM_DEVICE); in qset_free_std() 312 if (!is_out) in qset_free_std() 558 bool is_out = usb_pipeout(urb->pipe); in qset_add_urb_sg_linearize() local 600 if (is_out) in qset_add_urb_sg_linearize() 622 is_out ? DMA_TO_DEVICE : DMA_FROM_DEVICE); in qset_add_urb_sg_linearize()
|
/drivers/usb/host/ |
D | ohci-q.c | 414 int is_out; in ed_get() local 436 is_out = !(ep->desc.bEndpointAddress & USB_DIR_IN); in ed_get() 450 info |= is_out ? ED_OUT : ED_IN; in ed_get() 459 udev->speed, !is_out, in ed_get() 600 int is_out = usb_pipeout (urb->pipe); in td_submit_urb() local 609 if (!usb_gettoggle (urb->dev, usb_pipeendpoint (urb->pipe), is_out)) { in td_submit_urb() 611 is_out, 1); in td_submit_urb() 651 info = is_out in td_submit_urb() 698 info |= is_out ? TD_DP_OUT : TD_DP_IN; in td_submit_urb() 702 info = (is_out || data_len == 0) in td_submit_urb()
|
D | ehci-q.c | 108 unsigned is_out, epnum; in qh_update() local 110 is_out = qh->is_out; in qh_update() 112 if (unlikely(!usb_gettoggle(qh->ps.udev, epnum, is_out))) { in qh_update() 114 usb_settoggle(qh->ps.udev, epnum, is_out, 1); in qh_update() 959 qh->is_out = !is_input; in qh_make()
|
D | isp116x-hcd.c | 687 int is_out = !usb_pipein(pipe); in isp116x_urb_enqueue() local 728 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); in isp116x_urb_enqueue() 729 usb_settoggle(udev, epnum, is_out, 0); in isp116x_urb_enqueue() 733 } else if (is_out) { in isp116x_urb_enqueue() 757 !is_out, in isp116x_urb_enqueue() 760 is_out)) / in isp116x_urb_enqueue()
|
D | sl811-hcd.c | 797 int is_out = !usb_pipein(pipe); in sl811h_urb_enqueue() local 844 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); in sl811h_urb_enqueue() 846 usb_settoggle(udev, epnum, is_out, 0); in sl811h_urb_enqueue() 850 else if (is_out) in sl811h_urb_enqueue() 879 ep->load = usb_calc_bus_time(udev->speed, !is_out, in sl811h_urb_enqueue() 881 usb_maxpacket(udev, pipe, is_out)) in sl811h_urb_enqueue()
|
D | isp1362-hcd.c | 1222 int is_out = !usb_pipein(pipe); in isp1362_urb_enqueue() local 1239 is_out ? "out" : "in", in isp1362_urb_enqueue() 1281 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); in isp1362_urb_enqueue() 1284 usb_settoggle(udev, epnum, is_out, 0); in isp1362_urb_enqueue() 1288 else if (is_out) in isp1362_urb_enqueue() 1300 ep->load = usb_calc_bus_time(udev->speed, !is_out, in isp1362_urb_enqueue() 1302 usb_maxpacket(udev, pipe, is_out)) / 1000; in isp1362_urb_enqueue()
|
D | fotg210.h | 467 unsigned is_out:1; /* bulk or intr OUT */ member
|
D | ehci-hcd.c | 1037 int is_out = usb_endpoint_dir_out(&ep->desc); in ehci_endpoint_reset() local 1059 usb_settoggle(qh->ps.udev, epnum, is_out, 0); in ehci_endpoint_reset()
|
D | fotg210-hcd.c | 2076 unsigned is_out, epnum; in qh_update() local 2078 is_out = qh->is_out; in qh_update() 2080 if (unlikely(!usb_gettoggle(qh->dev, epnum, is_out))) { in qh_update() 2082 usb_settoggle(qh->dev, epnum, is_out, 1); in qh_update() 2904 qh->is_out = !is_input; in qh_make() 5478 int is_out = usb_endpoint_dir_out(&ep->desc); in fotg210_endpoint_reset() local 5493 usb_settoggle(qh->dev, epnum, is_out, 0); in fotg210_endpoint_reset()
|
D | ehci.h | 450 unsigned is_out:1; /* bulk or intr OUT */ member
|
D | oxu210hp-hcd.c | 834 unsigned is_out, epnum; in qh_update() local 836 is_out = !(qtd->hw_token & cpu_to_le32(1 << 8)); in qh_update() 838 if (unlikely(!usb_gettoggle(qh->dev, epnum, is_out))) { in qh_update() 840 usb_settoggle(qh->dev, epnum, is_out, 1); in qh_update()
|
/drivers/usb/usbip/ |
D | stub_rx.c | 407 int is_out; in masking_bogus_flags() local 428 is_out = !(setup->bRequestType & USB_DIR_IN) || in masking_bogus_flags() 431 is_out = usb_endpoint_dir_out(&ep->desc); in masking_bogus_flags() 439 if (is_out) in masking_bogus_flags() 446 if (!is_out) in masking_bogus_flags()
|
D | vudc_dev.c | 544 int is_out = i % 2; in init_vudc_hw() local 550 i ? (is_out ? "out" : "in") : ""); in init_vudc_hw() 573 if (is_out) in init_vudc_hw()
|
/drivers/pinctrl/nomadik/ |
D | pinctrl-abx500.c | 161 bool is_out; in abx500_gpio_get() local 166 gpio_offset, &is_out); in abx500_gpio_get() 170 if (is_out) in abx500_gpio_get() 571 bool is_out; in abx500_gpio_dbg_show_one() local 591 gpio_offset, &is_out); in abx500_gpio_dbg_show_one() 597 is_out ? "out" : "in "); in abx500_gpio_dbg_show_one() 599 if (!is_out) { in abx500_gpio_dbg_show_one()
|
D | pinctrl-nomadik.c | 940 bool is_out; in nmk_gpio_dbg_show_one() local 960 is_out = !!(readl(nmk_chip->addr + NMK_GPIO_DIR) & BIT(offset)); in nmk_gpio_dbg_show_one() 967 if (is_out) { in nmk_gpio_dbg_show_one()
|
/drivers/usb/musb/ |
D | musb_host.c | 105 struct urb *urb, int is_out, 717 struct urb *urb, int is_out, in musb_ep_program() argument 726 struct musb_qh *qh = musb_ep_get_qh(hw_ep, !is_out); in musb_ep_program() 733 is_out ? "-->" : "<--", in musb_ep_program() 735 qh->addr_reg, qh->epnum, is_out ? "out" : "in", in musb_ep_program() 741 if (is_out && !len) { in musb_ep_program() 752 dma_channel = is_out ? hw_ep->tx_channel : hw_ep->rx_channel; in musb_ep_program() 755 dma_controller, hw_ep, is_out); in musb_ep_program() 756 if (is_out) in musb_ep_program() 767 if (is_out) { in musb_ep_program()
|
/drivers/pinctrl/qcom/ |
D | pinctrl-msm.c | 505 int is_out; in msm_gpio_dbg_show_one() local 520 is_out = !!(ctl_reg & BIT(g->oe_bit)); in msm_gpio_dbg_show_one() 525 seq_printf(s, " %-8s: %-3s %d", g->name, is_out ? "out" : "in", func); in msm_gpio_dbg_show_one()
|
/drivers/media/platform/vivid/ |
D | vivid-vid-common.c | 624 bool is_out = sp_fmt->type == V4L2_BUF_TYPE_VIDEO_OUTPUT; in fmt_sp2mp() local 627 mp_fmt->type = is_out ? V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE : in fmt_sp2mp()
|