Home
last modified time | relevance | path

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

/linux/drivers/dma/idxd/
A Dirq.c61 union gensts_reg gensts; in process_misc_interrupts() local
128 gensts.bits = ioread32(idxd->reg_base + IDXD_GENSTATS_OFFSET); in process_misc_interrupts()
129 if (gensts.state == IDXD_DEVICE_STATE_HALT) { in process_misc_interrupts()
131 if (gensts.reset_type == IDXD_DEVICE_RESET_SOFTWARE) { in process_misc_interrupts()
147 gensts.reset_type == IDXD_DEVICE_RESET_FLR ? in process_misc_interrupts()
A Ddevice.c423 union gensts_reg gensts; in idxd_is_enabled() local
425 gensts.bits = ioread32(idxd->reg_base + IDXD_GENSTATS_OFFSET); in idxd_is_enabled()
427 if (gensts.state == IDXD_DEVICE_STATE_ENABLED) in idxd_is_enabled()
434 union gensts_reg gensts; in idxd_device_is_halted() local
436 gensts.bits = ioread32(idxd->reg_base + IDXD_GENSTATS_OFFSET); in idxd_device_is_halted()
438 return (gensts.state == IDXD_DEVICE_STATE_HALT); in idxd_device_is_halted()

Completed in 5 milliseconds