Lines Matching +full:ready +full:- +full:gpios
1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <asm/mach-types.h>
17 static struct gpio gpios[] = { variable
26 ret = gpio_request_array(gpios, ARRAY_SIZE(gpios)); in hx4700_pcmcia_hw_init()
39 skt->stat[SOC_STAT_CD].gpio = GPIOD4_CF_nCD; in hx4700_pcmcia_hw_init()
40 skt->stat[SOC_STAT_CD].name = "PCMCIA CD"; in hx4700_pcmcia_hw_init()
41 skt->stat[SOC_STAT_RDY].gpio = GPIO60_HX4700_CF_RNB; in hx4700_pcmcia_hw_init()
42 skt->stat[SOC_STAT_RDY].name = "PCMCIA Ready"; in hx4700_pcmcia_hw_init()
50 gpio_free_array(gpios, ARRAY_SIZE(gpios)); in hx4700_pcmcia_hw_shutdown()
56 state->vs_3v = 1; in hx4700_pcmcia_socket_state()
57 state->vs_Xv = 0; in hx4700_pcmcia_socket_state()
63 switch (state->Vcc) { in hx4700_pcmcia_configure_socket()
71 printk(KERN_ERR "pcmcia: Unsupported Vcc: %d\n", state->Vcc); in hx4700_pcmcia_configure_socket()
72 return -EINVAL; in hx4700_pcmcia_configure_socket()
75 gpio_set_value(GPIO114_HX4700_CF_RESET, (state->flags & SS_RESET) != 0); in hx4700_pcmcia_configure_socket()
96 return -ENODEV; in hx4700_pcmcia_init()
98 pdev = platform_device_register_data(NULL, "pxa2xx-pcmcia", -1, in hx4700_pcmcia_init()