hcsr              140 drivers/misc/mei/hw-me.c 	u32 hcsr;
hcsr              142 drivers/misc/mei/hw-me.c 	hcsr = mei_hcsr_read(dev) | H_IG;
hcsr              143 drivers/misc/mei/hw-me.c 	mei_hcsr_set(dev, hcsr);
hcsr              218 drivers/misc/mei/hw-me.c 	u32 hcsr, reg;
hcsr              221 drivers/misc/mei/hw-me.c 	hcsr = mei_hcsr_read(dev);
hcsr              222 drivers/misc/mei/hw-me.c 	hw->hbuf_depth = (hcsr & H_CBD) >> 24;
hcsr              253 drivers/misc/mei/hw-me.c static inline u32 me_intr_src(u32 hcsr)
hcsr              255 drivers/misc/mei/hw-me.c 	return hcsr & H_CSR_IS_MASK;
hcsr              265 drivers/misc/mei/hw-me.c static inline void me_intr_disable(struct mei_device *dev, u32 hcsr)
hcsr              267 drivers/misc/mei/hw-me.c 	hcsr &= ~H_CSR_IE_MASK;
hcsr              268 drivers/misc/mei/hw-me.c 	mei_hcsr_set(dev, hcsr);
hcsr              277 drivers/misc/mei/hw-me.c static inline void me_intr_clear(struct mei_device *dev, u32 hcsr)
hcsr              279 drivers/misc/mei/hw-me.c 	if (me_intr_src(hcsr))
hcsr              280 drivers/misc/mei/hw-me.c 		mei_hcsr_write(dev, hcsr);
hcsr              290 drivers/misc/mei/hw-me.c 	u32 hcsr = mei_hcsr_read(dev);
hcsr              292 drivers/misc/mei/hw-me.c 	me_intr_clear(dev, hcsr);
hcsr              301 drivers/misc/mei/hw-me.c 	u32 hcsr = mei_hcsr_read(dev);
hcsr              303 drivers/misc/mei/hw-me.c 	hcsr |= H_CSR_IE_MASK;
hcsr              304 drivers/misc/mei/hw-me.c 	mei_hcsr_set(dev, hcsr);
hcsr              314 drivers/misc/mei/hw-me.c 	u32 hcsr = mei_hcsr_read(dev);
hcsr              316 drivers/misc/mei/hw-me.c 	me_intr_disable(dev, hcsr);
hcsr              338 drivers/misc/mei/hw-me.c 	u32 hcsr = mei_hcsr_read(dev);
hcsr              340 drivers/misc/mei/hw-me.c 	hcsr |= H_IG;
hcsr              341 drivers/misc/mei/hw-me.c 	hcsr &= ~H_RST;
hcsr              342 drivers/misc/mei/hw-me.c 	mei_hcsr_set(dev, hcsr);
hcsr              352 drivers/misc/mei/hw-me.c 	u32 hcsr = mei_hcsr_read(dev);
hcsr              354 drivers/misc/mei/hw-me.c 	hcsr |= H_CSR_IE_MASK | H_IG | H_RDY;
hcsr              355 drivers/misc/mei/hw-me.c 	mei_hcsr_set(dev, hcsr);
hcsr              366 drivers/misc/mei/hw-me.c 	u32 hcsr = mei_hcsr_read(dev);
hcsr              368 drivers/misc/mei/hw-me.c 	return (hcsr & H_RDY) == H_RDY;
hcsr              449 drivers/misc/mei/hw-me.c 	u32 hcsr;
hcsr              452 drivers/misc/mei/hw-me.c 	hcsr = mei_hcsr_read(dev);
hcsr              454 drivers/misc/mei/hw-me.c 	read_ptr = (char) ((hcsr & H_CBRP) >> 8);
hcsr              455 drivers/misc/mei/hw-me.c 	write_ptr = (char) ((hcsr & H_CBWP) >> 16);
hcsr             1120 drivers/misc/mei/hw-me.c 	u32 hcsr;
hcsr             1133 drivers/misc/mei/hw-me.c 	hcsr = mei_hcsr_read(dev);
hcsr             1139 drivers/misc/mei/hw-me.c 	if ((hcsr & H_RST) == H_RST) {
hcsr             1140 drivers/misc/mei/hw-me.c 		dev_warn(dev->dev, "H_RST is set = 0x%08X", hcsr);
hcsr             1141 drivers/misc/mei/hw-me.c 		hcsr &= ~H_RST;
hcsr             1142 drivers/misc/mei/hw-me.c 		mei_hcsr_set(dev, hcsr);
hcsr             1143 drivers/misc/mei/hw-me.c 		hcsr = mei_hcsr_read(dev);
hcsr             1146 drivers/misc/mei/hw-me.c 	hcsr |= H_RST | H_IG | H_CSR_IS_MASK;
hcsr             1149 drivers/misc/mei/hw-me.c 		hcsr &= ~H_CSR_IE_MASK;
hcsr             1152 drivers/misc/mei/hw-me.c 	mei_hcsr_write(dev, hcsr);
hcsr             1158 drivers/misc/mei/hw-me.c 	hcsr = mei_hcsr_read(dev);
hcsr             1160 drivers/misc/mei/hw-me.c 	if ((hcsr & H_RST) == 0)
hcsr             1161 drivers/misc/mei/hw-me.c 		dev_warn(dev->dev, "H_RST is not set = 0x%08X", hcsr);
hcsr             1163 drivers/misc/mei/hw-me.c 	if ((hcsr & H_RDY) == H_RDY)
hcsr             1164 drivers/misc/mei/hw-me.c 		dev_warn(dev->dev, "H_RDY is not cleared 0x%08X", hcsr);
hcsr             1188 drivers/misc/mei/hw-me.c 	u32 hcsr;
hcsr             1190 drivers/misc/mei/hw-me.c 	hcsr = mei_hcsr_read(dev);
hcsr             1191 drivers/misc/mei/hw-me.c 	if (!me_intr_src(hcsr))
hcsr             1194 drivers/misc/mei/hw-me.c 	dev_dbg(dev->dev, "interrupt source 0x%08X\n", me_intr_src(hcsr));
hcsr             1197 drivers/misc/mei/hw-me.c 	me_intr_disable(dev, hcsr);
hcsr             1216 drivers/misc/mei/hw-me.c 	u32 hcsr;
hcsr             1223 drivers/misc/mei/hw-me.c 	hcsr = mei_hcsr_read(dev);
hcsr             1224 drivers/misc/mei/hw-me.c 	me_intr_clear(dev, hcsr);
hcsr             1238 drivers/misc/mei/hw-me.c 	mei_me_pg_intr(dev, me_intr_src(hcsr));