Searched refs:pullup (Results 1 - 16 of 16) sorted by relevance

/u-boot/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.h203 bool pullup, u32 val);
250 bool pullup, u32 val);
252 bool disable, bool pullup, u32 val);
254 bool pullup, u32 val);
256 bool pullup, u32 val);
258 bool pullup, u32 val);
H A Dpinctrl-mtk-common.c355 bool pullup, u32 val)
357 return mtk_pinconf_bias_set_pu_pd(dev, pin, disable, pullup, val);
361 bool pullup, u32 val)
366 err = mtk_pinconf_bias_set_pullen_pullsel(dev, pin, disable, pullup,
370 pullup, val);
376 bool pullup, u32 val)
388 err = mtk_hw_set_value(dev, pin, PINCTRL_PIN_REG_PU, pullup);
391 err = mtk_hw_set_value(dev, pin, PINCTRL_PIN_REG_PD, !pullup);
400 bool disable, bool pullup, u32 val)
413 pullup);
354 mtk_pinconf_bias_set_v0(struct udevice *dev, u32 pin, bool disable, bool pullup, u32 val) argument
360 mtk_pinconf_bias_set_v1(struct udevice *dev, u32 pin, bool disable, bool pullup, u32 val) argument
375 mtk_pinconf_bias_set_pu_pd(struct udevice *dev, u32 pin, bool disable, bool pullup, u32 val) argument
399 mtk_pinconf_bias_set_pullen_pullsel(struct udevice *dev, u32 pin, bool disable, bool pullup, u32 val) argument
421 mtk_pinconf_bias_set_pupd_r1_r0(struct udevice *dev, u32 pin, bool disable, bool pullup, u32 val) argument
453 bool disable, pullup; local
[all...]
/u-boot/drivers/gpio/
H A Dmcp230xx_gpio.c201 int direction, pullup; local
203 pullup = mcp230xx_read(dev, MCP230XX_GPPU, offset);
204 if (pullup < 0) {
205 dev_err(dev, "%s error: %d\n", __func__, pullup);
206 return pullup;
217 if (pullup)
226 bool pullup = flags & GPIOD_PULL_UP; local
243 ret = mcp230xx_write(dev, MCP230XX_GPPU, offset, pullup);
/u-boot/include/linux/usb/
H A Dgadget.h469 int (*pullup) (struct usb_gadget *, int is_on); member in struct:usb_gadget_ops
683 * resuming the controller, activating the D+ (or D-) pullup to let the
736 * Enables the D+ (or potentially D-) pullup. The host will start
737 * enumerating this gadget when the pullup is active and a VBUS session
738 * is active (the link is powered). This pullup is always enabled unless
745 if (!gadget->ops->pullup)
747 return gadget->ops->pullup(gadget, 1);
754 * Disables the D+ (or potentially D-) pullup, which the host may see
756 * support software pullup controls.
767 if (!gadget->ops->pullup)
[all...]
/u-boot/drivers/usb/gadget/
H A Dat91_udc.h108 void (*pullup)(struct at91_udc *udc, int is_on); member in struct:at91_udc_caps
H A Dat91_udc.c40 * a VBUS sensing IRQ, and a D+ pullup. (They may be omitted, but the
43 * The pullup is most important (so it's integrated on sam926x parts). It
727 static void pullup(struct at91_udc *udc, int is_on) function
744 if (udc->caps && udc->caps->pullup)
745 udc->caps->pullup(udc, is_on);
758 pullup(udc, is_active);
760 pullup(udc, 0);
772 pullup(udc, is_on);
797 .pullup = at91_pullup,
1382 .pullup
[all...]
H A Ddwc2_udc_otg.c817 .pullup = dwc2_gadget_pullup,
H A Dci_udc.c99 .pullup = ci_pullup,
925 /* disable pullup */
955 /* Turn on the USB connection by enabling the pullup resistor */
/u-boot/board/imgtec/ci20/
H A Dci20.c305 .pullup = 0x0b,
349 .pullup = 0x0e,
/u-boot/arch/mips/mach-jz47xx/jz4780/
H A Dsdram.c147 ((ddr_config->pullup & 0x1f) << DDRP_ZQXCR_PULLUP_IMPE_BIT) |
/u-boot/drivers/misc/
H A Dds4510.c104 * Write pullup characteristics of IO pins
114 * Read pullup characteristics of IO pins
209 printf("pullup ");
242 U_BOOT_CMD_MKENT(pullup, 4, 0, (void *)DS4510_CMD_PULLUP, "", ""),
276 /* arg3 used as output/pullup value */
363 "ds4510 pullup pin 0|1\n"
364 " - disable/enable pullup on specified pin\n"
/u-boot/arch/mips/mach-jz47xx/include/mach/
H A Djz4780_dram.h449 u8 pullup; /* PHY pullup impedance */ member in struct:jz4780_ddr_config
/u-boot/drivers/usb/mtu3/
H A Dmtu3_gadget.c458 /* we'd rather not pullup unless the device is active. */
558 .pullup = mtu3_gadget_pullup,
/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget.c1723 dev_dbg(musb->controller, "gadget D+ pullup %s\n",
1765 * not pullup unless the B-session is active.
1800 .pullup = musb_gadget_pullup,
/u-boot/drivers/usb/cdns3/
H A Dgadget.c2421 .pullup = cdns3_gadget_pullup,
/u-boot/drivers/usb/dwc3/
H A Dgadget.c1614 .pullup = dwc3_gadget_pullup,

Completed in 106 milliseconds