Home
last modified time | relevance | path

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

12

/external/u-boot/drivers/pinctrl/
Dpinctrl-at91.c101 void (*set_deglitch)(struct at91_port *pio, u32 mask, bool is_on);
102 void (*set_debounce)(struct at91_port *pio, u32 mask, bool is_on,
104 void (*set_pulldown)(struct at91_port *pio, u32 mask, bool is_on);
133 bool is_on, bool val) in at91_mux_set_output() argument
136 writel(mask, (is_on ? &pio->oer : &pio->odr)); in at91_mux_set_output()
178 static void at91_mux_set_deglitch(struct at91_port *pio, u32 mask, bool is_on) in at91_mux_set_deglitch() argument
180 writel(mask, (is_on ? &pio->ifer : &pio->ifdr)); in at91_mux_set_deglitch()
184 u32 mask, bool is_on) in at91_mux_pio3_set_deglitch() argument
186 if (is_on) in at91_mux_pio3_set_deglitch()
188 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.c723 static void pullup(struct at91_udc *udc, int is_on) in pullup() argument
726 is_on = 0; in pullup()
727 DBG("%sactive\n", is_on ? "" : "in"); in pullup()
729 if (is_on) { in pullup()
741 udc->caps->pullup(udc, is_on); in pullup()
761 static int at91_pullup(struct usb_gadget *gadget, int is_on) in at91_pullup() argument
767 udc->enabled = is_on = !!is_on; in at91_pullup()
768 pullup(udc, is_on); in at91_pullup()
773 static int at91_set_selfpowered(struct usb_gadget *gadget, int is_on) in at91_set_selfpowered() argument
779 udc->selfpowered = (is_on != 0); in at91_set_selfpowered()
[all …]
Dfotg210.c709 static void pullup(struct fotg210_chip *chip, int is_on) in pullup() argument
713 if (is_on) { in pullup()
734 static int fotg210_pullup(struct usb_gadget *_gadget, int is_on) in fotg210_pullup() argument
740 debug("fotg210: pullup=%d\n", is_on); in fotg210_pullup()
742 pullup(chip, is_on); in fotg210_pullup()
Dat91_udc.h108 void (*pullup)(struct at91_udc *udc, int is_on);
Dci_udc.c84 static int ci_pullup(struct usb_gadget *gadget, int is_on);
887 static int ci_pullup(struct usb_gadget *gadget, int is_on) in ci_pullup() argument
890 if (is_on) { in ci_pullup()
/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.h464 int (*pullup) (struct usb_gadget *, int is_on);
/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()
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/u-boot/drivers/usb/dwc3/
Dgadget.c1351 static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on, int suspend) in dwc3_gadget_run_stop() argument
1357 if (is_on) { in dwc3_gadget_run_stop()
1384 if (is_on) { in dwc3_gadget_run_stop()
1400 is_on ? "connect" : "disconnect"); in dwc3_gadget_run_stop()
1405 static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on) in dwc3_gadget_pullup() argument
1411 is_on = !!is_on; in dwc3_gadget_pullup()
1414 ret = dwc3_gadget_run_stop(dwc, is_on, false); in dwc3_gadget_pullup()
/external/u-boot/include/linux/soc/ti/
Dti_sci_protocol.h135 int (*is_on)(const struct ti_sci_handle *handle, u32 id, member
203 int (*is_on)(const struct ti_sci_handle *handle, u32 did, u8 cid, member
/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()
Dzynqmp_gqspi.c233 static void zynqmp_qspi_chipselect(struct zynqmp_qspi_priv *priv, int is_on) in zynqmp_qspi_chipselect() argument
237 if (is_on) { in zynqmp_qspi_chipselect()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer.cc139 bool is_on = (xla_global_jit_level.single_gpu == OptimizerOptions::ON_1 || in IsXlaGlobalJitOn() local
143 return is_on; in IsXlaGlobalJitOn()
/external/igt-gpu-tools/lib/
Digt_chamelium.c450 xmlrpc_bool is_on; in chamelium_port_wait_video_input_stable() local
457 xmlrpc_read_bool(&chamelium->env, res, &is_on); in chamelium_port_wait_video_input_stable()
460 return is_on; in chamelium_port_wait_video_input_stable()
/external/u-boot/drivers/remoteproc/
Dti_k3_r5f_rproc.c732 ret = core->tsp.sci->ops.dev_ops.is_on(core->tsp.sci, core->tsp.dev_id, in k3_r5f_probe()
/external/u-boot/drivers/usb/cdns3/
Dgadget.c2270 static int cdns3_gadget_pullup(struct usb_gadget *gadget, int is_on) in cdns3_gadget_pullup() argument
2274 if (is_on) in cdns3_gadget_pullup()
/external/u-boot/drivers/firmware/
Dti_sci.c2910 dops->is_on = ti_sci_cmd_dev_is_on; in ti_sci_setup_ops()
2920 cops->is_on = ti_sci_cmd_clk_is_on; in ti_sci_setup_ops()
/external/cpuinfo/test/dmesg/
Dlenovo-a6600-plus.log365 [ 2.950574] (0)[1:init][name:musb_hdrc&][MUSB]musb_gadget_pullup 2545: is_on=1, softconnect=0 ++
858 [ 5.419023] (1)[1:init][name:musb_hdrc&][MUSB]musb_gadget_pullup 2545: is_on=0, softconnect=1 ++
899 [ 5.446110] (1)[326:adbd][name:musb_hdrc&][MUSB]musb_gadget_pullup 2545: is_on=1, softconnect=0…
Dgalaxy-s7-us.log2361 [ 2.272341] [3: swapper/0: 1] usb: dwc3_gadget_pullup is_on: 0
3212 [ 5.095887] [1: init: 1] usb: dwc3_gadget_pullup is_on: 1
3213 [ 5.095931] [1: init: 1] usb: dwc3_gadget_run_stop is_on:1
3456 [ 6.281006] [1: init: 1] usb: dwc3_gadget_pullup is_on: 0
3457 [ 6.281081] [1: init: 1] usb: dwc3_gadget_run_stop is_on:0
3540 [ 6.330092] [2: adbd: 952] usb: dwc3_gadget_pullup is_on: 1
3542 [ 6.330169] [2: adbd: 952] usb: dwc3_gadget_run_stop is_on:1
Dpadcod-10.1.log1000 <4>[ 9.102727] [sw_udc]: sunxi_udc_pullup, is_on = 1

12