Lines Matching refs:dr7
157 * Don't let an illegal value for dr7 get set. Specifically,
163 dr7_is_valid(uint32_t *dr7)
175 if ((*dr7 & mask1) == mask2)
184 if ((*dr7 & mask1) == mask2)
193 if (((((*dr7 >> (16 + i*4))) & 0x3) == 0) &&
194 ((((*dr7 >> (18 + i*4))) & 0x3) != 0))
200 *dr7 |= 0x1 << 10; /* set bit 10 to 1 */
201 *dr7 &= ~(0x1 << 11); /* set bit 11 to 0 */
202 *dr7 &= ~(0x1 << 12); /* set bit 12 to 0 */
203 *dr7 &= ~(0x1 << 14); /* set bit 14 to 0 */
204 *dr7 &= ~(0x1 << 15); /* set bit 15 to 0 */
210 if (*dr7 & 0x2)
213 if (*dr7 & (0x2<<2))
216 if (*dr7 & (0x2<<4))
219 if (*dr7 & (0x2<<6))
233 cdp->cpu_dr7 = ds->dr7;
246 cdp->cpu_dr7 = ds->dr7;
273 if (!dr7_is_valid(&ds->dr7))
281 if (ds->dr7 & 0x1)
285 if (ds->dr7 & (0x1<<2))
289 if (ds->dr7 & (0x1<<4))
293 if (ds->dr7 & (0x1<<6))
302 ids->dr7 = ds->dr7;
334 if (!dr7_is_valid((uint32_t *)&ds->dr7))
341 if (ds->dr7 & 0x1)
345 if (ds->dr7 & (0x1<<2))
349 if (ds->dr7 & (0x1<<4))
353 if (ds->dr7 & (0x1<<6))
362 ids->dr7 = ds->dr7;
385 ds->dr7 = saved_state->dr7;
405 ds->dr7 = saved_state->dr7;