Lines Matching defs:ec
33 rapide_probe(struct expansion_card *ec, const struct ecard_id *id)
40 ret = ecard_request_resources(ec);
44 base = ecardm_iomap(ec, ECARD_RES_MEMC, 0, 0);
51 rapide_setup_ports(&hw, base, base + 0x818, 1 << 6, ec->irq);
52 hw.dev = &ec->dev;
58 ecard_set_drvdata(ec, host);
62 ecard_release_resources(ec);
67 static void __devexit rapide_remove(struct expansion_card *ec)
69 struct ide_host *host = ecard_get_drvdata(ec);
71 ecard_set_drvdata(ec, NULL);
75 ecard_release_resources(ec);