/linux-4.1.27/arch/arm/mach-pxa/ |
H A D | mfp-pxa2xx.c | 62 int is_out = (c & MFP_DIR_OUT) ? 1 : 0; __mfp_config_gpio() local 76 if (is_out ^ gpio_desc[gpio].dir_inverted) __mfp_config_gpio() 85 is_out = 1; __mfp_config_gpio() 89 is_out = 1; __mfp_config_gpio() 101 if (is_out ^ gpio_desc[gpio].dir_inverted) __mfp_config_gpio() 114 if ((c & MFP_LPM_CAN_WAKEUP) && is_out) { __mfp_config_gpio()
|
/linux-4.1.27/drivers/mfd/ |
H A D | htc-egpio.c | 25 unsigned long is_out; member in struct:egpio_chip 174 return test_bit(offset, &egpio->is_out) ? -EINVAL : 0; egpio_direction_input() 220 if (test_bit(offset, &egpio->is_out)) { egpio_direction_output() 236 if (!egpio->is_out) egpio_write_cache() 244 if (!((egpio->is_out >> shift) & ei->reg_mask)) egpio_write_cache() 320 ei->chip[i].is_out = pdata->chip[i].direction; egpio_probe()
|
/linux-4.1.27/arch/arm/plat-samsung/ |
H A D | pm-gpio.c | 94 static inline int is_out(unsigned long con) is_out() function 161 if (is_in(old) && is_out(new)) samsung_gpio_pm_2bit_resume() 166 if (is_sfn(old) && is_out(new)) samsung_gpio_pm_2bit_resume() 230 if (is_in(old) && is_out(new)) samsung_gpio_pm_4bit_mask() 235 if (is_sfn(old) && is_out(new)) samsung_gpio_pm_4bit_mask()
|
/linux-4.1.27/drivers/usb/host/whci/ |
H A D | qset.c | 58 bool is_out; qset_fill_qh() local 61 is_out = usb_pipeout(urb->pipe); qset_fill_qh() 92 | (is_out ? QH_INFO1_DIR_OUT : QH_INFO1_DIR_IN) qset_fill_qh() 303 bool is_out = usb_pipeout(std->urb->pipe); qset_free_std() local 312 std->len, is_out ? DMA_TO_DEVICE : DMA_FROM_DEVICE); qset_free_std() 313 if (!is_out) qset_free_std() 557 bool is_out = usb_pipeout(urb->pipe); qset_add_urb_sg_linearize() local 599 if (is_out) qset_add_urb_sg_linearize() 621 is_out ? DMA_TO_DEVICE : DMA_FROM_DEVICE); qset_add_urb_sg_linearize()
|
/linux-4.1.27/drivers/usb/usbip/ |
H A D | stub_rx.c | 399 int is_out; masking_bogus_flags() local 420 is_out = !(setup->bRequestType & USB_DIR_IN) || masking_bogus_flags() 423 is_out = usb_endpoint_dir_out(&ep->desc); masking_bogus_flags() 431 if (is_out) masking_bogus_flags() 438 if (!is_out) masking_bogus_flags()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | ohci-q.c | 412 int is_out; ed_get() local 434 is_out = !(ep->desc.bEndpointAddress & USB_DIR_IN); ed_get() 448 info |= is_out ? ED_OUT : ED_IN; ed_get() 457 udev->speed, !is_out, ed_get() 598 int is_out = usb_pipeout (urb->pipe); td_submit_urb() local 607 if (!usb_gettoggle (urb->dev, usb_pipeendpoint (urb->pipe), is_out)) { td_submit_urb() 609 is_out, 1); td_submit_urb() 649 info = is_out td_submit_urb() 696 info |= is_out ? TD_DP_OUT : TD_DP_IN; td_submit_urb() 700 info = (is_out || data_len == 0) td_submit_urb()
|
H A D | ehci-q.c | 104 unsigned is_out, epnum; qh_update() local 106 is_out = qh->is_out; qh_update() 108 if (unlikely(!usb_gettoggle(qh->ps.udev, epnum, is_out))) { qh_update() 110 usb_settoggle(qh->ps.udev, epnum, is_out, 1); qh_update() 941 qh->is_out = !is_input; qh_make()
|
H A D | isp116x-hcd.c | 686 int is_out = !usb_pipein(pipe); isp116x_urb_enqueue() local 727 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); isp116x_urb_enqueue() 728 usb_settoggle(udev, epnum, is_out, 0); isp116x_urb_enqueue() 732 } else if (is_out) { isp116x_urb_enqueue() 756 !is_out, isp116x_urb_enqueue() 759 is_out)) / isp116x_urb_enqueue()
|
H A D | sl811-hcd.c | 797 int is_out = !usb_pipein(pipe); sl811h_urb_enqueue() local 844 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); sl811h_urb_enqueue() 846 usb_settoggle(udev, epnum, is_out, 0); sl811h_urb_enqueue() 850 else if (is_out) sl811h_urb_enqueue() 879 ep->load = usb_calc_bus_time(udev->speed, !is_out, sl811h_urb_enqueue() 881 usb_maxpacket(udev, pipe, is_out)) sl811h_urb_enqueue()
|
H A D | isp1362-hcd.c | 1221 int is_out = !usb_pipein(pipe); isp1362_urb_enqueue() local 1238 is_out ? "out" : "in", isp1362_urb_enqueue() 1280 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); isp1362_urb_enqueue() 1283 usb_settoggle(udev, epnum, is_out, 0); isp1362_urb_enqueue() 1287 else if (is_out) isp1362_urb_enqueue() 1299 ep->load = usb_calc_bus_time(udev->speed, !is_out, isp1362_urb_enqueue() 1301 usb_maxpacket(udev, pipe, is_out)) / 1000; isp1362_urb_enqueue()
|
H A D | fotg210.h | 460 unsigned is_out:1; /* bulk or intr OUT */ member in struct:fotg210_qh
|
H A D | fusbh200.h | 450 unsigned is_out:1; /* bulk or intr OUT */ member in struct:fusbh200_qh
|
H A D | ehci-hcd.c | 1019 int is_out = usb_endpoint_dir_out(&ep->desc); ehci_endpoint_reset() local 1041 usb_settoggle(qh->ps.udev, epnum, is_out, 0); ehci_endpoint_reset()
|
H A D | fotg210-hcd.c | 2144 unsigned is_out, epnum; qh_update() local 2146 is_out = qh->is_out; qh_update() 2148 if (unlikely(!usb_gettoggle(qh->dev, epnum, is_out))) { qh_update() 2150 usb_settoggle(qh->dev, epnum, is_out, 1); qh_update() 3002 qh->is_out = !is_input; qh_make() 5690 int is_out = usb_endpoint_dir_out(&ep->desc); fotg210_endpoint_reset() local 5705 usb_settoggle(qh->dev, epnum, is_out, 0); fotg210_endpoint_reset()
|
H A D | fusbh200-hcd.c | 2096 unsigned is_out, epnum; qh_update() local 2098 is_out = qh->is_out; qh_update() 2100 if (unlikely (!usb_gettoggle (qh->dev, epnum, is_out))) { qh_update() 2102 usb_settoggle (qh->dev, epnum, is_out, 1); qh_update() 2949 qh->is_out = !is_input; qh_make() 5598 int is_out = usb_endpoint_dir_out(&ep->desc); fusbh200_endpoint_reset() local 5613 usb_settoggle(qh->dev, epnum, is_out, 0); fusbh200_endpoint_reset()
|
H A D | ehci.h | 436 unsigned is_out:1; /* bulk or intr OUT */ member in struct:ehci_qh
|
H A D | oxu210hp-hcd.c | 835 unsigned is_out, epnum; qh_update() local 837 is_out = !(qtd->hw_token & cpu_to_le32(1 << 8)); qh_update() 839 if (unlikely(!usb_gettoggle(qh->dev, epnum, is_out))) { qh_update() 841 usb_settoggle(qh->dev, epnum, is_out, 1); qh_update()
|
/linux-4.1.27/drivers/pinctrl/nomadik/ |
H A D | pinctrl-abx500.c | 169 bool is_out; abx500_gpio_get() local 174 gpio_offset, &is_out); abx500_gpio_get() 178 if (is_out) abx500_gpio_get() 578 bool is_out; abx500_gpio_dbg_show_one() local 598 gpio_offset, &is_out); abx500_gpio_dbg_show_one() 604 is_out ? "out" : "in "); abx500_gpio_dbg_show_one() 606 if (!is_out) { abx500_gpio_dbg_show_one()
|
H A D | pinctrl-nomadik.c | 988 bool is_out; nmk_gpio_dbg_show_one() local 1009 is_out = !!(readl(nmk_chip->addr + NMK_GPIO_DIR) & bit); nmk_gpio_dbg_show_one() 1016 if (is_out) { nmk_gpio_dbg_show_one()
|
/linux-4.1.27/arch/arm/plat-orion/ |
H A D | gpio.c | 465 bool is_out; orion_gpio_dbg_show() local 472 is_out = !(io_conf & msk); orion_gpio_dbg_show() 476 if (is_out) { orion_gpio_dbg_show()
|
/linux-4.1.27/drivers/usb/core/ |
H A D | urb.c | 333 int is_out; usb_submit_urb() local 369 is_out = !(setup->bRequestType & USB_DIR_IN) || usb_submit_urb() 372 is_out = usb_endpoint_dir_out(&ep->desc); usb_submit_urb() 380 urb->transfer_flags |= (is_out ? URB_DIR_OUT : URB_DIR_IN); usb_submit_urb() 390 usb_endpoint_num(&ep->desc), is_out ? "out" : "in", usb_submit_urb() 458 if (is_out) usb_submit_urb() 465 if (!is_out) usb_submit_urb()
|
H A D | message.c | 1226 int is_out = usb_endpoint_dir_out(&ep->desc); usb_enable_endpoint() local 1231 if (is_out || is_control) usb_enable_endpoint() 1233 if (!is_out || is_control) usb_enable_endpoint()
|
H A D | hcd.c | 2028 int is_out = usb_endpoint_dir_out(&ep->desc); usb_hcd_reset_endpoint() local 2031 usb_settoggle(udev, epnum, is_out, 0); usb_hcd_reset_endpoint() 2033 usb_settoggle(udev, epnum, !is_out, 0); usb_hcd_reset_endpoint()
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpio-mvebu.c | 524 bool is_out; mvebu_gpio_dbg_show() local 531 is_out = !(io_conf & msk); mvebu_gpio_dbg_show() 535 if (is_out) { mvebu_gpio_dbg_show()
|
H A D | gpiolib.c | 2260 int is_out; gpiolib_dbg_show() local 2268 is_out = test_bit(FLAG_IS_OUT, &gdesc->flags); gpiolib_dbg_show() 2272 is_out ? "out" : "in ", gpiolib_dbg_show()
|
/linux-4.1.27/drivers/pinctrl/qcom/ |
H A D | pinctrl-msm.c | 484 int is_out; msm_gpio_dbg_show_one() local 499 is_out = !!(ctl_reg & BIT(g->oe_bit)); msm_gpio_dbg_show_one() 504 seq_printf(s, " %-8s: %-3s %d", g->name, is_out ? "out" : "in", func); msm_gpio_dbg_show_one()
|
/linux-4.1.27/net/ceph/crush/ |
H A D | mapper.c | 368 static int is_out(const struct crush_map *map, is_out() function 528 reject = is_out(map, weight, crush_choose_firstn() 711 is_out(map, weight, weight_max, item, x)) crush_choose_indep()
|
/linux-4.1.27/drivers/usb/musb/ |
H A D | musb_host.c | 104 struct urb *urb, int is_out, 697 struct urb *urb, int is_out, musb_ep_program() 706 struct musb_qh *qh = musb_ep_get_qh(hw_ep, !is_out); musb_ep_program() 713 is_out ? "-->" : "<--", musb_ep_program() 715 qh->addr_reg, qh->epnum, is_out ? "out" : "in", musb_ep_program() 721 if (is_out && !len) { musb_ep_program() 732 dma_channel = is_out ? hw_ep->tx_channel : hw_ep->rx_channel; musb_ep_program() 735 dma_controller, hw_ep, is_out); musb_ep_program() 736 if (is_out) musb_ep_program() 747 if (is_out) { musb_ep_program() 696 musb_ep_program(struct musb *musb, u8 epnum, struct urb *urb, int is_out, u8 *buf, u32 offset, u32 len) musb_ep_program() argument
|
/linux-4.1.27/drivers/media/platform/vivid/ |
H A D | vivid-vid-common.c | 550 bool is_out = sp_fmt->type == V4L2_BUF_TYPE_VIDEO_OUTPUT; fmt_sp2mp() local 553 mp_fmt->type = is_out ? V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE : fmt_sp2mp()
|
/linux-4.1.27/include/linux/ |
H A D | usb.h | 1839 usb_maxpacket(struct usb_device *udev, int pipe, int is_out) usb_maxpacket() argument 1844 if (is_out) { usb_maxpacket()
|