Home
last modified time | relevance | path

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

/openbmc/linux/drivers/edac/
H A 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()
/openbmc/linux/drivers/gpu/drm/tidss/
H A Dtidss_kms.c50 struct drm_plane_state *opstate; in tidss_atomic_check() local
71 for_each_oldnew_plane_in_state(state, plane, opstate, npstate, i) { in tidss_atomic_check()
75 if (!opstate->crtc || opstate->crtc_x != npstate->crtc_x || in tidss_atomic_check()
76 opstate->crtc_y != npstate->crtc_y) { in tidss_atomic_check()
/openbmc/linux/drivers/media/platform/via/
H A Dvia-camera.c67 enum viacam_opstate opstate; member
321 if (cam->opstate != S_RUNNING) in viacam_next_buffer()
543 cam->opstate = S_RUNNING; in viacam_start_engine()
554 cam->opstate = S_IDLE; in viacam_stop_engine()
616 if (cam->opstate != S_IDLE) { in viacam_vb2_start_streaming()
886 if (cam->opstate != S_IDLE) in viacam_s_fmt_vid_cap()
1021 enum viacam_opstate state = cam->opstate; in viacam_suspend()
1023 if (cam->opstate != S_IDLE) { in viacam_suspend()
1025 cam->opstate = state; /* So resume restarts */ in viacam_suspend()
1053 if (cam->opstate != S_IDLE) { in viacam_resume()
[all …]
/openbmc/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
H A Dswitchdev.rst144 hw_addr 00:00:00:00:00:00 state inactive opstate detached
151 hw_addr 00:00:00:00:00:00 state inactive opstate detached
224 hw_addr 00:00:00:00:88:88 state inactive opstate detached
233 hw_addr 00:00:00:00:88:88 state active opstate detached
281 hw_addr 00:00:00:00:88:88 state active opstate attached
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dsf.h30 enum devlink_port_fn_opstate *opstate,
H A Ddevlink.c171 enum devlink_port_fn_opstate *opstate, in mlx5_devlink_sf_port_fn_state_get() argument
190 *opstate = mlx5_sf_to_devlink_opstate(sf->hw_state); in mlx5_devlink_sf_port_fn_state_get()
/openbmc/linux/net/devlink/
H A Dport.c300 devlink_port_fn_opstate_valid(enum devlink_port_fn_opstate opstate) in devlink_port_fn_opstate_valid() argument
302 return opstate == DEVLINK_PORT_FN_OPSTATE_DETACHED || in devlink_port_fn_opstate_valid()
303 opstate == DEVLINK_PORT_FN_OPSTATE_ATTACHED; in devlink_port_fn_opstate_valid()
311 enum devlink_port_fn_opstate opstate; in devlink_port_fn_state_fill() local
318 err = port->ops->port_fn_state_get(port, &state, &opstate, extack); in devlink_port_fn_state_fill()
329 if (!devlink_port_fn_opstate_valid(opstate)) { in devlink_port_fn_state_fill()
335 nla_put_u8(msg, DEVLINK_PORT_FN_ATTR_OPSTATE, opstate)) in devlink_port_fn_state_fill()
/openbmc/linux/drivers/nvme/host/
H A Dfc.c1845 int opstate; in __nvme_fc_abort_op() local
1848 opstate = atomic_xchg(&op->state, FCPOP_STATE_ABORTED); in __nvme_fc_abort_op()
1849 if (opstate != FCPOP_STATE_ACTIVE) in __nvme_fc_abort_op()
1850 atomic_set(&op->state, opstate); in __nvme_fc_abort_op()
1857 if (opstate != FCPOP_STATE_ACTIVE) in __nvme_fc_abort_op()
1884 struct nvme_fc_fcp_op *op, int opstate) in __nvme_fc_fcpop_chk_teardowns() argument
1888 if (opstate == FCPOP_STATE_ABORTED) { in __nvme_fc_fcpop_chk_teardowns()
1939 int opstate; in nvme_fc_fcpio_done() local
1978 opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE); in nvme_fc_fcpio_done()
1983 if (opstate == FCPOP_STATE_ABORTED) in nvme_fc_fcpio_done()
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-qup.c178 u32 opstate = readl_relaxed(controller->base + QUP_STATE); in spi_qup_is_valid_state() local
180 return opstate & QUP_STATE_VALID; in spi_qup_is_valid_state()
/openbmc/linux/include/net/
H A Ddevlink.h1636 enum devlink_port_fn_opstate *opstate,
/openbmc/linux/fs/xfs/
H A Dxfs_trace.h226 __field(unsigned long, opstate)
234 __entry->opstate = mp->m_opstate;
242 __print_flags(__entry->opstate, "|", XFS_OPSTATE_STRINGS),