Searched refs:gensts (Results 1 – 2 of 2) sorted by relevance
223 union gensts_reg gensts; in process_misc_interrupts() local307 gensts.bits = ioread32(idxd->reg_base + IDXD_GENSTATS_OFFSET); in process_misc_interrupts()308 if (gensts.state == IDXD_DEVICE_STATE_HALT) { in process_misc_interrupts()310 if (gensts.reset_type == IDXD_DEVICE_RESET_SOFTWARE) { in process_misc_interrupts()325 gensts.reset_type == IDXD_DEVICE_RESET_FLR ? in process_misc_interrupts()
446 union gensts_reg gensts; in idxd_is_enabled() local448 gensts.bits = ioread32(idxd->reg_base + IDXD_GENSTATS_OFFSET); in idxd_is_enabled()450 if (gensts.state == IDXD_DEVICE_STATE_ENABLED) in idxd_is_enabled()457 union gensts_reg gensts; in idxd_device_is_halted() local459 gensts.bits = ioread32(idxd->reg_base + IDXD_GENSTATS_OFFSET); in idxd_device_is_halted()461 return (gensts.state == IDXD_DEVICE_STATE_HALT); in idxd_device_is_halted()