Home
last modified time | relevance | path

Searched refs:skt (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.1.9/drivers/pcmcia/
Dcs.c73 struct pcmcia_socket *pcmcia_get_socket(struct pcmcia_socket *skt) in pcmcia_get_socket() argument
75 struct device *dev = get_device(&skt->dev); in pcmcia_get_socket()
83 void pcmcia_put_socket(struct pcmcia_socket *skt) in pcmcia_put_socket() argument
85 put_device(&skt->dev); in pcmcia_put_socket()
249 static int socket_reset(struct pcmcia_socket *skt) in socket_reset() argument
253 dev_dbg(&skt->dev, "reset\n"); in socket_reset()
255 skt->socket.flags |= SS_OUTPUT_ENA | SS_RESET; in socket_reset()
256 skt->ops->set_socket(skt, &skt->socket); in socket_reset()
259 skt->socket.flags &= ~SS_RESET; in socket_reset()
260 skt->ops->set_socket(skt, &skt->socket); in socket_reset()
[all …]
Dsoc_common.c60 void soc_pcmcia_debug(struct soc_pcmcia_socket *skt, const char *func, in soc_pcmcia_debug() argument
71 printk(KERN_DEBUG "skt%u: %s: %pV", skt->nr, func, &vaf); in soc_pcmcia_debug()
83 int soc_pcmcia_regulator_set(struct soc_pcmcia_socket *skt, in soc_pcmcia_regulator_set() argument
101 dev_warn(&skt->socket.dev, in soc_pcmcia_regulator_set()
103 r == &skt->vcc ? "Vcc" : "Vpp", in soc_pcmcia_regulator_set()
133 void soc_common_pcmcia_get_timing(struct soc_pcmcia_socket *skt, in soc_common_pcmcia_get_timing() argument
137 calc_speed(skt->spd_io, MAX_IO_WIN, SOC_PCMCIA_IO_ACCESS); in soc_common_pcmcia_get_timing()
139 calc_speed(skt->spd_mem, MAX_WIN, SOC_PCMCIA_3V_MEM_ACCESS); in soc_common_pcmcia_get_timing()
141 calc_speed(skt->spd_attr, MAX_WIN, SOC_PCMCIA_3V_MEM_ACCESS); in soc_common_pcmcia_get_timing()
145 static void __soc_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt, in __soc_pcmcia_hw_shutdown() argument
[all …]
Dsa11xx_base.c63 sa1100_pcmcia_default_mecr_timing(struct soc_pcmcia_socket *skt, in sa1100_pcmcia_default_mecr_timing() argument
79 sa1100_pcmcia_set_mecr(struct soc_pcmcia_socket *skt, unsigned int cpu_clock) in sa1100_pcmcia_set_mecr() argument
86 soc_common_pcmcia_get_timing(skt, &timing); in sa1100_pcmcia_set_mecr()
88 bs_io = skt->ops->get_timing(skt, cpu_clock, timing.io); in sa1100_pcmcia_set_mecr()
89 bs_mem = skt->ops->get_timing(skt, cpu_clock, timing.mem); in sa1100_pcmcia_set_mecr()
90 bs_attr = skt->ops->get_timing(skt, cpu_clock, timing.attr); in sa1100_pcmcia_set_mecr()
95 MECR_FAST_SET(mecr, skt->nr, 0); in sa1100_pcmcia_set_mecr()
96 MECR_BSIO_SET(mecr, skt->nr, bs_io); in sa1100_pcmcia_set_mecr()
97 MECR_BSA_SET(mecr, skt->nr, bs_attr); in sa1100_pcmcia_set_mecr()
98 MECR_BSM_SET(mecr, skt->nr, bs_mem); in sa1100_pcmcia_set_mecr()
[all …]
Dbcm63xx_pcmcia.c34 static inline u32 pcmcia_readl(struct bcm63xx_pcmcia_socket *skt, u32 off) in pcmcia_readl() argument
36 return bcm_readl(skt->base + off); in pcmcia_readl()
39 static inline void pcmcia_writel(struct bcm63xx_pcmcia_socket *skt, in pcmcia_writel() argument
42 bcm_writel(val, skt->base + off); in pcmcia_writel()
78 struct bcm63xx_pcmcia_socket *skt; in bcm63xx_pcmcia_set_socket() local
82 skt = sock->driver_data; in bcm63xx_pcmcia_set_socket()
84 spin_lock_irqsave(&skt->lock, flags); in bcm63xx_pcmcia_set_socket()
90 val = pcmcia_readl(skt, PCMCIA_C1_REG); in bcm63xx_pcmcia_set_socket()
97 if (skt->card_detected && (skt->card_type & CARD_CARDBUS)) in bcm63xx_pcmcia_set_socket()
100 pcmcia_writel(skt, val, PCMCIA_C1_REG); in bcm63xx_pcmcia_set_socket()
[all …]
Dsa1100_generic.c53 static int sa11x0_cf_hw_init(struct soc_pcmcia_socket *skt) in sa11x0_cf_hw_init() argument
55 struct device *dev = skt->socket.dev.parent; in sa11x0_cf_hw_init()
58 skt->gpio_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in sa11x0_cf_hw_init()
59 if (IS_ERR(skt->gpio_reset)) in sa11x0_cf_hw_init()
60 return PTR_ERR(skt->gpio_reset); in sa11x0_cf_hw_init()
62 skt->gpio_bus_enable = devm_gpiod_get_optional(dev, "bus-enable", in sa11x0_cf_hw_init()
64 if (IS_ERR(skt->gpio_bus_enable)) in sa11x0_cf_hw_init()
65 return PTR_ERR(skt->gpio_bus_enable); in sa11x0_cf_hw_init()
67 skt->vcc.reg = devm_regulator_get_optional(dev, "vcc"); in sa11x0_cf_hw_init()
68 if (IS_ERR(skt->vcc.reg)) in sa11x0_cf_hw_init()
[all …]
Dpxa2xx_mainstone.c26 static int mst_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in mst_pcmcia_hw_init() argument
28 struct device *dev = skt->socket.dev.parent; in mst_pcmcia_hw_init()
32 skt->stat[SOC_STAT_CD].name = skt->nr ? "bdetect" : "adetect"; in mst_pcmcia_hw_init()
33 skt->stat[SOC_STAT_BVD1].name = skt->nr ? "bbvd1" : "abvd1"; in mst_pcmcia_hw_init()
34 skt->stat[SOC_STAT_BVD2].name = skt->nr ? "bbvd2" : "abvd2"; in mst_pcmcia_hw_init()
35 skt->stat[SOC_STAT_RDY].name = skt->nr ? "bready" : "aready"; in mst_pcmcia_hw_init()
36 skt->stat[SOC_STAT_VS1].name = skt->nr ? "bvs1" : "avs1"; in mst_pcmcia_hw_init()
37 skt->stat[SOC_STAT_VS2].name = skt->nr ? "bvs2" : "avs2"; in mst_pcmcia_hw_init()
39 skt->gpio_reset = devm_gpiod_get(dev, skt->nr ? "breset" : "areset", in mst_pcmcia_hw_init()
41 if (IS_ERR(skt->gpio_reset)) in mst_pcmcia_hw_init()
[all …]
Dpxa2xx_base.c159 static int pxa2xx_pcmcia_set_timing(struct soc_pcmcia_socket *skt) in pxa2xx_pcmcia_set_timing() argument
161 unsigned long clk = clk_get_rate(skt->clk) / 10000; in pxa2xx_pcmcia_set_timing()
163 int sock = skt->nr; in pxa2xx_pcmcia_set_timing()
165 soc_common_pcmcia_get_timing(skt, &timing); in pxa2xx_pcmcia_set_timing()
178 pxa2xx_pcmcia_frequency_change(struct soc_pcmcia_socket *skt, in pxa2xx_pcmcia_frequency_change() argument
185 debug(skt, 2, "new frequency %u.%uMHz > %u.%uMHz, " in pxa2xx_pcmcia_frequency_change()
189 pxa2xx_pcmcia_set_timing(skt); in pxa2xx_pcmcia_frequency_change()
195 debug(skt, 2, "new frequency %u.%uMHz < %u.%uMHz, " in pxa2xx_pcmcia_frequency_change()
199 pxa2xx_pcmcia_set_timing(skt); in pxa2xx_pcmcia_frequency_change()
227 int pxa2xx_drv_pcmcia_add_one(struct soc_pcmcia_socket *skt) in pxa2xx_drv_pcmcia_add_one() argument
[all …]
Dpxa2xx_sharpsl.c26 static void sharpsl_pcmcia_init_reset(struct soc_pcmcia_socket *skt) in sharpsl_pcmcia_init_reset() argument
28 struct scoop_pcmcia_dev *scoopdev = &SCOOP_DEV[skt->nr]; in sharpsl_pcmcia_init_reset()
34 platform_scoop_config->power_ctrl(scoopdev->dev, 0x0000, skt->nr); in sharpsl_pcmcia_init_reset()
42 static int sharpsl_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in sharpsl_pcmcia_hw_init() argument
44 if (SCOOP_DEV[skt->nr].cd_irq >= 0) { in sharpsl_pcmcia_hw_init()
45 skt->stat[SOC_STAT_CD].irq = SCOOP_DEV[skt->nr].cd_irq; in sharpsl_pcmcia_hw_init()
46 skt->stat[SOC_STAT_CD].name = SCOOP_DEV[skt->nr].cd_irq_str; in sharpsl_pcmcia_hw_init()
49 skt->socket.pci_irq = SCOOP_DEV[skt->nr].irq; in sharpsl_pcmcia_hw_init()
54 static void sharpsl_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in sharpsl_pcmcia_socket_state() argument
58 struct device *scoop = SCOOP_DEV[skt->nr].dev; in sharpsl_pcmcia_socket_state()
[all …]
Dsoc_common.h26 struct soc_pcmcia_socket skt[]; member
37 void soc_pcmcia_init_one(struct soc_pcmcia_socket *skt,
39 void soc_pcmcia_remove_one(struct soc_pcmcia_socket *skt);
40 int soc_pcmcia_add_one(struct soc_pcmcia_socket *skt);
41 int soc_pcmcia_request_gpiods(struct soc_pcmcia_socket *skt);
43 void soc_common_cf_socket_state(struct soc_pcmcia_socket *skt,
46 int soc_pcmcia_regulator_set(struct soc_pcmcia_socket *skt,
51 extern void soc_pcmcia_debug(struct soc_pcmcia_socket *skt, const char *func,
54 #define debug(skt, lvl, fmt, arg...) \ argument
55 soc_pcmcia_debug(skt, __func__, lvl, fmt , ## arg)
[all …]
Dsa1100_h3600.c23 static int h3600_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in h3600_pcmcia_hw_init() argument
27 skt->stat[SOC_STAT_CD].name = skt->nr ? "pcmcia1-detect" : "pcmcia0-detect"; in h3600_pcmcia_hw_init()
28 skt->stat[SOC_STAT_RDY].name = skt->nr ? "pcmcia1-ready" : "pcmcia0-ready"; in h3600_pcmcia_hw_init()
30 err = soc_pcmcia_request_gpiods(skt); in h3600_pcmcia_hw_init()
34 switch (skt->nr) { in h3600_pcmcia_hw_init()
74 static void h3600_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt) in h3600_pcmcia_hw_shutdown() argument
76 switch (skt->nr) { in h3600_pcmcia_hw_shutdown()
94 h3600_pcmcia_socket_state(struct soc_pcmcia_socket *skt, struct pcmcia_state *state) in h3600_pcmcia_socket_state() argument
103 h3600_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, const socket_state_t *state) in h3600_pcmcia_configure_socket() argument
118 static void h3600_pcmcia_socket_init(struct soc_pcmcia_socket *skt) in h3600_pcmcia_socket_init() argument
[all …]
Dsa1111_lubbock.c26 static int lubbock_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in lubbock_pcmcia_hw_init() argument
31 ret = max1600_init(skt->socket.dev.parent, &m, in lubbock_pcmcia_hw_init()
32 skt->nr ? MAX1600_CHAN_B : MAX1600_CHAN_A, in lubbock_pcmcia_hw_init()
35 skt->driver_data = m; in lubbock_pcmcia_hw_init()
41 lubbock_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in lubbock_pcmcia_configure_socket() argument
44 struct max1600 *m = skt->driver_data; in lubbock_pcmcia_configure_socket()
78 switch (skt->nr) { in lubbock_pcmcia_configure_socket()
88 ret = sa1111_pcmcia_configure_socket(skt, state); in lubbock_pcmcia_configure_socket()
108 sa1111_pcmcia_socket_state(skt, &new_state); in lubbock_pcmcia_configure_socket()
Dsa1111_jornada720.c36 static int jornada720_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in jornada720_pcmcia_hw_init() argument
38 struct device *dev = skt->socket.dev.parent; in jornada720_pcmcia_hw_init()
45 j->gpio[J720_GPIO_PWR] = devm_gpiod_get(dev, skt->nr ? "s1-power" : in jornada720_pcmcia_hw_init()
50 j->gpio[J720_GPIO_3V] = devm_gpiod_get(dev, skt->nr ? "s1-3v" : in jornada720_pcmcia_hw_init()
55 skt->driver_data = j; in jornada720_pcmcia_hw_init()
61 jornada720_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, const socket_state_t *state) in jornada720_pcmcia_configure_socket() argument
63 struct jornada720_data *j = skt->driver_data; in jornada720_pcmcia_configure_socket()
68 skt->nr, state->Vcc, state->Vpp); in jornada720_pcmcia_configure_socket()
70 switch (skt->nr) { in jornada720_pcmcia_configure_socket()
114 ret = sa1111_pcmcia_configure_socket(skt, state); in jornada720_pcmcia_configure_socket()
Dsa1111_neponset.c41 static int neponset_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in neponset_pcmcia_hw_init() argument
46 ret = max1600_init(skt->socket.dev.parent, &m, in neponset_pcmcia_hw_init()
47 skt->nr ? MAX1600_CHAN_B : MAX1600_CHAN_A, in neponset_pcmcia_hw_init()
50 skt->driver_data = m; in neponset_pcmcia_hw_init()
56 neponset_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, const socket_state_t *state) in neponset_pcmcia_configure_socket() argument
58 struct max1600 *m = skt->driver_data; in neponset_pcmcia_configure_socket()
61 ret = sa1111_pcmcia_configure_socket(skt, state); in neponset_pcmcia_configure_socket()
Dsa1100_simpad.c18 static int simpad_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in simpad_pcmcia_hw_init() argument
23 skt->stat[SOC_STAT_CD].name = "cf-detect"; in simpad_pcmcia_hw_init()
24 skt->stat[SOC_STAT_RDY].name = "cf-ready"; in simpad_pcmcia_hw_init()
26 return soc_pcmcia_request_gpiods(skt); in simpad_pcmcia_hw_init()
29 static void simpad_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt) in simpad_pcmcia_hw_shutdown() argument
37 simpad_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in simpad_pcmcia_socket_state() argument
56 simpad_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in simpad_pcmcia_configure_socket() argument
93 static void simpad_pcmcia_socket_suspend(struct soc_pcmcia_socket *skt) in simpad_pcmcia_socket_suspend() argument
Dds.c1212 struct pcmcia_socket *skt = _data; in pcmcia_bus_suspend_callback() local
1215 if (p_dev->socket != skt || p_dev->suspended) in pcmcia_bus_suspend_callback()
1223 struct pcmcia_socket *skt = _data; in pcmcia_bus_resume_callback() local
1226 if (p_dev->socket != skt || !p_dev->suspended) in pcmcia_bus_resume_callback()
1234 static int pcmcia_bus_resume(struct pcmcia_socket *skt) in pcmcia_bus_resume() argument
1236 dev_dbg(&skt->dev, "resuming socket %d\n", skt->sock); in pcmcia_bus_resume()
1237 bus_for_each_dev(&pcmcia_bus_type, NULL, skt, pcmcia_bus_resume_callback); in pcmcia_bus_resume()
1241 static int pcmcia_bus_suspend(struct pcmcia_socket *skt) in pcmcia_bus_suspend() argument
1243 dev_dbg(&skt->dev, "suspending socket %d\n", skt->sock); in pcmcia_bus_suspend()
1244 if (bus_for_each_dev(&pcmcia_bus_type, NULL, skt, in pcmcia_bus_suspend()
[all …]
/linux-6.1.9/arch/arm/mach-pxa/
De740-pcmcia.c23 static int e740_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in e740_pcmcia_hw_init() argument
25 if (skt->nr == 0) { in e740_pcmcia_hw_init()
26 skt->stat[SOC_STAT_CD].gpio = GPIO_E740_PCMCIA_CD0; in e740_pcmcia_hw_init()
27 skt->stat[SOC_STAT_CD].name = "CF card detect"; in e740_pcmcia_hw_init()
28 skt->stat[SOC_STAT_RDY].gpio = GPIO_E740_PCMCIA_RDY0; in e740_pcmcia_hw_init()
29 skt->stat[SOC_STAT_RDY].name = "CF ready"; in e740_pcmcia_hw_init()
31 skt->stat[SOC_STAT_CD].gpio = GPIO_E740_PCMCIA_CD1; in e740_pcmcia_hw_init()
32 skt->stat[SOC_STAT_CD].name = "Wifi switch"; in e740_pcmcia_hw_init()
33 skt->stat[SOC_STAT_RDY].gpio = GPIO_E740_PCMCIA_RDY1; in e740_pcmcia_hw_init()
34 skt->stat[SOC_STAT_RDY].name = "Wifi ready"; in e740_pcmcia_hw_init()
[all …]
Dvpac270-pcmcia.c29 static int vpac270_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in vpac270_pcmcia_hw_init() argument
33 if (skt->nr == 0) { in vpac270_pcmcia_hw_init()
37 skt->stat[SOC_STAT_CD].gpio = GPIO84_VPAC270_PCMCIA_CD; in vpac270_pcmcia_hw_init()
38 skt->stat[SOC_STAT_CD].name = "PCMCIA CD"; in vpac270_pcmcia_hw_init()
39 skt->stat[SOC_STAT_RDY].gpio = GPIO35_VPAC270_PCMCIA_RDY; in vpac270_pcmcia_hw_init()
40 skt->stat[SOC_STAT_RDY].name = "PCMCIA Ready"; in vpac270_pcmcia_hw_init()
45 skt->stat[SOC_STAT_CD].gpio = GPIO17_VPAC270_CF_CD; in vpac270_pcmcia_hw_init()
46 skt->stat[SOC_STAT_CD].name = "CF CD"; in vpac270_pcmcia_hw_init()
47 skt->stat[SOC_STAT_RDY].gpio = GPIO12_VPAC270_CF_RDY; in vpac270_pcmcia_hw_init()
48 skt->stat[SOC_STAT_RDY].name = "CF Ready"; in vpac270_pcmcia_hw_init()
[all …]
Dtrizeps4-pcmcia.c29 static int trizeps_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in trizeps_pcmcia_hw_init() argument
34 switch (skt->nr) { in trizeps_pcmcia_hw_init()
36 skt->stat[SOC_STAT_CD].gpio = GPIO_PCD; in trizeps_pcmcia_hw_init()
37 skt->stat[SOC_STAT_CD].name = "cs0_cd"; in trizeps_pcmcia_hw_init()
38 skt->stat[SOC_STAT_RDY].gpio = GPIO_PRDY; in trizeps_pcmcia_hw_init()
39 skt->stat[SOC_STAT_RDY].name = "cs0_rdy"; in trizeps_pcmcia_hw_init()
45 pr_debug("%s: sock %d irq %d\n", __func__, skt->nr, skt->socket.pci_irq); in trizeps_pcmcia_hw_init()
52 static void trizeps_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in trizeps_pcmcia_socket_state() argument
57 change = (status ^ trizeps_pcmcia_status[skt->nr]) & in trizeps_pcmcia_socket_state()
60 trizeps_pcmcia_status[skt->nr] = status; in trizeps_pcmcia_socket_state()
[all …]
Dballoon3-pcmcia.c29 static int balloon3_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in balloon3_pcmcia_hw_init() argument
39 skt->socket.pci_irq = BALLOON3_BP_CF_NRDY_IRQ; in balloon3_pcmcia_hw_init()
40 skt->stat[SOC_STAT_CD].gpio = BALLOON3_GPIO_S0_CD; in balloon3_pcmcia_hw_init()
41 skt->stat[SOC_STAT_CD].name = "PCMCIA0 CD"; in balloon3_pcmcia_hw_init()
42 skt->stat[SOC_STAT_BVD1].irq = BALLOON3_BP_NSTSCHG_IRQ; in balloon3_pcmcia_hw_init()
43 skt->stat[SOC_STAT_BVD1].name = "PCMCIA0 STSCHG"; in balloon3_pcmcia_hw_init()
53 static void balloon3_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in balloon3_pcmcia_socket_state() argument
61 flip = (status ^ balloon3_pcmcia_status[skt->nr]) in balloon3_pcmcia_socket_state()
69 balloon3_pcmcia_status[skt->nr] = status; in balloon3_pcmcia_socket_state()
83 static int balloon3_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in balloon3_pcmcia_configure_socket() argument
Dhx4700-pcmcia.c22 static int hx4700_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in hx4700_pcmcia_hw_init() argument
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()
48 static void hx4700_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt) in hx4700_pcmcia_hw_shutdown() argument
53 static void hx4700_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in hx4700_pcmcia_socket_state() argument
60 static int hx4700_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in hx4700_pcmcia_configure_socket() argument
Dviper-pcmcia.c38 static int viper_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in viper_pcmcia_hw_init() argument
43 skt->stat[SOC_STAT_CD].gpio = pdata->cd_gpio; in viper_pcmcia_hw_init()
44 skt->stat[SOC_STAT_CD].name = "PCMCIA_CD"; in viper_pcmcia_hw_init()
45 skt->stat[SOC_STAT_RDY].gpio = pdata->rdy_gpio; in viper_pcmcia_hw_init()
46 skt->stat[SOC_STAT_RDY].name = "CF ready"; in viper_pcmcia_hw_init()
72 static void viper_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt) in viper_pcmcia_hw_shutdown() argument
79 static void viper_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in viper_pcmcia_socket_state() argument
86 static int viper_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in viper_pcmcia_configure_socket() argument
Dpalmld-pcmcia.c25 static int palmld_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in palmld_pcmcia_hw_init() argument
32 skt->stat[SOC_STAT_RDY].gpio = GPIO_NR_PALMLD_PCMCIA_READY; in palmld_pcmcia_hw_init()
33 skt->stat[SOC_STAT_RDY].name = "PCMCIA Ready"; in palmld_pcmcia_hw_init()
38 static void palmld_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt) in palmld_pcmcia_hw_shutdown() argument
43 static void palmld_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in palmld_pcmcia_socket_state() argument
51 static int palmld_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in palmld_pcmcia_configure_socket() argument
Dpalmtx-pcmcia.c24 static int palmtx_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in palmtx_pcmcia_hw_init() argument
31 skt->stat[SOC_STAT_RDY].gpio = GPIO_NR_PALMTX_PCMCIA_READY; in palmtx_pcmcia_hw_init()
32 skt->stat[SOC_STAT_RDY].name = "PCMCIA Ready"; in palmtx_pcmcia_hw_init()
37 static void palmtx_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt) in palmtx_pcmcia_hw_shutdown() argument
42 static void palmtx_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in palmtx_pcmcia_socket_state() argument
51 palmtx_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in palmtx_pcmcia_configure_socket() argument
Dpalmtc-pcmcia.c28 static int palmtc_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in palmtc_pcmcia_hw_init() argument
35 skt->stat[SOC_STAT_RDY].gpio = GPIO_NR_PALMTC_PCMCIA_READY; in palmtc_pcmcia_hw_init()
36 skt->stat[SOC_STAT_RDY].name = "PCMCIA Ready"; in palmtc_pcmcia_hw_init()
41 static void palmtc_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt) in palmtc_pcmcia_hw_shutdown() argument
46 static void palmtc_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in palmtc_pcmcia_socket_state() argument
99 static int palmtc_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in palmtc_pcmcia_configure_socket() argument
Dcolibri-pcmcia.c52 static int colibri_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in colibri_pcmcia_hw_init() argument
61 skt->socket.pci_irq = gpio_to_irq(colibri_pcmcia_gpios[READY].gpio); in colibri_pcmcia_hw_init()
62 skt->stat[SOC_STAT_CD].irq = gpio_to_irq(colibri_pcmcia_gpios[DETECT].gpio); in colibri_pcmcia_hw_init()
63 skt->stat[SOC_STAT_CD].name = "PCMCIA CD"; in colibri_pcmcia_hw_init()
69 static void colibri_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt) in colibri_pcmcia_hw_shutdown() argument
75 static void colibri_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in colibri_pcmcia_socket_state() argument
88 colibri_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in colibri_pcmcia_configure_socket() argument

12