/kernel/linux/linux-5.10/net/rxrpc/ |
H A D | recvmsg.c | 62 * Transition a call to the complete state. 69 if (call->state < RXRPC_CALL_COMPLETE) { in __rxrpc_set_call_completion() 73 call->state = RXRPC_CALL_COMPLETE; in __rxrpc_set_call_completion() 89 if (call->state < RXRPC_CALL_COMPLETE) { in rxrpc_set_call_completion() 109 if (call->state < RXRPC_CALL_COMPLETE) { in rxrpc_call_completed() 171 pr_err("Invalid terminal call state %u\n", call->state); in rxrpc_recvmsg_term() 186 _enter("%d,%s", call->debug_id, rxrpc_call_states[call->state]); in rxrpc_end_rx_phase() 191 if (call->state == RXRPC_CALL_CLIENT_RECV_REPLY) { in rxrpc_end_rx_phase() 199 switch (call->state) { in rxrpc_end_rx_phase() [all...] |
/kernel/linux/linux-5.10/kernel/debug/ |
H A D | debug_core.c | 106 [0 ... KGDB_MAX_BREAKPOINTS-1] = { .state = BP_UNDEFINED } 316 if (kgdb_break[i].state != BP_SET) in dbg_activate_sw_breakpoints() 328 kgdb_break[i].state = BP_ACTIVE; in dbg_activate_sw_breakpoints() 344 if ((kgdb_break[i].state == BP_SET) && in dbg_set_sw_break() 349 if (kgdb_break[i].state == BP_REMOVED && in dbg_set_sw_break() 358 if (kgdb_break[i].state == BP_UNDEFINED) { in dbg_set_sw_break() 368 kgdb_break[breakno].state = BP_SET; in dbg_set_sw_break() 382 if (kgdb_break[i].state != BP_ACTIVE) in dbg_deactivate_sw_breakpoints() 392 kgdb_break[i].state = BP_SET; in dbg_deactivate_sw_breakpoints() 403 if ((kgdb_break[i].state in dbg_remove_sw_break() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_dc.c | 563 struct drm_atomic_state *state; member 571 struct drm_atomic_state *old_state = commit->state; in atmel_hlcdc_dc_atomic_complete() 602 struct drm_atomic_state *state, in atmel_hlcdc_dc_atomic_commit() 609 ret = drm_atomic_helper_prepare_planes(dev, state); in atmel_hlcdc_dc_atomic_commit() 622 commit->state = state; in atmel_hlcdc_dc_atomic_commit() 635 BUG_ON(drm_atomic_helper_swap_state(state, false) < 0); in atmel_hlcdc_dc_atomic_commit() 637 /* Swap state succeeded, this is the point of no return. */ in atmel_hlcdc_dc_atomic_commit() 638 drm_atomic_state_get(state); in atmel_hlcdc_dc_atomic_commit() 649 drm_atomic_helper_cleanup_planes(dev, state); in atmel_hlcdc_dc_atomic_commit() 601 atmel_hlcdc_dc_atomic_commit(struct drm_device *dev, struct drm_atomic_state *state, bool async) atmel_hlcdc_dc_atomic_commit() argument 880 struct drm_atomic_state *state; atmel_hlcdc_dc_drm_suspend() local [all...] |
/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | vrc4173_cardu.c | 168 uint32_t state; in cardu_get_status() local 188 state = cardbus_socket_readl(socket, SKT_PRE_STATE); in cardu_get_status() 189 if (state & VOL_3V_CARD_DT) val |= SS_3VCARD; in cardu_get_status() 190 if (state & VOL_XV_CARD_DT) val |= SS_XVCARD; in cardu_get_status() 191 if (state & CB_CARD_DT) val |= SS_CARDBUS; in cardu_get_status() 192 if (!(state & in cardu_get_status() 226 static int cardu_set_socket(unsigned int sock, socket_state_t *state) in cardu_set_socket() argument 231 if (((state->Vpp == 33) || (state->Vpp == 50)) && (state in cardu_set_socket() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_irq.c | 696 enum amdgpu_interrupt_state state) in amdgpu_dm_set_hpd_irq_state() 699 bool st = (state == AMDGPU_IRQ_STATE_ENABLE); in amdgpu_dm_set_hpd_irq_state() 708 enum amdgpu_interrupt_state state, in dm_irq_state() 730 st = (state == AMDGPU_IRQ_STATE_ENABLE); in dm_irq_state() 739 enum amdgpu_interrupt_state state) in amdgpu_dm_set_pflip_irq_state() 745 state, in amdgpu_dm_set_pflip_irq_state() 753 enum amdgpu_interrupt_state state) in amdgpu_dm_set_crtc_irq_state() 759 state, in amdgpu_dm_set_crtc_irq_state() 767 enum amdgpu_interrupt_state state) in amdgpu_dm_set_vline0_irq_state() 773 state, in amdgpu_dm_set_vline0_irq_state() 693 amdgpu_dm_set_hpd_irq_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned int type, enum amdgpu_interrupt_state state) amdgpu_dm_set_hpd_irq_state() argument 705 dm_irq_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned int crtc_id, enum amdgpu_interrupt_state state, const enum irq_type dal_irq_type, const char *func) dm_irq_state() argument 736 amdgpu_dm_set_pflip_irq_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned int crtc_id, enum amdgpu_interrupt_state state) amdgpu_dm_set_pflip_irq_state() argument 750 amdgpu_dm_set_crtc_irq_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned int crtc_id, enum amdgpu_interrupt_state state) amdgpu_dm_set_crtc_irq_state() argument 764 amdgpu_dm_set_vline0_irq_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned int crtc_id, enum amdgpu_interrupt_state state) amdgpu_dm_set_vline0_irq_state() argument 778 amdgpu_dm_set_dmub_outbox_irq_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned int crtc_id, enum amdgpu_interrupt_state state) amdgpu_dm_set_dmub_outbox_irq_state() argument 790 amdgpu_dm_set_vupdate_irq_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned int crtc_id, enum amdgpu_interrupt_state state) amdgpu_dm_set_vupdate_irq_state() argument 804 amdgpu_dm_set_dmub_trace_irq_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned int type, enum amdgpu_interrupt_state state) amdgpu_dm_set_dmub_trace_irq_state() argument [all...] |
/kernel/linux/linux-6.6/kernel/debug/ |
H A D | debug_core.c | 102 [0 ... KGDB_MAX_BREAKPOINTS-1] = { .state = BP_UNDEFINED } 300 if (kgdb_break[i].state != BP_SET) in dbg_activate_sw_breakpoints() 312 kgdb_break[i].state = BP_ACTIVE; in dbg_activate_sw_breakpoints() 328 if ((kgdb_break[i].state == BP_SET) && in dbg_set_sw_break() 333 if (kgdb_break[i].state == BP_REMOVED && in dbg_set_sw_break() 342 if (kgdb_break[i].state == BP_UNDEFINED) { in dbg_set_sw_break() 352 kgdb_break[breakno].state = BP_SET; in dbg_set_sw_break() 366 if (kgdb_break[i].state != BP_ACTIVE) in dbg_deactivate_sw_breakpoints() 376 kgdb_break[i].state = BP_SET; in dbg_deactivate_sw_breakpoints() 387 if ((kgdb_break[i].state in dbg_remove_sw_break() [all...] |
/kernel/linux/linux-6.6/drivers/pcmcia/ |
H A D | pd6729.c | 294 static int pd6729_set_socket(struct pcmcia_socket *sock, socket_state_t *state) in pd6729_set_socket() argument 305 socket->card_irq = state->io_irq; in pd6729_set_socket() 309 if (!(state->flags & SS_RESET)) in pd6729_set_socket() 311 if (state->flags & SS_IOCARD) in pd6729_set_socket() 321 if (state->flags & SS_PWR_AUTO) { in pd6729_set_socket() 325 if (state->flags & SS_OUTPUT_ENA) { in pd6729_set_socket() 330 switch (state->Vcc) { in pd6729_set_socket() 350 "value: %i\n", state->Vcc); in pd6729_set_socket() 354 switch (state->Vpp) { in pd6729_set_socket() 371 "invalid VPP power value: %i\n", state in pd6729_set_socket() [all...] |
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | sysfs.c | 174 if (!(xprt && xprt->state)) { in rpc_sysfs_xprt_state_show() 175 ret = sprintf(buf, "state=CLOSED\n"); in rpc_sysfs_xprt_state_show() 177 locked = test_bit(XPRT_LOCKED, &xprt->state); in rpc_sysfs_xprt_state_show() 178 connected = test_bit(XPRT_CONNECTED, &xprt->state); in rpc_sysfs_xprt_state_show() 179 connecting = test_bit(XPRT_CONNECTING, &xprt->state); in rpc_sysfs_xprt_state_show() 180 close_wait = test_bit(XPRT_CLOSE_WAIT, &xprt->state); in rpc_sysfs_xprt_state_show() 181 bound = test_bit(XPRT_BOUND, &xprt->state); in rpc_sysfs_xprt_state_show() 182 binding = test_bit(XPRT_BINDING, &xprt->state); in rpc_sysfs_xprt_state_show() 183 closing = test_bit(XPRT_CLOSING, &xprt->state); in rpc_sysfs_xprt_state_show() 184 congested = test_bit(XPRT_CONGESTED, &xprt->state); in rpc_sysfs_xprt_state_show() [all...] |
/third_party/mbedtls/library/ |
H A D | md5.c | 55 ctx->state[0] = 0x67452301; in mbedtls_md5_starts() 56 ctx->state[1] = 0xEFCDAB89; in mbedtls_md5_starts() 57 ctx->state[2] = 0x98BADCFE; in mbedtls_md5_starts() 58 ctx->state[3] = 0x10325476; in mbedtls_md5_starts() 98 local.A = ctx->state[0]; in mbedtls_internal_md5_process() 99 local.B = ctx->state[1]; in mbedtls_internal_md5_process() 100 local.C = ctx->state[2]; in mbedtls_internal_md5_process() 101 local.D = ctx->state[3]; in mbedtls_internal_md5_process() 187 ctx->state[0] += local.A; in mbedtls_internal_md5_process() 188 ctx->state[ in mbedtls_internal_md5_process() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_state_viewport.c | 152 unsigned num_scissors, const struct pipe_scissor_state *state) in si_set_scissor_states() 158 ctx->scissors[start_slot + i] = state[i]; in si_set_scissor_states() 281 /* Blits don't set the viewport state. The vertex shader determines in si_emit_guardband() 431 unsigned num_viewports, const struct pipe_viewport_state *state) in si_set_viewport_states() 440 ctx->viewports.states[index] = state[i]; in si_set_viewport_states() 442 si_get_scissor_from_viewport(ctx, &state[i], scissor); in si_set_viewport_states() 483 -state->scale[1] + state->translate[1] > state->scale[1] + state in si_set_viewport_states() 151 si_set_scissor_states(struct pipe_context *pctx, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *state) si_set_scissor_states() argument 430 si_set_viewport_states(struct pipe_context *pctx, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *state) si_set_viewport_states() argument 495 si_emit_one_viewport(struct si_context *ctx, struct pipe_viewport_state *state) si_emit_one_viewport() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | StateManagerGL.h | 7 // StateManagerGL.h: Defines a class for caching applied OpenGL state 301 void syncFromNativeContext(const gl::Extensions &extensions, ExternalContextState *state); 302 void restoreNativeContext(const gl::Extensions &extensions, const ExternalContextState *state); 333 void syncBlendFromNativeContext(const gl::Extensions &extensions, ExternalContextState *state); 335 const ExternalContextState *state); 338 ExternalContextState *state); 340 const ExternalContextState *state); 343 ExternalContextState *state); 345 const ExternalContextState *state); 348 ExternalContextState *state); [all...] |
/third_party/python/Modules/ |
H A D | _bz2module.c | 92 void *state = PyModule_GetState(module); in get_bz2_state() local 93 assert(state != NULL); in get_bz2_state() 94 return (_bz2_state *)state; in get_bz2_state() 778 _bz2_state *state = get_bz2_state(module); in _bz2_exec() local 779 state->bz2_compressor_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, in _bz2_exec() 781 if (state->bz2_compressor_type == NULL) { in _bz2_exec() 785 if (PyModule_AddType(module, state->bz2_compressor_type) < 0) { in _bz2_exec() 789 state->bz2_decompressor_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, in _bz2_exec() 791 if (state->bz2_decompressor_type == NULL) { in _bz2_exec() 795 if (PyModule_AddType(module, state in _bz2_exec() 805 _bz2_state *state = get_bz2_state(module); _bz2_traverse() local 814 _bz2_state *state = get_bz2_state(module); _bz2_clear() local [all...] |
H A D | selectmodule.c | 85 void *state = PyModule_GetState(module); in get_select_state() local 86 assert(state != NULL); in get_select_state() 87 return (_selectstate *)state; in get_select_state() 1674 _selectstate *state = _selectstate_by_type(Py_TYPE(self)); in select_epoll___exit___impl() local 1675 return PyObject_CallMethodObjArgs((PyObject *)self, state->close, NULL); in select_epoll___exit___impl() 1749 #define kqueue_event_Check(op, state) (PyObject_TypeCheck((op), state->kqueue_event_Type)) 1896 _selectstate *state = _selectstate_by_type(Py_TYPE(s)); in kqueue_event_richcompare() local 1898 if (!kqueue_event_Check(o, state)) { in kqueue_event_richcompare() 2120 _selectstate *state in select_kqueue_control_impl() local 2173 _selectstate *state = _selectstate_by_type(Py_TYPE(self)); select_kqueue_control_impl() local 2400 _selectstate *state = get_select_state(module); _select_traverse() local 2414 _selectstate *state = get_select_state(module); _select_clear() local 2434 _selectstate *state = get_select_state(m); global() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | libiscsi.c | 420 task->state = ISCSI_TASK_RUNNING; in iscsi_prep_scsi_cmd_pdu() 447 int oldstate = task->state; in iscsi_free_task() 449 ISCSI_DBG_SESSION(session, "freeing task itt 0x%x state %d sc %p\n", in iscsi_free_task() 450 task->itt, task->state, task->sc); in iscsi_free_task() 453 task->state = ISCSI_TASK_FREE; in iscsi_free_task() 502 * @state: state to complete task with 506 static void iscsi_complete_task(struct iscsi_task *task, int state) in iscsi_complete_task() argument 511 "complete task itt 0x%x state %d sc %p\n", in iscsi_complete_task() 512 task->itt, task->state, tas in iscsi_complete_task() 592 int state; fail_scsi_task() local 3202 int i, state; fail_mgmt_tasks() local [all...] |
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-moxtet.c | 59 int state; in moxtet_gpio_set_value() local 61 state = moxtet_device_written(chip->dev); in moxtet_gpio_set_value() 62 if (state < 0) in moxtet_gpio_set_value() 68 state |= BIT(offset); in moxtet_gpio_set_value() 70 state &= ~BIT(offset); in moxtet_gpio_set_value() 72 moxtet_device_write(chip->dev, state); in moxtet_gpio_set_value()
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-md5.c | 85 struct octeon_cop2_state state; in octeon_md5_update() local 99 flags = octeon_crypto_enable(&state); in octeon_md5_update() 113 octeon_crypto_disable(&state, flags); in octeon_md5_update() 126 struct octeon_cop2_state state; in octeon_md5_final() local 131 flags = octeon_crypto_enable(&state); in octeon_md5_final() 147 octeon_crypto_disable(&state, flags); in octeon_md5_final()
|
/kernel/linux/linux-5.10/arch/arm/mach-mmp/ |
H A D | pm-pxa910.c | 132 void pxa910_pm_enter_lowpower_mode(int state) in pxa910_pm_enter_lowpower_mode() argument 144 switch (state) { in pxa910_pm_enter_lowpower_mode() 187 static int pxa910_pm_enter(suspend_state_t state) in pxa910_pm_enter() argument 240 static int pxa910_pm_valid(suspend_state_t state) in pxa910_pm_valid() argument 242 return ((state == PM_SUSPEND_STANDBY) || (state == PM_SUSPEND_MEM)); in pxa910_pm_valid()
|
H A D | pm-mmp2.c | 112 void mmp2_pm_enter_lowpower_mode(int state) in mmp2_pm_enter_lowpower_mode() argument 122 switch (state) { in mmp2_pm_enter_lowpower_mode() 158 static int mmp2_pm_enter(suspend_state_t state) in mmp2_pm_enter() argument 202 static int mmp2_pm_valid(suspend_state_t state) in mmp2_pm_valid() argument 204 return ((state == PM_SUSPEND_STANDBY) || (state == PM_SUSPEND_MEM)); in mmp2_pm_valid()
|
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-md5.c | 86 struct octeon_cop2_state state; in octeon_md5_update() local 100 flags = octeon_crypto_enable(&state); in octeon_md5_update() 114 octeon_crypto_disable(&state, flags); in octeon_md5_update() 127 struct octeon_cop2_state state; in octeon_md5_final() local 132 flags = octeon_crypto_enable(&state); in octeon_md5_final() 149 octeon_crypto_disable(&state, flags); in octeon_md5_final()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_dpll_mgr.h | 183 * the register. This allows us to easily compare the state to share 216 * struct intel_shared_dpll_state - hold the DPLL atomic state 218 * This structure holds an atomic state for the DPLL, that can represent 219 * either its current state (in struct &intel_shared_dpll) or a desired 220 * future state which would be applied by an atomic mode set (stored in 275 * registers. This is used for initial hw state readout and state 286 * current state. 317 * Inform the state checker that the DPLL is kept enabled even if 324 * struct intel_shared_dpll - display PLL with tracked state an 333 struct intel_shared_dpll_state state; global() member [all...] |
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | clps711x-keypad.c | 48 bool state, state1; in clps711x_keypad_poll() local 52 state = gpiod_get_value_cansleep(data->desc); in clps711x_keypad_poll() 55 } while (state != state1); in clps711x_keypad_poll() 57 if (test_bit(col, data->last_state) != state) { in clps711x_keypad_poll() 61 if (state) { in clps711x_keypad_poll() 71 keycodes[code], state); in clps711x_keypad_poll()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | xdp.h | 73 set_bit(MLX5E_STATE_XDP_TX_ENABLED, &priv->state); in mlx5e_xdp_tx_enable() 76 set_bit(MLX5E_STATE_XDP_ACTIVE, &priv->state); in mlx5e_xdp_tx_enable() 82 clear_bit(MLX5E_STATE_XDP_ACTIVE, &priv->state); in mlx5e_xdp_tx_disable() 84 clear_bit(MLX5E_STATE_XDP_TX_ENABLED, &priv->state); in mlx5e_xdp_tx_disable() 85 /* Let other device's napi(s) and XSK wakeups see our new state. */ in mlx5e_xdp_tx_disable() 91 return test_bit(MLX5E_STATE_XDP_TX_ENABLED, &priv->state); in mlx5e_xdp_tx_is_enabled() 96 return test_bit(MLX5E_STATE_XDP_ACTIVE, &priv->state); in mlx5e_xdp_is_active()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | setup.c | 87 set_bit(MLX5E_CHANNEL_STATE_XSK, c->state); in mlx5e_open_xsk() 108 clear_bit(MLX5E_CHANNEL_STATE_XSK, c->state); in mlx5e_close_xsk() 122 set_bit(MLX5E_RQ_STATE_ENABLED, &c->xskrq.state); in mlx5e_activate_xsk() 170 if (!test_bit(MLX5E_CHANNEL_STATE_XSK, c->state)) in mlx5e_xsk_redirect_rqts_to_channels() 182 if (!test_bit(MLX5E_CHANNEL_STATE_XSK, chs->c[i]->state)) in mlx5e_xsk_redirect_rqts_to_channels() 199 if (!test_bit(MLX5E_CHANNEL_STATE_XSK, chs->c[i]->state)) in mlx5e_xsk_redirect_rqts_to_drop()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | thermal.c | 17 unsigned long *state) in ath10k_thermal_get_max_throttle_state() 19 *state = ATH10K_THERMAL_THROTTLE_MAX; in ath10k_thermal_get_max_throttle_state() 26 unsigned long *state) in ath10k_thermal_get_cur_throttle_state() 31 *state = ar->thermal.throttle_state; in ath10k_thermal_get_cur_throttle_state() 44 ath10k_warn(ar, "throttle state %ld is exceeding the limit %d\n", in ath10k_thermal_set_cur_throttle_state() 72 if (ar->state != ATH10K_STATE_ON) { in ath10k_thermal_show_temp() 138 if (ar->state != ATH10K_STATE_ON) in ath10k_thermal_set_throttling() 16 ath10k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, unsigned long *state) ath10k_thermal_get_max_throttle_state() argument 25 ath10k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, unsigned long *state) ath10k_thermal_get_cur_throttle_state() argument
|
/kernel/linux/linux-5.10/include/media/ |
H A D | media-request.h | 23 * enum media_request_state - media request state 26 * @MEDIA_REQUEST_STATE_VALIDATING: Validating the request, no state changes 54 * @state: The state of the request 66 enum media_request_state state; member 93 if (req->state == MEDIA_REQUEST_STATE_COMPLETE) { in media_request_lock_for_access() 138 if (req->state == MEDIA_REQUEST_STATE_IDLE || in media_request_lock_for_update() 139 req->state == MEDIA_REQUEST_STATE_UPDATING) { in media_request_lock_for_update() 140 req->state = MEDIA_REQUEST_STATE_UPDATING; in media_request_lock_for_update() 166 req->state in media_request_unlock_for_update() [all...] |