/linux-6.3-rc2/drivers/scsi/bfa/ |
A D | bfa_cs.h | 190 #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 D | adv748x.h | 99 #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 D | bfa_cs.h | 71 #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 D | omap_device.c | 227 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 D | omap_hwmod.c | 1884 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 D | omap_device.h | 57 u8 _state; member
|
A D | omap_hwmod.h | 605 u8 _state; member
|
/linux-6.3-rc2/arch/s390/include/asm/ |
A D | elf.h | 196 struct arch_elf_state *_state = state; \ 204 _state->rc = -EAGAIN; \ 206 _state->rc; \
|
/linux-6.3-rc2/drivers/s390/cio/ |
A D | qdio.h | 110 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 D | speedstep-ich.c | 147 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 D | dmi-sysfs.c | 401 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 D | call_state.c | 66 call->_state = RXRPC_CALL_COMPLETE; in rxrpc_prefail_call()
|
A D | ar-internal.h | 643 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 D | malidp_mw.c | 24 #define to_mw_state(_state) (struct malidp_mw_connector_state *)(_state) argument
|
/linux-6.3-rc2/drivers/virtio/ |
A D | virtio_mem.c | 416 #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 D | intel_atomic.c | 583 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 D | intel_dp_mst.c | 474 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 D | intel_dp.c | 5021 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 D | intel_display.c | 6699 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 D | pl330.c | 252 #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 D | v4l2-subdev.c | 403 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 D | phy.c | 41 #define PHY_STATE_STR(_state) \ argument 42 case PHY_##_state: \ 43 return __stringify(_state); \
|
/linux-6.3-rc2/drivers/dma/qcom/ |
A D | gpi.c | 305 #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 D | clip.c | 825 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()
|