/linux/drivers/edac/ |
H A D | edac_module.c | 50 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/fs/xfs/ |
H A D | xfs_message.c | 142 long opstate; in xfs_warn_experimental() member 145 .opstate = XFS_OPSTATE_WARNED_SHRINK, in xfs_warn_experimental() 149 .opstate = XFS_OPSTATE_WARNED_LARP, in xfs_warn_experimental() 153 .opstate = XFS_OPSTATE_WARNED_LBS, in xfs_warn_experimental() 157 .opstate = XFS_OPSTATE_WARNED_METADIR, in xfs_warn_experimental() 161 .opstate = XFS_OPSTATE_WARNED_ZONED, in xfs_warn_experimental() 168 if (xfs_should_warn(mp, features[feat].opstate)) in xfs_warn_experimental()
|
H A D | xfs_trace.h | 528 __field(unsigned long, opstate) 536 __entry->opstate = mp->m_opstate; 544 __print_flags(__entry->opstate, "|", XFS_OPSTATE_STRINGS),
|
/linux/drivers/gpu/drm/tidss/ |
H A D | tidss_kms.c | 50 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()
|
/linux/drivers/media/platform/via/ |
H A D | via-camera.c | 67 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() 884 if (cam->opstate != S_IDLE) in viacam_s_fmt_vid_cap() 1019 enum viacam_opstate state = cam->opstate; in viacam_suspend() 1021 if (cam->opstate != S_IDLE) { in viacam_suspend() 1023 cam->opstate = state; /* So resume restarts */ in viacam_suspend() 1051 if (cam->opstate ! in viacam_resume() [all...] |
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | switchdev.rst | 144 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
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
H A D | sf.h | 30 enum devlink_port_fn_opstate *opstate,
|
H A D | devlink.c | 147 enum devlink_port_fn_opstate *opstate, in mlx5_devlink_sf_port_fn_state_get() argument 156 *opstate = mlx5_sf_to_devlink_opstate(sf->hw_state); in mlx5_devlink_sf_port_fn_state_get()
|
/linux/net/devlink/ |
H A D | port.c | 325 devlink_port_fn_opstate_valid(enum devlink_port_fn_opstate opstate) in devlink_port_fn_opstate_valid() argument 327 return opstate == DEVLINK_PORT_FN_OPSTATE_DETACHED || in devlink_port_fn_opstate_valid() 328 opstate == DEVLINK_PORT_FN_OPSTATE_ATTACHED; in devlink_port_fn_opstate_valid() 336 enum devlink_port_fn_opstate opstate; in devlink_port_fn_state_fill() local 343 err = port->ops->port_fn_state_get(port, &state, &opstate, extack); in devlink_port_fn_state_fill() 354 if (!devlink_port_fn_opstate_valid(opstate)) { in devlink_port_fn_state_fill() 360 nla_put_u8(msg, DEVLINK_PORT_FN_ATTR_OPSTATE, opstate)) in devlink_port_fn_state_fill()
|
/linux/drivers/nvme/host/ |
H A D | fc.c | 1810 int opstate; in __nvme_fc_abort_op() local 1813 opstate = atomic_xchg(&op->state, FCPOP_STATE_ABORTED); in __nvme_fc_abort_op() 1814 if (opstate != FCPOP_STATE_ACTIVE) in __nvme_fc_abort_op() 1815 atomic_set(&op->state, opstate); in __nvme_fc_abort_op() 1822 if (opstate != FCPOP_STATE_ACTIVE) in __nvme_fc_abort_op() 1849 struct nvme_fc_fcp_op *op, int opstate) in __nvme_fc_fcpop_chk_teardowns() argument 1853 if (opstate == FCPOP_STATE_ABORTED) { in __nvme_fc_fcpop_chk_teardowns() 1904 int opstate; in nvme_fc_fcpio_done() local 1943 opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE); in nvme_fc_fcpio_done() 1948 if (opstate in nvme_fc_fcpio_done() 2644 int ret, opstate; nvme_fc_start_fcp_op() local [all...] |
/linux/drivers/net/ethernet/intel/ice/devlink/ |
H A D | port.c | 776 * @opstate: current port operational state 786 enum devlink_port_fn_opstate *opstate, in ice_devlink_port_fn_state_get() argument 799 *opstate = DEVLINK_PORT_FN_OPSTATE_ATTACHED; in ice_devlink_port_fn_state_get() 801 *opstate = DEVLINK_PORT_FN_OPSTATE_DETACHED; in ice_devlink_port_fn_state_get()
|
/linux/drivers/spi/ |
H A D | spi-qup.c | 186 u32 opstate = readl_relaxed(controller->base + QUP_STATE); in spi_qup_is_valid_state() local 188 return opstate & QUP_STATE_VALID; in spi_qup_is_valid_state()
|
/linux/include/net/ |
H A D | devlink.h | 1684 enum devlink_port_fn_opstate *opstate,
|