Home
last modified time | relevance | path

Searched refs:GPDR (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/arch/arm/mach-sa1100/
H A Dassabet.c156 GPDR &= ~SDA; in adv7171_send()
164 GPDR |= SDA; in adv7171_send()
170 unsigned gpdr = GPDR; in adv7171_write()
177 GPDR = (GPDR | SCK | MOD) & ~SDA; in adv7171_write()
181 GPDR |= SDA; in adv7171_write()
192 GPDR = gpdr; in adv7171_write()
523 GPDR |= GPIO_GPIO16; in assabet_init()
532 GPDR |= GPIO_SSP_TXD | GPIO_SSP_SCLK | GPIO_SSP_SFRM; in assabet_init()
540 GPDR |= GPIO_GPIO27; in assabet_init()
630 GPDR |= 0x3fc; /* Configure GPIO 9:2 as outputs */ in get_assabet_scr()
[all …]
H A Dpm.c64 SAVE(GPDR); in sa11x0_pm_enter()
98 RESTORE(GPDR); in sa11x0_pm_enter()
H A Dgeneric.c422 GPDR = (GPDR & ~GPIO_MBREQ) | GPIO_MBGNT; in sa1110_mb_disable()
441 GPDR = (GPDR & ~GPIO_MBREQ) | GPIO_MBGNT; in sa1110_mb_enable()
H A Dclock.c33 GPDR |= GPIO_32_768kHz; in clk_gpio27_enable()
44 GPDR &= ~GPIO_32_768kHz; in clk_gpio27_disable()
H A Djornada720.c265 GPDR |= GPIO_GPIO20; /* Clear gpio20 pin as input */ in jornada720_init()
H A Dh3xxx.c286 GPDR = 0; /* Configure all GPIOs as input */ in h3xxx_map_io()
H A Dcollie.c354 GPDR = GPIO_LDD8 | GPIO_LDD9 | GPIO_LDD10 | GPIO_LDD11 | GPIO_LDD12 | in collie_init()
/openbmc/linux/arch/arm/mach-pxa/
H A Dmfp-pxa2xx.c34 #define GPDR(x) __REG2(0x40E00000, BANK_OFF((x) >> 5) + 0x0c) macro
76 GPDR(gpio) |= mask; in __mfp_config_gpio()
78 GPDR(gpio) &= ~mask; in __mfp_config_gpio()
356 (GPDR(i) & GPIO_bit(i))) { in pxa2xx_mfp_suspend()
367 saved_gpdr[i] = GPDR(i * 32); in pxa2xx_mfp_suspend()
380 GPDR(i) |= GPIO_bit(i); in pxa2xx_mfp_suspend()
382 GPDR(i) &= ~GPIO_bit(i); in pxa2xx_mfp_suspend()
397 GPDR(i * 32) = saved_gpdr[i]; in pxa2xx_mfp_resume()
430 gpdr_lpm[i] = GPDR(i * 32); in pxa2xx_mfp_init()
/openbmc/linux/drivers/gpio/
H A Dgpio-tangier.c32 #define GPDR 0x01c /* Pin direction */ macro
115 gpdr = gpio_reg_and_bit(chip, offset, GPDR, &shift); in tng_gpio_direction_input()
136 gpdr = gpio_reg_and_bit(chip, offset, GPDR, &shift); in tng_gpio_direction_output()
155 gpdr = gpio_reg_and_bit(chip, offset, GPDR, &shift); in tng_gpio_get_direction()
496 ctx->gpdr = readl(gpio_reg(&priv->chip, base, GPDR)); in tng_gpio_suspend()
523 writel(ctx->gpdr, gpio_reg(&priv->chip, base, GPDR)); in tng_gpio_resume()
/openbmc/u-boot/drivers/usb/gadget/
H A Dpxa27x_udc.c595 writel(readl(GPDR(CONFIG_USB_DEV_PULLUP_GPIO)) in udc_connect()
597 GPDR(CONFIG_USB_DEV_PULLUP_GPIO)); in udc_connect()
H A Dpxa25x_udc.c1864 setbits_le32(GPDR(CONFIG_USB_DEV_PULLUP_GPIO), in udc_command()
1880 clrbits_le32(GPDR(CONFIG_USB_DEV_PULLUP_GPIO), in udc_command()
/openbmc/qemu/hw/arm/
H A Dstrongarm.c470 #define GPDR 0x04 macro
553 case GPDR: /* GPIO Pin-Direction registers */ in strongarm_gpio_read()
597 case GPDR: /* GPIO Pin-Direction registers */ in strongarm_gpio_write()
/openbmc/u-boot/arch/arm/include/asm/arch-pxa/
H A Dpxa-regs.h1251 #define GPDR(x) (((((x) & 0x7f) < 96) ? _GPDR(x) : GPDR3)) macro
1261 #define GPDR(x) _GPDR(x) macro
/openbmc/u-boot/include/
H A DSA-1100.h1503 #define GPDR /* GPIO Pin Direction Reg. */ \ macro
1520 #define GPDR (io_p2v (_GPDR)) macro
/openbmc/linux/drivers/video/fbdev/
H A Dsa1100fb.c773 GPDR |= mask; in sa1100fb_setup_gpio()
/openbmc/linux/arch/arm/mach-sa1100/include/mach/
H A DSA-1100.h1106 #define GPDR __REG(0x90040004) /* GPIO Pin Direction Reg. */ macro