Lines Matching refs:mip_reg
78 struct mip_reg {
93 unsigned long long mip_reg;
120 static struct mip_reg *mip_reg;
121 static struct mip_reg *host_reg;
188 struct mip_reg *host, *mip;
203 host = (struct mip_reg *)val;
205 val = MIP_RD_LO(mi->mip_reg);
208 mip = (struct mip_reg *)val;
209 mip_reg = __va(mip);
212 pr_debug("mip_reg = 0x%lx\n",
213 (unsigned long)mip_reg);
347 static int es7000_mip_write(struct mip_reg *mip_reg)
361 memcpy(host_reg, mip_reg, sizeof(struct mip_reg));
366 while ((mip_reg->off_0x38 & MIP_VALID) == 0) {
374 status = (mip_reg->off_0x00 & 0xffff0000000000ULL) >> 48;
375 mip_reg->off_0x38 &= ~MIP_VALID;
382 struct mip_reg es7000_mip_reg;
389 memset(&es7000_mip_reg, 0, sizeof(struct mip_reg));