void s3c2410_gpio_cfgpin(unsigned int pin, unsigned int function) { void __iomem *base =S3C24XX_GPIO_BASE(pin); unsigned long mask; unsigned long con; unsigned long flags; if (pin <S3C2410_GPIO_BANKB) { mask = 1 <<S3C2410_GPIO_OFFSET(pin); } else { mask = 3 << S3C2410_GPIO_O...
void s3c2410_gpio_cfgpin(unsigned int pin, unsigned int function) { void __iomem *base = S3C24XX_GPIO_BASE(pin); unsigned long mask; unsigned long con; unsigned long flags; if (pin < S3C2410_GPIO_BANKB) { mask = 1 << S3C2410_GPIO_OFFSET(pin); } else { mask = 3 << S3C2410_GP...
void s3c2410_gpio_cfgpin(unsigned int pin, unsigned int function){void __iomem *base = S3C24XX_GPIO_BASE(pin);unsigned long mask;unsigned long con;unsigned long flags;if (pin < S3C2410_GPIO_BANKB) {mask = 1 << S3C2410_GPIO_OFFSET(pin);} else {mask = 3 << S3C2410_GPIO_OFFSET(pin...
导出导是其他的 //s3c2410_gpio_cfgpin(S3C2410_GPB(5),S3C2410_GPIO_INPUT),就是导置GPB5导导 入模式 voids3c2410_gpio_cfgpin(unsignedintpin,unsignedintfunction) { void__iomem*base=S3C24XX_GPIO_BASE(pin); unsignedlongmask; unsignedlongcon; unsignedlongflags; if(pin>=S3C2410_GPIO_OFFSET(pin); ...
void s3c2410_gpio_cfgpin(unsigned int pin, unsigned int function) { void __iomem *base =S3C24XX_GPIO_BASE(pin); unsigned long mask; unsigned long con; unsigned long flags; if (pin <S3C2410_GPIO_BANKB) { mask = 1 <<S3C2410_GPIO_OFFSET(pin); ...