Home
last modified time | relevance | path

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

/third_party/uboot/u-boot-2020.01/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 …]
/third_party/uboot/u-boot-2020.01/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()
/third_party/uboot/u-boot-2020.01/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);
/third_party/uboot/u-boot-2020.01/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()
/third_party/uboot/u-boot-2020.01/include/linux/usb/
Dmusb.h104 int (*set_vbus)(struct device *dev, int is_on);
Dgadget.h464 int (*pullup) (struct usb_gadget *, int is_on);
/third_party/uboot/u-boot-2020.01/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()
/third_party/uboot/u-boot-2020.01/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()
/third_party/uboot/u-boot-2020.01/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()
/third_party/uboot/u-boot-2020.01/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
/third_party/FreeBSD/sys/dev/usb/
Dusb_handle_request.c388 usb_handle_remote_wakeup(struct usb_xfer *xfer, uint8_t is_on) in usb_handle_remote_wakeup() argument
398 if (is_on) { in usb_handle_remote_wakeup()
/third_party/uboot/u-boot-2020.01/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()
/third_party/uboot/u-boot-2020.01/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()
/third_party/uboot/u-boot-2020.01/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()