/u-boot/drivers/pinctrl/ |
A D | pinctrl-at91.c | 105 void (*set_debounce)(struct at91_port *pio, u32 mask, bool is_on, 136 bool is_on, bool val) in at91_mux_set_output() argument 139 writel(mask, (is_on ? &pio->oer : &pio->odr)); in at91_mux_set_output() 183 writel(mask, (is_on ? &pio->ifer : &pio->ifdr)); in at91_mux_set_deglitch() 187 u32 mask, bool is_on) in at91_mux_pio3_set_deglitch() argument 189 if (is_on) in at91_mux_pio3_set_deglitch() 191 at91_mux_set_deglitch(pio, mask, is_on); in at91_mux_pio3_set_deglitch() 195 bool is_on, u32 div) in at91_mux_pio3_set_debounce() argument 197 if (is_on) { in at91_mux_pio3_set_debounce() 207 u32 mask, bool is_on) in at91_mux_pio3_set_pulldown() argument [all …]
|
/u-boot/arch/arm/mach-at91/include/mach/ |
A D | at91_pio.h | 133 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);
|
/u-boot/drivers/gpio/ |
A D | at91_gpio.c | 284 int at91_set_pio_deglitch(unsigned port, unsigned pin, int is_on) in at91_set_pio_deglitch() argument 291 if (is_on) in at91_set_pio_deglitch() 303 int at91_pio3_set_pio_deglitch(unsigned port, unsigned pin, int is_on) in at91_pio3_set_pio_deglitch() argument 310 if (is_on) { in at91_pio3_set_pio_deglitch() 324 int at91_pio3_set_pio_debounce(unsigned port, unsigned pin, int is_on, int div) in at91_pio3_set_pio_debounce() argument 331 if (is_on) { in at91_pio3_set_pio_debounce() 347 int at91_pio3_set_pio_pulldown(unsigned port, unsigned pin, int is_on) in at91_pio3_set_pio_pulldown() argument 354 if (is_on) { in at91_pio3_set_pio_pulldown() 398 int at91_set_pio_multi_drive(unsigned port, unsigned pin, int is_on) in at91_set_pio_multi_drive() argument 405 if (is_on) in at91_set_pio_multi_drive()
|
/u-boot/drivers/usb/mtu3/ |
A D | mtu3_gadget.c | 450 static int mtu3_gadget_pullup(struct usb_gadget *gadget, int is_on) in mtu3_gadget_pullup() argument 456 is_on ? "on" : "off", mtu->is_active ? "" : "in"); in mtu3_gadget_pullup() 461 is_on = !!is_on; in mtu3_gadget_pullup() 464 mtu->softconnect = is_on; in mtu3_gadget_pullup() 465 } else if (is_on != mtu->softconnect) { in mtu3_gadget_pullup() 466 mtu->softconnect = is_on; in mtu3_gadget_pullup() 467 mtu3_dev_on_off(mtu, is_on); in mtu3_gadget_pullup()
|
A D | mtu3_core.c | 264 void mtu3_dev_on_off(struct mtu3 *mtu, int is_on) in mtu3_dev_on_off() argument 267 mtu3_ss_func_set(mtu, is_on); in mtu3_dev_on_off() 269 mtu3_hs_softconn_set(mtu, is_on); in mtu3_dev_on_off() 272 usb_speed_string(mtu->speed), is_on ? "+" : "-"); in mtu3_dev_on_off()
|
A D | mtu3.h | 411 void mtu3_dev_on_off(struct mtu3 *mtu, int is_on);
|
/u-boot/drivers/usb/gadget/ |
A D | at91_udc.c | 726 static void pullup(struct at91_udc *udc, int is_on) in pullup() argument 729 is_on = 0; in pullup() 730 DBG("%sactive\n", is_on ? "" : "in"); in pullup() 732 if (is_on) { in pullup() 744 udc->caps->pullup(udc, is_on); in pullup() 764 static int at91_pullup(struct usb_gadget *gadget, int is_on) in at91_pullup() argument 770 udc->enabled = is_on = !!is_on; in at91_pullup() 771 pullup(udc, is_on); in at91_pullup() 782 udc->selfpowered = (is_on != 0); in at91_set_selfpowered() 1371 if (is_on) in at91sam9260_udc_pullup() [all …]
|
A D | at91_udc.h | 108 void (*pullup)(struct at91_udc *udc, int is_on);
|
A D | fotg210.c | 711 static void pullup(struct fotg210_chip *chip, int is_on) in pullup() argument 715 if (is_on) { in pullup() 736 static int fotg210_pullup(struct usb_gadget *_gadget, int is_on) in fotg210_pullup() argument 742 debug("fotg210: pullup=%d\n", is_on); in fotg210_pullup() 744 pullup(chip, is_on); in fotg210_pullup()
|
A D | ci_udc.c | 86 static int ci_pullup(struct usb_gadget *gadget, int is_on); 892 static int ci_pullup(struct usb_gadget *gadget, int is_on) in ci_pullup() argument 895 if (is_on) { in ci_pullup()
|
/u-boot/include/linux/usb/ |
A D | musb.h | 104 int (*set_vbus)(struct device *dev, int is_on);
|
A D | gadget.h | 469 int (*pullup) (struct usb_gadget *, int is_on);
|
/u-boot/drivers/usb/musb-new/ |
A D | musb_core.h | 517 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()
|
A D | musb_gadget.c | 1711 static void musb_pullup(struct musb *musb, int is_on) in musb_pullup() argument 1716 if (is_on) in musb_pullup() 1724 is_on ? "on" : "off"); in musb_pullup() 1755 static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) in musb_gadget_pullup() argument 1760 is_on = !!is_on; in musb_gadget_pullup() 1768 if (is_on != musb->softconnect) { in musb_gadget_pullup() 1769 musb->softconnect = is_on; in musb_gadget_pullup() 1770 musb_pullup(musb, is_on); in musb_gadget_pullup()
|
A D | am35x.c | 134 static void am35x_musb_set_vbus(struct musb *musb, int is_on) in am35x_musb_set_vbus() argument 136 WARN_ON(is_on && is_peripheral_active(musb)); in am35x_musb_set_vbus()
|
/u-boot/include/linux/soc/ti/ |
A D | ti_sci_protocol.h | 136 int (*is_on)(const struct ti_sci_handle *handle, u32 id, member 204 int (*is_on)(const struct ti_sci_handle *handle, u32 did, u8 cid, member
|
/u-boot/drivers/usb/dwc3/ |
A D | gadget.c | 1356 static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on, int suspend) in dwc3_gadget_run_stop() argument 1362 if (is_on) { in dwc3_gadget_run_stop() 1389 if (is_on) { in dwc3_gadget_run_stop() 1405 is_on ? "connect" : "disconnect"); in dwc3_gadget_run_stop() 1410 static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on) in dwc3_gadget_pullup() argument 1416 is_on = !!is_on; in dwc3_gadget_pullup() 1419 ret = dwc3_gadget_run_stop(dwc, is_on, false); in dwc3_gadget_pullup()
|
/u-boot/drivers/spi/ |
A D | zynq_qspi.c | 312 static void zynq_qspi_chipselect(struct zynq_qspi_priv *priv, int is_on) in zynq_qspi_chipselect() argument 319 if (is_on) { in zynq_qspi_chipselect()
|
A D | zynqmp_gqspi.c | 254 static void zynqmp_qspi_chipselect(struct zynqmp_qspi_priv *priv, int is_on) in zynqmp_qspi_chipselect() argument 258 if (is_on) { in zynqmp_qspi_chipselect()
|
/u-boot/drivers/remoteproc/ |
A D | ti_k3_r5f_rproc.c | 807 ret = core->tsp.sci->ops.dev_ops.is_on(core->tsp.sci, core->tsp.dev_id, in k3_r5f_probe()
|
/u-boot/drivers/usb/cdns3/ |
A D | gadget.c | 2275 static int cdns3_gadget_pullup(struct usb_gadget *gadget, int is_on) in cdns3_gadget_pullup() argument 2279 if (is_on) in cdns3_gadget_pullup()
|
/u-boot/drivers/firmware/ |
A D | ti_sci.c | 2812 dops->is_on = ti_sci_cmd_dev_is_on; in ti_sci_setup_ops() 2822 cops->is_on = ti_sci_cmd_clk_is_on; in ti_sci_setup_ops()
|