Home
last modified time | relevance | path

Searched refs:pullup (Results 1 – 25 of 43) sorted by relevance

12

/drivers/pinctrl/qcom/
Dpinctrl-spmi-gpio.c123 unsigned int pullup; member
299 arg = pad->pullup == PMIC_GPIO_PULL_DOWN; in pmic_gpio_config_get()
302 arg = pad->pullup = PMIC_GPIO_PULL_DISABLE; in pmic_gpio_config_get()
305 arg = pad->pullup == PMIC_GPIO_PULL_UP_30; in pmic_gpio_config_get()
320 arg = pad->pullup; in pmic_gpio_config_get()
363 pad->pullup = PMIC_GPIO_PULL_DISABLE; in pmic_gpio_config_set()
366 pad->pullup = PMIC_GPIO_PULL_UP_30; in pmic_gpio_config_set()
370 pad->pullup = PMIC_GPIO_PULL_DOWN; in pmic_gpio_config_set()
372 pad->pullup = PMIC_GPIO_PULL_DISABLE; in pmic_gpio_config_set()
392 pad->pullup = arg; in pmic_gpio_config_set()
[all …]
Dpinctrl-spmi-mpp.c143 unsigned int pullup; member
346 arg = pad->pullup == PMIC_MPP_PULL_UP_OPEN; in pmic_mpp_config_get()
349 switch (pad->pullup) { in pmic_mpp_config_get()
422 pad->pullup = PMIC_MPP_PULL_UP_OPEN; in pmic_mpp_config_set()
427 pad->pullup = PMIC_MPP_PULL_UP_0P6KOHM; in pmic_mpp_config_set()
430 pad->pullup = PMIC_MPP_PULL_UP_10KOHM; in pmic_mpp_config_set()
433 pad->pullup = PMIC_MPP_PULL_UP_30KOHM; in pmic_mpp_config_set()
483 val = pad->pullup << PMIC_MPP_REG_PULL_SHIFT; in pmic_mpp_config_set()
543 seq_printf(s, " %-8s", biases[pad->pullup]); in pmic_mpp_config_dbg_show()
763 pad->pullup = val >> PMIC_MPP_REG_PULL_SHIFT; in pmic_mpp_populate()
[all …]
Dpinctrl-ssbi-mpp.c129 unsigned pullup; member
190 else if (pin->pullup == 600) in pm8xxx_mpp_update()
192 else if (pin->pullup == 10000) in pm8xxx_mpp_update()
337 arg = pin->pullup; in pm8xxx_pin_config_get()
392 pin->pullup = arg; in pm8xxx_pin_config_set()
580 seq_printf(s, "bi-dir %dOhm", pin->pullup); in pm8xxx_mpp_dbg_show_one()
697 pin->pullup = 600; in pm8xxx_pin_populate()
703 pin->pullup = 10000; in pm8xxx_pin_populate()
706 pin->pullup = 30000; in pm8xxx_pin_populate()
/drivers/usb/gadget/udc/
Dat91_udc.c937 static void pullup(struct at91_udc *udc, int is_on) in pullup() function
954 if (udc->caps && udc->caps->pullup) in pullup()
955 udc->caps->pullup(udc, is_on); in pullup()
968 pullup(udc, is_active); in at91_vbus_session()
970 pullup(udc, 0); in at91_vbus_session()
982 pullup(udc, is_on); in at91_pullup()
1007 .pullup = at91_pullup,
1608 pullup(platform_get_drvdata(dev), 0); in at91udc_shutdown()
1665 .pullup = at91rm9200_udc_pullup,
1703 .pullup = at91sam9260_udc_pullup,
[all …]
Dpxa25x_udc.c1150 static int pullup(struct pxa25x_udc *udc) in pullup() function
1152 int is_active = udc->vbus && udc->pullup && !udc->suspended; in pullup()
1187 pullup(udc); in pxa25x_udc_vbus_session()
1202 udc->pullup = (is_active != 0); in pxa25x_udc_pullup()
1203 pullup(udc); in pxa25x_udc_pullup()
1230 .pullup = pxa25x_udc_pullup,
1489 dev->pullup = 1; in pxa25x_udc_start()
1567 dev->pullup = 0; in pxa25x_udc_stop()
2488 dev->pullup = 0; in pxa25x_udc_remove()
2489 pullup(dev); in pxa25x_udc_remove()
[all …]
Dlpc32xx_udc.c165 int pullup; member
640 if (udc->pullup) in isp1301_pullup_set()
662 if (en_pullup == udc->pullup) in isp1301_pullup_enable()
665 udc->pullup = en_pullup; in isp1301_pullup_enable()
1565 static void pullup(struct lpc32xx_udc *udc, int is_on) in pullup() function
1573 if (is_on != udc->pullup) in pullup()
2464 pullup(udc, is_active); in lpc32xx_vbus_session()
2467 pullup(udc, 0); in lpc32xx_vbus_session()
2495 pullup(udc, is_on); in lpc32xx_pullup()
2508 .pullup = lpc32xx_pullup,
[all …]
Dat91_udc.h112 void (*pullup)(struct at91_udc *udc, int is_on); member
Dcore.c646 if (!gadget->ops->pullup) { in usb_gadget_connect()
660 ret = gadget->ops->pullup(gadget, 1); in usb_gadget_connect()
685 if (!gadget->ops->pullup) { in usb_gadget_disconnect()
699 ret = gadget->ops->pullup(gadget, 0); in usb_gadget_disconnect()
Dpxa25x_udc.h107 pullup : 1, member
Ddummy_hcd.c266 unsigned pullup:1; member
366 } else if (!dum->pullup || dum->udc_suspended) { in set_link_state_by_speed()
392 } else if (!dum->pullup || dum->udc_suspended) { in set_link_state_by_speed()
426 if (dum->pullup) in set_link_state()
919 dum->pullup = (value != 0); in dummy_pullup()
935 .pullup = dummy_pullup,
2163 if (dum_hcd->dum->pullup) { in dummy_hub_control()
Drenesas_usb3.c384 static void usb3_usb2_pullup(struct renesas_usb3 *usb3, int pullup) in usb3_usb2_pullup() argument
388 if (usb3->softconnect && pullup) in usb3_usb2_pullup()
1802 .pullup = renesas_usb3_pullup,
Dfusb300_udc.c1340 .pullup = fusb300_udc_pullup,
Ds3c2410_udc.c1529 .pullup = s3c2410_udc_pullup,
/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c256 if (bdc->pullup) { in bdc_sr_uspc()
428 bdc->pullup = false; in bdc_udc_pullup()
435 bdc->pullup = true; in bdc_udc_pullup()
515 .pullup = bdc_udc_pullup,
Dbdc.h436 bool pullup; member
/drivers/usb/usbip/
Dvudc_sysfs.c43 if (!udc->driver || !udc->pullup) in get_gadget_descs()
126 if (!udc->driver || !udc->pullup) { in store_sockfd()
Dvudc_dev.c170 if (value == udc->pullup) in vgadget_pullup()
173 udc->pullup = value; in vgadget_pullup()
214 udc->pullup = udc->connected = udc->desc_cached = 0; in vgadget_udc_start()
234 .pullup = vgadget_pullup,
Dvudc.h120 unsigned pullup:1; member
/drivers/bcma/
Ddriver_chipcommon.c204 u32 pullup = 0, pulldown = 0; in bcma_core_chipcommon_init() local
207 pullup = 0x402e0; in bcma_core_chipcommon_init()
211 bcma_cc_write32(cc, BCMA_CC_GPIOPULLUP, pullup); in bcma_core_chipcommon_init()
/drivers/pinctrl/
Dpinctrl-zynq.c1059 u32 pullup = 0; in zynq_pinconf_cfg_set() local
1076 pullup = ZYNQ_PINCONF_PULLUP; in zynq_pinconf_cfg_set()
1116 if (tristate || pullup) { in zynq_pinconf_cfg_set()
1118 reg |= tristate | pullup; in zynq_pinconf_cfg_set()
/drivers/usb/phy/
Dphy-isp1301-omap.c563 pullup: in otg_update_isp()
570 goto pullup; in otg_update_isp()
DKconfig111 optionally control of a D+ pullup GPIO as well as a VBUS
/drivers/usb/renesas_usbhs/
Dmod_gadget.c1047 .pullup = usbhsg_pullup,
/drivers/w1/
Dw1.c561 static W1_MASTER_ATTR_RW(pullup, S_IRUGO | S_IWUSR | S_IWGRP);
/drivers/usb/isp1760/
Disp1760-udc.c1257 .pullup = isp1760_udc_pullup,

12