/kernel/linux/linux-6.6/drivers/platform/x86/amd/pmf/ |
H A D | auto-mode.c | 27 data->transition[AUTO_TRANSITION_TO_PERFORMANCE].time_constant); in amd_pmf_dump_auto_mode_defaults() 29 data->transition[AUTO_TRANSITION_FROM_PERFORMANCE_TO_BALANCE].time_constant); in amd_pmf_dump_auto_mode_defaults() 31 data->transition[AUTO_TRANSITION_FROM_QUIET_TO_BALANCE].time_constant); in amd_pmf_dump_auto_mode_defaults() 33 data->transition[AUTO_TRANSITION_TO_QUIET].time_constant); in amd_pmf_dump_auto_mode_defaults() 42 data->transition[AUTO_TRANSITION_TO_PERFORMANCE].power_delta); in amd_pmf_dump_auto_mode_defaults() 44 data->transition[AUTO_TRANSITION_FROM_PERFORMANCE_TO_BALANCE].power_delta); in amd_pmf_dump_auto_mode_defaults() 46 data->transition[AUTO_TRANSITION_FROM_QUIET_TO_BALANCE].power_delta); in amd_pmf_dump_auto_mode_defaults() 48 data->transition[AUTO_TRANSITION_TO_QUIET].power_delta); in amd_pmf_dump_auto_mode_defaults() 160 if ((config_store.transition[i].shifting_up && avg_power >= in amd_pmf_trans_automode() 161 config_store.transition[ in amd_pmf_trans_automode() [all...] |
H A D | pmf.h | 259 struct auto_mode_trans_params transition[AUTO_TRANSITION_MAX]; member
|
/kernel/linux/linux-5.10/kernel/livepatch/ |
H A D | Makefile | 4 livepatch-objs := core.o patch.o shadow.o state.o transition.o
|
H A D | transition.c | 3 * transition.c - Kernel Live Patching transition functions 14 #include "transition.h" 30 * "straggler" tasks which failed to transition in the first attempt. 66 * The transition to the target patch state is complete. Clean up the data 76 pr_debug("'%s': completing %s transition\n", in klp_complete_transition() 95 * func->transition gets cleared, the handler may choose a in klp_complete_transition() 103 func->transition = false; in klp_complete_transition() 139 * This is called in the error path, to cancel a transition before it has 141 * klp_start_transition() hasn't. If the transition *ha [all...] |
H A D | patch.c | 21 #include "transition.h" 70 * func->transition reads. The corresponding write barrier is in in klp_ftrace_handler() 75 * this handler, its TIF_PATCH_PENDING read and this func->transition in klp_ftrace_handler() 81 if (unlikely(func->transition)) { in klp_ftrace_handler() 84 * Enforce the order of the func->transition and in klp_ftrace_handler()
|
H A D | core.c | 26 #include "transition.h" 39 * Actively used patches: enabled or in transition. Note that replaced 330 * /sys/kernel/livepatch/<patch>/transition 359 * Allow to reverse a pending transition in both ways. It might be in enabled_store() 360 * necessary to complete the transition without forcing and breaking in enabled_store() 429 static struct kobj_attribute transition_kobj_attr = __ATTR_RO(transition); 740 func->transition = false; in klp_init_func() 946 * Enforce the order of the func->transition writes in in __klp_disable_patch() 950 * this ensures the handler sees that func->transition is set. in __klp_disable_patch() 977 * Enforce the order of the func->transition write in __klp_enable_patch() [all...] |
/kernel/linux/linux-6.6/kernel/livepatch/ |
H A D | Makefile | 4 livepatch-objs := core.o patch.o shadow.o state.o transition.o
|
H A D | transition.c | 3 * transition.c - Kernel Live Patching transition functions 15 #include "transition.h" 51 * "straggler" tasks which failed to transition in the first attempt. 87 * The transition to the target patch state is complete. Clean up the data 97 pr_debug("'%s': completing %s transition\n", in klp_complete_transition() 116 * func->transition gets cleared, the handler may choose a in klp_complete_transition() 124 func->transition = false; in klp_complete_transition() 160 * This is called in the error path, to cancel a transition before it has 162 * klp_start_transition() hasn't. If the transition *ha [all...] |
H A D | patch.c | 21 #include "transition.h" 75 * func->transition reads. The corresponding write barrier is in in klp_ftrace_handler() 80 * this handler, its TIF_PATCH_PENDING read and this func->transition in klp_ftrace_handler() 86 if (unlikely(func->transition)) { in klp_ftrace_handler() 89 * Enforce the order of the func->transition and in klp_ftrace_handler()
|
H A D | core.c | 27 #include "transition.h" 41 * Actively used patches: enabled or in transition. Note that replaced 347 * /sys/kernel/livepatch/<patch>/transition 377 * Allow to reverse a pending transition in both ways. It might be in enabled_store() 378 * necessary to complete the transition without forcing and breaking in enabled_store() 447 static struct kobj_attribute transition_kobj_attr = __ATTR_RO(transition); 775 func->transition = false; in klp_init_func() 983 * Enforce the order of the func->transition writes in in __klp_disable_patch() 987 * this ensures the handler sees that func->transition is set. in __klp_disable_patch() 1014 * Enforce the order of the func->transition write in __klp_enable_patch() [all...] |
/kernel/linux/linux-5.10/net/hsr/ |
H A D | hsr_device.c | 31 static void __hsr_set_operstate(struct net_device *dev, int transition) in __hsr_set_operstate() argument 34 if (dev->operstate != transition) { in __hsr_set_operstate() 35 dev->operstate = transition; in __hsr_set_operstate()
|
/kernel/linux/linux-6.6/net/hsr/ |
H A D | hsr_device.c | 31 static void __hsr_set_operstate(struct net_device *dev, int transition) in __hsr_set_operstate() argument 34 if (dev->operstate != transition) { in __hsr_set_operstate() 35 dev->operstate = transition; in __hsr_set_operstate()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | livepatch.h | 40 * @transition: the func is currently being applied or reverted 42 * The patched and transition variables define the func's patching state. When 45 * patched=0 transition=0: unpatched 46 * patched=0 transition=1: unpatched, temporary starting state 47 * patched=1 transition=1: patched, may be visible to some tasks 48 * patched=1 transition=0: patched, visible to all tasks 52 * patched=1 transition=0: patched, visible to all tasks 53 * patched=1 transition=1: patched, may be visible to some tasks 54 * patched=0 transition=1: unpatched, temporary ending state 55 * patched=0 transition 78 bool transition; global() member [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | livepatch.h | 39 * @transition: the func is currently being applied or reverted 41 * The patched and transition variables define the func's patching state. When 44 * patched=0 transition=0: unpatched 45 * patched=0 transition=1: unpatched, temporary starting state 46 * patched=1 transition=1: patched, may be visible to some tasks 47 * patched=1 transition=0: patched, visible to all tasks 51 * patched=1 transition=0: patched, visible to all tasks 52 * patched=1 transition=1: patched, may be visible to some tasks 53 * patched=0 transition=1: unpatched, temporary ending state 54 * patched=0 transition 77 bool transition; global() member [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp.c | 100 /* initialize transition input */ in execution() 125 static enum mod_hdcp_status transition(struct mod_hdcp *hdcp, in transition() function 451 /* execute and transition */ in mod_hdcp_process_event() 453 trans_status = transition( in mod_hdcp_process_event()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp.c | 102 /* initialize transition input */ in execution() 127 static enum mod_hdcp_status transition(struct mod_hdcp *hdcp, in transition() function 546 /* execute and transition */ in mod_hdcp_process_event() 548 trans_status = transition( in mod_hdcp_process_event()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
H A D | phy.c | 1371 struct b43legacy_lopair transition; in b43legacy_phy_lo_g_state() local 1409 transition.high = tmp_pair.high + in b43legacy_phy_lo_g_state() 1411 transition.low = tmp_pair.low + transitions[j - 1].low; in b43legacy_phy_lo_g_state() 1412 if ((abs(transition.low) < 9) in b43legacy_phy_lo_g_state() 1413 && (abs(transition.high) < 9)) { in b43legacy_phy_lo_g_state() 1414 b43legacy_lo_write(dev, &transition); in b43legacy_phy_lo_g_state() 1423 transition.high; in b43legacy_phy_lo_g_state() 1424 lowest_transition.low = transition.low; in b43legacy_phy_lo_g_state()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/ |
H A D | phy.c | 1371 struct b43legacy_lopair transition; in b43legacy_phy_lo_g_state() local 1409 transition.high = tmp_pair.high + in b43legacy_phy_lo_g_state() 1411 transition.low = tmp_pair.low + transitions[j - 1].low; in b43legacy_phy_lo_g_state() 1412 if ((abs(transition.low) < 9) in b43legacy_phy_lo_g_state() 1413 && (abs(transition.high) < 9)) { in b43legacy_phy_lo_g_state() 1414 b43legacy_lo_write(dev, &transition); in b43legacy_phy_lo_g_state() 1423 transition.high; in b43legacy_phy_lo_g_state() 1424 lowest_transition.low = transition.low; in b43legacy_phy_lo_g_state()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | sram242x.S | 105 str r5, [r4] @ Force transition to L1 200 str r8, [r10] @ Force transition to L1
|
H A D | sram243x.S | 105 str r5, [r4] @ Force transition to L1 200 str r8, [r10] @ Force transition to L1
|
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | sram242x.S | 105 str r5, [r4] @ Force transition to L1 200 str r8, [r10] @ Force transition to L1
|
H A D | sram243x.S | 105 str r5, [r4] @ Force transition to L1 200 str r8, [r10] @ Force transition to L1
|
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | domain.c | 112 * Domain transition preference is allowed for only in tomoyo_update_domain() 285 * tomoyo_scan_transition - Try to find specific domain transition type. 329 * tomoyo_transition_type - Get domain transition type. 336 * domain transition across namespaces, TOMOYO_TRANSITION_CONTROL_INITIALIZE if 337 * executing @program reinitializes domain transition within that namespace, 536 * that domain. Do not perform domain transition if in tomoyo_assign_domain() 553 * by automatically creating requested domain upon domain transition. in tomoyo_assign_domain() 769 * Check for domain transition preference if "file execute" matched. in tomoyo_find_next_domain() 770 * If preference is given, make execve() fail if domain transition in tomoyo_find_next_domain() 771 * has failed, for domain transition preferenc in tomoyo_find_next_domain() [all...] |
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | domain.c | 112 * Domain transition preference is allowed for only in tomoyo_update_domain() 285 * tomoyo_scan_transition - Try to find specific domain transition type. 329 * tomoyo_transition_type - Get domain transition type. 336 * domain transition across namespaces, TOMOYO_TRANSITION_CONTROL_INITIALIZE if 337 * executing @program reinitializes domain transition within that namespace, 534 * that domain. Do not perform domain transition if in tomoyo_assign_domain() 551 * by automatically creating requested domain upon domain transition. in tomoyo_assign_domain() 767 * Check for domain transition preference if "file execute" matched. in tomoyo_find_next_domain() 768 * If preference is given, make execve() fail if domain transition in tomoyo_find_next_domain() 769 * has failed, for domain transition preferenc in tomoyo_find_next_domain() [all...] |
/kernel/linux/linux-5.10/drivers/perf/ |
H A D | fsl_imx8_ddr_perf.c | 200 IMX8_DDR_PMU_EVENT_ATTR(read-write-transition, 0x30),
|