Lines Matching defs:ec
133 oakscsi_probe(struct expansion_card *ec, const struct ecard_id *id)
138 ret = ecard_request_resources(ec);
148 priv(host)->base = ioremap(ecard_resource_start(ec, ECARD_RES_MEMC),
149 ecard_resource_len(ec, ECARD_RES_MEMC));
168 ret = scsi_add_host(host, &ec->dev);
180 ecard_release_resources(ec);
185 static void __devexit oakscsi_remove(struct expansion_card *ec)
187 struct Scsi_Host *host = ecard_get_drvdata(ec);
189 ecard_set_drvdata(ec, NULL);
195 ecard_release_resources(ec);