| /rk3399_rockchip-uboot/drivers/pinctrl/ |
| H A D | pinctrl-at91.c | 86 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 …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-at91/include/mach/ |
| H A D | at91_pio.h | 134 int at91_set_pio_multi_drive(unsigned port, unsigned pin, int is_on); 138 int at91_set_pio_deglitch(unsigned port, unsigned pin, int is_on); 146 int at91_pio3_set_pio_debounce(unsigned port, unsigned pin, int is_on, int div); 148 int at91_pio3_set_pio_pulldown(unsigned port, unsigned pin, int is_on);
|
| /rk3399_rockchip-uboot/drivers/gpio/ |
| H 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()
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | at91_udc.c | 724 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 …]
|
| H A D | at91_udc.h | 109 void (*pullup)(struct at91_udc *udc, int is_on);
|
| H A D | fotg210.c | 709 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()
|
| H A D | ci_udc.c | 84 static int ci_pullup(struct usb_gadget *gadget, int is_on); 883 static int ci_pullup(struct usb_gadget *gadget, int is_on) in ci_pullup() argument 886 if (is_on) { in ci_pullup()
|
| /rk3399_rockchip-uboot/include/linux/usb/ |
| H A D | musb.h | 104 int (*set_vbus)(struct device *dev, int is_on);
|
| H A D | gadget.h | 466 int (*pullup) (struct usb_gadget *, int is_on);
|
| /rk3399_rockchip-uboot/drivers/usb/musb-new/ |
| H A D | musb_gadget.c | 1706 static void musb_pullup(struct musb *musb, int is_on) in musb_pullup() argument 1711 if (is_on) in musb_pullup() 1719 is_on ? "on" : "off"); in musb_pullup() 1750 static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) in musb_gadget_pullup() argument 1755 is_on = !!is_on; in musb_gadget_pullup() 1763 if (is_on != musb->softconnect) { in musb_gadget_pullup() 1764 musb->softconnect = is_on; in musb_gadget_pullup() 1765 musb_pullup(musb, is_on); in musb_gadget_pullup()
|
| H A D | musb_core.h | 514 static inline void musb_platform_set_vbus(struct musb *musb, int is_on) in musb_platform_set_vbus() argument 517 musb->ops->set_vbus(musb, is_on); in musb_platform_set_vbus()
|
| H A D | am35x.c | 131 static void am35x_musb_set_vbus(struct musb *musb, int is_on) in am35x_musb_set_vbus() argument 133 WARN_ON(is_on && is_peripheral_active(musb)); in am35x_musb_set_vbus()
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | zynq_qspi.c | 267 static void zynq_qspi_chipselect(struct zynq_qspi_priv *priv, int is_on) in zynq_qspi_chipselect() argument 274 if (is_on) { in zynq_qspi_chipselect()
|
| /rk3399_rockchip-uboot/drivers/usb/dwc3/ |
| H A D | gadget.c | 1363 static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on, int suspend) in dwc3_gadget_run_stop() argument 1369 if (is_on) { in dwc3_gadget_run_stop() 1396 if (is_on) { in dwc3_gadget_run_stop() 1412 is_on ? "connect" : "disconnect"); in dwc3_gadget_run_stop() 1417 static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on) in dwc3_gadget_pullup() argument 1423 is_on = !!is_on; in dwc3_gadget_pullup() 1426 ret = dwc3_gadget_run_stop(dwc, is_on, false); in dwc3_gadget_pullup()
|
| /rk3399_rockchip-uboot/drivers/video/rk_eink/ |
| H A D | rk_eink_display.c | 471 static int ebc_power_set(struct udevice *dev, int is_on) in ebc_power_set() argument 484 if (is_on) { in ebc_power_set()
|
| /rk3399_rockchip-uboot/drivers/usb/cdns3/ |
| H A D | gadget.c | 2270 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()
|