/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 97 * On older GPUs, the vbios provided a special power state for battery 98 * operation. Selecting battery switched to this state. This is no 103 * On older GPUs, the vbios provided a special power state for balanced 104 * operation. Selecting balanced switched to this state. This is no 109 * On older GPUs, the vbios provided a special power state for performance 110 * operation. Selecting performance switched to this state. This is no 159 enum amd_pm_state_type state; in amdgpu_set_power_dpm_state() local 166 state = POWER_STATE_TYPE_BATTERY; in amdgpu_set_power_dpm_state() 168 state = POWER_STATE_TYPE_BALANCED; in amdgpu_set_power_dpm_state() 170 state in amdgpu_set_power_dpm_state() 515 enum amd_pm_state_type state = 0; amdgpu_set_pp_force_state() local [all...] |
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | util.c | 2172 * warnings but at least we'll then get into a clean stopped state. in ieee80211_handle_reconfig_failure() 2182 * cfg80211 and clear local state in ieee80211_handle_reconfig_failure() 2227 enum ieee80211_sta_state state; in ieee80211_reconfig_stations() local 2232 for (state = IEEE80211_STA_NOTEXIST; in ieee80211_reconfig_stations() 2233 state < sta->sta_state; state++) in ieee80211_reconfig_stations() 2234 WARN_ON(drv_sta_state(local, sta->sdata, sta, state, in ieee80211_reconfig_stations() 2235 state + 1)); in ieee80211_reconfig_stations() 2543 * this was the state before a hw restart), so we in ieee80211_reconfig() 2561 enum ieee80211_sta_state state; in ieee80211_reconfig() local [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | sony-laptop.c | 3895 static void __sony_pic_set_wwanpower(u8 state) in __sony_pic_set_wwanpower() argument 3897 state = !!state; in __sony_pic_set_wwanpower() 3898 if (spic_dev.wwan_power == state) in __sony_pic_set_wwanpower() 3900 sony_pic_call2(0xB0, state); in __sony_pic_set_wwanpower() 3902 spic_dev.wwan_power = state; in __sony_pic_set_wwanpower() 3933 /* bluetooth subsystem power state */ 3934 static void __sony_pic_set_bluetoothpower(u8 state) in __sony_pic_set_bluetoothpower() argument 3936 state = !!state; in __sony_pic_set_bluetoothpower() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/ |
H A D | cnic_defs.h | 794 u8 state; member 796 u8 state; 971 u8 state; member 973 u8 state; 1079 u8 state; member 1081 u8 state; 1222 u8 state; member 1224 u8 state; 1924 u8 state; member 1926 u8 state; 2161 u8 state; global() member [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool.c | 993 set_bit(ICE_TESTING, pf->state); in ice_self_test() 1003 clear_bit(ICE_TESTING, pf->state); in ice_self_test() 1024 clear_bit(ICE_TESTING, pf->state); in ice_self_test() 1115 ice_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) in ice_set_phys_id() argument 1120 switch (state) { in ice_set_phys_id() 1290 /* If VSI state is up, then restart autoneg with link up */ in ice_nway_reset() 1291 if (!test_bit(ICE_DOWN, vsi->back->state)) in ice_nway_reset() 1383 * not an error state, as there shouldn't be any in ice_set_priv_flags() 1443 * state to ethtool in ice_set_priv_flags() 1470 /* toggle bit back to previous state */ in ice_set_priv_flags() [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | relocation.c | 310 if (test_bit(BTRFS_ROOT_DEAD_RELOC_TREE, &root->state)) in reloc_root_is_dead() 336 if (!test_bit(BTRFS_ROOT_SHAREABLE, &root->state)) in btrfs_should_ignore_reloc_root() 827 set_bit(BTRFS_ROOT_SHAREABLE, &reloc_root->state); in create_reloc_root() 936 set_bit(BTRFS_ROOT_DEAD_RELOC_TREE, &root->state); in btrfs_update_reloc_root() 1342 set_bit(BTRFS_ROOT_RESET_LOCKDEP_CLASS, &src->state); in replace_path() 1344 clear_bit(BTRFS_ROOT_RESET_LOCKDEP_CLASS, &src->state); in replace_path() 1661 clear_bit(BTRFS_ROOT_DEAD_RELOC_TREE, &root->state); in clean_dirty_subvols() 2060 &root->state); in merge_reloc_roots() 2189 if (!test_bit(BTRFS_ROOT_SHAREABLE, &root->state)) { in select_reloc_root() 2301 if (!test_bit(BTRFS_ROOT_SHAREABLE, &root->state)) in select_one_root() [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | sony-laptop.c | 3878 static void __sony_pic_set_wwanpower(u8 state) in __sony_pic_set_wwanpower() argument 3880 state = !!state; in __sony_pic_set_wwanpower() 3881 if (spic_dev.wwan_power == state) in __sony_pic_set_wwanpower() 3883 sony_pic_call2(0xB0, state); in __sony_pic_set_wwanpower() 3885 spic_dev.wwan_power = state; in __sony_pic_set_wwanpower() 3916 /* bluetooth subsystem power state */ 3917 static void __sony_pic_set_bluetoothpower(u8 state) in __sony_pic_set_bluetoothpower() argument 3919 state = !!state; in __sony_pic_set_bluetoothpower() [all...] |
/kernel/linux/linux-6.6/drivers/target/ |
H A D | target_core_configfs.c | 2480 char state; in target_dev_lba_map_show() local 2494 state = 'O'; in target_dev_lba_map_show() 2497 state = 'A'; in target_dev_lba_map_show() 2500 state = 'S'; in target_dev_lba_map_show() 2503 state = 'U'; in target_dev_lba_map_show() 2506 state = '.'; in target_dev_lba_map_show() 2510 mem->lba_map_mem_alua_pg_id, state); in target_dev_lba_map_show() 2525 char state; in target_dev_lba_map_store() local 2564 pr_err("Invalid line %d, missing state definitions\n", in target_dev_lba_map_store() 2577 while (sscanf(ptr, "%d:%c", &pg_id, &state) in target_dev_lba_map_store() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 286 dev_err(&adapter->pdev->dev, "forcing MDI/MDI-X state is not supported when link speed and/or duplex are forced\n"); in igb_set_link_ksettings() 291 while (test_and_set_bit(__IGB_RESETTING, &adapter->state)) in igb_set_link_ksettings() 331 clear_bit(__IGB_RESETTING, &adapter->state); in igb_set_link_ksettings() 354 clear_bit(__IGB_RESETTING, &adapter->state); in igb_set_link_ksettings() 364 * and so the physical link state may have changed since we last in igb_get_link() 366 * state is interrogated, rather than pulling a cached and possibly in igb_get_link() 367 * stale link state from the driver. in igb_get_link() 408 while (test_and_set_bit(__IGB_RESETTING, &adapter->state)) in igb_set_pauseparam() 442 clear_bit(__IGB_RESETTING, &adapter->state); in igb_set_pauseparam() 909 while (test_and_set_bit(__IGB_RESETTING, &adapter->state)) in igb_set_ringparam() 2163 igb_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) igb_set_phys_id() argument [all...] |
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | xprtsock.c | 1201 clear_bit(XPRT_CLOSE_WAIT, &xprt->state); in xs_sock_reset_connection_flags() 1202 clear_bit(XPRT_CLOSING, &xprt->state); in xs_sock_reset_connection_flags() 1208 * xs_error_report - callback to handle TCP socket state errors 1251 set_bit(XPRT_CLOSE_WAIT, &xprt->state); in xs_reset_transport() 1288 * This is used when all requests are complete; ie, no DRC state remains 1482 * xs_local_state_change - callback to handle AF_LOCAL socket state changes 1483 * @sk: socket whose state has changed 1495 clear_bit(XPRT_CONNECTED, &xprt->state); in xs_local_state_change() 1502 * xs_tcp_state_change - callback to handle TCP socket state changes 1503 * @sk: socket whose state ha [all...] |
/third_party/pulseaudio/src/utils/ |
H A D | pactl.c | 368 void *state = NULL; in pa_proplist_to_json_object() local 376 key = pa_proplist_iterate(p, &state); in pa_proplist_to_json_object() 602 pa_json_encoder_add_member_string(encoder, "state", state_table[1+i->state]); in get_sink_info_callback() 614 state_table[1+i->state]); in get_sink_info_callback() 645 pa_json_encoder_add_member_string(encoder, "state", state_table[1+i->state]); in get_sink_info_callback() 688 state_table[1+i->state], in get_sink_info_callback() 788 pa_json_encoder_add_member_string(encoder, "state", state_table[1+i->state]); in get_source_info_callback() 2063 const char *state = NULL; set_sink_formats() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 202 if (dev->state == CHCR_DETACH) in chcr_inc_wrcount() 322 memcpy(result_hash, sha1_st.state, SHA1_DIGEST_SIZE); in chcr_compute_partial_hash() 327 memcpy(result_hash, sha256_st.state, SHA256_DIGEST_SIZE); in chcr_compute_partial_hash() 333 memcpy(result_hash, sha256_st.state, SHA256_DIGEST_SIZE); in chcr_compute_partial_hash() 339 memcpy(result_hash, sha512_st.state, SHA512_DIGEST_SIZE); in chcr_compute_partial_hash() 345 memcpy(result_hash, sha512_st.state, SHA512_DIGEST_SIZE); in chcr_compute_partial_hash() 1695 /* Detach state for CHCR means lldi or padap is freed. Increasing in chcr_ahash_update() 2173 struct chcr_ahash_req_ctx *state = out; in chcr_ahash_export() local 2175 state->reqlen = req_ctx->reqlen; in chcr_ahash_export() 2176 state in chcr_ahash_export() 2187 struct chcr_ahash_req_ctx *state = (struct chcr_ahash_req_ctx *)in; chcr_ahash_import() local [all...] |
/kernel/linux/linux-5.10/tools/power/x86/turbostat/ |
H A D | turbostat.c | 3 * turbostat -- show CPU frequency and C-state residency 2492 fprintf(outf, ", automatic c-state conversion=%s", in dump_nhm_cst_cfg() 3308 * Some sources state that the peak power for a in msr_sum_record() 3822 int state; in dump_sysfs_cstate_config() local 3834 for (state = 0; state < 10; ++state) { in dump_sysfs_cstate_config() 3836 sprintf(path, "/sys/devices/system/cpu/cpu%d/cpuidle/state%d/name", in dump_sysfs_cstate_config() 3837 base_cpu, state); in dump_sysfs_cstate_config() 3853 sprintf(path, "/sys/devices/system/cpu/cpu%d/cpuidle/state in dump_sysfs_cstate_config() 5909 int state; probe_sysfs() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_trace.h | 222 TP_PROTO(struct xfs_inode *ip, struct xfs_iext_cursor *cur, int state, 224 TP_ARGS(ip, cur, state, caller_ip), 233 __field(xfs_exntst_t, state) 241 ifp = xfs_iext_state_to_fork(ip, state); 250 __entry->state = r.br_state; 251 __entry->bmap_state = state; 254 TP_printk("dev %d:%d ino 0x%llx state %s cur %p/%d " 264 __entry->state, 270 TP_PROTO(struct xfs_inode *ip, struct xfs_iext_cursor *cur, int state, \ 272 TP_ARGS(ip, cur, state, caller_i [all...] |
/kernel/linux/linux-6.6/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 198 if (dev->state == CHCR_DETACH) in chcr_inc_wrcount() 318 memcpy(result_hash, sha1_st.state, SHA1_DIGEST_SIZE); in chcr_compute_partial_hash() 323 memcpy(result_hash, sha256_st.state, SHA256_DIGEST_SIZE); in chcr_compute_partial_hash() 329 memcpy(result_hash, sha256_st.state, SHA256_DIGEST_SIZE); in chcr_compute_partial_hash() 335 memcpy(result_hash, sha512_st.state, SHA512_DIGEST_SIZE); in chcr_compute_partial_hash() 341 memcpy(result_hash, sha512_st.state, SHA512_DIGEST_SIZE); in chcr_compute_partial_hash() 1689 /* Detach state for CHCR means lldi or padap is freed. Increasing in chcr_ahash_update() 2167 struct chcr_ahash_req_ctx *state = out; in chcr_ahash_export() local 2169 state->reqlen = req_ctx->reqlen; in chcr_ahash_export() 2170 state in chcr_ahash_export() 2181 struct chcr_ahash_req_ctx *state = (struct chcr_ahash_req_ctx *)in; chcr_ahash_import() local [all...] |
/kernel/linux/linux-6.6/tools/power/x86/turbostat/ |
H A D | turbostat.c | 3 * turbostat -- show CPU frequency and C-state residency 2443 /* C-state Pre-wake Disable (CSTATE_PREWAKE_DISABLE) */ in dump_nhm_platform_info() 2445 fprintf(outf, "C-state Pre-wake: %sabled\n", msr & 0x40000000 ? "DIS" : "EN"); in dump_nhm_platform_info() 2677 fprintf(outf, ", automatic c-state conversion=%s", (msr & AUTOMATIC_CSTATE_CONVERSION) ? "on" : "off"); in dump_nhm_cst_cfg() 3483 * Some sources state that the peak power for a in msr_sum_record() 4203 int state; in dump_sysfs_cstate_config() local 4215 for (state = 0; state < 10; ++state) { in dump_sysfs_cstate_config() 4217 sprintf(path, "/sys/devices/system/cpu/cpu%d/cpuidle/state in dump_sysfs_cstate_config() 6442 int state; probe_sysfs() local [all...] |
/third_party/skia/src/gpu/gl/ |
H A D | GrGLGpu.cpp | 245 void bindSampler(int unitIdx, GrSamplerState state) { in bindSampler() argument 246 int index = state.asIndex(); in bindSampler() 254 GrGLenum minFilter = filter_to_gl_min_filter(state.filter(), state.mipmapMode()); in bindSampler() 255 GrGLenum magFilter = filter_to_gl_mag_filter(state.filter()); in bindSampler() 256 GrGLenum wrapX = wrap_mode_to_gl_wrap(state.wrapModeX(), fGpu->glCaps()); in bindSampler() 257 GrGLenum wrapY = wrap_mode_to_gl_wrap(state.wrapModeY(), fGpu->glCaps()); in bindSampler() 509 // Desktop-only state that we never change in onResetContext() 550 // Restore GL_MULTISAMPLE to its initial state. It being enabled has no effect on draws in onResetContext() 1338 GrGLTextureParameters::SamplerOverriddenState state; in set_initial_texture_params() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_init.c | 396 * being low. Set state DELETED for re-login process to start again. in qla2x00_async_login() 668 * @vha: adapter state pointer. 892 * Allow relogin code to recheck state again in qla24xx_handle_gnl_done_event() 986 * Reset link to kick start his state in qla24xx_handle_gnl_done_event() 1587 /* Set discovery state back to GNL to Relogin attempt */ in qla24xx_handle_gpdb_event() 1781 /* recheck login state */ in qla24xx_fcport_handle_login() 1852 atomic_read(&fcport->state) == FCS_ONLINE) { in qla2x00_handle_rscn() 1868 if (atomic_read(&fcport->state) == FCS_ONLINE) { in qla2x00_handle_rscn() 1870 * If state = online, then set scan_needed=1 to do relogin. in qla2x00_handle_rscn() 1885 atomic_read(&fcport->state) in qla2x00_handle_rscn() 4866 uint16_t state[6]; qla2x00_fw_ready() local 5494 qla2x00_set_fcport_state(fc_port_t *fcport, int state) qla2x00_set_fcport_state() argument [all...] |
/kernel/linux/linux-6.6/drivers/ufs/core/ |
H A D | ufshcd.c | 604 dev_err(hba->dev, "UFS Host state=%d\n", hba->ufshcd_state); in ufshcd_print_host_state() 609 dev_err(hba->dev, "Device power mode=%d, UIC link state=%d\n", in ufshcd_print_host_state() 615 dev_err(hba->dev, "Clk gate=%d\n", hba->clk_gating.state); in ufshcd_print_host_state() 968 * ufshcd_is_hba_active - Get controller state 1421 goto out; /* no state change required */ in ufshcd_devfreq_target() 1694 if (hba->clk_gating.state == CLKS_ON) { in ufshcd_ungate_work() 1738 switch (hba->clk_gating.state) { in ufshcd_hold() 1742 * Though the clocks may be in ON state, the link could in ufshcd_hold() 1743 * still be in hibner8 state if hibern8 is allowed in ufshcd_hold() 1745 * Make sure we exit hibern8 state als in ufshcd_hold() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 2961 if (test_bit(__IGC_DOWN, &adapter->state)) in igc_clean_tx_irq() 3108 !(test_bit(__IGC_DOWN, &adapter->state))) { in igc_clean_tx_irq() 3907 /* update state of unicast and multicast */ in igc_set_rx_mode() 4522 if (!test_bit(__IGC_DOWN, &adapter->state)) { in igc_ring_irq_enable() 4845 /* Explicitly disable IRQ since the NIC can be in any state. */ in igc_sw_init() 4848 set_bit(__IGC_DOWN, &adapter->state); in igc_sw_init() 4865 clear_bit(__IGC_DOWN, &adapter->state); in igc_up() 5064 set_bit(__IGC_DOWN, &adapter->state); in igc_down() 5125 while (test_and_set_bit(__IGC_RESETTING, &adapter->state)) in igc_reinit_locked() 5129 clear_bit(__IGC_RESETTING, &adapter->state); in igc_reinit_locked() 7217 igc_io_error_detected(struct pci_dev *pdev, pci_channel_state_t state) igc_io_error_detected() argument [all...] |
/test/xts/hats/telephony/ril/hdi_v1.0/ |
H A D | hdf_ril_hdiService_test.cpp | 317 int32_t RadioStateUpdated(const RilRadioResponseInfo &responseInfo, int32_t state) override; 323 int32_t GetRadioStateResponse(const RilRadioResponseInfo &responseInfo, int32_t state) override; 430 int32_t GetRrcConnectionStateResponse(const RilRadioResponseInfo &responseInfo, int32_t state) override; 433 int32_t GetRrcConnectionStateUpdated(const RilRadioResponseInfo &responseInfo, int32_t state) override; 1458 int32_t RilCallback::GetRrcConnectionStateResponse(const RilRadioResponseInfo &responseInfo, int32_t state) in GetRrcConnectionStateResponse() argument 1460 HDF_LOGI("RilCallback::GetRrcConnectionStateResponse state:%{public}d", state); in GetRrcConnectionStateResponse() 1476 int32_t RilCallback::GetNrOptionModeResponse(const RilRadioResponseInfo &responseInfo, int32_t state) in GetNrOptionModeResponse() argument 1478 HDF_LOGI("RilCallback::GetNrOptionModeResponse state:%{public}d", state); in GetNrOptionModeResponse() 1485 GetRrcConnectionStateUpdated(const RilRadioResponseInfo &responseInfo, int32_t state) GetRrcConnectionStateUpdated() argument 1901 RadioStateUpdated(const RilRadioResponseInfo &responseInfo, int32_t state) RadioStateUpdated() argument 1925 NcfgFinishedResult(const RilRadioResponseInfo &responseInfo, int32_t state) NcfgFinishedResult() argument 1931 RestartRildNvMatch(const RilRadioResponseInfo &responseInfo, int32_t state) RestartRildNvMatch() argument 1955 GetRadioStateResponse(const RilRadioResponseInfo &responseInfo, int32_t state) GetRadioStateResponse() argument [all...] |
/device/board/hihope/rk3568/audio_drivers/headset_monitor/src/ |
H A D | analog_headset_core.c | 376 static int AudioHeadsetSuspend(struct platform_device *pdev, pm_message_t state) in AudioHeadsetSuspend() argument 379 return AnalogHeadsetAdcSuspend(pdev, state); in AudioHeadsetSuspend()
|
/device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/src/ |
H A D | dw_gpio.c | 519 \param[in] state power state.\ref csi_power_stat_e. 522 int32_t csi_gpio_power_control(gpio_pin_handle_t handle, csi_power_stat_e state) in csi_gpio_power_control() argument 533 return drv_soc_power_control(&gpio_handle[gpio_pin_priv->portidx], state, &callback); in csi_gpio_power_control()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/adapt/ |
H A D | mpi_isp_adapt.h | 75 hi_s32 hi_mpi_isp_set_fmw_state(hi_vi_pipe vi_pipe, const hi_isp_fmw_state state);
76 hi_s32 hi_mpi_isp_get_fmw_state(hi_vi_pipe vi_pipe, hi_isp_fmw_state *state);
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/adapt/ |
H A D | mpi_isp_adapt.h | 75 hi_s32 hi_mpi_isp_set_fmw_state(hi_vi_pipe vi_pipe, const hi_isp_fmw_state state);
76 hi_s32 hi_mpi_isp_get_fmw_state(hi_vi_pipe vi_pipe, hi_isp_fmw_state *state);
|