Lines Matching refs:dr7
183 * Don't let an illegal value for dr7 get set. Specifically,
189 dr7_is_valid(uint32_t *dr7)
201 if ((*dr7 & mask1) == mask2)
214 if ((*dr7 & mask1) == mask2)
223 if (((((*dr7 >> (16 + i*4))) & 0x3) == 0) &&
224 ((((*dr7 >> (18 + i*4))) & 0x3) != 0))
230 *dr7 |= 0x1 << 10; /* set bit 10 to 1 */
231 *dr7 &= ~(0x1 << 11); /* set bit 11 to 0 */
232 *dr7 &= ~(0x1 << 12); /* set bit 12 to 0 */
233 *dr7 &= ~(0x1 << 14); /* set bit 14 to 0 */
234 *dr7 &= ~(0x1 << 15); /* set bit 15 to 0 */
240 if (*dr7 & 0x2)
243 if (*dr7 & (0x2<<2))
246 if (*dr7 & (0x2<<4))
249 if (*dr7 & (0x2<<6))
263 cdp->cpu_dr7 = ds->dr7;
276 cdp->cpu_dr7 = ds->dr7;
282 if (!dr7_is_valid(&ds->dr7))
290 if (ds->dr7 & 0x1)
294 if (ds->dr7 & (0x1<<2))
298 if (ds->dr7 & (0x1<<4))
302 if (ds->dr7 & (0x1<<6))
313 if (!dr7_is_valid((uint32_t *)&ds->dr7))
320 if (ds->dr7 & 0x1)
324 if (ds->dr7 & (0x1<<2))
328 if (ds->dr7 & (0x1<<4))
332 if (ds->dr7 & (0x1<<6))
2139 target->dr7 = src->dr7;
2164 target->dr7 = src->dr7;