Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbfa_cs.h43 #define bfa_fsm_set_state(_fsm, _state) do { \ argument
44 (_fsm)->fsm = (bfa_fsm_t)(_state); \
45 _state ## _entry(_fsm); \
49 #define bfa_fsm_cmp_state(_fsm, _state) \ argument
50 ((_fsm)->fsm == (bfa_fsm_t)(_state))
/kernel/linux/linux-5.10/drivers/scsi/bfa/
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))
/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/
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
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Domap_device.c224 if (od && (od->_state == OMAP_DEVICE_STATE_ENABLED)) { in _omap_device_notifier_call()
235 if (od->_state == OMAP_DEVICE_STATE_ENABLED && in _omap_device_notifier_call()
515 if (od->_state == OMAP_DEVICE_STATE_ENABLED) { in omap_device_enable()
518 __func__, od->_state); in omap_device_enable()
525 od->_state = OMAP_DEVICE_STATE_ENABLED; in omap_device_enable()
546 if (od->_state != OMAP_DEVICE_STATE_ENABLED) { in omap_device_idle()
549 __func__, od->_state); in omap_device_idle()
556 od->_state = OMAP_DEVICE_STATE_IDLE; in omap_device_idle()
691 if (od->_state == OMAP_DEVICE_STATE_ENABLED) { in omap_device_late_idle()
Domap_hwmod.c540 if (oh->_state != _HWMOD_STATE_ENABLED) { in _set_dmadisable()
1407 if (oh->_state != _HWMOD_STATE_REGISTERED) in _init_clocks()
1420 oh->_state = _HWMOD_STATE_CLKS_INITED; in _init_clocks()
1701 if (oh->_state != _HWMOD_STATE_ENABLED) { in _ocp_softreset()
1878 if (oh->_state != _HWMOD_STATE_INITIALIZED && in _enable()
1879 oh->_state != _HWMOD_STATE_IDLE && in _enable()
1880 oh->_state != _HWMOD_STATE_DISABLED) { in _enable()
1930 oh->_state = _HWMOD_STATE_ENABLED; in _enable()
1972 if (oh->_state != _HWMOD_STATE_ENABLED) { in _idle()
2007 oh->_state = _HWMOD_STATE_IDLE; in _idle()
[all …]
Domap_device.h60 u8 _state; member
Domap_hwmod.h605 u8 _state; member
/kernel/linux/linux-5.10/arch/s390/include/asm/
Delf.h172 struct arch_elf_state *_state = state; \
180 _state->rc = -EAGAIN; \
182 _state->rc; \
/kernel/linux/linux-5.10/drivers/cpufreq/
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()
/kernel/linux/linux-5.10/drivers/s390/cio/
Dqdio.h112 unsigned long _state = (unsigned long)ack << 63; in do_eqbs() local
116 : "+d" (_ccq), "+d" (_queuestart), "+d" (_state) in do_eqbs()
121 *state = _state & 0xff; in do_eqbs()
/kernel/linux/linux-5.10/drivers/firmware/
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()
524 void *_state) in dmi_entry_raw_read_helper() argument
526 struct dmi_read_state *state = _state; in dmi_entry_raw_read_helper()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/
Dmalidp_mw.c22 #define to_mw_state(_state) (struct malidp_mw_connector_state *)(_state) argument
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_mem.c283 #define virtio_mem_for_each_mb_state(_vm, _mb_id, _state) \ argument
285 _mb_id < _vm->next_mb_id && _vm->nb_mb_state[_state]; \
287 if (virtio_mem_mb_get_state(_vm, _mb_id) == _state)
289 #define virtio_mem_for_each_mb_state_rev(_vm, _mb_id, _state) \ argument
291 _mb_id >= _vm->first_mb_id && _vm->nb_mb_state[_state]; \
293 if (virtio_mem_mb_get_state(_vm, _mb_id) == _state)
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_atomic.c510 void intel_atomic_state_free(struct drm_atomic_state *_state) in intel_atomic_state_free() argument
512 struct intel_atomic_state *state = to_intel_atomic_state(_state); in intel_atomic_state_free()
Dintel_dp_mst.c278 struct drm_atomic_state *_state) in intel_dp_mst_atomic_check() argument
280 struct intel_atomic_state *state = to_intel_atomic_state(_state); in intel_dp_mst_atomic_check()
Dintel_dp.c6765 struct drm_atomic_state *_state) in intel_dp_connector_atomic_check() argument
6768 struct intel_atomic_state *state = to_intel_atomic_state(_state); in intel_dp_connector_atomic_check()
Dintel_display.c14891 struct drm_atomic_state *_state) in intel_atomic_check() argument
14894 struct intel_atomic_state *state = to_intel_atomic_state(_state); in intel_atomic_check()
15771 struct drm_atomic_state *_state, in intel_atomic_commit() argument
15774 struct intel_atomic_state *state = to_intel_atomic_state(_state); in intel_atomic_commit()
/kernel/linux/linux-5.10/drivers/dma/
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()
/kernel/linux/linux-5.10/drivers/net/phy/
Dphy.c40 #define PHY_STATE_STR(_state) \ argument
41 case PHY_##_state: \
42 return __stringify(_state); \
/kernel/linux/linux-5.10/net/atm/
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()
/kernel/linux/linux-5.10/Documentation/filesystems/ext4/
Dsuper.rst98 - s\_state
/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c692 static int copy_##NAME##_state(struct bpf_func_state *dst, \
713 static int realloc_##NAME##_state(struct bpf_func_state *state, int size, \ in COPY_STATE_FN()
717 struct bpf_##NAME##_state *new_##FIELD; \ in COPY_STATE_FN()
730 new_##FIELD = kmalloc_array(slot, sizeof(struct bpf_##NAME##_state), \ in COPY_STATE_FN()