| /linux/sound/synth/ |
| H A D | util_mem.c | 63 unsigned int units, prev_offset; in __snd_util_mem_alloc() local 70 units = size; in __snd_util_mem_alloc() 71 if (units & 1) in __snd_util_mem_alloc() 72 units++; in __snd_util_mem_alloc() 73 if (units > hdr->size) in __snd_util_mem_alloc() 80 if (blk->offset - prev_offset >= units) in __snd_util_mem_alloc() 84 if (hdr->size - prev_offset < units) in __snd_util_mem_alloc() 88 return __snd_util_memblk_new(hdr, units, p->prev); in __snd_util_mem_alloc() 97 __snd_util_memblk_new(struct snd_util_memhdr *hdr, unsigned int units, in __snd_util_memblk_new() argument 113 blk->size = units; in __snd_util_memblk_new() [all …]
|
| /linux/drivers/thermal/intel/int340x_thermal/ |
| H A D | platform_temperature_control.c | 49 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 D | it8712f_wdt.c | 151 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 D | g84.c | 96 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 D | nv50.c | 286 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 D | ctxnv50.c | 302 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 D | srio-rmu.txt | 22 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 D | uncore_discovery.c | 75 type->units = RB_ROOT; in add_uncore_discovery_type() 114 intel_uncore_find_discovery_unit(struct rb_root *units, int die, in intel_uncore_find_discovery_unit() argument 120 if (!units) in intel_uncore_find_discovery_unit() 123 pos = rb_find_first(&pmu_idx, units, pmu_idx_cmp); in intel_uncore_find_discovery_unit() 144 int intel_uncore_find_discovery_unit_id(struct rb_root *units, int die, in intel_uncore_find_discovery_unit_id() argument 149 unit = intel_uncore_find_discovery_unit(units, die, pmu_idx); in intel_uncore_find_discovery_unit_id() 232 uncore_find_add_unit(node, &type->units, &type->num_units); in uncore_insert_box_info() 444 while (!RB_EMPTY_ROOT(&type->units)) { in intel_uncore_clear_discovery_tables() 445 node = rb_first(&type->units); in intel_uncore_clear_discovery_tables() 447 rb_erase(node, &type->units); in intel_uncore_clear_discovery_tables() [all …]
|
| /linux/drivers/char/ |
| H A D | apm-emulation.c | 430 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 D | hid-sensor-attributes.c | 170 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 D | vidioc-s-hw-freq-seek.rst | 97 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 D | vidioc-g-modulator.rst | 89 - 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 D | vidioc-enum-freq-bands.rst | 81 - :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 D | vidioc-g-tuner.rst | 102 - :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 D | cpm.txt | 16 - 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 D | get_size.c | 68 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 D | util.c | 94 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 D | sysfs-firmware-opal-powercap | 22 possible powercap in Watt units 25 possible powercap in Watt units
|
| /linux/drivers/acpi/ |
| H A D | osl.c | 1270 acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout) in acpi_os_wait_semaphore() argument 1280 if (!sem || (units < 1)) in acpi_os_wait_semaphore() 1283 if (units > 1) in acpi_os_wait_semaphore() 1287 handle, units, timeout)); in acpi_os_wait_semaphore() 1301 handle, units, timeout, in acpi_os_wait_semaphore() 1306 units, timeout)); in acpi_os_wait_semaphore() 1315 acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) in acpi_os_signal_semaphore() argument 1322 if (!sem || (units < 1)) in acpi_os_signal_semaphore() 1325 if (units > 1) in acpi_os_signal_semaphore() 1329 units)); in acpi_os_signal_semaphore()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-bench.txt | 183 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 D | si476x.rst | 56 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 D | osunixxf.c | 602 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 D | i2c-mlxcpld.rst | 36 units). 39 (in LPC_CLK units)
|
| /linux/Documentation/usb/ |
| H A D | mass-storage.rst | 10 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/ABI/stable/ |
| H A D | sysfs-bus-firewire | 20 What: /sys/bus/firewire/devices/fw[0-9]+/units 29 units 30 Summary of all units present in an IEEE 1394 node.
|