Lines Matching refs:ec
112 void (*irqenable)(ecard_t *ec, int irqnr);
113 void (*irqdisable)(ecard_t *ec, int irqnr);
114 int (*irqpending)(ecard_t *ec);
115 void (*fiqenable)(ecard_t *ec, int fiqnr);
116 void (*fiqdisable)(ecard_t *ec, int fiqnr);
117 int (*fiqpending)(ecard_t *ec);
129 #define ecard_resource_start(ec,nr) ((ec)->resource[nr].start) argument
130 #define ecard_resource_end(ec,nr) ((ec)->resource[nr].end) argument
131 #define ecard_resource_len(ec,nr) ((ec)->resource[nr].end - \ argument
132 (ec)->resource[nr].start + 1)
133 #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