Lines Matching defs:host
203 void (*write_l)(struct cqhci_host *host, u32 val, int reg);
204 u32 (*read_l)(struct cqhci_host *host, int reg);
213 static inline void cqhci_writel(struct cqhci_host *host, u32 val, int reg)
215 if (unlikely(host->ops->write_l))
216 host->ops->write_l(host, val, reg);
218 writel_relaxed(val, host->mmio + reg);
221 static inline u32 cqhci_readl(struct cqhci_host *host, int reg)
223 if (unlikely(host->ops->read_l))
224 return host->ops->read_l(host, reg);
226 return readl_relaxed(host->mmio + reg);