Home
last modified time | relevance | path

Searched refs:gpio_request (Results 1 – 25 of 71) sorted by relevance

123

/linux-6.3-rc2/arch/sh/boards/
A Dboard-sh7757lcr.c360 gpio_request(GPIO_FN_IRQ8, NULL); in sh7757lcr_devices_setup()
361 gpio_request(GPIO_FN_IRQ7, NULL); in sh7757lcr_devices_setup()
362 gpio_request(GPIO_FN_IRQ6, NULL); in sh7757lcr_devices_setup()
363 gpio_request(GPIO_FN_IRQ5, NULL); in sh7757lcr_devices_setup()
364 gpio_request(GPIO_FN_IRQ4, NULL); in sh7757lcr_devices_setup()
414 gpio_request(GPIO_FN_WP, NULL); in sh7757lcr_devices_setup()
540 gpio_request(GPIO_PTU3, NULL); in sh7757lcr_devices_setup()
542 gpio_request(GPIO_PTU2, NULL); in sh7757lcr_devices_setup()
544 gpio_request(GPIO_PTU1, NULL); in sh7757lcr_devices_setup()
546 gpio_request(GPIO_PTU0, NULL); in sh7757lcr_devices_setup()
[all …]
A Dboard-magicpanelr2.c179 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()
A Dboard-urquell.c151 gpio_request(GPIO_FN_USB_OVC0, NULL); in urquell_devices_setup()
152 gpio_request(GPIO_FN_USB_PENC0, NULL); in urquell_devices_setup()
/linux-6.3-rc2/arch/sh/boards/mach-se/7724/
A Dsetup.c721 gpio_request(GPIO_FN_STATUS2, NULL); in devices_setup()
901 gpio_request(GPIO_PTX5, NULL); in devices_setup()
926 gpio_request(GPIO_FN_DV_D15, NULL); in devices_setup()
927 gpio_request(GPIO_FN_DV_D14, NULL); in devices_setup()
928 gpio_request(GPIO_FN_DV_D13, NULL); in devices_setup()
929 gpio_request(GPIO_FN_DV_D12, NULL); in devices_setup()
930 gpio_request(GPIO_FN_DV_D11, NULL); in devices_setup()
931 gpio_request(GPIO_FN_DV_D10, NULL); in devices_setup()
932 gpio_request(GPIO_FN_DV_D9, NULL); in devices_setup()
933 gpio_request(GPIO_FN_DV_D8, NULL); in devices_setup()
[all …]
/linux-6.3-rc2/arch/sh/boards/mach-migor/
A Dsetup.c466 gpio_request(GPIO_FN_IRQ0, NULL); in migor_devices_setup()
485 gpio_request(GPIO_PTA1, NULL); in migor_devices_setup()
499 gpio_request(GPIO_FN_IRQ6, NULL); in migor_devices_setup()
511 gpio_request(GPIO_FN_LCDD8, NULL); in migor_devices_setup()
512 gpio_request(GPIO_FN_LCDD7, NULL); in migor_devices_setup()
513 gpio_request(GPIO_FN_LCDD6, NULL); in migor_devices_setup()
514 gpio_request(GPIO_FN_LCDD5, NULL); in migor_devices_setup()
515 gpio_request(GPIO_FN_LCDD4, NULL); in migor_devices_setup()
516 gpio_request(GPIO_FN_LCDD3, NULL); in migor_devices_setup()
517 gpio_request(GPIO_FN_LCDD2, NULL); in migor_devices_setup()
[all …]
/linux-6.3-rc2/arch/sh/boards/mach-ap325rxa/
A Dsetup.c452 gpio_request(GPIO_PTS3, NULL); in ap325rxa_devices_setup()
470 gpio_request(GPIO_PTZ7, NULL); in ap325rxa_devices_setup()
472 gpio_request(GPIO_PTZ6, NULL); in ap325rxa_devices_setup()
474 gpio_request(GPIO_PTZ5, NULL); in ap325rxa_devices_setup()
476 gpio_request(GPIO_PTZ4, NULL); in ap325rxa_devices_setup()
482 gpio_request(GPIO_FN_FCE, NULL); in ap325rxa_devices_setup()
483 gpio_request(GPIO_FN_NAF7, NULL); in ap325rxa_devices_setup()
492 gpio_request(GPIO_FN_FOE, NULL); in ap325rxa_devices_setup()
493 gpio_request(GPIO_FN_FSC, NULL); in ap325rxa_devices_setup()
494 gpio_request(GPIO_FN_FWE, NULL); in ap325rxa_devices_setup()
[all …]
/linux-6.3-rc2/arch/sh/boards/mach-ecovec24/
A Dsetup.c596 gpio_request(GPIO_PTZ0, NULL); in ts_get_pendown_state()
1125 gpio_request(GPIO_PTG0, NULL); in arch_setup()
1126 gpio_request(GPIO_PTG1, NULL); in arch_setup()
1127 gpio_request(GPIO_PTG2, NULL); in arch_setup()
1128 gpio_request(GPIO_PTG3, NULL); in arch_setup()
1136 gpio_request(GPIO_PTA1, NULL); in arch_setup()
1205 gpio_request(GPIO_PTE6, NULL); in arch_setup()
1206 gpio_request(GPIO_PTU1, NULL); in arch_setup()
1207 gpio_request(GPIO_PTA2, NULL); in arch_setup()
1294 gpio_request(GPIO_PTR0, NULL); in arch_setup()
[all …]
/linux-6.3-rc2/arch/sh/boards/mach-kfr2r09/
A Dsetup.c514 gpio_request(GPIO_FN_KEYIN0, NULL); in kfr2r09_devices_setup()
530 gpio_request(GPIO_FN_LCDD9, NULL); in kfr2r09_devices_setup()
531 gpio_request(GPIO_FN_LCDD8, NULL); in kfr2r09_devices_setup()
532 gpio_request(GPIO_FN_LCDD7, NULL); in kfr2r09_devices_setup()
533 gpio_request(GPIO_FN_LCDD6, NULL); in kfr2r09_devices_setup()
534 gpio_request(GPIO_FN_LCDD5, NULL); in kfr2r09_devices_setup()
535 gpio_request(GPIO_FN_LCDD4, NULL); in kfr2r09_devices_setup()
536 gpio_request(GPIO_FN_LCDD3, NULL); in kfr2r09_devices_setup()
537 gpio_request(GPIO_FN_LCDD2, NULL); in kfr2r09_devices_setup()
538 gpio_request(GPIO_FN_LCDD1, NULL); in kfr2r09_devices_setup()
[all …]
/linux-6.3-rc2/arch/sh/boards/mach-highlander/
A Dpinmux-r7785rp.c12 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.3-rc2/arch/arm/mach-orion5x/
A Dnet2big-setup.c125 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()
A Ddns323-setup.c625 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()
A Dboard-rd88f5182.c45 if (gpio_request(pin, "PCI IntA") == 0) { in rd88f5182_pci_preinit()
58 if (gpio_request(pin, "PCI IntB") == 0) { in rd88f5182_pci_preinit()
A Dts209-setup.c113 if (gpio_request(pin, "PCI Int1") == 0) { in qnap_ts209_pci_preinit()
127 if (gpio_request(pin, "PCI Int2") == 0) { in qnap_ts209_pci_preinit()
306 if (gpio_request(TS209_RTC_GPIO, "rtc") == 0) { in qnap_ts209_init()
A Dmv2120-setup.c215 if (gpio_request(MV2120_GPIO_RTC_IRQ, "rtc") == 0) { in mv2120_init()
225 if (gpio_request(MV2120_GPIO_POWER_OFF, "POWEROFF") != 0 || in mv2120_init()
/linux-6.3-rc2/arch/arm/mach-omap1/
A Dboard-osk.c203 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()
377 if (gpio_request(OMAP_MPUIO(1), "tps65010") == 0) in osk_init()
A Dboard-sx1.c326 gpio_request(1, "A_IRDA_OFF"); in omap_sx1_init()
327 gpio_request(11, "A_SWITCH"); in omap_sx1_init()
328 gpio_request(15, "A_USB_ON"); in omap_sx1_init()
A Dboard-palmte.c193 if (gpio_request(PALMTE_PINTDAV_GPIO, "TSC2102 PINTDAV") < 0) { in palmte_misc_gpio_setup()
200 if (gpio_request(PALMTE_USB_OR_DC_GPIO, "USB/DC-IN") < 0) { in palmte_misc_gpio_setup()
/linux-6.3-rc2/drivers/pcmcia/
A Dsa1100_h3600.c36 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.3-rc2/Documentation/translations/zh_CN/driver-api/gpio/
A Dlegacy.rst122 对于一个 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()的参数和返回值相同
660 内核代码可以明确地管理那些已通过 gpio_request()申请的 GPIO 的导出::
/linux-6.3-rc2/Documentation/translations/zh_TW/
A Dgpio.txt131 對於一個 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()的參數和返回值相同
622 內核代碼可以明確地管理那些已通過 gpio_request()申請的 GPIO 的導出:
/linux-6.3-rc2/arch/sh/boards/mach-rsk/
A Ddevices-rsk7203.c127 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.3-rc2/arch/sh/kernel/cpu/sh4a/
A Dsetup-shx3.c346 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.3-rc2/arch/arm/mach-ep93xx/
A Dcore.c491 err = gpio_request(EP93XX_GPIO_LINE_EGPIO14, in ep93xx_pwm_acquire_gpio()
610 err = gpio_request(EP93XX_GPIO_LINE_C(i), dev_name(&pdev->dev)); in ep93xx_keypad_acquire_gpio()
613 err = gpio_request(EP93XX_GPIO_LINE_D(i), dev_name(&pdev->dev)); in ep93xx_keypad_acquire_gpio()
779 err = gpio_request(EP93XX_GPIO_LINE_EGPIO2, dev_name(&pdev->dev)); in ep93xx_ide_acquire_gpio()
782 err = gpio_request(EP93XX_GPIO_LINE_EGPIO15, dev_name(&pdev->dev)); in ep93xx_ide_acquire_gpio()
786 err = gpio_request(EP93XX_GPIO_LINE_E(i), dev_name(&pdev->dev)); in ep93xx_ide_acquire_gpio()
791 err = gpio_request(EP93XX_GPIO_LINE_G(i), dev_name(&pdev->dev)); in ep93xx_ide_acquire_gpio()
796 err = gpio_request(EP93XX_GPIO_LINE_H(i), dev_name(&pdev->dev)); in ep93xx_ide_acquire_gpio()
/linux-6.3-rc2/drivers/gpio/
A Dgpiolib-legacy.c68 int gpio_request(unsigned gpio, const char *label) in gpio_request() function
78 EXPORT_SYMBOL_GPL(gpio_request);
/linux-6.3-rc2/arch/m68k/coldfire/
A Ddevice.c209 status = gpio_request(MCFQSPI_CS0, "MCFQSPI_CS0"); in mcf_cs_setup()
220 status = gpio_request(MCFQSPI_CS1, "MCFQSPI_CS1"); in mcf_cs_setup()
231 status = gpio_request(MCFQSPI_CS2, "MCFQSPI_CS2"); in mcf_cs_setup()
243 status = gpio_request(MCFQSPI_CS3, "MCFQSPI_CS3"); in mcf_cs_setup()

Completed in 37 milliseconds

123