/linux-6.1.9/arch/sh/boards/ |
D | board-sh7757lcr.c | 336 gpio_request(GPIO_FN_ET0_MDC, NULL); in sh7757lcr_devices_setup() 337 gpio_request(GPIO_FN_ET0_MDIO, NULL); in sh7757lcr_devices_setup() 338 gpio_request(GPIO_FN_ET1_MDC, NULL); in sh7757lcr_devices_setup() 339 gpio_request(GPIO_FN_ET1_MDIO, NULL); in sh7757lcr_devices_setup() 342 gpio_request(GPIO_FN_ON_NRE, NULL); in sh7757lcr_devices_setup() 343 gpio_request(GPIO_FN_ON_NWE, NULL); in sh7757lcr_devices_setup() 344 gpio_request(GPIO_FN_ON_NWP, NULL); in sh7757lcr_devices_setup() 345 gpio_request(GPIO_FN_ON_NCE0, NULL); in sh7757lcr_devices_setup() 346 gpio_request(GPIO_FN_ON_R_B0, NULL); in sh7757lcr_devices_setup() 347 gpio_request(GPIO_FN_ON_ALE, NULL); in sh7757lcr_devices_setup() [all …]
|
D | board-magicpanelr2.c | 179 gpio_request(GPIO_FN_A25, NULL); in setup_port_multiplexing() 180 gpio_request(GPIO_FN_A24, NULL); in setup_port_multiplexing() 181 gpio_request(GPIO_FN_A23, NULL); in setup_port_multiplexing() 182 gpio_request(GPIO_FN_A22, NULL); in setup_port_multiplexing() 183 gpio_request(GPIO_FN_A21, NULL); in setup_port_multiplexing() 184 gpio_request(GPIO_FN_A20, NULL); in setup_port_multiplexing() 185 gpio_request(GPIO_FN_A19, NULL); in setup_port_multiplexing() 186 gpio_request(GPIO_FN_A0, NULL); in setup_port_multiplexing()
|
/linux-6.1.9/arch/sh/boards/mach-se/7724/ |
D | setup.c | 721 gpio_request(GPIO_FN_STATUS2, NULL); in devices_setup() 724 gpio_request(GPIO_FN_STATUS0, NULL); in devices_setup() 727 gpio_request(GPIO_FN_PDSTATUS, NULL); in devices_setup() 736 gpio_request(GPIO_FN_INTC_IRQ0, NULL); in devices_setup() 737 gpio_request(GPIO_FN_INTC_IRQ1, NULL); in devices_setup() 738 gpio_request(GPIO_FN_INTC_IRQ2, NULL); in devices_setup() 741 gpio_request(GPIO_FN_SCIF3_I_SCK, NULL); in devices_setup() 742 gpio_request(GPIO_FN_SCIF3_I_RXD, NULL); in devices_setup() 743 gpio_request(GPIO_FN_SCIF3_I_TXD, NULL); in devices_setup() 744 gpio_request(GPIO_FN_SCIF3_I_CTS, NULL); in devices_setup() [all …]
|
/linux-6.1.9/arch/sh/boards/mach-migor/ |
D | setup.c | 460 gpio_request(GPIO_FN_STATUS0, NULL); in migor_devices_setup() 463 gpio_request(GPIO_FN_PDSTATUS, NULL); in migor_devices_setup() 466 gpio_request(GPIO_FN_IRQ0, NULL); in migor_devices_setup() 471 gpio_request(GPIO_FN_KEYOUT0, NULL); in migor_devices_setup() 472 gpio_request(GPIO_FN_KEYOUT1, NULL); in migor_devices_setup() 473 gpio_request(GPIO_FN_KEYOUT2, NULL); in migor_devices_setup() 474 gpio_request(GPIO_FN_KEYOUT3, NULL); in migor_devices_setup() 475 gpio_request(GPIO_FN_KEYOUT4_IN6, NULL); in migor_devices_setup() 476 gpio_request(GPIO_FN_KEYIN1, NULL); in migor_devices_setup() 477 gpio_request(GPIO_FN_KEYIN2, NULL); in migor_devices_setup() [all …]
|
/linux-6.1.9/arch/sh/boards/mach-ap325rxa/ |
D | setup.c | 412 gpio_request(GPIO_PTX5, NULL); /* RUN */ in ap325rxa_devices_setup() 416 gpio_request(GPIO_PTX4, NULL); /* INDICATOR */ in ap325rxa_devices_setup() 421 gpio_request(GPIO_PTF7, NULL); /* MODE */ in ap325rxa_devices_setup() 426 gpio_request(GPIO_FN_LCDD15, NULL); in ap325rxa_devices_setup() 427 gpio_request(GPIO_FN_LCDD14, NULL); in ap325rxa_devices_setup() 428 gpio_request(GPIO_FN_LCDD13, NULL); in ap325rxa_devices_setup() 429 gpio_request(GPIO_FN_LCDD12, NULL); in ap325rxa_devices_setup() 430 gpio_request(GPIO_FN_LCDD11, NULL); in ap325rxa_devices_setup() 431 gpio_request(GPIO_FN_LCDD10, NULL); in ap325rxa_devices_setup() 432 gpio_request(GPIO_FN_LCDD9, NULL); in ap325rxa_devices_setup() [all …]
|
/linux-6.1.9/arch/sh/boards/mach-ecovec24/ |
D | setup.c | 596 gpio_request(GPIO_PTZ0, NULL); in ts_get_pendown_state() 602 gpio_request(GPIO_FN_INTC_IRQ0, NULL); in ts_get_pendown_state() 609 gpio_request(GPIO_FN_INTC_IRQ0, NULL); in ts_init() 1116 gpio_request(GPIO_FN_STATUS0, NULL); in arch_setup() 1117 gpio_request(GPIO_FN_STATUS2, NULL); in arch_setup() 1118 gpio_request(GPIO_FN_PDSTATUS, NULL); in arch_setup() 1121 gpio_request(GPIO_FN_SCIF0_TXD, NULL); in arch_setup() 1122 gpio_request(GPIO_FN_SCIF0_RXD, NULL); in arch_setup() 1125 gpio_request(GPIO_PTG0, NULL); in arch_setup() 1126 gpio_request(GPIO_PTG1, NULL); in arch_setup() [all …]
|
/linux-6.1.9/arch/sh/boards/mach-kfr2r09/ |
D | setup.c | 453 gpio_request(GPIO_PTN4, NULL); /* USB_DET */ in kfr2r09_usb0_gadget_setup() 463 gpio_request(GPIO_FN_PDSTATUS, NULL); /* R-standby disables USB clock */ in kfr2r09_usb0_gadget_setup() 464 gpio_request(GPIO_PTV6, NULL); /* USBCLK_ON */ in kfr2r09_usb0_gadget_setup() 494 gpio_request(GPIO_FN_SCIF1_RXD, NULL); in kfr2r09_devices_setup() 495 gpio_request(GPIO_FN_SCIF1_TXD, NULL); in kfr2r09_devices_setup() 497 gpio_request(GPIO_PTG3, NULL); /* HPON_ON */ in kfr2r09_devices_setup() 509 gpio_request(GPIO_FN_KEYOUT0, NULL); in kfr2r09_devices_setup() 510 gpio_request(GPIO_FN_KEYOUT1, NULL); in kfr2r09_devices_setup() 511 gpio_request(GPIO_FN_KEYOUT2, NULL); in kfr2r09_devices_setup() 512 gpio_request(GPIO_FN_KEYOUT3, NULL); in kfr2r09_devices_setup() [all …]
|
/linux-6.1.9/arch/sh/boards/mach-highlander/ |
D | pinmux-r7785rp.c | 12 gpio_request(GPIO_FN_SCIF0_CTS, NULL); in highlander_plat_pinmux_setup() 13 gpio_request(GPIO_FN_SCIF0_RTS, NULL); in highlander_plat_pinmux_setup() 14 gpio_request(GPIO_FN_SCIF0_SCK, NULL); in highlander_plat_pinmux_setup() 15 gpio_request(GPIO_FN_SCIF0_RXD, NULL); in highlander_plat_pinmux_setup() 16 gpio_request(GPIO_FN_SCIF0_TXD, NULL); in highlander_plat_pinmux_setup()
|
/linux-6.1.9/arch/arm/mach-s3c/ |
D | mach-h1940.c | 233 return gpio_request(S3C2410_GPF(2), "cable plugged"); in power_supply_init() 319 ret = gpio_request(H1940_LATCH_SM803_ENABLE, "h1940-charger-enable"); in h1940_bat_init() 526 gpio_request(S3C2410_GPB(0), "Backlight"); in h1940_backlight_init() 758 gpio_request(S3C2410_GPC(0), "LCD power"); in h1940_init() 759 gpio_request(S3C2410_GPC(1), "LCD power"); in h1940_init() 760 gpio_request(S3C2410_GPC(4), "LCD power"); in h1940_init() 761 gpio_request(S3C2410_GPC(5), "LCD power"); in h1940_init() 762 gpio_request(S3C2410_GPC(6), "LCD power"); in h1940_init() 763 gpio_request(H1940_LATCH_LCD_P0, "LCD power"); in h1940_init() 764 gpio_request(H1940_LATCH_LCD_P1, "LCD power"); in h1940_init() [all …]
|
D | mach-rx1950.c | 123 return gpio_request(S3C2410_GPF(2), "cable plugged"); in power_supply_init() 222 ret = gpio_request(S3C2410_GPJ(2), "rx1950-charger-enable-1"); in rx1950_bat_init() 225 ret = gpio_request(S3C2410_GPJ(3), "rx1950-charger-enable-2"); in rx1950_bat_init() 501 WARN_ON(gpio_request(S3C2410_GPB(0), "Backlight")); in rx1950_backlight_init() 831 WARN_ON(gpio_request(S3C2410_GPJ(1), "MMC power")); in rx1950_init_machine() 835 WARN_ON(gpio_request(S3C2410_GPC(i), "LCD power")); in rx1950_init_machine() 838 WARN_ON(gpio_request(S3C2410_GPC(i), "LCD power")); in rx1950_init_machine() 841 WARN_ON(gpio_request(S3C2410_GPD(i), "LCD power")); in rx1950_init_machine() 844 WARN_ON(gpio_request(S3C2410_GPD(i), "LCD power")); in rx1950_init_machine() 846 WARN_ON(gpio_request(S3C2410_GPB(1), "LCD power")); in rx1950_init_machine() [all …]
|
D | mach-smartq.c | 195 ret = gpio_request(S3C64XX_GPM(3), "LCD power"); in smartq_lcd_setup_gpio() 294 ret = gpio_request(S3C64XX_GPK(15), "Power control"); in smartq_power_off_init() 312 ret = gpio_request(S3C64XX_GPL(0), "USB power control"); in smartq_usb_host_init() 318 ret = gpio_request(S3C64XX_GPL(1), "USB host power control"); in smartq_usb_host_init() 326 ret = gpio_request(S3C64XX_GPL(10), "USB host overcurrent"); in smartq_usb_host_init() 354 ret = gpio_request(S3C64XX_GPK(1), "wifi control"); in smartq_wifi_init() 360 ret = gpio_request(S3C64XX_GPK(2), "wifi reset"); in smartq_wifi_init()
|
D | mach-hmt.c | 81 ret = gpio_request(S3C64XX_GPB(4), "lcd backlight enable"); in hmt_bl_init() 261 gpio_request(S3C64XX_GPC(7), "usb power"); in hmt_machine_init() 263 gpio_request(S3C64XX_GPM(0), "usb power"); in hmt_machine_init() 265 gpio_request(S3C64XX_GPK(7), "usb power"); in hmt_machine_init() 267 gpio_request(S3C64XX_GPF(13), "usb power"); in hmt_machine_init()
|
/linux-6.1.9/arch/arm/mach-davinci/ |
D | board-dm355-leopard.c | 114 gpio_request(gpio + 0, "mmc0_ro"); in dm355leopard_mmcsd_gpios() 115 gpio_request(gpio + 1, "mmc0_cd"); in dm355leopard_mmcsd_gpios() 116 gpio_request(gpio + 2, "mmc1_ro"); in dm355leopard_mmcsd_gpios() 117 gpio_request(gpio + 3, "mmc1_cd"); in dm355leopard_mmcsd_gpios() 138 gpio_request(5, "dm355leopard_msp"); in leopard_init_i2c() 240 gpio_request(9, "dm9000"); in dm355_leopard_init() 258 gpio_request(2, "usb_id_toggle"); in dm355_leopard_init()
|
D | board-dm355-evm.c | 135 gpio_request(gpio + 0, "mmc0_ro"); in dm355evm_mmcsd_gpios() 136 gpio_request(gpio + 1, "mmc0_cd"); in dm355evm_mmcsd_gpios() 137 gpio_request(gpio + 2, "mmc1_ro"); in dm355evm_mmcsd_gpios() 138 gpio_request(gpio + 3, "mmc1_cd"); in dm355evm_mmcsd_gpios() 160 gpio_request(5, "dm355evm_msp"); in evm_init_i2c() 401 gpio_request(1, "dm9000"); in dm355_evm_init() 419 gpio_request(2, "usb_id_toggle"); in dm355_evm_init()
|
/linux-6.1.9/arch/arm/mach-omap1/ |
D | board-osk.c | 203 gpio_request(OSK_TPS_GPIO_USB_PWR_EN, "n_vbus_en"); in osk_tps_setup() 212 gpio_request(OSK_TPS_GPIO_LAN_RESET, "smc_reset"); in osk_tps_setup() 216 gpio_request(OSK_TPS_GPIO_DSP_PWR_EN, "dsp_power"); in osk_tps_setup() 266 if ((gpio_request(0, "smc_irq")) < 0) { in osk_init_smc91x() 282 if ((gpio_request(62, "cf_irq")) < 0) { in osk_init_cf() 531 if (gpio_request(11, "cam_pwdn") == 0) { in osk_mistral_init() 539 gpio_request(6, "ts_busy"); in osk_mistral_init() 543 gpio_request(4, "ts_int"); in osk_mistral_init() 559 if (gpio_request(OMAP_MPUIO(2), "wakeup") == 0) { in osk_mistral_init() 585 if (gpio_request(2, "lcd_pwr") == 0) in osk_mistral_init() [all …]
|
/linux-6.1.9/arch/arm/mach-orion5x/ |
D | net2big-setup.c | 125 err = gpio_request(NET2BIG_GPIO_SATA0_POWER, "SATA0 power status"); in net2big_sata_power_init() 136 err = gpio_request(NET2BIG_GPIO_SATA1_POWER, "SATA1 power status"); in net2big_sata_power_init() 147 err = gpio_request(NET2BIG_GPIO_SATA_POWER_REQ, "SATA power request"); in net2big_sata_power_init() 251 err = gpio_request(NET2BIG_GPIO_PWR_LED_BLINK_STOP, in net2big_gpio_leds_init() 265 err = gpio_request(NET2BIG_GPIO_SATA0_BLUE_LED, in net2big_gpio_leds_init() 275 err = gpio_request(NET2BIG_GPIO_SATA1_BLUE_LED, in net2big_gpio_leds_init() 411 if (gpio_request(NET2BIG_GPIO_POWER_OFF, "power-off") == 0 && in net2big_init()
|
D | dns323-setup.c | 625 gpio_request(DNS323_GPIO_LED_POWER1, "Power Led Enable"); in dns323_init() 667 if (gpio_request(DNS323_GPIO_POWER_OFF, "POWEROFF") != 0 || in dns323_init() 680 if (gpio_request(DNS323_GPIO_SYSTEM_UP, "SYS_READY") == 0) in dns323_init() 684 if (gpio_request(DNS323_GPIO_POWER_OFF, "POWEROFF") != 0 || in dns323_init() 694 if (gpio_request(DNS323C_GPIO_POWER_OFF, "POWEROFF") != 0 || in dns323_init()
|
D | board-rd88f5182.c | 45 if (gpio_request(pin, "PCI IntA") == 0) { in rd88f5182_pci_preinit() 58 if (gpio_request(pin, "PCI IntB") == 0) { in rd88f5182_pci_preinit()
|
/linux-6.1.9/drivers/pcmcia/ |
D | sa1100_h3600.c | 36 err = gpio_request(H3XXX_EGPIO_OPT_NVRAM_ON, "OPT NVRAM ON"); in h3600_pcmcia_hw_init() 42 err = gpio_request(H3XXX_EGPIO_OPT_ON, "OPT ON"); in h3600_pcmcia_hw_init() 48 err = gpio_request(H3XXX_EGPIO_OPT_RESET, "OPT RESET"); in h3600_pcmcia_hw_init() 54 err = gpio_request(H3XXX_EGPIO_CARD_RESET, "PCMCIA CARD RESET"); in h3600_pcmcia_hw_init()
|
/linux-6.1.9/Documentation/translations/zh_CN/driver-api/gpio/ |
D | legacy.rst | 122 对于一个 GPIO,系统应该做的第一件事情就是通过 gpio_request() 190 一个之前通过 gpio_request 分配到的有效 GPIO 编号):: 215 gpio_request() 234 int gpio_request(unsigned gpio, const char *label); 239 将无效的 GPIO 编码传递给 gpio_request()会导致失败,申请一个已使用这个 240 函数声明过的 GPIO 也会失败。gpio_request()的返回值必须检查。你应该在 267 gpio_request()前将这类细节配置好,例如使用引脚控制子系统的映射表, 278 * 其他和 gpio_request()的参数和返回值相同 667 内核代码可以明确地管理那些已通过 gpio_request()申请的 GPIO 的导出::
|
/linux-6.1.9/Documentation/translations/zh_TW/ |
D | gpio.txt | 131 對於一個 GPIO,系統應該做的第一件事情就是通過 gpio_request() 197 一個之前通過 gpio_request 分配到的有效 GPIO 編號): 222 gpio_request() 240 int gpio_request(unsigned gpio, const char *label); 245 將無效的 GPIO 編碼傳遞給 gpio_request()會導致失敗,申請一個已使用這個 246 函數聲明過的 GPIO 也會失敗。gpio_request()的返回值必須檢查。你應該在 273 gpio_request()前將這類細節配置好,例如使用 pinctrl 子系統的映射表, 284 * 其他和 gpio_request()的參數和返回值相同 629 內核代碼可以明確地管理那些已通過 gpio_request()申請的 GPIO 的導出:
|
/linux-6.1.9/arch/sh/boards/mach-rsk/ |
D | devices-rsk7203.c | 127 gpio_request(GPIO_FN_TXD0, NULL); in rsk7203_devices_setup() 128 gpio_request(GPIO_FN_RXD0, NULL); in rsk7203_devices_setup() 132 gpio_request(GPIO_FN_IRQ0_PB, NULL); in rsk7203_devices_setup()
|
/linux-6.1.9/arch/sh/kernel/cpu/sh4a/ |
D | setup-shx3.c | 346 ret |= gpio_request(GPIO_FN_IRQ3, intc_desc_irq.name); in plat_irq_setup_pins() 347 ret |= gpio_request(GPIO_FN_IRQ2, intc_desc_irq.name); in plat_irq_setup_pins() 348 ret |= gpio_request(GPIO_FN_IRQ1, intc_desc_irq.name); in plat_irq_setup_pins() 349 ret |= gpio_request(GPIO_FN_IRQ0, intc_desc_irq.name); in plat_irq_setup_pins() 359 ret |= gpio_request(GPIO_FN_IRL3, intc_desc_irl.name); in plat_irq_setup_pins() 360 ret |= gpio_request(GPIO_FN_IRL2, intc_desc_irl.name); in plat_irq_setup_pins() 361 ret |= gpio_request(GPIO_FN_IRL1, intc_desc_irl.name); in plat_irq_setup_pins() 362 ret |= gpio_request(GPIO_FN_IRL0, intc_desc_irl.name); in plat_irq_setup_pins()
|
/linux-6.1.9/arch/arm/mach-mmp/ |
D | gplugd.c | 143 if (unlikely(gpio_request(104, "ETH_RESET_N"))) { in gplugd_eth_init() 165 if (unlikely(gpio_request(35, "DISP_FREQ_SEL"))) { in select_disp_freq() 173 if (unlikely(gpio_request(85, "DISP_FREQ_SEL_2"))) { in select_disp_freq()
|
/linux-6.1.9/arch/arm/mach-pxa/ |
D | palm27x.c | 141 if (!gpio_request(power, "LCD power")) { in palm27x_lcd_init() 277 ret = gpio_request(palm_bl_power, "BL POWER"); in palm27x_backlight_init() 285 ret = gpio_request(palm_lcd_power, "LCD POWER"); in palm27x_backlight_init() 353 ret = gpio_request(palm_ac_state, "AC state"); in palm27x_power_supply_init() 361 ret = gpio_request(palm_usb_state, "USB state"); in palm27x_power_supply_init()
|