Lines Matching refs:ec
113 void (*irqenable)(ecard_t *ec, int irqnr);
114 void (*irqdisable)(ecard_t *ec, int irqnr);
115 int (*irqpending)(ecard_t *ec);
116 void (*fiqenable)(ecard_t *ec, int fiqnr);
117 void (*fiqdisable)(ecard_t *ec, int fiqnr);
118 int (*fiqpending)(ecard_t *ec);
130 #define ecard_resource_start(ec,nr) ((ec)->resource[nr].start) argument
131 #define ecard_resource_end(ec,nr) ((ec)->resource[nr].end) argument
132 #define ecard_resource_len(ec,nr) ((ec)->resource[nr].end - \ argument
133 (ec)->resource[nr].start + 1)
134 #define ecard_resource_flags(ec,nr) ((ec)->resource[nr].flags) argument
169 void ecard_setirq(struct expansion_card *ec, const struct expansion_card_ops *ops, void *irq_data);
186 extern int ecard_readchunk (struct in_chunk_dir *cd, struct expansion_card *ec, int id, int num);
191 extern int ecard_request_resources(struct expansion_card *ec);
192 extern void ecard_release_resources(struct expansion_card *ec);
194 void __iomem *ecardm_iomap(struct expansion_card *ec, unsigned int res,
213 #define ecard_set_drvdata(ec,data) dev_set_drvdata(&(ec)->dev, (data)) argument
214 #define ecard_get_drvdata(ec) dev_get_drvdata(&(ec)->dev) argument