Home
last modified time | relevance | path

Searched refs:opstate (Results 1 – 4 of 4) sorted by relevance

/drivers/edac/
Dedac_module.c50 char *edac_op_state_to_string(int opstate) in edac_op_state_to_string() argument
52 if (opstate == OP_RUNNING_POLL) in edac_op_state_to_string()
54 else if (opstate == OP_RUNNING_INTERRUPT) in edac_op_state_to_string()
56 else if (opstate == OP_RUNNING_POLL_INTR) in edac_op_state_to_string()
58 else if (opstate == OP_ALLOC) in edac_op_state_to_string()
60 else if (opstate == OP_OFFLINE) in edac_op_state_to_string()
/drivers/media/platform/
Dvia-camera.c68 enum viacam_opstate opstate; member
332 if (cam->opstate != S_RUNNING) in viacam_next_buffer()
554 cam->opstate = S_RUNNING; in viacam_start_engine()
565 cam->opstate = S_IDLE; in viacam_stop_engine()
627 if (cam->opstate != S_IDLE) { in viacam_vb2_start_streaming()
894 if (cam->opstate != S_IDLE) in viacam_s_fmt_vid_cap()
1029 enum viacam_opstate state = cam->opstate; in viacam_suspend()
1031 if (cam->opstate != S_IDLE) { in viacam_suspend()
1033 cam->opstate = state; /* So resume restarts */ in viacam_suspend()
1061 if (cam->opstate != S_IDLE) { in viacam_resume()
[all …]
/drivers/nvme/host/
Dfc.c1503 int opstate; in __nvme_fc_abort_op() local
1506 opstate = atomic_xchg(&op->state, FCPOP_STATE_ABORTED); in __nvme_fc_abort_op()
1507 if (opstate != FCPOP_STATE_ACTIVE) in __nvme_fc_abort_op()
1508 atomic_set(&op->state, opstate); in __nvme_fc_abort_op()
1513 if (opstate != FCPOP_STATE_ACTIVE) in __nvme_fc_abort_op()
1540 struct nvme_fc_fcp_op *op, int opstate) in __nvme_fc_fcpop_chk_teardowns() argument
1544 if (opstate == FCPOP_STATE_ABORTED) { in __nvme_fc_fcpop_chk_teardowns()
1567 int opstate; in nvme_fc_fcpio_done() local
1606 opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE); in nvme_fc_fcpio_done()
1611 if (opstate == FCPOP_STATE_ABORTED) in nvme_fc_fcpio_done()
[all …]
/drivers/spi/
Dspi-qup.c179 u32 opstate = readl_relaxed(controller->base + QUP_STATE); in spi_qup_is_valid_state() local
181 return opstate & QUP_STATE_VALID; in spi_qup_is_valid_state()