Home
last modified time | relevance | path

Searched refs:units (Results 1 – 25 of 249) sorted by relevance

12345678910

/linux/drivers/thermal/intel/int340x_thermal/
H A Dplatform_temperature_control.c49 u16 units; member
97 int ret, units; in ptc_mmio_show() local
106 units = mmio_regs[ret].units; in ptc_mmio_show()
112 if (units) in ptc_mmio_show()
113 ret *= units; in ptc_mmio_show()
160 if (ptc_mmio_regs[ret].units) in ptc_store()
161 input /= ptc_mmio_regs[ret].units; in ptc_store()
242 if (ptc_mmio_regs[PTC_TEMP_OVERRIDE_INDEX].units) in ptc_temperature_write()
243 value /= ptc_mmio_regs[PTC_TEMP_OVERRIDE_INDEX].units; in ptc_temperature_write()
/linux/drivers/watchdog/
H A Dit8712f_wdt.c151 int units = margin; in it8712f_wdt_update_margin() local
156 if (units <= max_units) { in it8712f_wdt_update_margin()
158 pr_info("timer margin %d seconds\n", units); in it8712f_wdt_update_margin()
160 units /= 60; in it8712f_wdt_update_margin()
161 pr_info("timer margin %d minutes\n", units); in it8712f_wdt_update_margin()
166 superio_outb(units >> 8, WDT_TIMEOUT + 1); in it8712f_wdt_update_margin()
167 superio_outb(units, WDT_TIMEOUT); in it8712f_wdt_update_margin()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dg84.c96 const struct nvkm_bitfield *units, u32 status) in nvkm_gr_vstatus_print() argument
104 for (i = 0; units[i].name && status; i++) { in nvkm_gr_vstatus_print()
110 nvkm_snprintbf(msg, sizeof(msg), units, mask); in nvkm_gr_vstatus_print()
183 .units = nv50_gr_units,
H A Dnv50.c286 u32 units = nvkm_rd32(device, 0x1540); in nv50_gr_mp_trap() local
292 if (!(units & 1 << (i+24))) in nv50_gr_mp_trap()
330 u32 units = nvkm_rd32(device, 0x1540); in nv50_gr_tp_trap() local
336 if (!(units & (1 << i))) in nv50_gr_tp_trap()
683 int ret, units, i; in nv50_gr_init() local
696 units = nvkm_rd32(device, 0x001540); in nv50_gr_init()
698 if (!(units & (1 << i))) in nv50_gr_init()
781 .units = nv50_gr_units,
H A Dctxnv50.c302 u32 units = nvkm_rd32(device, 0x1540); in nv50_gr_construct_mmio() local
499 if (units & (1<<(i+16))) { in nv50_gr_construct_mmio()
583 if (units & (1<<i)) { in nv50_gr_construct_mmio()
598 if (!(units & (1 << (j+24)))) continue; in nv50_gr_construct_mmio()
1195 u32 units = nvkm_rd32(device, 0x1540); in nv50_gr_construct_xfer1() local
1235 if (units & (1 << (i + 16))) in nv50_gr_construct_xfer1()
1243 if (units & (1 << (2 * i))) in nv50_gr_construct_xfer1()
1245 if (units & (1 << (2 * i + 1))) in nv50_gr_construct_xfer1()
1294 if (units & (1<<(i+16))) in nv50_gr_construct_xfer1()
1304 if (units & (1 << 0)) in nv50_gr_construct_xfer1()
[all …]
/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dsrio-rmu.txt22 length of the SRIO configuration registers for message units
23 and doorbell units.
53 length of the SRIO configuration registers for message units
54 and doorbell units.
83 length of the SRIO configuration registers for message units
84 and doorbell units.
113 length of the SRIO configuration registers for message units
114 and doorbell units.
/linux/arch/x86/events/intel/
H A Duncore_discovery.c93 type->units = RB_ROOT; in add_uncore_discovery_type()
132 intel_uncore_find_discovery_unit(struct rb_root *units, int die, in intel_uncore_find_discovery_unit() argument
138 if (!units) in intel_uncore_find_discovery_unit()
141 pos = rb_find_first(&pmu_idx, units, pmu_idx_cmp); in intel_uncore_find_discovery_unit()
162 int intel_uncore_find_discovery_unit_id(struct rb_root *units, int die, in intel_uncore_find_discovery_unit_id() argument
167 unit = intel_uncore_find_discovery_unit(units, die, pmu_idx); in intel_uncore_find_discovery_unit_id()
250 uncore_find_add_unit(node, &type->units, &type->num_units); in uncore_insert_box_info()
448 while (!RB_EMPTY_ROOT(&type->units)) { in intel_uncore_clear_discovery_tables()
449 node = rb_first(&type->units); in intel_uncore_clear_discovery_tables()
451 rb_erase(node, &type->units); in intel_uncore_clear_discovery_tables()
[all …]
H A Duncore_discovery.h130 struct rb_root units; /* Unit ctrl addr for all units */ member
168 int intel_uncore_find_discovery_unit_id(struct rb_root *units, int die,
/linux/drivers/char/
H A Dapm-emulation.c430 char *units; in proc_apm_show() local
437 info.units = -1; in proc_apm_show()
442 switch (info.units) { in proc_apm_show()
443 default: units = "?"; break; in proc_apm_show()
444 case 0: units = "min"; break; in proc_apm_show()
445 case 1: units = "sec"; break; in proc_apm_show()
452 info.time, units); in proc_apm_show()
/linux/drivers/iio/common/hid-sensors/
H A Dhid-sensor-attributes.c170 if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_poll_value()
191 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_read_samp_freq_value()
193 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_samp_freq_value()
216 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_write_samp_freq_value()
218 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_write_samp_freq_value()
418 unit_conversion[i].unit == attr_info->units) { in hid_sensor_format_scale()
449 if (st->poll.units == 0) in hid_sensor_get_reporting_interval()
450 st->poll.units = HID_USAGE_SENSOR_UNITS_MILLISECOND; in hid_sensor_get_reporting_interval()
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-s-hw-freq-seek.rst97 units of 62.5 kHz, or if the struct
99 ``V4L2_TUNER_CAP_LOW`` flag set, in units of 62.5 Hz or if the
101 the ``V4L2_TUNER_CAP_1HZ`` flag set, in units of 1 Hz. If
106 in units of 62.5 kHz, or if the struct
108 ``V4L2_TUNER_CAP_LOW`` flag set, in units of 62.5 Hz or if the
110 the ``V4L2_TUNER_CAP_1HZ`` flag set, in units of 1 Hz. If
H A Dvidioc-g-modulator.rst89 - The lowest tunable frequency in units of 62.5 KHz, or if the
90 ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of
92 set, in units of 1 Hz.
95 - The highest tunable frequency in units of 62.5 KHz, or if the
96 ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of
98 set, in units of 1 Hz.
H A Dvidioc-enum-freq-bands.rst81 - :cspan:`2` The lowest tunable frequency in units of 62.5 kHz, or
82 if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units
87 - :cspan:`2` The highest tunable frequency in units of 62.5 kHz,
89 units of 62.5 Hz, for this frequency band. A 1 Hz unit is used
H A Dvidioc-g-tuner.rst102 - :cspan:`1` The lowest tunable frequency in units of 62.5 kHz, or
103 if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units
105 is set, in units of 1 Hz. If multiple frequency bands are
110 - :cspan:`1` The highest tunable frequency in units of 62.5 kHz,
112 units of 62.5 Hz, or if the ``capability`` flag
113 ``V4L2_TUNER_CAP_1HZ`` is set, in units of 1 Hz. If multiple
221 - When set, tuning frequencies are expressed in units of 62.5 Hz
295 - When set, tuning frequencies are expressed in units of 1 Hz
/linux/Documentation/devicetree/bindings/powerpc/4xx/
H A Dcpm.txt16 - unused-units : specifier consist of one cell. For each
34 standby only class 2 and 3 units are set.
48 unused-units = <0x00000100>;
/linux/tools/testing/selftests/size/
H A Dget_size.c68 static int print_k_value(const char *s, unsigned long num, unsigned long units) in print_k_value() argument
76 temp = (temp * units)/1024; in print_k_value()
/linux/drivers/md/bcache/
H A Dutil.c94 static const char units[] = "?kMGTPEZY"; in STRTO_H() local
119 return sprintf(buf, "-%llu.%i%c", q, t * 10 / 1024, units[u]); in STRTO_H()
121 return sprintf(buf, "%llu.%i%c", q, t * 10 / 1024, units[u]); in STRTO_H()
/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-opal-powercap22 possible powercap in Watt units
25 possible powercap in Watt units
/linux/tools/perf/Documentation/
H A Dperf-bench.txt183 Available units are B, KB, MB, GB and TB (case insensitive).
193 Available units are B, KB, MB, GB and TB (case insensitive).
217 Available units are B, KB, MB, GB and TB (case insensitive).
227 Available units are B, KB, MB, GB and TB (case insensitive).
251 Available units are B, KB, MB, GB and TB (case insensitive).
/linux/Documentation/admin-guide/media/
H A Dsi476x.rst56 0x08 hicut HiCut cutoff frequency in units of
58 0x09 hiblend HiBlend cutoff frequency in units
137 0x14 freqoff Signed frequency offset in units of
150 0x26 pilotdev Pilot deviation in units of 100 Hz
/linux/tools/power/acpi/os_specific/service_layers/
H A Dosunixxf.c602 acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout) in acpi_os_wait_semaphore() argument
607 acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) in acpi_os_signal_semaphore() argument
715 acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 msec_timeout) in acpi_os_wait_semaphore() argument
833 acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) in acpi_os_signal_semaphore() argument
/linux/Documentation/i2c/busses/
H A Di2c-mlxcpld.rst36 units).
39 (in LPC_CLK units)
/linux/Documentation/usb/
H A Dmass-storage.rst10 multiple logical units (LUNs). Backing storage for each LUN is
102 The default value for non-CD-ROM logical units is false; for
103 logical units simulating CD-ROM it is forced to true.
108 Write10 and Write12 commands sent to given logical units.
125 This parameter specifies number of logical units the gadget will
133 If this parameter is not present, the number of logical units will
230 for all logical units whereas in MSG they accept a list of y/n
/linux/Documentation/networking/devlink/
H A Dsfc.rst28 control units, this is the SUC control unit's firmware version.
32 control units, this is the CMC control unit's firmware version.
/linux/Documentation/ABI/stable/
H A Dsysfs-bus-firewire20 What: /sys/bus/firewire/devices/fw[0-9]+/units
29 units
30 Summary of all units present in an IEEE 1394 node.

12345678910