/drivers/pinctrl/qcom/ |
D | pinctrl-spmi-gpio.c | 123 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 …]
|
D | pinctrl-spmi-mpp.c | 143 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 …]
|
D | pinctrl-ssbi-mpp.c | 129 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/ |
D | at91_udc.c | 937 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 …]
|
D | pxa25x_udc.c | 1150 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 …]
|
D | lpc32xx_udc.c | 165 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 …]
|
D | at91_udc.h | 112 void (*pullup)(struct at91_udc *udc, int is_on); member
|
D | core.c | 646 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()
|
D | pxa25x_udc.h | 107 pullup : 1, member
|
D | dummy_hcd.c | 266 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()
|
D | renesas_usb3.c | 384 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,
|
D | fusb300_udc.c | 1340 .pullup = fusb300_udc_pullup,
|
D | s3c2410_udc.c | 1529 .pullup = s3c2410_udc_pullup,
|
/drivers/usb/gadget/udc/bdc/ |
D | bdc_udc.c | 256 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,
|
D | bdc.h | 436 bool pullup; member
|
/drivers/usb/usbip/ |
D | vudc_sysfs.c | 43 if (!udc->driver || !udc->pullup) in get_gadget_descs() 126 if (!udc->driver || !udc->pullup) { in store_sockfd()
|
D | vudc_dev.c | 170 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,
|
D | vudc.h | 120 unsigned pullup:1; member
|
/drivers/bcma/ |
D | driver_chipcommon.c | 204 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/ |
D | pinctrl-zynq.c | 1059 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/ |
D | phy-isp1301-omap.c | 563 pullup: in otg_update_isp() 570 goto pullup; in otg_update_isp()
|
D | Kconfig | 111 optionally control of a D+ pullup GPIO as well as a VBUS
|
/drivers/usb/renesas_usbhs/ |
D | mod_gadget.c | 1047 .pullup = usbhsg_pullup,
|
/drivers/w1/ |
D | w1.c | 561 static W1_MASTER_ATTR_RW(pullup, S_IRUGO | S_IWUSR | S_IWGRP);
|
/drivers/usb/isp1760/ |
D | isp1760-udc.c | 1257 .pullup = isp1760_udc_pullup,
|