Searched refs:knob (Results 1 - 7 of 7) sorted by relevance

/linux-master/drivers/memory/
H A Dda8xx-ddrctl.c72 const struct da8xx_ddrctl_config_knob *knob; local
76 knob = &da8xx_ddrctl_knobs[i];
78 if (strcmp(knob->name, setting->name) == 0)
79 return knob;
102 const struct da8xx_ddrctl_config_knob *knob; local
124 knob = da8xx_ddrctl_match_knob(setting);
125 if (!knob) {
131 if (knob->reg + sizeof(u32) > resource_size(res)) {
134 knob->name);
138 reg = readl(ddrctl + knob
[all...]
/linux-master/tools/perf/tests/
H A Dsw-clock.c76 const char *knob = "/proc/sys/kernel/perf_event_max_sample_rate"; local
81 knob, (u64)attr.sample_freq);
/linux-master/drivers/thermal/intel/int340x_thermal/
H A Dacpi_thermal_rel.c273 union acpi_object *knob; local
281 knob = &(package->package.elements[ACPI_PSVT_CONTROL_KNOB]);
288 if (knob->type == ACPI_TYPE_STRING) {
290 if (knob->string.length > ACPI_LIMIT_STR_MAX_LEN - 1) {
292 knob->string.length = ACPI_LIMIT_STR_MAX_LEN - 1;
308 psvt->control_knob_type = (u64)knob->type;
310 if (knob->type == ACPI_TYPE_STRING) {
312 strncpy(psvt->limit.string, psvt_ptr->limit.str_ptr, knob->string.length);
/linux-master/drivers/parisc/
H A Dpdc_stable.c536 * @knob: The PF_AUTOBOOT or PF_AUTOSEARCH flag
540 char *buf, int knob)
552 out += sprintf(out, "%s\n", (pathentry->devpath.path.flags & knob) ?
756 * @knob: The PF_AUTOBOOT or PF_AUTOSEARCH flag
764 size_t count, int knob)
797 flags &= ~knob;
799 flags |= knob;
814 (knob & PF_AUTOBOOT) ? "autoboot" : "autosearch",
815 (flags & knob) ? "On" : "Off");
538 pdcs_auto_read(struct kobject *kobj, struct kobj_attribute *attr, char *buf, int knob) argument
762 pdcs_auto_write(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count, int knob) argument
/linux-master/mm/
H A Dksm.c801 * When merge_across_nodes knob is set to 1, there are only two rb-trees for
3498 unsigned long knob; local
3500 err = kstrtoul(buf, 10, &knob);
3503 if (knob > 1)
3508 if (ksm_merge_across_nodes != knob) {
3533 ksm_merge_across_nodes = knob;
3534 ksm_nr_node_ids = knob ? 1 : nr_node_ids;
3577 int knob; local
3579 err = kstrtoint(buf, 10, &knob);
3587 if (knob <
[all...]
/linux-master/drivers/cpufreq/
H A DKconfig.x86104 bool "Legacy cpb sysfs knob support for AMD CPUs"
107 The powernow-k8 driver used to provide a sysfs knob called "cpb"
/linux-master/fs/btrfs/
H A Dsysfs.c1120 unsigned long knob; local
1129 err = kstrtoul(buf, 10, &knob);
1132 if (knob > 1)
1135 if (knob)

Completed in 1064 milliseconds