Home
last modified time | relevance | path

Searched refs:sunxi_name_to_gpio (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/u-boot/arch/arm/mach-sunxi/
H A Dusb_phy.c93 case 0: return sunxi_name_to_gpio(CONFIG_USB0_VBUS_PIN); in get_vbus_gpio()
94 case 1: return sunxi_name_to_gpio(CONFIG_USB1_VBUS_PIN); in get_vbus_gpio()
95 case 2: return sunxi_name_to_gpio(CONFIG_USB2_VBUS_PIN); in get_vbus_gpio()
96 case 3: return sunxi_name_to_gpio(CONFIG_USB3_VBUS_PIN); in get_vbus_gpio()
104 case 0: return sunxi_name_to_gpio(CONFIG_USB0_VBUS_DET); in get_vbus_detect_gpio()
112 case 0: return sunxi_name_to_gpio(CONFIG_USB0_ID_DET); in get_id_detect_gpio()
H A DKconfig442 understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
450 takes a string in the format understood by sunxi_name_to_gpio, e.g.
512 format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
519 format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
526 format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
534 a string in the format understood by sunxi_name_to_gpio, e.g.
662 format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
694 format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
702 understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
710 the format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-sunxi/
H A Dgpio.h234 int sunxi_name_to_gpio(const char *name);
235 #define name_to_gpio(name) sunxi_name_to_gpio(name)
/OK3568_Linux_fs/u-boot/drivers/mmc/
H A Dsunxi_mmc.c44 case 0: return sunxi_name_to_gpio(CONFIG_MMC0_CD_PIN); in sunxi_mmc_getcd_gpio()
45 case 1: return sunxi_name_to_gpio(CONFIG_MMC1_CD_PIN); in sunxi_mmc_getcd_gpio()
46 case 2: return sunxi_name_to_gpio(CONFIG_MMC2_CD_PIN); in sunxi_mmc_getcd_gpio()
47 case 3: return sunxi_name_to_gpio(CONFIG_MMC3_CD_PIN); in sunxi_mmc_getcd_gpio()
/OK3568_Linux_fs/u-boot/drivers/video/sunxi/
H A Dsunxi_display.c666 pin = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_BL_EN); in sunxi_lcdc_panel_enable()
672 pin = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_BL_PWM); in sunxi_lcdc_panel_enable()
678 reset_pin = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_RESET); in sunxi_lcdc_panel_enable()
686 pin = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_POWER); in sunxi_lcdc_panel_enable()
706 pin = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_BL_EN); in sunxi_lcdc_backlight_enable()
710 pin = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_BL_PWM); in sunxi_lcdc_backlight_enable()
977 pin = sunxi_name_to_gpio(CONFIG_VIDEO_VGA_EXTERNAL_DAC_EN);
/OK3568_Linux_fs/u-boot/board/sunxi/
H A Dboard.c47 soft_i2c_gpio_sda = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_PANEL_I2C_SDA); in soft_i2c_board_init()
60 soft_i2c_gpio_scl = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_PANEL_I2C_SCL); in soft_i2c_board_init()
216 satapwr_pin = sunxi_name_to_gpio(CONFIG_SATAPWR); in board_init()
221 macpwr_pin = sunxi_name_to_gpio(CONFIG_MACPWR); in board_init()
/OK3568_Linux_fs/u-boot/drivers/gpio/
H A Dsunxi_gpio.c100 int sunxi_name_to_gpio(const char *name) in sunxi_name_to_gpio() function
140 int sunxi_name_to_gpio(const char *name) in sunxi_name_to_gpio() function