Home
last modified time | relevance | path

Searched refs:state (Results 5451 - 5475 of 20585) sorted by relevance

1...<<211212213214215216217218219220>>...824

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe.h285 test_bit(__IXGBE_RX_BUILD_SKB_ENABLED, &(ring)->state)
296 test_bit(__IXGBE_TX_DETECT_HANG, &(ring)->state)
298 set_bit(__IXGBE_TX_DETECT_HANG, &(ring)->state)
300 clear_bit(__IXGBE_TX_DETECT_HANG, &(ring)->state)
302 test_bit(__IXGBE_RX_RSC_ENABLED, &(ring)->state)
304 set_bit(__IXGBE_RX_RSC_ENABLED, &(ring)->state)
306 clear_bit(__IXGBE_RX_RSC_ENABLED, &(ring)->state)
308 test_bit(__IXGBE_TX_XDP_RING, &(ring)->state)
310 set_bit(__IXGBE_TX_XDP_RING, &(ring)->state)
312 clear_bit(__IXGBE_TX_XDP_RING, &(ring)->state)
324 unsigned long state; global() member
543 u16 state; /* bitmask */ global() member
571 unsigned long state; global() member
[all...]
/kernel/linux/linux-6.6/arch/s390/pci/
H A Dpci.c89 enum zpci_state state; in zpci_remove_reserved_devices() local
94 if (zdev->state == ZPCI_FN_STATE_STANDBY && in zpci_remove_reserved_devices()
95 !clp_get_state(zdev->fid, &state) && in zpci_remove_reserved_devices()
96 state == ZPCI_FN_STATE_RESERVED) in zpci_remove_reserved_devices()
719 * After the reset the functions internal state is reset to an initial state
720 * equivalent to its state during boot when first probing a driver.
739 /* Disables device access, DMAs and IRQs (reset state) */ in zpci_hot_reset_device()
742 * Due to a z/VM vs LPAR inconsistency in the error state the in zpci_hot_reset_device()
773 * @state
780 zpci_create_device(u32 fid, u32 fh, enum zpci_state state) zpci_create_device() argument
828 enum zpci_state state = zdev->state; zpci_is_device_configured() local
[all...]
/kernel/linux/linux-5.10/drivers/misc/altera-stapl/
H A Daltera-jtag.c25 * This structure shows, for each JTAG state, which state is reached after
27 * describes all possible state transitions in the JTAG state machine.
55 * the path to the desired state. The array index is the current state,
56 * and the bit position is the desired endstate. To find out which state
57 * is used as the intermediate state, look up the TMS value in the
79 /* initial JTAG state is unknown */ in altera_jinit()
82 /* initialize to default state */ in altera_jinit()
102 altera_set_drstop(struct altera_jtag *js, enum altera_jtag_state state) altera_set_drstop() argument
109 altera_set_irstop(struct altera_jtag *js, enum altera_jtag_state state) altera_set_irstop() argument
285 altera_goto_jstate(struct altera_state *astate, enum altera_jtag_state state) altera_goto_jstate() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/
H A Dgsc-m2m.c50 if ((ret == -ETIMEDOUT) || (ctx->state & GSC_CTX_ABORT)) { in __gsc_m2m_job_abort()
158 set_bit(ST_M2M_PEND, &gsc->state); in gsc_m2m_device_run()
164 ctx->state |= GSC_PARAMS; in gsc_m2m_device_run()
168 is_set = ctx->state & GSC_CTX_STOP_REQ; in gsc_m2m_device_run()
170 ctx->state &= ~GSC_CTX_STOP_REQ; in gsc_m2m_device_run()
171 ctx->state |= GSC_CTX_ABORT; in gsc_m2m_device_run()
186 if (ctx->state & GSC_PARAMS) { in gsc_m2m_device_run()
214 ctx->state &= ~GSC_PARAMS; in gsc_m2m_device_run()
221 ctx->state &= ~GSC_PARAMS; in gsc_m2m_device_run()
269 pr_debug("ctx: %p, ctx->state in gsc_m2m_buf_queue()
[all...]
/kernel/linux/linux-5.10/drivers/net/ppp/
H A Dppp_async.c40 /* Structure for storing local state. */
44 unsigned int state; member
777 if (ap->state & (SC_TOSS | SC_ESCAPE)) in process_input_packet()
816 skb->cb[0] = ap->state; in process_input_packet()
819 ap->state = 0; in process_input_packet()
824 ap->state = SC_PREV_ERROR; in process_input_packet()
859 if ((ap->state & SC_ESCAPE) && buf[0] == PPP_ESCAPE) in ppp_async_input()
865 if (flags && (ap->state & SC_TOSS) == 0) { in ppp_async_input()
873 ap->state |= SC_TOSS; in ppp_async_input()
875 } else if (n > 0 && (ap->state in ppp_async_input()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
H A Dfcoe_sysfs.c74 ((x)->state)
118 if ((fcf->state == FCOE_FCF_STATE_UNKNOWN) || in fcoe_fcf_set_dev_loss_tmo()
119 (fcf->state == FCOE_FCF_STATE_DISCONNECTED) || in fcoe_fcf_set_dev_loss_tmo()
120 (fcf->state == FCOE_FCF_STATE_DELETED)) in fcoe_fcf_set_dev_loss_tmo()
250 name = get_fcoe_fcf_state_name(fcf->state); in show_fcf_state()
255 static FCOE_DEVICE_ATTR(fcf, state, S_IRUGO, show_fcf_state, NULL);
880 fcf->state = FCOE_FCF_STATE_DELETED; in fcoe_ctlr_device_delete()
937 * fires the devloss queue will be flushed, but the state will in fip_timeout_deleted_fcf()
941 if (fcf->state != FCOE_FCF_STATE_DISCONNECTED) in fip_timeout_deleted_fcf()
948 fcf->state in fip_timeout_deleted_fcf()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/qedi/
H A Dqedi_fw_api.c393 SET_FIELD(rdif_context->state, in init_rtdif_task_context()
396 SET_FIELD(rdif_context->state, RDIF_TASK_CONTEXT_IGNORE_APP_TAG, in init_rtdif_task_context()
475 SET_FIELD(context->ystorm_st_context.state.flags, in set_local_completion_context()
526 init_dif_context_flags(&cxt->ystorm_st_context.state.dif_flags, in init_rw_iscsi_task()
530 init_scsi_sgl_context(&cxt->ystorm_st_context.state.sgl_params, in init_rw_iscsi_task()
531 &cxt->ystorm_st_context.state.data_desc, in init_rw_iscsi_task()
542 SET_FIELD(cxt->ystorm_st_context.state.flags, in init_rw_iscsi_task()
635 init_scsi_sgl_context(&cxt->ystorm_st_context.state.sgl_params, in init_initiator_login_request_task()
636 &cxt->ystorm_st_context.state.data_desc, in init_initiator_login_request_task()
672 init_scsi_sgl_context(&cxt->ystorm_st_context.state in init_initiator_nop_out_task()
[all...]
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-rockchip.c146 /* Driver state flags */
178 atomic_t state; member
207 dev_warn(rs->dev, "spi controller is in busy state!\n"); in wait_for_idle()
265 if (atomic_read(&rs->state) & TXDMA) in rockchip_spi_handle_err()
268 if (atomic_read(&rs->state) & RXDMA) in rockchip_spi_handle_err()
365 int state = atomic_fetch_andnot(RXDMA, &rs->state); in rockchip_spi_dma_rxcb() local
367 if (state & TXDMA && !rs->slave_abort) in rockchip_spi_dma_rxcb()
378 int state = atomic_fetch_andnot(TXDMA, &rs->state); in rockchip_spi_dma_txcb() local
[all...]
/kernel/linux/linux-6.6/drivers/misc/altera-stapl/
H A Daltera-jtag.c25 * This structure shows, for each JTAG state, which state is reached after
27 * describes all possible state transitions in the JTAG state machine.
55 * the path to the desired state. The array index is the current state,
56 * and the bit position is the desired endstate. To find out which state
57 * is used as the intermediate state, look up the TMS value in the
79 /* initial JTAG state is unknown */ in altera_jinit()
82 /* initialize to default state */ in altera_jinit()
102 altera_set_drstop(struct altera_jtag *js, enum altera_jtag_state state) altera_set_drstop() argument
109 altera_set_irstop(struct altera_jtag *js, enum altera_jtag_state state) altera_set_irstop() argument
285 altera_goto_jstate(struct altera_state *astate, enum altera_jtag_state state) altera_goto_jstate() argument
[all...]
/kernel/linux/linux-6.6/drivers/thermal/
H A Dthermal_sysfs.c605 unsigned long state; in cur_state_show() local
608 ret = cdev->ops->get_cur_state(cdev, &state); in cur_state_show()
611 return sprintf(buf, "%ld\n", state); in cur_state_show()
619 unsigned long state; in cur_state_store() local
622 if (sscanf(buf, "%ld\n", &state) != 1) in cur_state_store()
625 if ((long)state < 0) in cur_state_store()
628 /* Requested state should be less than max_state + 1 */ in cur_state_store()
629 if (state > cdev->max_state) in cur_state_store()
634 result = cdev->ops->set_cur_state(cdev, state); in cur_state_store()
636 thermal_cooling_device_stats_update(cdev, state); in cur_state_store()
668 unsigned long state; global() member
[all...]
/kernel/linux/linux-6.6/drivers/cxl/core/
H A Dmemdev.c128 unsigned long state = mds->security.state; in security_state_show() local
131 /* sync with latest submission state */ in security_state_show()
139 if (!(state & CXL_PMEM_SEC_STATE_USER_PASS_SET)) in security_state_show()
141 if (state & CXL_PMEM_SEC_STATE_FROZEN || in security_state_show()
142 state & CXL_PMEM_SEC_STATE_MASTER_PLIMIT || in security_state_show()
143 state & CXL_PMEM_SEC_STATE_USER_PLIMIT) in security_state_show()
145 if (state & CXL_PMEM_SEC_STATE_LOCKED) in security_state_show()
151 __ATTR(state, 0444, security_state_show, NULL);
537 * @mds: The device state t
1043 struct kernfs_node *state; sanitize_teardown_notifier() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe.h324 test_bit(__IXGBE_RX_BUILD_SKB_ENABLED, &(ring)->state)
335 test_bit(__IXGBE_TX_DETECT_HANG, &(ring)->state)
337 set_bit(__IXGBE_TX_DETECT_HANG, &(ring)->state)
339 clear_bit(__IXGBE_TX_DETECT_HANG, &(ring)->state)
341 test_bit(__IXGBE_RX_RSC_ENABLED, &(ring)->state)
343 set_bit(__IXGBE_RX_RSC_ENABLED, &(ring)->state)
345 clear_bit(__IXGBE_RX_RSC_ENABLED, &(ring)->state)
347 test_bit(__IXGBE_TX_XDP_RING, &(ring)->state)
349 set_bit(__IXGBE_TX_XDP_RING, &(ring)->state)
351 clear_bit(__IXGBE_TX_XDP_RING, &(ring)->state)
363 unsigned long state; global() member
586 u16 state; /* bitmask */ global() member
614 unsigned long state; global() member
[all...]
/kernel/linux/linux-6.6/drivers/net/ppp/
H A Dppp_async.c40 /* Structure for storing local state. */
44 unsigned int state; member
766 if (ap->state & (SC_TOSS | SC_ESCAPE)) in process_input_packet()
805 skb->cb[0] = ap->state; in process_input_packet()
808 ap->state = 0; in process_input_packet()
813 ap->state = SC_PREV_ERROR; in process_input_packet()
847 if ((ap->state & SC_ESCAPE) && buf[0] == PPP_ESCAPE) in ppp_async_input()
853 if (flags && (ap->state & SC_TOSS) == 0) { in ppp_async_input()
861 ap->state |= SC_TOSS; in ppp_async_input()
863 } else if (n > 0 && (ap->state in ppp_async_input()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-m2m.c50 if ((ret == -ETIMEDOUT) || (ctx->state & GSC_CTX_ABORT)) { in __gsc_m2m_job_abort()
158 set_bit(ST_M2M_PEND, &gsc->state); in gsc_m2m_device_run()
164 ctx->state |= GSC_PARAMS; in gsc_m2m_device_run()
168 is_set = ctx->state & GSC_CTX_STOP_REQ; in gsc_m2m_device_run()
170 ctx->state &= ~GSC_CTX_STOP_REQ; in gsc_m2m_device_run()
171 ctx->state |= GSC_CTX_ABORT; in gsc_m2m_device_run()
186 if (ctx->state & GSC_PARAMS) { in gsc_m2m_device_run()
214 ctx->state &= ~GSC_PARAMS; in gsc_m2m_device_run()
221 ctx->state &= ~GSC_PARAMS; in gsc_m2m_device_run()
269 pr_debug("ctx: %p, ctx->state in gsc_m2m_buf_queue()
[all...]
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dti-tsc2046.c148 enum tsc2046_state state; member
527 * This state machine should address following challenges : in tsc2046_adc_timer()
529 * channel of ADC. It will change the state every time we switch in tsc2046_adc_timer()
538 switch (priv->state) { in tsc2046_adc_timer()
548 priv->state = TSC2046_STATE_POLL_IRQ_DISABLE; in tsc2046_adc_timer()
551 priv->state = TSC2046_STATE_POLL; in tsc2046_adc_timer()
554 priv->state = TSC2046_STATE_STANDBY; in tsc2046_adc_timer()
562 priv->state = TSC2046_STATE_ENABLE_IRQ; in tsc2046_adc_timer()
571 dev_warn(&priv->spi->dev, "Got unexpected state: %i\n", in tsc2046_adc_timer()
572 priv->state); in tsc2046_adc_timer()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/fcoe/
H A Dfcoe_sysfs.c74 ((x)->state)
118 if ((fcf->state == FCOE_FCF_STATE_UNKNOWN) || in fcoe_fcf_set_dev_loss_tmo()
119 (fcf->state == FCOE_FCF_STATE_DISCONNECTED) || in fcoe_fcf_set_dev_loss_tmo()
120 (fcf->state == FCOE_FCF_STATE_DELETED)) in fcoe_fcf_set_dev_loss_tmo()
250 name = get_fcoe_fcf_state_name(fcf->state); in show_fcf_state()
255 static FCOE_DEVICE_ATTR(fcf, state, S_IRUGO, show_fcf_state, NULL);
880 fcf->state = FCOE_FCF_STATE_DELETED; in fcoe_ctlr_device_delete()
937 * fires the devloss queue will be flushed, but the state will in fip_timeout_deleted_fcf()
941 if (fcf->state != FCOE_FCF_STATE_DISCONNECTED) in fip_timeout_deleted_fcf()
948 fcf->state in fip_timeout_deleted_fcf()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qedi/
H A Dqedi_fw_api.c393 SET_FIELD(rdif_context->state, in init_rtdif_task_context()
396 SET_FIELD(rdif_context->state, RDIF_TASK_CONTEXT_IGNORE_APP_TAG, in init_rtdif_task_context()
475 SET_FIELD(context->ystorm_st_context.state.flags, in set_local_completion_context()
526 init_dif_context_flags(&cxt->ystorm_st_context.state.dif_flags, in init_rw_iscsi_task()
530 init_scsi_sgl_context(&cxt->ystorm_st_context.state.sgl_params, in init_rw_iscsi_task()
531 &cxt->ystorm_st_context.state.data_desc, in init_rw_iscsi_task()
542 SET_FIELD(cxt->ystorm_st_context.state.flags, in init_rw_iscsi_task()
635 init_scsi_sgl_context(&cxt->ystorm_st_context.state.sgl_params, in init_initiator_login_request_task()
636 &cxt->ystorm_st_context.state.data_desc, in init_initiator_login_request_task()
672 init_scsi_sgl_context(&cxt->ystorm_st_context.state in init_initiator_nop_out_task()
[all...]
/kernel/linux/linux-6.6/net/bluetooth/
H A Dmsft.c114 int state; member
292 monitor->state = ADV_MONITOR_STATE_OFFLOADED; in msft_le_monitor_advertisement_cb()
328 if (address_filter->state == AF_STATE_ADDING) { in msft_remove_addr_filters_sync()
329 address_filter->state = AF_STATE_REMOVING; in msft_remove_addr_filters_sync()
337 if (address_filter->state == AF_STATE_REMOVING) in msft_remove_addr_filters_sync()
393 if (monitor->state == ADV_MONITOR_STATE_OFFLOADED) in msft_le_cancel_monitor_advertisement_cb()
394 monitor->state = ADV_MONITOR_STATE_REGISTERED; in msft_le_cancel_monitor_advertisement_cb()
681 * Therefore, remove handle_data mapping and reset monitor state. in msft_do_close()
687 if (monitor && monitor->state == ADV_MONITOR_STATE_OFFLOADED) in msft_do_close()
688 monitor->state in msft_do_close()
[all...]
/third_party/libinput/test/
H A Dlitest.h742 enum libinput_switch_state state);
778 enum libinput_button_state state);
799 enum libinput_key_state state);
813 enum libinput_button_state state);
825 enum libinput_key_state state);
830 enum libinput_switch_state state);
834 enum libinput_tablet_tool_proximity_state state);
845 enum libinput_key_state state);
850 enum libinput_button_state state);
855 enum libinput_switch_state state);
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
H A Deap_gpsk.c17 enum { GPSK_1, GPSK_3, SUCCESS, FAILURE } state; member
49 static const char * eap_gpsk_state_txt(int state) in eap_gpsk_state_txt() argument
51 switch (state) { in eap_gpsk_state_txt()
67 static void eap_gpsk_state(struct eap_gpsk_data *data, int state) in eap_gpsk_state() argument
70 eap_gpsk_state_txt(data->state), in eap_gpsk_state()
71 eap_gpsk_state_txt(state)); in eap_gpsk_state()
72 data->state = state; in eap_gpsk_state()
95 data->state = GPSK_1; in eap_gpsk_init()
282 if (data->state ! in eap_gpsk_process_gpsk_1()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
H A Deap_gpsk.c17 enum { GPSK_1, GPSK_3, SUCCESS, FAILURE } state; member
49 static const char * eap_gpsk_state_txt(int state) in eap_gpsk_state_txt() argument
51 switch (state) { in eap_gpsk_state_txt()
67 static void eap_gpsk_state(struct eap_gpsk_data *data, int state) in eap_gpsk_state() argument
70 eap_gpsk_state_txt(data->state), in eap_gpsk_state()
71 eap_gpsk_state_txt(state)); in eap_gpsk_state()
72 data->state = state; in eap_gpsk_state()
95 data->state = GPSK_1; in eap_gpsk_init()
282 if (data->state ! in eap_gpsk_process_gpsk_1()
[all...]
/foundation/arkui/ui_lite/frameworks/dock/
H A Dvirtual_input_device.cpp24 if (data.state != INVALID_VIRTUAL_INPUT_STATE) { in DispatchEvent()
25 VirtualDeviceEvent event(data.type, data.state); in DispatchEvent()
H A Dkey_input_device.cpp24 if (data.state != INVALID_KEY_STATE) { in DispatchEvent()
25 KeyEvent event(data.keyId, data.state); in DispatchEvent()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega20_baco.h29 extern int vega20_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state);
30 extern int vega20_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state);
/kernel/linux/linux-5.10/security/selinux/include/
H A Dconditional.h19 int security_set_bools(struct selinux_state *state, u32 len, int *values);
21 int security_get_bool_value(struct selinux_state *state, u32 index);

Completed in 31 milliseconds

1...<<211212213214215216217218219220>>...824