/linux/drivers/pcmcia/ |
A D | cs.c | 256 skt->ops->set_socket(skt, &skt->socket); in socket_reset() 260 skt->ops->set_socket(skt, &skt->socket); in socket_reset() 385 skt->ops->set_socket(skt, &skt->socket); in socket_setup() 441 skt->callback->add(skt); in socket_insert() 461 skt->ops->set_socket(skt, &skt->socket); in socket_suspend() 463 skt->ops->suspend(skt); in socket_suspend() 474 skt->ops->init(skt); in socket_early_resume() 475 skt->ops->set_socket(skt, &skt->socket); in socket_early_resume() 599 skt->ops->init(skt); in pccardd() 600 skt->ops->set_socket(skt, &skt->socket); in pccardd() [all …]
|
A D | soc_common.c | 153 free_irq(skt->stat[i].irq, skt); in __soc_pcmcia_hw_shutdown() 156 skt->ops->hw_shutdown(skt); in __soc_pcmcia_hw_shutdown() 199 ret = skt->ops->hw_init(skt); in soc_pcmcia_hw_init() 240 skt->stat[i].name, skt); in soc_pcmcia_hw_init() 307 skt->ops->socket_state(skt, &state); in soc_common_pcmcia_skt_state() 348 WARN_ON(skt->ops->configure_socket(skt, &skt->cs_state)); in soc_common_pcmcia_config_skt() 403 skt->ops->socket_init(skt); in soc_common_pcmcia_sock_init() 426 skt->ops->socket_suspend(skt); in soc_common_pcmcia_suspend() 594 skt->ops->set_timing(skt); in soc_common_pcmcia_set_io_map() 654 skt->ops->set_timing(skt); in soc_common_pcmcia_set_mem_map() [all …]
|
A D | sa11xx_base.c | 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() 175 skt->res_skt.start = _PCMCIA(skt->nr); in sa11xx_drv_pcmcia_add_one() 176 skt->res_skt.end = _PCMCIA(skt->nr) + PCMCIASp - 1; in sa11xx_drv_pcmcia_add_one() 177 skt->res_skt.name = skt_names[skt->nr]; in sa11xx_drv_pcmcia_add_one() 180 skt->res_io.start = _PCMCIAIO(skt->nr); in sa11xx_drv_pcmcia_add_one() 181 skt->res_io.end = _PCMCIAIO(skt->nr) + PCMCIAIOSp - 1; in sa11xx_drv_pcmcia_add_one() 185 skt->res_mem.start = _PCMCIAMem(skt->nr); in sa11xx_drv_pcmcia_add_one() 186 skt->res_mem.end = _PCMCIAMem(skt->nr) + PCMCIAMemSp - 1; in sa11xx_drv_pcmcia_add_one() 190 skt->res_attr.start = _PCMCIAAttr(skt->nr); in sa11xx_drv_pcmcia_add_one() [all …]
|
A D | bcm63xx_pcmcia.c | 97 if (skt->card_detected && (skt->card_type & CARD_CARDBUS)) in bcm63xx_pcmcia_set_socket() 271 skt = from_timer(skt, t, timer); in bcm63xx_pcmcia_poll() 279 events = (stat ^ skt->old_status) & skt->requested_state.csc_mask; in bcm63xx_pcmcia_poll() 335 skt = kzalloc(sizeof(*skt), GFP_KERNEL); in bcm63xx_drv_pcmcia_probe() 336 if (!skt) in bcm63xx_drv_pcmcia_probe() 347 if (!skt->common_res || !skt->attr_res || !irq_res || !skt->pd) { in bcm63xx_drv_pcmcia_probe() 362 if (!skt->base) { in bcm63xx_drv_pcmcia_probe() 429 if (skt->io_base) in bcm63xx_drv_pcmcia_probe() 431 if (skt->base) in bcm63xx_drv_pcmcia_probe() 435 kfree(skt); in bcm63xx_drv_pcmcia_probe() [all …]
|
A D | sa1100_generic.c | 59 if (IS_ERR(skt->gpio_reset)) in sa11x0_cf_hw_init() 68 if (IS_ERR(skt->vcc.reg)) in sa11x0_cf_hw_init() 69 return PTR_ERR(skt->vcc.reg); in sa11x0_cf_hw_init() 71 if (!skt->vcc.reg) in sa11x0_cf_hw_init() 88 return soc_pcmcia_regulator_set(skt, &skt->vcc, state->Vcc); in sa11x0_cf_configure_socket() 149 skt = devm_kzalloc(dev, sizeof(*skt), GFP_KERNEL); in sa11x0_drv_pcmcia_probe() 150 if (!skt) in sa11x0_drv_pcmcia_probe() 155 skt->nr = pdev->id; in sa11x0_drv_pcmcia_probe() 157 if (IS_ERR(skt->clk)) in sa11x0_drv_pcmcia_probe() 158 return PTR_ERR(skt->clk); in sa11x0_drv_pcmcia_probe() [all …]
|
A D | pxa2xx_mainstone.c | 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() 42 return PTR_ERR(skt->gpio_reset); in mst_pcmcia_hw_init() 49 skt->driver_data = m; in mst_pcmcia_hw_init() [all …]
|
A D | pxa2xx_base.c | 243 skt->res_skt.start = _PCMCIA(skt->nr); in pxa2xx_drv_pcmcia_add_one() 244 skt->res_skt.end = _PCMCIA(skt->nr) + PCMCIASp - 1; in pxa2xx_drv_pcmcia_add_one() 245 skt->res_skt.name = skt_names[skt->nr]; in pxa2xx_drv_pcmcia_add_one() 248 skt->res_io.start = _PCMCIAIO(skt->nr); in pxa2xx_drv_pcmcia_add_one() 249 skt->res_io.end = _PCMCIAIO(skt->nr) + PCMCIAIOSp - 1; in pxa2xx_drv_pcmcia_add_one() 253 skt->res_mem.start = _PCMCIAMem(skt->nr); in pxa2xx_drv_pcmcia_add_one() 254 skt->res_mem.end = _PCMCIAMem(skt->nr) + PCMCIAMemSp - 1; in pxa2xx_drv_pcmcia_add_one() 258 skt->res_attr.start = _PCMCIAAttr(skt->nr); in pxa2xx_drv_pcmcia_add_one() 259 skt->res_attr.end = _PCMCIAAttr(skt->nr) + PCMCIAAttrSp - 1; in pxa2xx_drv_pcmcia_add_one() 312 skt = &sinfo->skt[i]; in pxa2xx_drv_pcmcia_probe() [all …]
|
A D | pxa2xx_sharpsl.c | 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() 70 SCOOP_DEV[skt->nr].keep_vs = NO_KEEP_VS; in sharpsl_pcmcia_socket_state() 75 csr |= SCOOP_DEV[skt->nr].keep_vs; in sharpsl_pcmcia_socket_state() 152 SCOOP_DEV[skt->nr].keep_rd = 0; in sharpsl_pcmcia_configure_socket() 155 SCOOP_DEV[skt->nr].keep_rd = 1; in sharpsl_pcmcia_configure_socket() 180 sharpsl_pcmcia_init_reset(skt); in sharpsl_pcmcia_socket_init() 185 SCOOP_DEV[skt->nr].keep_vs = NO_KEEP_VS; in sharpsl_pcmcia_socket_init() [all …]
|
A D | pxa2xx_e740.c | 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() 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() 34 skt->stat[SOC_STAT_RDY].name = "Wifi ready"; in e740_pcmcia_hw_init() 51 if (skt->nr == 0) in e740_pcmcia_configure_socket() 56 if (skt->nr == 0) in e740_pcmcia_configure_socket() 64 if (skt->nr == 0) in e740_pcmcia_configure_socket() [all …]
|
A D | pxa2xx_vpac270.c | 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() 56 if (skt->nr == 0) in vpac270_pcmcia_hw_shutdown() [all …]
|
A 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() 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() 68 switch (skt->nr) { in trizeps_pcmcia_socket_state() [all …]
|
A 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 …]
|
A 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 118 static void h3600_pcmcia_socket_init(struct soc_pcmcia_socket *skt) in h3600_pcmcia_socket_init() argument 128 static void h3600_pcmcia_socket_suspend(struct soc_pcmcia_socket *skt) in h3600_pcmcia_socket_suspend() argument [all …]
|
A 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 …]
|
A 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
|
A 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()
|
A 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()
|
A 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()
|
A 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
|
A 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()
|
A 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
|
A 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
|
A 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
|
A D | ds.c | 1238 dev_dbg(&skt->dev, "resuming socket %d\n", skt->sock); in pcmcia_bus_resume() 1245 dev_dbg(&skt->dev, "suspending socket %d\n", skt->sock); in pcmcia_bus_suspend() 1260 destroy_cis_cache(skt); in pcmcia_bus_remove() 1272 skt->pcmcia_pfc = 0; in pcmcia_bus_add() 1276 pcmcia_card_add(skt); in pcmcia_bus_add() 1289 pcmcia_bus_remove(skt); in pcmcia_bus_early_resume() 1292 destroy_cis_cache(skt); in pcmcia_bus_early_resume() 1293 kfree(skt->fake_cis); in pcmcia_bus_early_resume() 1294 skt->fake_cis = NULL; in pcmcia_bus_early_resume() 1295 skt->functions = 0; in pcmcia_bus_early_resume() [all …]
|
A 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
|