Home
last modified time | relevance | path

Searched refs:is_on (Results 1 – 17 of 17) sorted by relevance

/external/u-boot/drivers/pinctrl/
Dpinctrl-at91.c86 void (*set_deglitch)(struct at91_port *pio, u32 mask, bool is_on);
87 void (*set_debounce)(struct at91_port *pio, u32 mask, bool is_on,
89 void (*set_pulldown)(struct at91_port *pio, u32 mask, bool is_on);
117 bool is_on, bool val) in at91_mux_set_output() argument
120 writel(mask, (is_on ? &pio->oer : &pio->odr)); in at91_mux_set_output()
162 static void at91_mux_set_deglitch(struct at91_port *pio, u32 mask, bool is_on) in at91_mux_set_deglitch() argument
164 writel(mask, (is_on ? &pio->ifer : &pio->ifdr)); in at91_mux_set_deglitch()
168 u32 mask, bool is_on) in at91_mux_pio3_set_deglitch() argument
170 if (is_on) in at91_mux_pio3_set_deglitch()
172 at91_mux_set_deglitch(pio, mask, is_on); in at91_mux_pio3_set_deglitch()
[all …]
/external/u-boot/drivers/gpio/
Dat91_gpio.c283 int at91_set_pio_deglitch(unsigned port, unsigned pin, int is_on) in at91_set_pio_deglitch() argument
290 if (is_on) in at91_set_pio_deglitch()
302 int at91_pio3_set_pio_deglitch(unsigned port, unsigned pin, int is_on) in at91_pio3_set_pio_deglitch() argument
309 if (is_on) { in at91_pio3_set_pio_deglitch()
323 int at91_pio3_set_pio_debounce(unsigned port, unsigned pin, int is_on, int div) in at91_pio3_set_pio_debounce() argument
330 if (is_on) { in at91_pio3_set_pio_debounce()
346 int at91_pio3_set_pio_pulldown(unsigned port, unsigned pin, int is_on) in at91_pio3_set_pio_pulldown() argument
353 if (is_on) { in at91_pio3_set_pio_pulldown()
397 int at91_set_pio_multi_drive(unsigned port, unsigned pin, int is_on) in at91_set_pio_multi_drive() argument
404 if (is_on) in at91_set_pio_multi_drive()
/external/u-boot/arch/arm/mach-at91/include/mach/
Dat91_pio.h133 int at91_set_pio_multi_drive(unsigned port, unsigned pin, int is_on);
137 int at91_set_pio_deglitch(unsigned port, unsigned pin, int is_on);
145 int at91_pio3_set_pio_debounce(unsigned port, unsigned pin, int is_on, int div);
147 int at91_pio3_set_pio_pulldown(unsigned port, unsigned pin, int is_on);
/external/u-boot/drivers/usb/gadget/
Dat91_udc.c724 static void pullup(struct at91_udc *udc, int is_on) in pullup() argument
727 is_on = 0; in pullup()
728 DBG("%sactive\n", is_on ? "" : "in"); in pullup()
730 if (is_on) { in pullup()
742 udc->caps->pullup(udc, is_on); in pullup()
762 static int at91_pullup(struct usb_gadget *gadget, int is_on) in at91_pullup() argument
768 udc->enabled = is_on = !!is_on; in at91_pullup()
769 pullup(udc, is_on); in at91_pullup()
774 static int at91_set_selfpowered(struct usb_gadget *gadget, int is_on) in at91_set_selfpowered() argument
780 udc->selfpowered = (is_on != 0); in at91_set_selfpowered()
[all …]
Dfotg210.c708 static void pullup(struct fotg210_chip *chip, int is_on) in pullup() argument
712 if (is_on) { in pullup()
733 static int fotg210_pullup(struct usb_gadget *_gadget, int is_on) in fotg210_pullup() argument
739 debug("fotg210: pullup=%d\n", is_on); in fotg210_pullup()
741 pullup(chip, is_on); in fotg210_pullup()
Dat91_udc.h108 void (*pullup)(struct at91_udc *udc, int is_on);
Dci_udc.c83 static int ci_pullup(struct usb_gadget *gadget, int is_on);
882 static int ci_pullup(struct usb_gadget *gadget, int is_on) in ci_pullup() argument
885 if (is_on) { in ci_pullup()
/external/iptables/iptables/
Dxtables-config-syntax.l25 is_on [o|O][n|N]
/external/u-boot/drivers/usb/musb-new/
Dmusb_gadget.c1705 static void musb_pullup(struct musb *musb, int is_on) in musb_pullup() argument
1710 if (is_on) in musb_pullup()
1718 is_on ? "on" : "off"); in musb_pullup()
1749 static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) in musb_gadget_pullup() argument
1754 is_on = !!is_on; in musb_gadget_pullup()
1762 if (is_on != musb->softconnect) { in musb_gadget_pullup()
1763 musb->softconnect = is_on; in musb_gadget_pullup()
1764 musb_pullup(musb, is_on); in musb_gadget_pullup()
Dmusb_core.h517 static inline void musb_platform_set_vbus(struct musb *musb, int is_on) in musb_platform_set_vbus() argument
520 musb->ops->set_vbus(musb, is_on); in musb_platform_set_vbus()
Domap2430.c132 static void omap2430_musb_set_vbus(struct musb *musb, int is_on) in omap2430_musb_set_vbus() argument
145 if (is_on) { in omap2430_musb_set_vbus()
Dam35x.c130 static void am35x_musb_set_vbus(struct musb *musb, int is_on) in am35x_musb_set_vbus() argument
132 WARN_ON(is_on && is_peripheral_active(musb)); in am35x_musb_set_vbus()
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp8.cpp42 constexpr bool is_on() const; // ok (dr1684)
/external/u-boot/include/linux/usb/
Dmusb.h104 int (*set_vbus)(struct device *dev, int is_on);
Dgadget.h443 int (*pullup) (struct usb_gadget *, int is_on);
/external/u-boot/drivers/usb/dwc3/
Dgadget.c1350 static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on, int suspend) in dwc3_gadget_run_stop() argument
1356 if (is_on) { in dwc3_gadget_run_stop()
1383 if (is_on) { in dwc3_gadget_run_stop()
1399 is_on ? "connect" : "disconnect"); in dwc3_gadget_run_stop()
1404 static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on) in dwc3_gadget_pullup() argument
1410 is_on = !!is_on; in dwc3_gadget_pullup()
1413 ret = dwc3_gadget_run_stop(dwc, is_on, false); in dwc3_gadget_pullup()
/external/u-boot/drivers/spi/
Dzynq_qspi.c266 static void zynq_qspi_chipselect(struct zynq_qspi_priv *priv, int is_on) in zynq_qspi_chipselect() argument
273 if (is_on) { in zynq_qspi_chipselect()