/linux/drivers/scsi/bfa/ |
H A D | bfa_cs.h | 190 #define bfa_sm_set_state(_sm, _state) ((_sm)->sm = (_state)) argument 193 #define bfa_sm_cmp_state(_sm, _state) ((_sm)->sm == (_state)) argument 220 #define bfa_fsm_set_state(_fsm, _state) do { \ argument 221 (_fsm)->fsm = (_state); \ 222 _state ## _entry(_fsm); \ 227 #define bfa_fsm_cmp_state(_fsm, _state) ((_fsm)->fsm == (_state)) argument
|
/linux/drivers/media/i2c/adv748x/ |
H A D | adv748x.h | 98 #define is_afe_enabled(_state) \ argument 99 ((_state)->endpoints[ADV748X_PORT_AIN0] != NULL || \ 100 (_state)->endpoints[ADV748X_PORT_AIN1] != NULL || \ 101 (_state)->endpoints[ADV748X_PORT_AIN2] != NULL || \ 102 (_state)->endpoints[ADV748X_PORT_AIN3] != NULL || \ 103 (_state)->endpoints[ADV748X_PORT_AIN4] != NULL || \ 104 (_state)->endpoints[ADV748X_PORT_AIN5] != NULL || \ 105 (_state)->endpoints[ADV748X_PORT_AIN6] != NULL || \ 106 (_state)->endpoints[ADV748X_PORT_AIN7] != NULL) 107 #define is_hdmi_enabled(_state) ((_state)->endpoints[ADV748X_PORT_HDMI] != NULL) argument
|
/linux/drivers/net/ethernet/brocade/bna/ |
H 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/arch/arm/mach-omap2/ |
H 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() 471 if (od->_state == OMAP_DEVICE_STATE_ENABLED) { in omap_device_enable() 474 __func__, od->_state); in omap_device_enable() 481 od->_state = OMAP_DEVICE_STATE_ENABLED; in omap_device_enable() 502 if (od->_state != OMAP_DEVICE_STATE_ENABLED) { in omap_device_idle() 505 __func__, od->_state); in omap_device_idle() 512 od->_state = OMAP_DEVICE_STATE_IDLE; in omap_device_idle() 615 if (od->_state == OMAP_DEVICE_STATE_ENABLED) { in omap_device_late_idle()
|
H A D | omap_hwmod.c | 540 if (oh->_state != _HWMOD_STATE_ENABLED) { in _set_dmadisable() 1409 if (oh->_state != _HWMOD_STATE_REGISTERED) in _init_clocks() 1422 oh->_state = _HWMOD_STATE_CLKS_INITED; in _init_clocks() 1703 if (oh->_state != _HWMOD_STATE_ENABLED) { in _ocp_softreset() 1880 if (oh->_state != _HWMOD_STATE_INITIALIZED && in _enable() 1881 oh->_state != _HWMOD_STATE_IDLE && in _enable() 1882 oh->_state != _HWMOD_STATE_DISABLED) { in _enable() 1932 oh->_state = _HWMOD_STATE_ENABLED; in _enable() 1974 if (oh->_state != _HWMOD_STATE_ENABLED) { in _idle() 2009 oh->_state = _HWMOD_STATE_IDLE; in _idle() [all …]
|
H A D | omap_device.h | 57 u8 _state; member
|
H A D | omap_hwmod.h | 605 u8 _state; member
|
/linux/fs/bcachefs/ |
H A D | io_read.h | 46 u16 _state; member 132 BUG_ON(rbio->_state); in bch2_read() 149 rbio->_state = 0; in rbio_init()
|
/linux/arch/s390/include/asm/ |
H A D | elf.h | 204 struct arch_elf_state *_state = state; \ 212 _state->rc = -EAGAIN; \ 214 _state->rc; \
|
/linux/drivers/s390/cio/ |
H 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/drivers/cpufreq/ |
H 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/drivers/firmware/ |
H A D | dmi-sysfs.c | 403 void *_state) in dmi_sel_raw_read_helper() argument 405 struct dmi_read_state *state = _state; in dmi_sel_raw_read_helper() 529 void *_state) in dmi_entry_raw_read_helper() argument 531 struct dmi_read_state *state = _state; in dmi_entry_raw_read_helper()
|
/linux/fs/cachefiles/ |
H A D | internal.h | 324 #define CACHEFILES_OBJECT_STATE_FUNCS(_state, _STATE) \ argument 326 cachefiles_ondemand_object_is_##_state(const struct cachefiles_object *object) \ 332 cachefiles_ondemand_set_object_##_state(struct cachefiles_object *object) \
|
/linux/drivers/virtio/ |
H A D | virtio_mem.c | 423 #define virtio_mem_bbm_for_each_bb(_vm, _bb_id, _state) \ argument 425 _bb_id < vm->bbm.next_bb_id && _vm->bbm.bb_count[_state]; \ 427 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state) 429 #define virtio_mem_bbm_for_each_bb_rev(_vm, _bb_id, _state) \ argument 431 _bb_id >= vm->bbm.first_bb_id && _vm->bbm.bb_count[_state]; \ 433 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state) 489 #define virtio_mem_sbm_for_each_mb(_vm, _mb_id, _state) \ argument 491 _mb_id < _vm->sbm.next_mb_id && _vm->sbm.mb_count[_state]; \ 493 if (virtio_mem_sbm_get_mb_state(_vm, _mb_id) == _state) 495 #define virtio_mem_sbm_for_each_mb_rev(_vm, _mb_id, _state) \ argument [all …]
|
/linux/net/rxrpc/ |
H A D | call_state.c | 66 call->_state = RXRPC_CALL_COMPLETE; in rxrpc_prefail_call()
|
H A D | ar-internal.h | 661 enum rxrpc_call_state _state; /* Current state of call (needs barrier) */ member 926 smp_store_release(&call->_state, state); in rxrpc_set_call_state() 932 return call->_state; /* Only inside I/O thread */ in __rxrpc_call_state() 943 return smp_load_acquire(&call->_state); in rxrpc_call_state()
|
/linux/drivers/gpu/drm/arm/ |
H A D | malidp_mw.c | 24 #define to_mw_state(_state) (struct malidp_mw_connector_state *)(_state) argument
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_atomic.c | 337 void intel_atomic_state_free(struct drm_atomic_state *_state) in intel_atomic_state_free() argument 339 struct intel_atomic_state *state = to_intel_atomic_state(_state); in intel_atomic_state_free()
|
H A D | intel_tc.c | 1681 struct drm_atomic_state *_state; in reset_link() local 1685 _state = drm_atomic_state_alloc(&i915->drm); in reset_link() 1686 if (!_state) in reset_link() 1689 state = to_intel_atomic_state(_state); in reset_link()
|
H A D | intel_display.h | 574 int intel_atomic_commit(struct drm_device *dev, struct drm_atomic_state *_state,
|
/linux/drivers/dma/ |
H A D | pl330.c | 252 #define UNTIL(t, s) while (!(_state(t) & (s))) cpu_relax(); 916 static inline u32 _state(struct pl330_thread *thrd) in _state() function 980 if (_state(thrd) == PL330_STATE_FAULT_COMPLETING) in _stop() 984 if (_state(thrd) == PL330_STATE_COMPLETING in _stop() 985 || _state(thrd) == PL330_STATE_KILLING in _stop() 986 || _state(thrd) == PL330_STATE_STOPPED) in _stop() 1012 if (_state(thrd) != PL330_STATE_STOPPED) in _trigger() 1061 switch (_state(thrd)) { in pl330_start_thread() 1065 if (_state(thrd) == PL330_STATE_KILLING) in pl330_start_thread()
|
/linux/drivers/dma/qcom/ |
H 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/drivers/media/v4l2-core/ |
H A D | v4l2-subdev.c | 489 static int call_##f##_state(struct v4l2_subdev *sd, \ 490 struct v4l2_subdev_state *_state, \ 493 struct v4l2_subdev_state *state = _state; \ 495 if (!_state) \ 498 if (!_state && state) \ 506 static int call_##f##_state(struct v4l2_subdev *sd, \
|
/linux/drivers/net/phy/ |
H A D | phy.c | 41 #define PHY_STATE_STR(_state) \ argument 42 case PHY_##_state: \ 43 return __stringify(_state); \
|
/linux/net/atm/ |
H 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()
|