Home
last modified time | relevance | path

Searched refs:gensts (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/dma/idxd/
Dirq.c391 union gensts_reg gensts; in idxd_misc_thread() local
487 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()
Ddevice.c433 union gensts_reg gensts; in idxd_is_enabled() local
435 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() local
446 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()