Home
last modified time | relevance | path

Searched refs:choices (Results 1 – 25 of 76) sorted by relevance

1234

/linux-6.15/drivers/platform/x86/dell/
H A Ddell-pc.c233 static int thermal_platform_profile_probe(void *drvdata, unsigned long *choices) in thermal_platform_profile_probe() argument
236 set_bit(PLATFORM_PROFILE_QUIET, choices); in thermal_platform_profile_probe()
238 set_bit(PLATFORM_PROFILE_COOL, choices); in thermal_platform_profile_probe()
240 set_bit(PLATFORM_PROFILE_BALANCED, choices); in thermal_platform_profile_probe()
242 set_bit(PLATFORM_PROFILE_PERFORMANCE, choices); in thermal_platform_profile_probe()
H A Dalienware-wmi-wmax.c646 static int thermal_profile_probe(void *drvdata, unsigned long *choices) in thermal_profile_probe() argument
678 set_bit(profile, choices); in thermal_profile_probe()
681 if (bitmap_empty(choices, PLATFORM_PROFILE_LAST)) in thermal_profile_probe()
688 set_bit(PLATFORM_PROFILE_PERFORMANCE, choices); in thermal_profile_probe()
/linux-6.15/drivers/platform/surface/
H A Dsurface_platform_profile.c204 static int ssam_platform_profile_probe(void *drvdata, unsigned long *choices) in ssam_platform_profile_probe() argument
206 set_bit(PLATFORM_PROFILE_LOW_POWER, choices); in ssam_platform_profile_probe()
207 set_bit(PLATFORM_PROFILE_BALANCED, choices); in ssam_platform_profile_probe()
208 set_bit(PLATFORM_PROFILE_BALANCED_PERFORMANCE, choices); in ssam_platform_profile_probe()
209 set_bit(PLATFORM_PROFILE_PERFORMANCE, choices); in ssam_platform_profile_probe()
/linux-6.15/drivers/acpi/
H A Dplatform_profile.c23 unsigned long choices[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)]; member
53 static ssize_t _commmon_choices_show(unsigned long *choices, char *buf) in _commmon_choices_show() argument
57 for_each_set_bit(i, choices, PLATFORM_PROFILE_LAST) { in _commmon_choices_show()
82 if (!test_bit(*bit, handler->choices) && !test_bit(*bit, handler->hidden_choices)) in _store_class_profile()
165 return _commmon_choices_show(handler->choices, buf); in choices_show()
167 static DEVICE_ATTR_RO(choices);
262 bitmap_or(tmp, handler->choices, handler->hidden_choices, PLATFORM_PROFILE_LAST); in _aggregate_choices()
283 bitmap_andnot(data->aggregate, handler->choices, in _remove_hidden_choices()
565 err = ops->probe(drvdata, pprof->choices); in platform_profile_register()
571 if (bitmap_empty(pprof->choices, PLATFORM_PROFILE_LAST)) { in platform_profile_register()
/linux-6.15/drivers/platform/x86/
H A Dinspur_platform_profile.c167 static int inspur_platform_profile_probe(void *drvdata, unsigned long *choices) in inspur_platform_profile_probe() argument
169 set_bit(PLATFORM_PROFILE_LOW_POWER, choices); in inspur_platform_profile_probe()
170 set_bit(PLATFORM_PROFILE_BALANCED, choices); in inspur_platform_profile_probe()
171 set_bit(PLATFORM_PROFILE_PERFORMANCE, choices); in inspur_platform_profile_probe()
/linux-6.15/tools/net/sunrpc/xdrgen/
H A Dxdrgen62 choices=["server", "client",],
87 choices=["server", "client",],
116 choices=["server", "client",],
/linux-6.15/include/linux/
H A Dplatform_profile.h44 int (*probe)(void *drvdata, unsigned long *choices);
45 int (*hidden_choices)(void *drvdata, unsigned long *choices);
/linux-6.15/drivers/platform/x86/amd/pmf/
H A Dsps.c396 static int amd_pmf_hidden_choices(void *drvdata, unsigned long *choices) in amd_pmf_hidden_choices() argument
398 set_bit(PLATFORM_PROFILE_QUIET, choices); in amd_pmf_hidden_choices()
399 set_bit(PLATFORM_PROFILE_BALANCED_PERFORMANCE, choices); in amd_pmf_hidden_choices()
404 static int amd_pmf_profile_probe(void *drvdata, unsigned long *choices) in amd_pmf_profile_probe() argument
406 set_bit(PLATFORM_PROFILE_LOW_POWER, choices); in amd_pmf_profile_probe()
407 set_bit(PLATFORM_PROFILE_BALANCED, choices); in amd_pmf_profile_probe()
408 set_bit(PLATFORM_PROFILE_PERFORMANCE, choices); in amd_pmf_profile_probe()
/linux-6.15/fs/bcachefs/
H A Dopts.c237 .choices = _choices
240 .choices = _choices
242 .choices = _choices
380 ret = match_string(opt->choices, -1, val); in bch2_opt_parse()
391 s64 v = bch2_read_flag_list(val, opt->choices); in bch2_opt_parse()
442 prt_string_option(out, opt->choices, v); in bch2_opt_to_text()
444 prt_str(out, opt->choices[v]); in bch2_opt_to_text()
447 prt_bitflags(out, opt->choices, v); in bch2_opt_to_text()
/linux-6.15/tools/testing/selftests/tc-testing/
H A Dtdc_multibatch.py22 choices=['add', 'del', 'replace'],
45 choices=range(0, 256),
H A Dtdc_batch.py34 choices=['add', 'del', 'replace'],
43 choices=range(0, 256),
/linux-6.15/tools/crypto/ccp/
H A Ddbc_cli.py46 choices=["get-nonce", "get-param", "set-param", "set-uid"],
51 parser.add_argument("--message", choices=messages.keys(), help="Message index")
/linux-6.15/tools/perf/scripts/python/
H A Dflamegraph.py221 default="html", choices=["json", "html"],
231 choices=["blue-green", "orange"])
H A Dgecko.py369 …parser.add_argument('--user-color', default='yellow', help='Color for the User category', choices=…
370 …--kernel-color', default='orange', help='Color for the Kernel category', choices=['yellow', 'blue'…
/linux-6.15/drivers/gpu/drm/radeon/
H A Dradeon_vm.c182 unsigned choices[2] = {}; in radeon_vm_grab_id() local
206 choices[fence->ring == ring ? 0 : 1] = i; in radeon_vm_grab_id()
211 if (choices[i]) { in radeon_vm_grab_id()
212 vm_id->id = choices[i]; in radeon_vm_grab_id()
213 trace_radeon_vm_grab_id(choices[i], ring); in radeon_vm_grab_id()
214 return rdev->vm_manager.active[choices[i]]; in radeon_vm_grab_id()
/linux-6.15/drivers/platform/x86/hp/
H A Dhp-wmi.c1741 static int hp_wmi_platform_profile_probe(void *drvdata, unsigned long *choices) in hp_wmi_platform_profile_probe() argument
1744 set_bit(PLATFORM_PROFILE_COOL, choices); in hp_wmi_platform_profile_probe()
1746 set_bit(PLATFORM_PROFILE_QUIET, choices); in hp_wmi_platform_profile_probe()
1749 set_bit(PLATFORM_PROFILE_LOW_POWER, choices); in hp_wmi_platform_profile_probe()
1751 set_bit(PLATFORM_PROFILE_QUIET, choices); in hp_wmi_platform_profile_probe()
1752 set_bit(PLATFORM_PROFILE_COOL, choices); in hp_wmi_platform_profile_probe()
1755 set_bit(PLATFORM_PROFILE_BALANCED, choices); in hp_wmi_platform_profile_probe()
1756 set_bit(PLATFORM_PROFILE_PERFORMANCE, choices); in hp_wmi_platform_profile_probe()
/linux-6.15/usr/
H A DKconfig150 is slowest among the choices. The initramfs size is about 10% smaller
164 Decompression speed is between the other choices. Compression is
188 Its compression ratio is the second poorest amongst the choices. The
200 It's compression ratio is the poorest amongst the choices. The kernel
/linux-6.15/scripts/clang-tools/
H A Drun-clang-tools.py31 choices=["clang-tidy", "clang-analyzer"],
H A Dgen_compile_commands.py53 parser.add_argument('--log_level', choices=_VALID_LOG_LEVELS,
/linux-6.15/Documentation/mm/
H A Dmultigen_lru.rst19 * Fast paths to make obvious choices
26 choices, e.g., between different memcgs on a computer or different
40 additional factors stand out. But obvious choices might not be good
41 choices; thus self-correction is necessary.
48 and infer which of them are better choices.
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-class-platform-profile8 What: /sys/class/platform-profile/platform-profile-X/choices
/linux-6.15/Documentation/networking/
H A Dmptcp-sysctl.rst34 Shows the available path managers choices that are registered. More
38 Shows the available schedulers choices that are registered. More packet
/linux-6.15/tools/testing/kunit/
H A Dkunit.py407 choices=['skip'])
416 choices=['suite', 'test'])
428 type=str, nargs='?', const='all', default=None, choices=['all', 'kunit'])
/linux-6.15/Documentation/admin-guide/media/
H A Dsaa7134.rst54 for valid choices.
/linux-6.15/scripts/
H A Dchecktransupdate.py220 choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'],

1234