Home
last modified time | relevance | path

Searched refs:pm_type (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/msm/dp/
Ddp_power.c61 int dp_power_clk_status(struct dp_power *dp_power, enum dp_pm_type pm_type) in dp_power_clk_status() argument
71 if (pm_type == DP_CORE_PM) in dp_power_clk_status()
74 if (pm_type == DP_CTRL_PM) in dp_power_clk_status()
77 if (pm_type == DP_STREAM_PM) in dp_power_clk_status()
84 enum dp_pm_type pm_type, bool enable) in dp_power_clk_enable() argument
92 if (pm_type != DP_CORE_PM && pm_type != DP_CTRL_PM && in dp_power_clk_enable()
93 pm_type != DP_STREAM_PM) { in dp_power_clk_enable()
95 dp_parser_pm_name(pm_type)); in dp_power_clk_enable()
100 if (pm_type == DP_CORE_PM && dp_power->core_clks_on) { in dp_power_clk_enable()
106 if (pm_type == DP_CTRL_PM && dp_power->link_clks_on) { in dp_power_clk_enable()
[all …]
Ddp_power.h57 int dp_power_clk_status(struct dp_power *dp_power, enum dp_pm_type pm_type);
70 int dp_power_clk_enable(struct dp_power *power, enum dp_pm_type pm_type,
/linux-6.1.9/net/mptcp/
Dctrl.c34 u8 pm_type; member
69 return mptcp_get_pernet(net)->pm_type; in mptcp_get_pm_type()
79 pernet->pm_type = MPTCP_PM_TYPE_KERNEL; in mptcp_pernet_set_defaults()
151 table[5].data = &pernet->pm_type; in mptcp_pernet_new_table()
Dpm.c450 u8 pm_type = mptcp_get_pm_type(sock_net((struct sock *)msk)); in mptcp_pm_data_reset() local
459 WRITE_ONCE(pm->pm_type, pm_type); in mptcp_pm_data_reset()
461 if (pm_type == MPTCP_PM_TYPE_KERNEL) { in mptcp_pm_data_reset()
Dprotocol.h223 u8 pm_type; member
856 return READ_ONCE(msk->pm.pm_type) == MPTCP_PM_TYPE_USERSPACE; in mptcp_pm_is_userspace()
861 return READ_ONCE(msk->pm.pm_type) == MPTCP_PM_TYPE_KERNEL; in mptcp_pm_is_kernel()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c433 enum amd_pm_state_type pm_type; in pp_dpm_get_current_power_state() local
442 pm_type = POWER_STATE_TYPE_BATTERY; in pp_dpm_get_current_power_state()
445 pm_type = POWER_STATE_TYPE_BALANCED; in pp_dpm_get_current_power_state()
448 pm_type = POWER_STATE_TYPE_PERFORMANCE; in pp_dpm_get_current_power_state()
452 pm_type = POWER_STATE_TYPE_INTERNAL_BOOT; in pp_dpm_get_current_power_state()
454 pm_type = POWER_STATE_TYPE_DEFAULT; in pp_dpm_get_current_power_state()
458 return pm_type; in pp_dpm_get_current_power_state()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c621 enum amd_pm_state_type pm_type; in renoir_get_current_power_state() local
630 pm_type = POWER_STATE_TYPE_BATTERY; in renoir_get_current_power_state()
633 pm_type = POWER_STATE_TYPE_BALANCED; in renoir_get_current_power_state()
636 pm_type = POWER_STATE_TYPE_PERFORMANCE; in renoir_get_current_power_state()
640 pm_type = POWER_STATE_TYPE_INTERNAL_BOOT; in renoir_get_current_power_state()
642 pm_type = POWER_STATE_TYPE_DEFAULT; in renoir_get_current_power_state()
646 return pm_type; in renoir_get_current_power_state()
/linux-6.1.9/Documentation/networking/
Dmptcp-sysctl.rst49 pm_type - INTEGER
/linux-6.1.9/tools/testing/selftests/net/mptcp/
Duserspace_pm.sh81 ip netns exec "$i" sysctl -q net.mptcp.pm_type=1
Dmptcp_join.sh73 ip netns exec $netns sysctl -q net.mptcp.pm_type=0
1756 ip netns exec $ns sysctl -q net.mptcp.pm_type=1