Searched refs:gensts (Results 1 – 2 of 2) sorted by relevance
391 union gensts_reg gensts; in idxd_misc_thread() local487 gensts.bits = ioread32(idxd->reg_base + IDXD_GENSTATS_OFFSET); in idxd_misc_thread()488 if (gensts.state == IDXD_DEVICE_STATE_HALT) { in idxd_misc_thread()490 if (gensts.reset_type == IDXD_DEVICE_RESET_SOFTWARE) { in idxd_misc_thread()505 gensts.reset_type == IDXD_DEVICE_RESET_FLR ? in idxd_misc_thread()
433 union gensts_reg gensts; in idxd_is_enabled() local435 gensts.bits = ioread32(idxd->reg_base + IDXD_GENSTATS_OFFSET); in idxd_is_enabled()437 if (gensts.state == IDXD_DEVICE_STATE_ENABLED) in idxd_is_enabled()444 union gensts_reg gensts; in idxd_device_is_halted() local446 gensts.bits = ioread32(idxd->reg_base + IDXD_GENSTATS_OFFSET); in idxd_device_is_halted()448 return (gensts.state == IDXD_DEVICE_STATE_HALT); in idxd_device_is_halted()