Home
last modified time | relevance | path

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

/linux-5.19.10/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()
/linux-5.19.10/drivers/gpu/drm/tidss/
Dtidss_kms.c57 struct drm_plane_state *opstate; in tidss_atomic_check() local
78 for_each_oldnew_plane_in_state(state, plane, opstate, npstate, i) { in tidss_atomic_check()
82 if (!opstate->crtc || opstate->crtc_x != npstate->crtc_x || in tidss_atomic_check()
83 opstate->crtc_y != npstate->crtc_y) { in tidss_atomic_check()
/linux-5.19.10/drivers/media/platform/via/
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()
897 if (cam->opstate != S_IDLE) in viacam_s_fmt_vid_cap()
1032 enum viacam_opstate state = cam->opstate; in viacam_suspend()
1034 if (cam->opstate != S_IDLE) { in viacam_suspend()
1036 cam->opstate = state; /* So resume restarts */ in viacam_suspend()
1064 if (cam->opstate != S_IDLE) { in viacam_resume()
[all …]
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dsf.h29 enum devlink_port_fn_opstate *opstate,
Ddevlink.c172 enum devlink_port_fn_opstate *opstate, in mlx5_devlink_sf_port_fn_state_get() argument
191 *opstate = mlx5_sf_to_devlink_opstate(sf->hw_state); in mlx5_devlink_sf_port_fn_state_get()
/linux-5.19.10/drivers/nvme/host/
Dfc.c1839 int opstate; in __nvme_fc_abort_op() local
1842 opstate = atomic_xchg(&op->state, FCPOP_STATE_ABORTED); in __nvme_fc_abort_op()
1843 if (opstate != FCPOP_STATE_ACTIVE) in __nvme_fc_abort_op()
1844 atomic_set(&op->state, opstate); in __nvme_fc_abort_op()
1851 if (opstate != FCPOP_STATE_ACTIVE) in __nvme_fc_abort_op()
1878 struct nvme_fc_fcp_op *op, int opstate) in __nvme_fc_fcpop_chk_teardowns() argument
1882 if (opstate == FCPOP_STATE_ABORTED) { in __nvme_fc_fcpop_chk_teardowns()
1933 int opstate; in nvme_fc_fcpio_done() local
1972 opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE); in nvme_fc_fcpio_done()
1977 if (opstate == FCPOP_STATE_ABORTED) in nvme_fc_fcpio_done()
[all …]
/linux-5.19.10/Documentation/networking/device_drivers/ethernet/mellanox/
Dmlx5.rst328 hw_addr 00:00:00:00:00:00 state inactive opstate detached
335 hw_addr 00:00:00:00:00:00 state inactive opstate detached
401 hw_addr 00:00:00:00:88:88 state inactive opstate detached
410 hw_addr 00:00:00:00:88:88 state active opstate detached
458 hw_addr 00:00:00:00:88:88 state active opstate attached
/linux-5.19.10/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()
/linux-5.19.10/include/net/
Ddevlink.h1472 enum devlink_port_fn_opstate *opstate,
/linux-5.19.10/net/core/
Ddevlink.c1125 devlink_port_fn_opstate_valid(enum devlink_port_fn_opstate opstate) in devlink_port_fn_opstate_valid() argument
1127 return opstate == DEVLINK_PORT_FN_OPSTATE_DETACHED || in devlink_port_fn_opstate_valid()
1128 opstate == DEVLINK_PORT_FN_OPSTATE_ATTACHED; in devlink_port_fn_opstate_valid()
1137 enum devlink_port_fn_opstate opstate; in devlink_port_fn_state_fill() local
1144 err = ops->port_fn_state_get(port, &state, &opstate, extack); in devlink_port_fn_state_fill()
1155 if (!devlink_port_fn_opstate_valid(opstate)) { in devlink_port_fn_state_fill()
1162 nla_put_u8(msg, DEVLINK_PORT_FN_ATTR_OPSTATE, opstate)) in devlink_port_fn_state_fill()
/linux-5.19.10/fs/xfs/
Dxfs_trace.h217 __field(unsigned long, opstate)
225 __entry->opstate = mp->m_opstate;
233 __print_flags(__entry->opstate, "|", XFS_OPSTATE_STRINGS),