Home
last modified time | relevance | path

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

123

/Linux-v6.1/sound/isa/gus/
Dgus_volume.c150 int wheel, sensitivity;
159 sensitivity = ((int) sens * wheel) / 128;
160 if (sensitivity < 0) {
162 sensitivity = -sensitivity;
164 semitones = (unsigned int) (sensitivity >> 13);
165 mantissa = sensitivity % 8192;
/Linux-v6.1/drivers/media/i2c/et8ek8/
Det8ek8_mode.c55 .sensitivity = 65536
156 .sensitivity = 65536
212 .sensitivity = 65536
268 .sensitivity = 65536
324 .sensitivity = 65536
380 .sensitivity = 65536
435 .sensitivity = 65536
491 .sensitivity = 65536
547 .sensitivity = 65536
Det8ek8_reg.h44 u32 sensitivity; /* 16.16 fixed point */ member
/Linux-v6.1/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c243 st->sensitivity.report_id, in hid_sensor_read_raw_hyst_value()
244 st->sensitivity.index, sizeof(value), in hid_sensor_read_raw_hyst_value()
250 convert_from_vtf_format(value, st->sensitivity.size, in hid_sensor_read_raw_hyst_value()
251 st->sensitivity.unit_expo, in hid_sensor_read_raw_hyst_value()
291 value = convert_to_vtf_format(st->sensitivity.size, in hid_sensor_write_raw_hyst_value()
292 st->sensitivity.unit_expo, in hid_sensor_write_raw_hyst_value()
294 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value()
295 st->sensitivity.index, sizeof(value), in hid_sensor_write_raw_hyst_value()
301 st->sensitivity.report_id, in hid_sensor_write_raw_hyst_value()
302 st->sensitivity.index, sizeof(value), in hid_sensor_write_raw_hyst_value()
[all …]
Dhid-sensor-trigger.c194 attrb->sensitivity.report_id, in hid_sensor_set_power_work()
195 attrb->sensitivity.index, in hid_sensor_set_power_work()
/Linux-v6.1/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_magn.c64 int32_t sensitivity; in inv_magn_init() local
116 sensitivity = 3000; in inv_magn_init()
121 sensitivity = 1500; in inv_magn_init()
136 st->magn_raw_to_gauss[0] = (((int32_t)asa[0] + 128) * sensitivity) / 256; in inv_magn_init()
137 st->magn_raw_to_gauss[1] = (((int32_t)asa[1] + 128) * sensitivity) / 256; in inv_magn_init()
138 st->magn_raw_to_gauss[2] = (((int32_t)asa[2] + 128) * sensitivity) / 256; in inv_magn_init()
/Linux-v6.1/drivers/platform/x86/
Dclassmate-laptop.c19 int sensitivity; member
213 return sprintf(buf, "%d\n", accel->sensitivity); in cmpc_accel_sensitivity_show_v4()
223 unsigned long sensitivity; in cmpc_accel_sensitivity_store_v4() local
230 r = kstrtoul(buf, 0, &sensitivity); in cmpc_accel_sensitivity_store_v4()
235 if (sensitivity < 1 || sensitivity > 127) in cmpc_accel_sensitivity_store_v4()
238 accel->sensitivity = sensitivity; in cmpc_accel_sensitivity_store_v4()
239 cmpc_accel_set_sensitivity_v4(acpi->handle, sensitivity); in cmpc_accel_sensitivity_store_v4()
307 cmpc_accel_set_sensitivity_v4(acpi->handle, accel->sensitivity); in cmpc_accel_open_v4()
364 accel->sensitivity); in cmpc_accel_resume_v4()
388 accel->sensitivity = CMPC_ACCEL_SENSITIVITY_DEFAULT; in cmpc_accel_add_v4()
[all …]
/Linux-v6.1/drivers/cpufreq/
Damd_freq_sensitivity.c43 int sensitivity; in amd_powersave_bias_target() local
76 sensitivity = POWERSAVE_BIAS_MAX - in amd_powersave_bias_target()
79 clamp(sensitivity, 0, POWERSAVE_BIAS_MAX); in amd_powersave_bias_target()
82 if (sensitivity < od_tuners->powersave_bias) { in amd_powersave_bias_target()
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-driver-hid-lenovo37 …<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/sensitivity
40 Description: This file contains the trackpoint sensitivity.
41 Values are decimal integers from 1 (lowest sensitivity) to 255 (highest sensitivity).
Dsysfs-devices-platform-trackpoint1 What: /sys/devices/platform/i8042/.../sensitivity
6 (RW) Trackpoint sensitivity.
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c1713 if (!dev->sensitivity || dev->sensitivity < -100) { in mt7603_adjust_sensitivity()
1714 dev->sensitivity = 0; in mt7603_adjust_sensitivity()
1715 } else if (dev->sensitivity <= -84) { in mt7603_adjust_sensitivity()
1716 adj = 7 + (dev->sensitivity + 92) / 2; in mt7603_adjust_sensitivity()
1722 } else if (dev->sensitivity <= -72) { in mt7603_adjust_sensitivity()
1723 adj = 7 + (dev->sensitivity + 80) / 2; in mt7603_adjust_sensitivity()
1732 if (dev->sensitivity > -54) in mt7603_adjust_sensitivity()
1733 dev->sensitivity = -54; in mt7603_adjust_sensitivity()
1735 adj = 7 + (dev->sensitivity + 80) / 2; in mt7603_adjust_sensitivity()
1779 dev->sensitivity = 0; in mt7603_false_cca_check()
[all …]
Ddebugfs.c36 seq_printf(s, "Sensitivity: %d\n", dev->sensitivity); in mt7603_radio_read()
/Linux-v6.1/drivers/hid/
Dhid-lenovo.c52 int sensitivity; member
528 ret = lenovo_send_cmd_cptkbd(hdev, 0x02, cptkbd_data->sensitivity); in lenovo_features_set_cptkbd()
585 cptkbd_data->sensitivity); in attr_sensitivity_show_cptkbd()
600 cptkbd_data->sensitivity = value; in attr_sensitivity_store_cptkbd()
613 __ATTR(sensitivity, S_IWUSR | S_IRUGO,
742 report->field[2]->value[0] = data_pointer->sensitivity; in lenovo_features_set_tpkbd()
877 data_pointer->sensitivity); in attr_sensitivity_show_tpkbd()
892 data_pointer->sensitivity = value; in attr_sensitivity_store_tpkbd()
948 __ATTR(sensitivity, S_IWUSR | S_IRUGO,
1090 data_pointer->sensitivity = 0xa0; in lenovo_probe_tpkbd()
[all …]
/Linux-v6.1/security/selinux/ss/
Dmls.c240 char *sensitivity, *cur_cat, *next_cat, *rngptr; in mls_context_to_sid() local
287 sensitivity = rangep[l]; in mls_context_to_sid()
288 if (sensitivity == NULL) in mls_context_to_sid()
290 next_cat = strchr(sensitivity, ':'); in mls_context_to_sid()
295 levdatum = symtab_search(&pol->p_levels, sensitivity); in mls_context_to_sid()
/Linux-v6.1/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c452 if (st->rot_attributes.sensitivity.index < 0) { in magn_3d_parse_report()
457 &st->rot_attributes.sensitivity); in magn_3d_parse_report()
459 st->rot_attributes.sensitivity.index, in magn_3d_parse_report()
460 st->rot_attributes.sensitivity.report_id); in magn_3d_parse_report()
499 magn_state->rot_attributes.sensitivity.index = -1; in hid_magn_3d_probe()
/Linux-v6.1/Documentation/input/devices/
Dedt-ft5x06.rst21 allows setting the sensitivity in the range from 0 to 31. Note that
22 lower values indicate higher sensitivity.
/Linux-v6.1/Documentation/ABI/obsolete/
Dsysfs-driver-hid-roccat-kovaplus27 sensitivity in x direction.
37 sensitivity in y direction.
94 profile_settings holds information like resolution, sensitivity
110 profile_settings holds information like resolution, sensitivity
/Linux-v6.1/drivers/iio/proximity/
Dsrf08.c60 int sensitivity; member
341 len = sprintf(buf, "%d\n", data->sensitivity); in srf08_show_sensitivity()
374 data->sensitivity = val; in srf08_write_sensitivity()
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dext-ctrls-camera.rst335 sensitivity to light. The numbers are expressed in arithmetic scale,
337 sensitivity is represented by doubling the numerical ISO value.
346 .. _v4l2-iso-sensitivity-auto-type:
352 Enables or disables automatic ISO sensitivity adjustments.
361 - Manual ISO sensitivity.
363 - Automatic ISO sensitivity adjustments.
376 white balance and equivalent sensitivity. The controls of those
409 - Candle light. The camera generally raises the ISO sensitivity and
435 medium-to-high ISO sensitivity, with a relatively long exposure
441 usually increases ISO sensitivity, and adjusts exposure for the
/Linux-v6.1/drivers/input/mouse/
Dtrackpoint.h148 u8 sensitivity, speed, inertia, reach; member
Dtrackpoint.c185 TRACKPOINT_INT_ATTR(sensitivity, TP_SENS, TP_DEF_SENS);
327 TRACKPOINT_UPDATE(in_power_on_state, psmouse, tp, sensitivity); in trackpoint_sync()
349 TRACKPOINT_SET_POWER_ON_DEFAULT(tp, sensitivity); in trackpoint_defaults()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c1816 s8 *sensitivity; in mt7615_mac_adjust_sensitivity() local
1819 sensitivity = ofdm ? &phy->ofdm_sensitivity : &phy->cck_sensitivity; in mt7615_mac_adjust_sensitivity()
1832 if (*sensitivity == def_th && signal > -90) { in mt7615_mac_adjust_sensitivity()
1833 *sensitivity = -90; in mt7615_mac_adjust_sensitivity()
1835 } else if (*sensitivity + 2 < signal) { in mt7615_mac_adjust_sensitivity()
1836 *sensitivity += 2; in mt7615_mac_adjust_sensitivity()
1842 if (*sensitivity - 2 >= def_th) { in mt7615_mac_adjust_sensitivity()
1843 *sensitivity -= 2; in mt7615_mac_adjust_sensitivity()
1848 if (*sensitivity > signal) { in mt7615_mac_adjust_sensitivity()
1849 *sensitivity = signal; in mt7615_mac_adjust_sensitivity()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/interrupt-controller/
Dcdns,xtensa-pic.txt13 IRQ sensitivity and priority are fixed for each core variant and may not be
/Linux-v6.1/Documentation/devicetree/bindings/net/can/
Dcc770.txt15 (number and sensitivity) required for the controller.
/Linux-v6.1/include/linux/
Dhid-sensor-hub.h233 struct hid_sensor_hub_attribute_info sensitivity; member

123