| /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()
|
| H A D | pasemi_edac.c | 284 /* Ensure that the OPSTATE is set correctly for POLL or NMI */ in pasemi_edac_init()
|
| H A D | skx_base.c | 684 /* Ensure that the OPSTATE is set correctly for POLL or NMI */ in skx_init()
|
| H A D | pnd2_edac.c | 1549 /* Ensure that the OPSTATE is set correctly for POLL or NMI */ in pnd2_init()
|
| H A D | sb_edac.c | 3642 /* Ensure that the OPSTATE is set correctly for POLL or NMI */ in sbridge_init()
|
| /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/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 != S_IDLE) { in viacam_resume() [all …]
|
| /linux/net/devlink/ |
| H A D | port.c | 315 devlink_port_fn_opstate_valid(enum devlink_port_fn_opstate opstate) in devlink_port_fn_hw_addr_fill() 317 return opstate == DEVLINK_PORT_FN_OPSTATE_DETACHED || in devlink_port_fn_hw_addr_fill() 318 opstate == DEVLINK_PORT_FN_OPSTATE_ATTACHED; in devlink_port_fn_hw_addr_fill() 326 enum devlink_port_fn_opstate opstate; 333 err = port->ops->port_fn_state_get(port, &state, &opstate, extack); 344 if (!devlink_port_fn_opstate_valid(opstate)) { in devlink_port_fn_state_fill() 350 nla_put_u8(msg, DEVLINK_PORT_FN_ATTR_OPSTATE, opstate)) in devlink_port_fn_state_fill() 328 devlink_port_fn_opstate_valid(enum devlink_port_fn_opstate opstate) devlink_port_fn_opstate_valid() argument 339 enum devlink_port_fn_opstate opstate; devlink_port_fn_state_fill() local
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
| H A D | sf.h | 36 enum devlink_port_fn_opstate *opstate,
|
| H A D | devlink.c | 144 enum devlink_port_fn_opstate *opstate, in mlx5_devlink_sf_port_fn_state_get() argument 153 *opstate = mlx5_sf_to_devlink_opstate(sf->hw_state); in mlx5_devlink_sf_port_fn_state_get()
|
| /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/nvme/host/ |
| H A D | fc.c | 1814 int opstate; in __nvme_fc_abort_op() local 1817 opstate = atomic_xchg(&op->state, FCPOP_STATE_ABORTED); in __nvme_fc_abort_op() 1818 if (opstate != FCPOP_STATE_ACTIVE) in __nvme_fc_abort_op() 1819 atomic_set(&op->state, opstate); in __nvme_fc_abort_op() 1826 if (opstate != FCPOP_STATE_ACTIVE) in __nvme_fc_abort_op() 1853 struct nvme_fc_fcp_op *op, int opstate) in __nvme_fc_fcpop_chk_teardowns() argument 1857 if (opstate == FCPOP_STATE_ABORTED) { in __nvme_fc_fcpop_chk_teardowns() 1908 int opstate; in nvme_fc_fcpio_done() local 1947 opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE); in nvme_fc_fcpio_done() 1952 if (opstate == FCPOP_STATE_ABORTED) in nvme_fc_fcpio_done() [all …]
|
| /linux/Documentation/netlink/specs/ |
| H A D | devlink.yaml | 60 name: port-fn-opstate 986 name: opstate 988 enum: port-fn-opstate 1007 Port function attributes that can be configured; opstate and the
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | eswitch.h | 625 enum devlink_port_fn_opstate *opstate,
|
| H A D | eswitch_offloads.c | 5299 enum devlink_port_fn_opstate *opstate, in mlx5_devlink_pf_port_fn_state_get() 5330 *opstate = pf_disabled ? DEVLINK_PORT_FN_OPSTATE_DETACHED : in mlx5_devlink_pf_port_fn_state_set() 5276 mlx5_devlink_pf_port_fn_state_get(struct devlink_port * port,enum devlink_port_fn_state * state,enum devlink_port_fn_opstate * opstate,struct netlink_ext_ack * extack) mlx5_devlink_pf_port_fn_state_get() argument
|
| /linux/fs/xfs/ |
| H A D | xfs_trace.h | 534 __field(unsigned long, opstate) 542 __entry->opstate = mp->m_opstate; 547 TP_printk("dev %d:%d m_features 0x%llx opstate (%s) s_flags 0x%lx caller %pS", 550 __print_flags(__entry->opstate, "|", XFS_OPSTATE_STRINGS),
|
| /linux/include/net/ |
| H A D | devlink.h | 1777 enum devlink_port_fn_opstate *opstate,
|