/linux-master/arch/arm/mach-s3c/ |
H A D | gpio-cfg-helpers.h | 30 unsigned int off, samsung_gpio_pull_t pull) 32 return (chip->config->set_pull)(chip, off, pull); 29 samsung_gpio_do_setpull(struct samsung_gpio_chip *chip, unsigned int off, samsung_gpio_pull_t pull) argument
|
H A D | gpio-cfg.h | 13 * changing the pull-{up,down} configurations. 33 * @get_pull: Read the current pull configuration for the GPIO 34 * @set_pull: Set the current pull configuration for the GPIO 54 samsung_gpio_pull_t pull); 110 /* Define values for the pull-{up,down} available for each gpio pin. 112 * These values control the state of the weak pull-{up,down} resistors 122 * s3c_gpio_setpull() - set the state of a gpio pin pull resistor 123 * @pin: The pin number to configure the pull resistor. 124 * @pull: The configuration for the pull resisto [all...] |
H A D | gpio-samsung.c | 41 unsigned int off, samsung_gpio_pull_t pull) 49 pup |= pull << shift; 856 unsigned int cfg, samsung_gpio_pull_t pull) 861 s3c_gpio_setpull(start, pull); 871 int s3c_gpio_setpull(unsigned int pin, samsung_gpio_pull_t pull) argument 883 ret = samsung_gpio_do_setpull(chip, offset, pull); 40 samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip, unsigned int off, samsung_gpio_pull_t pull) argument 855 s3c_gpio_cfgall_range(unsigned int start, unsigned int nr, unsigned int cfg, samsung_gpio_pull_t pull) argument
|
/linux-master/arch/arm/lib/ |
H A D | memmove.S | 134 .macro backward_copy_shift push pull 158 orr lr, lr, ip, lspull #\pull 160 orr ip, ip, r10, lspull #\pull 162 orr r10, r10, r9, lspull #\pull 164 orr r9, r9, r8, lspull #\pull 166 orr r8, r8, r6, lspull #\pull 168 orr r6, r6, r5, lspull #\pull 170 orr r5, r5, r4, lspull #\pull 172 orr r4, r4, r3, lspull #\pull 186 orr lr, lr, r3, lspull #\pull [all...] |
H A D | copy_template.S | 183 .macro forward_copy_shift pull push 205 mov r3, lr, lspull #\pull 209 mov r4, r4, lspull #\pull 211 mov r5, r5, lspull #\pull 213 mov r6, r6, lspull #\pull 215 mov r8, r8, lspull #\pull 217 mov r9, r9, lspull #\pull 219 mov r10, r10, lspull #\pull 221 mov ip, ip, lspull #\pull 233 15: mov r3, lr, lspull #\pull [all...] |
/linux-master/drivers/gpio/ |
H A D | gpio-wm831x.c | 164 const char *pull, *powerdomain; local 191 pull = "nopull"; 194 pull = "pulldown"; 197 pull = "pullup"; 200 pull = "INVALID PULL"; 238 pull, 241 reg & WM831X_GPN_OD ? "open-drain" : "push-pull",
|
H A D | gpio-sim.c | 42 #define GPIO_SIM_NUM_ATTRS 3 /* value, pull and sentinel */ 245 test_bit(i, chip->pull_map) ? "pull-up" : 246 "pull-down"); 274 [0] = "pull-down", 275 [1] = "pull-up", 284 int pull; local 287 pull = !!test_bit(line_attr->offset, chip->pull_map); 289 return sysfs_emit(buf, "%s\n", gpio_sim_sysfs_pull_strings[pull]); 298 int ret, pull; local 300 pull [all...] |
/linux-master/drivers/pinctrl/qcom/ |
H A D | pinctrl-lpass-lpi.c | 152 int pull; local 157 pull = FIELD_GET(LPI_GPIO_PULL_MASK, ctl_reg); 161 if (pull == LPI_GPIO_BIAS_DISABLE) 165 if (pull == LPI_GPIO_PULL_DOWN) 169 if (pull == LPI_GPIO_KEEPER) 173 if (pull == LPI_GPIO_PULL_UP) 358 int pull; local 362 "no pull", 363 "pull down", 365 "pull u [all...] |
/linux-master/drivers/gpu/drm/ci/ |
H A D | build.sh | 60 git config --global pull.rebase true 67 git pull ${UPSTREAM_REPO} ${TARGET_BRANCH}-external-fixes 74 git pull origin ${TARGET_BRANCH}-external-fixes 78 git pull ${CI_MERGE_REQUEST_PROJECT_URL} ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}-external-fixes
|
/linux-master/drivers/mfd/ |
H A D | wm8350-gpio.c | 184 int pol, int pull, int invert, int debounce) 186 /* make sure we never pull up and down at the same time */ 187 if (pull == WM8350_GPIO_PULL_NONE) { 192 } else if (pull == WM8350_GPIO_PULL_UP) { 197 } else if (pull == WM8350_GPIO_PULL_DOWN) { 183 wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func, int pol, int pull, int invert, int debounce) argument
|
/linux-master/drivers/soc/pxa/ |
H A D | mfp.c | 171 int pin, af, drv, lpm, edge, pull; local 181 pull = MFP_PULL(c); 183 /* run-mode pull settings will conflict with MFPR bits of 185 * individually if pull != MFP_PULL_NONE 189 if (likely(pull == MFP_PULL_NONE)) { 194 p->mfpr_run = tmp | mfpr_pull[pull];
|
/linux-master/drivers/pinctrl/freescale/ |
H A D | pinctrl-mxs.h | 35 * pull-up: 6..5 (2) 68 u16 pull; member in struct:mxs_regs
|
H A D | pinctrl-mxs.c | 87 ret = of_property_read_u32(np, "fsl,pull-up", &val); 263 u8 ma, vol, pull, bank, shift; local 274 pull = PIN_CONFIG_TO_PULL(config); 299 /* pull */ 301 reg = d->base + d->soc->regs->pull; 304 if (pull)
|
/linux-master/tools/testing/selftests/gpio/ |
H A D | gpio-mockup.sh | 133 pull-down) 136 pull-up) 200 # Setting the mockup pull using the userspace interface bias settings is 223 set_line input pull-up 229 set_line input pull-down
|
H A D | gpio-sim.sh | 155 local SYSFS_PATH="/sys/devices/platform/$DEVNAME/$CHIPNAME/sim_gpio$OFFSET/pull" 157 echo $PULL > $SYSFS_PATH || fail "Unable to set line pull in sysfs" 160 # Load the gpio-sim module. This will pull in configfs if needed too. 328 sysfs_set_pull chip bank 0 pull-up 330 test "$?" = "1" || fail "pull set incorrectly" 331 sysfs_set_pull chip bank 0 pull-down 333 test "$?" = "0" || fail "pull set incorrectly" 343 SYSFS_PATH=/sys/devices/platform/$DEVNAME/$CHIPNAME/sim_gpio0/pull 344 test `cat $SYSFS_PATH` = "pull-down" || fail "reading the pull faile [all...] |
/linux-master/arch/arm/mach-omap1/ |
H A D | mux.c | 27 * description mux mode mux pull pull pull pu_pd pu dbg 291 pull_orig = 0, pull = 0; local 316 /* Check for pull up or pull down selection on 1610 */ 326 /* Use pull up */ 331 /* Use pull down */ 339 /* Check for an associated pull down register */ 348 /* Low bit = pull enable [all...] |
/linux-master/drivers/pinctrl/vt8500/ |
H A D | pinctrl-wmt.c | 236 u32 pin, u32 pull, 243 if (pull > 2) { 244 dev_err(data->dev, "invalid wm,pull %d\n", pull); 258 switch (pull) { 270 dev_err(data->dev, "invalid pull state %d - disabling\n", pull); 302 u32 pin, func, pull; local 314 pulls = of_find_property(np, "wm,pull", NULL); 317 dev_err(data->dev, "neither wm,function nor wm,pull specifie 234 wmt_pctl_dt_node_to_map_pull(struct wmt_pinctrl_data *data, struct device_node *np, u32 pin, u32 pull, struct pinctrl_map **maps) argument [all...] |
/linux-master/net/ipv4/ |
H A D | xfrm4_input.c | 77 static int __xfrm4_udp_encap_rcv(struct sock *sk, struct sk_buff *skb, bool pull) argument 92 /* If this is a paged skb, make sure we pull up 148 /* pull the data buffer up to the ESP header and set the 152 if (pull) {
|
/linux-master/drivers/pinctrl/nomadik/ |
H A D | pinctrl-nomadik.c | 54 * bit 16..18 - SLPM pull up/down state 64 * pull up/down = disabled 69 * SLPM pull = same as normal 188 #define PIN_CFG_INPUT(num, alt, pull) \ 190 (PIN_NUM(num) | PIN_##alt | PIN_INPUT_##pull)) 231 unsigned int offset, enum nmk_gpio_pull pull) 236 if (pull == NMK_GPIO_PULL_NONE) { 245 if (pull == NMK_GPIO_PULL_UP) { 248 } else if (pull == NMK_GPIO_PULL_DOWN) { 683 NMK_CONFIG_PIN_ARRAY("ste,sleep-pull 230 __nmk_gpio_set_pull(struct nmk_gpio_chip *nmk_chip, unsigned int offset, enum nmk_gpio_pull pull) argument 1062 int pull, slpm, output, val, i; local [all...] |
/linux-master/net/ipv6/ |
H A D | xfrm6_input.c | 72 static int __xfrm6_udp_encap_rcv(struct sock *sk, struct sk_buff *skb, bool pull) argument 88 /* If this is a paged skb, make sure we pull up 143 /* pull the data buffer up to the ESP header and set the 147 if (pull) {
|
/linux-master/drivers/pinctrl/intel/ |
H A D | pinctrl-baytrail.c | 852 u32 conf, pull, val, debounce; 860 pull = conf & BYT_PULL_ASSIGN_MASK; 864 if (pull) 869 if ((val & BYT_INPUT_EN) || pull != BYT_PULL_ASSIGN_DOWN) 877 if ((val & BYT_INPUT_EN) || pull != BYT_PULL_ASSIGN_UP) 1142 const char *pull = NULL; 1176 pull = "up"; 1179 pull = "down"; 1211 if (pull && pull_str) 1212 seq_printf(s, " %-4s %-3s", pull, pull_st 848 u32 conf, pull, val, debounce; local 1138 const char *pull = NULL; local [all...] |
H A D | pinctrl-cherryview.c | 920 u32 ctrl0, pull; local 936 /* For 1k there is only pull up */ 937 pull = CHV_PADCTRL0_TERM_1K << CHV_PADCTRL0_TERM_SHIFT; 940 pull = CHV_PADCTRL0_TERM_5K << CHV_PADCTRL0_TERM_SHIFT; 943 pull = CHV_PADCTRL0_TERM_20K << CHV_PADCTRL0_TERM_SHIFT; 949 ctrl0 |= CHV_PADCTRL0_TERM_UP | pull; 957 pull = CHV_PADCTRL0_TERM_5K << CHV_PADCTRL0_TERM_SHIFT; 960 pull = CHV_PADCTRL0_TERM_20K << CHV_PADCTRL0_TERM_SHIFT; 966 ctrl0 |= pull;
|
H A D | pinctrl-lynxpoint.c | 174 #define GPIWP_MASK GENMASK(1, 0) /* weak pull options */ 176 #define GPIWP_DOWN 1 /* weak pull down */ 177 #define GPIWP_UP 2 /* weak pull up */ 413 u32 value, pull; local 419 pull = value & GPIWP_MASK; 423 if (pull != GPIWP_NONE) 428 if (pull != GPIWP_DOWN) 434 if (pull != GPIWP_UP)
|
/linux-master/drivers/pinctrl/bcm/ |
H A D | pinctrl-bcm2835.c | 787 struct device_node *np, u32 pin, u32 pull, 793 if (pull > 2) { 794 dev_err(pc->dev, "%pOF: invalid brcm,pull %d\n", np, pull); 801 configs[0] = pinconf_to_config_packed(BCM2835_PINCONF_PARAM_PULL, pull); 821 u32 pin, func, pull; local 836 pulls = of_find_property(np, "brcm,pull", NULL); 840 "%pOF: neither brcm,function nor brcm,pull specified\n", 858 "%pOF: brcm,pull must have 1 or %d entries\n", 895 err = of_property_read_u32_index(np, "brcm,pull", 786 bcm2835_pctl_dt_node_to_map_pull(struct bcm2835_pinctrl *pc, struct device_node *np, u32 pin, u32 pull, struct pinctrl_map **maps) argument [all...] |
/linux-master/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzn1.c | 495 u32 pull, drive, l1mux; local 504 pull = (l1 >> RZN1_L1_PIN_PULL) & 0x3; 509 if (pull != RZN1_L1_PIN_PULL_UP) 513 if (pull != RZN1_L1_PIN_PULL_DOWN) 517 if (pull != RZN1_L1_PIN_PULL_NONE) 563 dev_dbg(ipctl->dev, "set pin %d pull up\n", pin); 568 dev_dbg(ipctl->dev, "set pin %d pull down\n", pin);
|