/Linux-v5.15/drivers/pcmcia/ |
D | cs.c | 73 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 …]
|
D | soc_common.c | 61 void soc_pcmcia_debug(struct soc_pcmcia_socket *skt, const char *func, in soc_pcmcia_debug() argument 72 printk(KERN_DEBUG "skt%u: %s: %pV", skt->nr, func, &vaf); in soc_pcmcia_debug() 84 int soc_pcmcia_regulator_set(struct soc_pcmcia_socket *skt, in soc_pcmcia_regulator_set() argument 102 dev_warn(&skt->socket.dev, in soc_pcmcia_regulator_set() 104 r == &skt->vcc ? "Vcc" : "Vpp", in soc_pcmcia_regulator_set() 134 void soc_common_pcmcia_get_timing(struct soc_pcmcia_socket *skt, in soc_common_pcmcia_get_timing() argument 138 calc_speed(skt->spd_io, MAX_IO_WIN, SOC_PCMCIA_IO_ACCESS); in soc_common_pcmcia_get_timing() 140 calc_speed(skt->spd_mem, MAX_WIN, SOC_PCMCIA_3V_MEM_ACCESS); in soc_common_pcmcia_get_timing() 142 calc_speed(skt->spd_attr, MAX_WIN, SOC_PCMCIA_3V_MEM_ACCESS); in soc_common_pcmcia_get_timing() 146 static void __soc_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt, in __soc_pcmcia_hw_shutdown() argument [all …]
|
D | sa11xx_base.c | 63 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 …]
|
D | bcm63xx_pcmcia.c | 34 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 …]
|
D | pxa2xx_mainstone.c | 26 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 …]
|
D | sa1100_generic.c | 53 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 …]
|
D | pxa2xx_base.c | 164 static int pxa2xx_pcmcia_set_mcxx(struct soc_pcmcia_socket *skt, unsigned int clk) in pxa2xx_pcmcia_set_mcxx() argument 167 int sock = skt->nr; in pxa2xx_pcmcia_set_mcxx() 169 soc_common_pcmcia_get_timing(skt, &timing); in pxa2xx_pcmcia_set_mcxx() 178 static int pxa2xx_pcmcia_set_timing(struct soc_pcmcia_socket *skt) in pxa2xx_pcmcia_set_timing() argument 180 unsigned long clk = clk_get_rate(skt->clk); in pxa2xx_pcmcia_set_timing() 181 return pxa2xx_pcmcia_set_mcxx(skt, clk / 10000); in pxa2xx_pcmcia_set_timing() 187 pxa2xx_pcmcia_frequency_change(struct soc_pcmcia_socket *skt, in pxa2xx_pcmcia_frequency_change() argument 194 debug(skt, 2, "new frequency %u.%uMHz > %u.%uMHz, " in pxa2xx_pcmcia_frequency_change() 198 pxa2xx_pcmcia_set_timing(skt); in pxa2xx_pcmcia_frequency_change() 204 debug(skt, 2, "new frequency %u.%uMHz < %u.%uMHz, " in pxa2xx_pcmcia_frequency_change() [all …]
|
D | pxa2xx_sharpsl.c | 27 static void sharpsl_pcmcia_init_reset(struct soc_pcmcia_socket *skt) in sharpsl_pcmcia_init_reset() argument 29 struct scoop_pcmcia_dev *scoopdev = &SCOOP_DEV[skt->nr]; in sharpsl_pcmcia_init_reset() 35 platform_scoop_config->power_ctrl(scoopdev->dev, 0x0000, skt->nr); in sharpsl_pcmcia_init_reset() 43 static int sharpsl_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in sharpsl_pcmcia_hw_init() argument 45 if (SCOOP_DEV[skt->nr].cd_irq >= 0) { in sharpsl_pcmcia_hw_init() 46 skt->stat[SOC_STAT_CD].irq = SCOOP_DEV[skt->nr].cd_irq; in sharpsl_pcmcia_hw_init() 47 skt->stat[SOC_STAT_CD].name = SCOOP_DEV[skt->nr].cd_irq_str; in sharpsl_pcmcia_hw_init() 50 skt->socket.pci_irq = SCOOP_DEV[skt->nr].irq; in sharpsl_pcmcia_hw_init() 55 static void sharpsl_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in sharpsl_pcmcia_socket_state() argument 59 struct device *scoop = SCOOP_DEV[skt->nr].dev; in sharpsl_pcmcia_socket_state() [all …]
|
D | pxa2xx_e740.c | 23 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 …]
|
D | pxa2xx_vpac270.c | 29 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 …]
|
D | pxa2xx_trizeps4.c | 29 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 …]
|
D | pxa2xx_cm_x255.c | 24 static int cmx255_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in cmx255_pcmcia_hw_init() argument 31 if (skt->nr == 0) { in cmx255_pcmcia_hw_init() 32 skt->stat[SOC_STAT_CD].gpio = GPIO_PCMCIA_S0_CD_VALID; in cmx255_pcmcia_hw_init() 33 skt->stat[SOC_STAT_CD].name = "PCMCIA0 CD"; in cmx255_pcmcia_hw_init() 34 skt->stat[SOC_STAT_RDY].gpio = GPIO_PCMCIA_S0_RDYINT; in cmx255_pcmcia_hw_init() 35 skt->stat[SOC_STAT_RDY].name = "PCMCIA0 RDY"; in cmx255_pcmcia_hw_init() 37 skt->stat[SOC_STAT_CD].gpio = GPIO_PCMCIA_S1_CD_VALID; in cmx255_pcmcia_hw_init() 38 skt->stat[SOC_STAT_CD].name = "PCMCIA1 CD"; in cmx255_pcmcia_hw_init() 39 skt->stat[SOC_STAT_RDY].gpio = GPIO_PCMCIA_S1_RDYINT; in cmx255_pcmcia_hw_init() 40 skt->stat[SOC_STAT_RDY].name = "PCMCIA1 RDY"; in cmx255_pcmcia_hw_init() [all …]
|
D | sa1100_h3600.c | 23 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 …]
|
D | pxa2xx_cm_x270.c | 21 static int cmx270_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in cmx270_pcmcia_hw_init() argument 28 skt->stat[SOC_STAT_CD].gpio = GPIO_PCMCIA_S0_CD_VALID; in cmx270_pcmcia_hw_init() 29 skt->stat[SOC_STAT_CD].name = "PCMCIA0 CD"; in cmx270_pcmcia_hw_init() 30 skt->stat[SOC_STAT_RDY].gpio = GPIO_PCMCIA_S0_RDYINT; in cmx270_pcmcia_hw_init() 31 skt->stat[SOC_STAT_RDY].name = "PCMCIA0 RDY"; in cmx270_pcmcia_hw_init() 36 static void cmx270_pcmcia_shutdown(struct soc_pcmcia_socket *skt) in cmx270_pcmcia_shutdown() argument 42 static void cmx270_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in cmx270_pcmcia_socket_state() argument 50 static int cmx270_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in cmx270_pcmcia_configure_socket() argument 53 switch (skt->nr) { in cmx270_pcmcia_configure_socket()
|
D | sa1111_lubbock.c | 27 static int lubbock_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in lubbock_pcmcia_hw_init() argument 32 ret = max1600_init(skt->socket.dev.parent, &m, in lubbock_pcmcia_hw_init() 33 skt->nr ? MAX1600_CHAN_B : MAX1600_CHAN_A, in lubbock_pcmcia_hw_init() 36 skt->driver_data = m; in lubbock_pcmcia_hw_init() 42 lubbock_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in lubbock_pcmcia_configure_socket() argument 45 struct max1600 *m = skt->driver_data; in lubbock_pcmcia_configure_socket() 79 switch (skt->nr) { in lubbock_pcmcia_configure_socket() 89 ret = sa1111_pcmcia_configure_socket(skt, state); in lubbock_pcmcia_configure_socket() 109 sa1111_pcmcia_socket_state(skt, &new_state); in lubbock_pcmcia_configure_socket()
|
D | soc_common.h | 91 struct soc_pcmcia_socket skt[]; member 155 void soc_pcmcia_init_one(struct soc_pcmcia_socket *skt, 157 void soc_pcmcia_remove_one(struct soc_pcmcia_socket *skt); 158 int soc_pcmcia_add_one(struct soc_pcmcia_socket *skt); 159 int soc_pcmcia_request_gpiods(struct soc_pcmcia_socket *skt); 161 void soc_common_cf_socket_state(struct soc_pcmcia_socket *skt, 164 int soc_pcmcia_regulator_set(struct soc_pcmcia_socket *skt, 169 extern void soc_pcmcia_debug(struct soc_pcmcia_socket *skt, const char *func, 172 #define debug(skt, lvl, fmt, arg...) \ argument 173 soc_pcmcia_debug(skt, __func__, lvl, fmt , ## arg) [all …]
|
D | pxa2xx_balloon3.c | 29 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
|
D | sa1111_jornada720.c | 36 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()
|
D | sa1111_neponset.c | 41 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()
|
D | sa1100_simpad.c | 18 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
|
D | pxa2xx_hx4700.c | 22 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
|
D | pxa2xx_viper.c | 40 static int viper_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in viper_pcmcia_hw_init() argument 45 skt->stat[SOC_STAT_CD].gpio = pdata->cd_gpio; in viper_pcmcia_hw_init() 46 skt->stat[SOC_STAT_CD].name = "PCMCIA_CD"; in viper_pcmcia_hw_init() 47 skt->stat[SOC_STAT_RDY].gpio = pdata->rdy_gpio; in viper_pcmcia_hw_init() 48 skt->stat[SOC_STAT_RDY].name = "CF ready"; in viper_pcmcia_hw_init() 74 static void viper_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt) in viper_pcmcia_hw_shutdown() argument 81 static void viper_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in viper_pcmcia_socket_state() argument 88 static int viper_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in viper_pcmcia_configure_socket() argument
|
D | pxa2xx_stargate2.c | 38 static int sg2_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in sg2_pcmcia_hw_init() argument 40 skt->stat[SOC_STAT_CD].gpio = SG2_S0_GPIO_DETECT; in sg2_pcmcia_hw_init() 41 skt->stat[SOC_STAT_CD].name = "PCMCIA0 CD"; in sg2_pcmcia_hw_init() 42 skt->stat[SOC_STAT_RDY].gpio = SG2_S0_GPIO_READY; in sg2_pcmcia_hw_init() 43 skt->stat[SOC_STAT_RDY].name = "PCMCIA0 RDY"; in sg2_pcmcia_hw_init() 47 static void sg2_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in sg2_pcmcia_socket_state() argument 56 static int sg2_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in sg2_pcmcia_configure_socket() argument
|
D | pxa2xx_palmld.c | 24 static int palmld_pcmcia_hw_init(struct soc_pcmcia_socket *skt) in palmld_pcmcia_hw_init() argument 31 skt->stat[SOC_STAT_RDY].gpio = GPIO_NR_PALMLD_PCMCIA_READY; in palmld_pcmcia_hw_init() 32 skt->stat[SOC_STAT_RDY].name = "PCMCIA Ready"; in palmld_pcmcia_hw_init() 37 static void palmld_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt) in palmld_pcmcia_hw_shutdown() argument 42 static void palmld_pcmcia_socket_state(struct soc_pcmcia_socket *skt, in palmld_pcmcia_socket_state() argument 50 static int palmld_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, in palmld_pcmcia_configure_socket() argument
|
D | pxa2xx_palmtx.c | 24 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
|