Home
last modified time | relevance | path

Searched refs:is_out (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-htc-egpio.c26 unsigned long is_out; member
150 if (test_bit(offset, &egpio->is_out)) { in egpio_get()
165 return test_bit(offset, &egpio->is_out) ? -EINVAL : 0; in egpio_direction_input()
209 if (test_bit(offset, &egpio->is_out)) { in egpio_direction_output()
223 if (test_bit(offset, &egpio->is_out)) in egpio_get_direction()
237 if (!egpio->is_out) in egpio_write_cache()
245 if (!((egpio->is_out >> shift) & ei->reg_mask)) in egpio_write_cache()
315 ei->chip[i].is_out = pdata->chip[i].direction; in egpio_probe()
Dgpio-mvebu.c858 bool is_out; in mvebu_gpio_dbg_show() local
861 is_out = !(io_conf & msk); in mvebu_gpio_dbg_show()
865 if (is_out) { in mvebu_gpio_dbg_show()
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dmfp-pxa2xx.c59 int is_out = (c & MFP_DIR_OUT) ? 1 : 0; in __mfp_config_gpio() local
73 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio()
82 is_out = 1; in __mfp_config_gpio()
86 is_out = 1; in __mfp_config_gpio()
98 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio()
111 if ((c & MFP_LPM_CAN_WAKEUP) && is_out) { in __mfp_config_gpio()
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dpm-gpio.c88 static inline int is_out(unsigned long con) in is_out() function
155 if (is_in(old) && is_out(new)) in samsung_gpio_pm_2bit_resume()
160 if (is_sfn(old) && is_out(new)) in samsung_gpio_pm_2bit_resume()
224 if (is_in(old) && is_out(new)) in samsung_gpio_pm_4bit_mask()
229 if (is_sfn(old) && is_out(new)) in samsung_gpio_pm_4bit_mask()
/kernel/linux/linux-5.10/drivers/usb/core/
Durb.c372 int is_out; in usb_submit_urb() local
408 is_out = !(setup->bRequestType & USB_DIR_IN) || in usb_submit_urb()
411 is_out = usb_endpoint_dir_out(&ep->desc); in usb_submit_urb()
419 urb->transfer_flags |= (is_out ? URB_DIR_OUT : URB_DIR_IN); in usb_submit_urb()
429 usb_endpoint_num(&ep->desc), is_out ? "out" : "in", in usb_submit_urb()
502 if (is_out) in usb_submit_urb()
506 if (!is_out) in usb_submit_urb()
Dmessage.c1455 int is_out = usb_endpoint_dir_out(&ep->desc); in usb_enable_endpoint() local
1460 if (is_out || is_control) in usb_enable_endpoint()
1462 if (!is_out || is_control) in usb_enable_endpoint()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_io.h35 u16 (*get_toggle)(struct musb_qh *qh, int is_out);
36 u16 (*set_toggle)(struct musb_qh *qh, int is_out, struct urb *urb);
Dmediatek.c353 static u16 mtk_musb_get_toggle(struct musb_qh *qh, int is_out) in mtk_musb_get_toggle() argument
359 toggle = musb_readw(musb->mregs, is_out ? MUSB_TXTOG : MUSB_RXTOG); in mtk_musb_get_toggle()
363 static u16 mtk_musb_set_toggle(struct musb_qh *qh, int is_out, struct urb *urb) in mtk_musb_set_toggle() argument
369 toggle = usb_gettoggle(urb->dev, qh->epnum, is_out); in mtk_musb_set_toggle()
371 if (is_out) { in mtk_musb_set_toggle()
Dmusb_host.c80 struct urb *urb, int is_out,
670 struct urb *urb, int is_out, in musb_ep_program() argument
679 struct musb_qh *qh = musb_ep_get_qh(hw_ep, !is_out); in musb_ep_program()
686 is_out ? "-->" : "<--", in musb_ep_program()
688 qh->addr_reg, qh->epnum, is_out ? "out" : "in", in musb_ep_program()
694 if (is_out && !len) { in musb_ep_program()
705 dma_channel = is_out ? hw_ep->tx_channel : hw_ep->rx_channel; in musb_ep_program()
708 dma_controller, hw_ep, is_out); in musb_ep_program()
709 if (is_out) in musb_ep_program()
720 if (is_out) { in musb_ep_program()
[all …]
Dmusb_core.h177 u16 (*get_toggle)(struct musb_qh *qh, int is_out);
178 u16 (*set_toggle)(struct musb_qh *qh, int is_out, struct urb *urb);
Dmusb_core.c278 static u16 musb_default_get_toggle(struct musb_qh *qh, int is_out) in musb_default_get_toggle() argument
283 if (is_out) in musb_default_get_toggle()
291 static u16 musb_default_set_toggle(struct musb_qh *qh, int is_out, in musb_default_set_toggle() argument
297 toggle = usb_gettoggle(urb->dev, qh->epnum, is_out); in musb_default_set_toggle()
299 if (is_out) in musb_default_set_toggle()
/kernel/linux/linux-5.10/drivers/usb/host/
Dohci-q.c415 int is_out; in ed_get() local
437 is_out = !(ep->desc.bEndpointAddress & USB_DIR_IN); in ed_get()
451 info |= is_out ? ED_OUT : ED_IN; in ed_get()
460 udev->speed, !is_out, in ed_get()
601 int is_out = usb_pipeout (urb->pipe); in td_submit_urb() local
610 if (!usb_gettoggle (urb->dev, usb_pipeendpoint (urb->pipe), is_out)) { in td_submit_urb()
612 is_out, 1); in td_submit_urb()
652 info = is_out in td_submit_urb()
699 info |= is_out ? TD_DP_OUT : TD_DP_IN; in td_submit_urb()
703 info = (is_out || data_len == 0) in td_submit_urb()
Dehci-q.c95 unsigned is_out, epnum; in qh_update() local
97 is_out = qh->is_out; in qh_update()
99 if (unlikely(!usb_gettoggle(qh->ps.udev, epnum, is_out))) { in qh_update()
101 usb_settoggle(qh->ps.udev, epnum, is_out, 1); in qh_update()
946 qh->is_out = !is_input; in qh_make()
Dsl811-hcd.c798 int is_out = !usb_pipein(pipe); in sl811h_urb_enqueue() local
845 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); in sl811h_urb_enqueue()
847 usb_settoggle(udev, epnum, is_out, 0); in sl811h_urb_enqueue()
851 else if (is_out) in sl811h_urb_enqueue()
880 ep->load = usb_calc_bus_time(udev->speed, !is_out, in sl811h_urb_enqueue()
882 usb_maxpacket(udev, pipe, is_out)) in sl811h_urb_enqueue()
Disp116x-hcd.c688 int is_out = !usb_pipein(pipe); in isp116x_urb_enqueue() local
729 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); in isp116x_urb_enqueue()
730 usb_settoggle(udev, epnum, is_out, 0); in isp116x_urb_enqueue()
734 } else if (is_out) { in isp116x_urb_enqueue()
758 !is_out, in isp116x_urb_enqueue()
761 is_out)) / in isp116x_urb_enqueue()
Disp1362-hcd.c1223 int is_out = !usb_pipein(pipe); in isp1362_urb_enqueue() local
1240 is_out ? "out" : "in", in isp1362_urb_enqueue()
1282 ep->maxpacket = usb_maxpacket(udev, urb->pipe, is_out); in isp1362_urb_enqueue()
1285 usb_settoggle(udev, epnum, is_out, 0); in isp1362_urb_enqueue()
1289 else if (is_out) in isp1362_urb_enqueue()
1301 ep->load = usb_calc_bus_time(udev->speed, !is_out, in isp1362_urb_enqueue()
1303 usb_maxpacket(udev, pipe, is_out)) / 1000; in isp1362_urb_enqueue()
Dfotg210.h470 unsigned is_out:1; /* bulk or intr OUT */ member
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dstub_rx.c393 int is_out; in masking_bogus_flags() local
414 is_out = !(setup->bRequestType & USB_DIR_IN) || in masking_bogus_flags()
417 is_out = usb_endpoint_dir_out(&ep->desc); in masking_bogus_flags()
425 if (is_out) in masking_bogus_flags()
429 if (!is_out) in masking_bogus_flags()
Dvudc_dev.c530 int is_out = i % 2; in init_vudc_hw() local
536 i ? (is_out ? "out" : "in") : ""); in init_vudc_hw()
559 if (is_out) in init_vudc_hw()
/kernel/linux/linux-5.10/drivers/pinctrl/nomadik/
Dpinctrl-abx500.c138 bool is_out; in abx500_gpio_get() local
143 gpio_offset, &is_out); in abx500_gpio_get()
147 if (is_out) in abx500_gpio_get()
456 bool is_out; in abx500_gpio_dbg_show_one() local
475 gpio_offset, &is_out); in abx500_gpio_dbg_show_one()
481 is_out ? "out" : "in "); in abx500_gpio_dbg_show_one()
483 if (!is_out) { in abx500_gpio_dbg_show_one()
/kernel/linux/linux-5.10/arch/arm/plat-orion/
Dgpio.c459 bool is_out; in orion_gpio_dbg_show() local
462 is_out = !(io_conf & msk); in orion_gpio_dbg_show()
466 if (is_out) { in orion_gpio_dbg_show()
/kernel/linux/linux-5.10/net/ceph/crush/
Dmapper.c413 static int is_out(const struct crush_map *map, in is_out() function
588 reject = is_out(map, weight, in crush_choose_firstn()
797 is_out(map, weight, weight_max, item, x)) in crush_choose_indep()
/kernel/linux/linux-5.10/drivers/pinctrl/qcom/
Dpinctrl-msm.c603 int is_out; in msm_gpio_dbg_show_one() local
629 is_out = !!(ctl_reg & BIT(g->oe_bit)); in msm_gpio_dbg_show_one()
634 if (is_out) in msm_gpio_dbg_show_one()
639 seq_printf(s, " %-8s: %-3s", g->name, is_out ? "out" : "in"); in msm_gpio_dbg_show_one()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-vid-common.c812 bool is_out = sp_fmt->type == V4L2_BUF_TYPE_VIDEO_OUTPUT; in fmt_sp2mp() local
815 mp_fmt->type = is_out ? V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE : in fmt_sp2mp()
/kernel/linux/linux-5.10/include/linux/
Dusb.h1982 usb_maxpacket(struct usb_device *udev, int pipe, int is_out) in usb_maxpacket() argument
1987 if (is_out) { in usb_maxpacket()

12