Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v5.4/mm/
Dslob.c92 slobidx_t units; member
152 s[0].units = size; in set_slob()
153 s[1].units = offset; in set_slob()
155 s[0].units = -offset; in set_slob()
163 if (s->units > 0) in slob_units()
164 return s->units; in slob_units()
176 if (s[0].units < 0) in slob_next()
177 next = -s[0].units; in slob_next()
179 next = s[1].units; in slob_next()
241 int delta = 0, units = SLOB_UNITS(size); in slob_page_alloc() local
[all …]
/Linux-v5.4/sound/synth/
Dutil_mem.c63 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-v5.4/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-light6 it comes back in SI units, it should also include _input else it
7 should include _raw to signify it is not in SI units.
26 value is returned in SI units, it should also include _input
35 and if expressed in SI units, should include _input. If this
36 value is not in SI units, then it should include _raw.
67 and if expressed in SI units, should include _input. If this
68 value is not in SI units (irradiance, uW/mm^2), then it should
76 light sensor. If it comes back in SI units, it should also
78 in SI units.
/Linux-v5.4/drivers/watchdog/
Dit8712f_wdt.c152 int units = margin; in it8712f_wdt_update_margin() local
157 if (units <= max_units) { in it8712f_wdt_update_margin()
159 pr_info("timer margin %d seconds\n", units); in it8712f_wdt_update_margin()
161 units /= 60; in it8712f_wdt_update_margin()
162 pr_info("timer margin %d minutes\n", units); in it8712f_wdt_update_margin()
167 superio_outb(units >> 8, WDT_TIMEOUT + 1); in it8712f_wdt_update_margin()
168 superio_outb(units, WDT_TIMEOUT); in it8712f_wdt_update_margin()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/gr/
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,
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,
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-v5.4/lib/
Dstring_helpers.c34 void string_get_size(u64 size, u64 blk_size, const enum string_size_units units, in string_get_size() argument
76 do_div(blk_size, divisor[units]); in string_get_size()
81 do_div(size, divisor[units]); in string_get_size()
90 while (size >= divisor[units]) { in string_get_size()
91 remainder = do_div(size, divisor[units]); in string_get_size()
101 if (units == STRING_UNITS_2) { in string_get_size()
126 unit = units_str[units][i]; in string_get_size()
/Linux-v5.4/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c171 if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_poll_value()
192 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_read_samp_freq_value()
194 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_samp_freq_value()
217 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_write_samp_freq_value()
219 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_write_samp_freq_value()
365 unit_conversion[i].unit == attr_info->units) { in hid_sensor_format_scale()
396 if (st->poll.units == 0) in hid_sensor_get_reporting_interval()
397 st->poll.units = HID_USAGE_SENSOR_UNITS_MILLISECOND; in hid_sensor_get_reporting_interval()
/Linux-v5.4/Documentation/devicetree/bindings/powerpc/fsl/
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-v5.4/drivers/char/
Dapm-emulation.c439 char *units; in proc_apm_show() local
446 info.units = -1; in proc_apm_show()
451 switch (info.units) { in proc_apm_show()
452 default: units = "?"; break; in proc_apm_show()
453 case 0: units = "min"; break; in proc_apm_show()
454 case 1: units = "sec"; break; in proc_apm_show()
461 info.time, units); in proc_apm_show()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-s-hw-freq-seek.rst106 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
115 in units of 62.5 kHz, or if the struct
117 ``V4L2_TUNER_CAP_LOW`` flag set, in units of 62.5 Hz or if the
119 the ``V4L2_TUNER_CAP_1HZ`` flag set, in units of 1 Hz. If
Dvidioc-enum-freq-bands.rst90 - :cspan:`2` The lowest tunable frequency in units of 62.5 kHz, or
91 if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units
96 - :cspan:`2` The highest tunable frequency in units of 62.5 kHz,
98 units of 62.5 Hz, for this frequency band. A 1 Hz unit is used
Dvidioc-g-modulator.rst97 - The lowest tunable frequency in units of 62.5 KHz, or if the
98 ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of
100 set, in units of 1 Hz.
103 - The highest tunable frequency in units of 62.5 KHz, or if the
104 ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of
106 set, in units of 1 Hz.
/Linux-v5.4/tools/testing/selftests/size/
Dget_size.c56 static int print_k_value(const char *s, unsigned long num, unsigned long units) in print_k_value() argument
64 temp = (temp * units)/1024; in print_k_value()
/Linux-v5.4/Documentation/devicetree/bindings/powerpc/4xx/
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-v5.4/Documentation/devicetree/bindings/rng/
Dsparc_sun_oracle_rng.txt18 rng-#units: 00000002
25 rng-#units: 00000003
/Linux-v5.4/drivers/md/bcache/
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-v5.4/Documentation/ABI/testing/
Dsysfs-firmware-opal-powercap22 possible powercap in Watt units
25 possible powercap in Watt units
Dsysfs-block-bcache49 units (i.e. echo 10M > sequntial_cutoff).
57 readable units.
120 For a cache, bucket size in human readable units, as set at
149 For a cache, total amount of data in human readable units
156 For a cache, sum of all btree writes in human readable units.
/Linux-v5.4/drivers/block/paride/
Dpf.c246 static struct pf_unit units[PF_UNITS]; variable
293 for (unit = 0, pf = units; unit < PF_UNITS; unit++, pf++) { in pf_init_units()
724 struct pf_unit *pf = units; in pf_detect()
765 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) { in pf_detect()
812 pf = &units[pf_queue]; in set_next_request()
1035 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) { in pf_init()
1045 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) { in pf_init()
1061 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) { in pf_exit()
/Linux-v5.4/Documentation/devicetree/bindings/crypto/
Dfsl-sec2.txt15 - fsl,exec-units-mask : The bitmask representing what execution units
63 fsl,exec-units-mask = <0xfe>;
/Linux-v5.4/drivers/char/hw_random/
Dn2-drv.c369 struct n2rng_unit *up = &np->units[i]; in n2rng_control_swstate_init()
591 &np->units[unit].control[0], in n2rng_control_selftest()
620 struct n2rng_unit *up = &np->units[unit]; in n2rng_control_configure_units()
752 np->units = devm_kcalloc(&op->dev, np->num_units, sizeof(*np->units), in n2rng_probe()
755 if (!np->units) in n2rng_probe()
/Linux-v5.4/tools/power/acpi/os_specific/service_layers/
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-v5.4/Documentation/media/v4l-drivers/
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

12345678910>>...13