Home
last modified time | relevance | path

Searched refs:_state (Results 1 – 24 of 24) sorted by relevance

/linux-6.3-rc2/drivers/scsi/bfa/
A Dbfa_cs.h190 #define bfa_sm_set_state(_sm, _state) ((_sm)->sm = (bfa_sm_t)(_state)) argument
193 #define bfa_sm_cmp_state(_sm, _state) ((_sm)->sm == (bfa_sm_t)(_state)) argument
220 #define bfa_fsm_set_state(_fsm, _state) do { \ argument
221 (_fsm)->fsm = (bfa_fsm_t)(_state); \
222 _state ## _entry(_fsm); \
227 #define bfa_fsm_cmp_state(_fsm, _state) \ argument
228 ((_fsm)->fsm == (bfa_fsm_t)(_state))
/linux-6.3-rc2/drivers/media/i2c/adv748x/
A Dadv748x.h99 #define is_afe_enabled(_state) \ argument
100 ((_state)->endpoints[ADV748X_PORT_AIN0] != NULL || \
101 (_state)->endpoints[ADV748X_PORT_AIN1] != NULL || \
102 (_state)->endpoints[ADV748X_PORT_AIN2] != NULL || \
103 (_state)->endpoints[ADV748X_PORT_AIN3] != NULL || \
104 (_state)->endpoints[ADV748X_PORT_AIN4] != NULL || \
105 (_state)->endpoints[ADV748X_PORT_AIN5] != NULL || \
106 (_state)->endpoints[ADV748X_PORT_AIN6] != NULL || \
107 (_state)->endpoints[ADV748X_PORT_AIN7] != NULL)
108 #define is_hdmi_enabled(_state) ((_state)->endpoints[ADV748X_PORT_HDMI] != NULL) argument
/linux-6.3-rc2/drivers/net/ethernet/brocade/bna/
A Dbfa_cs.h71 #define bfa_fsm_set_state(_fsm, _state) do { \ argument
72 (_fsm)->fsm = (_state); \
73 _state ## _entry(_fsm); \
77 #define bfa_fsm_cmp_state(_fsm, _state) ((_fsm)->fsm == (_state)) argument
/linux-6.3-rc2/arch/arm/mach-omap2/
A Domap_device.c227 if (od && (od->_state == OMAP_DEVICE_STATE_ENABLED)) { in _omap_device_notifier_call()
238 if (od->_state == OMAP_DEVICE_STATE_ENABLED && in _omap_device_notifier_call()
472 if (od->_state == OMAP_DEVICE_STATE_ENABLED) { in omap_device_enable()
475 __func__, od->_state); in omap_device_enable()
482 od->_state = OMAP_DEVICE_STATE_ENABLED; in omap_device_enable()
503 if (od->_state != OMAP_DEVICE_STATE_ENABLED) { in omap_device_idle()
506 __func__, od->_state); in omap_device_idle()
513 od->_state = OMAP_DEVICE_STATE_IDLE; in omap_device_idle()
616 if (od->_state == OMAP_DEVICE_STATE_ENABLED) { in omap_device_late_idle()
A Domap_hwmod.c1884 oh->_state != _HWMOD_STATE_IDLE && in _enable()
1935 oh->_state = _HWMOD_STATE_ENABLED; in _enable()
2012 oh->_state = _HWMOD_STATE_IDLE; in _idle()
2034 if (oh->_state != _HWMOD_STATE_IDLE && in _shutdown()
2044 prev_state = oh->_state; in _shutdown()
2045 if (oh->_state == _HWMOD_STATE_IDLE) in _shutdown()
2056 if (oh->_state == _HWMOD_STATE_IDLE) in _shutdown()
2078 oh->_state = _HWMOD_STATE_DISABLED; in _shutdown()
2450 oh->name, oh->_state); in _setup_reset()
2614 oh->_state = _HWMOD_STATE_REGISTERED; in _register()
[all …]
A Domap_device.h57 u8 _state; member
A Domap_hwmod.h605 u8 _state; member
/linux-6.3-rc2/arch/s390/include/asm/
A Delf.h196 struct arch_elf_state *_state = state; \
204 _state->rc = -EAGAIN; \
206 _state->rc; \
/linux-6.3-rc2/drivers/s390/cio/
A Dqdio.h110 unsigned long _state = (unsigned long)ack << 63; in do_eqbs() local
117 [state] "+&d" (_state) in do_eqbs()
122 *state = _state & 0xff; in do_eqbs()
/linux-6.3-rc2/drivers/cpufreq/
A Dspeedstep-ich.c147 static void _speedstep_set_state(void *_state) in _speedstep_set_state() argument
149 speedstep_set_state(*(unsigned int *)_state); in _speedstep_set_state()
/linux-6.3-rc2/drivers/firmware/
A Ddmi-sysfs.c401 void *_state) in dmi_sel_raw_read_helper() argument
403 struct dmi_read_state *state = _state; in dmi_sel_raw_read_helper()
525 void *_state) in dmi_entry_raw_read_helper() argument
527 struct dmi_read_state *state = _state; in dmi_entry_raw_read_helper()
/linux-6.3-rc2/net/rxrpc/
A Dcall_state.c66 call->_state = RXRPC_CALL_COMPLETE; in rxrpc_prefail_call()
A Dar-internal.h643 enum rxrpc_call_state _state; /* Current state of call (needs barrier) */ member
911 smp_store_release(&call->_state, state); in rxrpc_set_call_state()
917 return call->_state; /* Only inside I/O thread */ in __rxrpc_call_state()
928 return smp_load_acquire(&call->_state); in rxrpc_call_state()
/linux-6.3-rc2/drivers/gpu/drm/arm/
A Dmalidp_mw.c24 #define to_mw_state(_state) (struct malidp_mw_connector_state *)(_state) argument
/linux-6.3-rc2/drivers/virtio/
A Dvirtio_mem.c416 #define virtio_mem_bbm_for_each_bb(_vm, _bb_id, _state) \ argument
418 _bb_id < vm->bbm.next_bb_id && _vm->bbm.bb_count[_state]; \
420 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state)
422 #define virtio_mem_bbm_for_each_bb_rev(_vm, _bb_id, _state) \ argument
424 _bb_id >= vm->bbm.first_bb_id && _vm->bbm.bb_count[_state]; \
426 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state)
482 #define virtio_mem_sbm_for_each_mb(_vm, _mb_id, _state) \ argument
484 _mb_id < _vm->sbm.next_mb_id && _vm->sbm.mb_count[_state]; \
486 if (virtio_mem_sbm_get_mb_state(_vm, _mb_id) == _state)
488 #define virtio_mem_sbm_for_each_mb_rev(_vm, _mb_id, _state) \ argument
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_atomic.c583 void intel_atomic_state_free(struct drm_atomic_state *_state) in intel_atomic_state_free() argument
585 struct intel_atomic_state *state = to_intel_atomic_state(_state); in intel_atomic_state_free()
A Dintel_dp_mst.c474 struct drm_atomic_state *_state) in intel_dp_mst_atomic_check() argument
476 struct intel_atomic_state *state = to_intel_atomic_state(_state); in intel_dp_mst_atomic_check()
A Dintel_dp.c5021 struct drm_atomic_state *_state) in intel_dp_connector_atomic_check() argument
5024 struct intel_atomic_state *state = to_intel_atomic_state(_state); in intel_dp_connector_atomic_check()
5025 struct drm_connector_state *conn_state = drm_atomic_get_new_connector_state(_state, conn); in intel_dp_connector_atomic_check()
A Dintel_display.c6699 struct drm_atomic_state *_state) in intel_atomic_check() argument
6702 struct intel_atomic_state *state = to_intel_atomic_state(_state); in intel_atomic_check()
7673 struct drm_atomic_state *_state, in intel_atomic_commit() argument
7676 struct intel_atomic_state *state = to_intel_atomic_state(_state); in intel_atomic_commit()
/linux-6.3-rc2/drivers/dma/
A Dpl330.c252 #define UNTIL(t, s) while (!(_state(t) & (s))) cpu_relax();
910 static inline u32 _state(struct pl330_thread *thrd) in _state() function
974 if (_state(thrd) == PL330_STATE_FAULT_COMPLETING) in _stop()
978 if (_state(thrd) == PL330_STATE_COMPLETING in _stop()
979 || _state(thrd) == PL330_STATE_KILLING in _stop()
980 || _state(thrd) == PL330_STATE_STOPPED) in _stop()
1006 if (_state(thrd) != PL330_STATE_STOPPED) in _trigger()
1055 switch (_state(thrd)) { in _start()
1059 if (_state(thrd) == PL330_STATE_KILLING) in _start()
/linux-6.3-rc2/drivers/media/v4l2-core/
A Dv4l2-subdev.c403 static int call_##f##_state(struct v4l2_subdev *sd, \
404 struct v4l2_subdev_state *_state, \
407 struct v4l2_subdev_state *state = _state; \
409 if (!_state) \
412 if (!_state && state) \
420 static int call_##f##_state(struct v4l2_subdev *sd, \
/linux-6.3-rc2/drivers/net/phy/
A Dphy.c41 #define PHY_STATE_STR(_state) \ argument
42 case PHY_##_state: \
43 return __stringify(_state); \
/linux-6.3-rc2/drivers/dma/qcom/
A Dgpi.c305 #define TO_GPI_EV_STATE_STR(_state) (((_state) >= MAX_EV_STATES) ? \ argument
306 "INVALID" : gpi_ev_state_str[(_state)])
388 #define TO_GPI_PM_STR(_state) (((_state) >= MAX_PM_STATE) ? \ argument
389 "INVALID" : gpi_pm_state_str[(_state)])
/linux-6.3-rc2/net/atm/
A Dclip.c825 static void *clip_seq_sub_iter(struct neigh_seq_state *_state, in clip_seq_sub_iter() argument
828 struct clip_seq_state *state = (struct clip_seq_state *)_state; in clip_seq_sub_iter()

Completed in 131 milliseconds