Home
last modified time | relevance | path

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

123

/linux/drivers/platform/x86/dell/
H A Ddell-pc.c229 static int thermal_platform_profile_probe(void *drvdata, unsigned long *choices) in thermal_platform_profile_probe() argument
234 __set_bit(PLATFORM_PROFILE_QUIET, choices); in thermal_platform_profile_probe()
236 __set_bit(PLATFORM_PROFILE_COOL, choices); in thermal_platform_profile_probe()
238 __set_bit(PLATFORM_PROFILE_BALANCED, choices); in thermal_platform_profile_probe()
240 __set_bit(PLATFORM_PROFILE_PERFORMANCE, choices); in thermal_platform_profile_probe()
H A Dalienware-wmi-wmax.c1296 static int awcc_platform_profile_probe(void *drvdata, unsigned long *choices) in awcc_platform_profile_probe() argument
1335 __set_bit(profile, choices); in awcc_platform_profile_probe()
1338 if (bitmap_empty(choices, PLATFORM_PROFILE_LAST)) in awcc_platform_profile_probe()
1345 __set_bit(PLATFORM_PROFILE_PERFORMANCE, choices); in awcc_platform_profile_probe()
1352 __set_bit(PLATFORM_PROFILE_CUSTOM, choices); in awcc_platform_profile_probe()
/linux/drivers/platform/x86/lenovo/
H A Dwmi-gamezone.c328 static int lwmi_gz_platform_profile_probe(void *drvdata, unsigned long *choices) in lwmi_gz_platform_profile_probe() argument
341 set_bit(PLATFORM_PROFILE_LOW_POWER, choices); in lwmi_gz_platform_profile_probe()
342 set_bit(PLATFORM_PROFILE_BALANCED, choices); in lwmi_gz_platform_profile_probe()
343 set_bit(PLATFORM_PROFILE_PERFORMANCE, choices); in lwmi_gz_platform_profile_probe()
344 set_bit(PLATFORM_PROFILE_CUSTOM, choices); in lwmi_gz_platform_profile_probe()
348 set_bit(PLATFORM_PROFILE_MAX_POWER, choices); in lwmi_gz_platform_profile_probe()
/linux/drivers/acpi/
H A Dplatform_profile.c23 unsigned long choices[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)]; member
54 static ssize_t _commmon_choices_show(unsigned long *choices, char *buf) in _commmon_choices_show() argument
58 for_each_set_bit(i, choices, PLATFORM_PROFILE_LAST) { in _commmon_choices_show()
83 if (!test_bit(*bit, handler->choices) && !test_bit(*bit, handler->hidden_choices)) in _store_class_profile()
166 return _commmon_choices_show(handler->choices, buf); in choices_show()
168 static DEVICE_ATTR_RO(choices);
263 bitmap_or(tmp, handler->choices, handler->hidden_choices, PLATFORM_PROFILE_LAST); in _aggregate_choices()
284 bitmap_andnot(data->aggregate, handler->choices, in _remove_hidden_choices()
567 err = ops->probe(drvdata, pprof->choices); in platform_profile_register()
573 if (bitmap_empty(pprof->choices, PLATFORM_PROFILE_LAST)) { in platform_profile_register()
/linux/tools/net/sunrpc/xdrgen/
H A Dxdrgen67 choices=["server", "client",],
92 choices=["server", "client",],
121 choices=["server", "client",],
/linux/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/include/linux/
H A Dplatform_profile.h45 int (*probe)(void *drvdata, unsigned long *choices);
46 int (*hidden_choices)(void *drvdata, unsigned long *choices);
/linux/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/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/drivers/gpu/drm/radeon/
H A Dradeon_vm.c181 unsigned choices[2] = {}; in radeon_vm_grab_id() local
205 choices[fence->ring == ring ? 0 : 1] = i; in radeon_vm_grab_id()
210 if (choices[i]) { in radeon_vm_grab_id()
211 vm_id->id = choices[i]; in radeon_vm_grab_id()
212 trace_radeon_vm_grab_id(choices[i], ring); in radeon_vm_grab_id()
213 return rdev->vm_manager.active[choices[i]]; in radeon_vm_grab_id()
/linux/tools/perf/scripts/python/
H A Dflamegraph.py240 default="html", choices=["json", "html"],
250 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/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/drivers/platform/x86/hp/
H A Dhp-wmi.c1945 static int hp_wmi_platform_profile_probe(void *drvdata, unsigned long *choices) in hp_wmi_platform_profile_probe() argument
1948 set_bit(PLATFORM_PROFILE_COOL, choices); in hp_wmi_platform_profile_probe()
1950 set_bit(PLATFORM_PROFILE_QUIET, choices); in hp_wmi_platform_profile_probe()
1953 set_bit(PLATFORM_PROFILE_LOW_POWER, choices); in hp_wmi_platform_profile_probe()
1955 set_bit(PLATFORM_PROFILE_QUIET, choices); in hp_wmi_platform_profile_probe()
1956 set_bit(PLATFORM_PROFILE_COOL, choices); in hp_wmi_platform_profile_probe()
1959 set_bit(PLATFORM_PROFILE_BALANCED, choices); in hp_wmi_platform_profile_probe()
1960 set_bit(PLATFORM_PROFILE_PERFORMANCE, choices); in hp_wmi_platform_profile_probe()
/linux/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/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/Documentation/ABI/testing/
H A Dsysfs-class-platform-profile8 What: /sys/class/platform-profile/platform-profile-X/choices
/linux/scripts/
H A Dcontainer178 '-r', '--runtime', choices=Runtimes.get_names(),
/linux/drivers/platform/x86/
H A Dacer-wmi.c2173 acer_predator_v4_platform_profile_probe(void *drvdata, unsigned long *choices) in acer_predator_v4_platform_profile_probe() argument
2175 set_bit(PLATFORM_PROFILE_PERFORMANCE, choices); in acer_predator_v4_platform_profile_probe()
2176 set_bit(PLATFORM_PROFILE_BALANCED_PERFORMANCE, choices); in acer_predator_v4_platform_profile_probe()
2177 set_bit(PLATFORM_PROFILE_BALANCED, choices); in acer_predator_v4_platform_profile_probe()
2178 set_bit(PLATFORM_PROFILE_QUIET, choices); in acer_predator_v4_platform_profile_probe()
2179 set_bit(PLATFORM_PROFILE_LOW_POWER, choices); in acer_predator_v4_platform_profile_probe()
H A Dsamsung-galaxybook.c648 static int galaxybook_platform_profile_probe(void *drvdata, unsigned long *choices) in galaxybook_platform_profile_probe() argument
706 set_bit(profile, choices); in galaxybook_platform_profile_probe()
713 if (test_bit(PLATFORM_PROFILE_BALANCED, choices)) in galaxybook_platform_profile_probe()
/linux/tools/docs/
H A Dchecktransupdate.py256 choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'],
H A Dsphinx-build-wrapper847 parser.add_argument("target", choices=list(TARGETS.keys()),
858 parser.add_argument("--paper", choices=PAPER, default=PAPER[0],
/linux/tools/testing/selftests/drivers/net/
H A Dnetpoll_basic.py141 random_suffix = "".join(random.choices(string.ascii_lowercase + string.digits, k=8))

123