Home
last modified time | relevance | path

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

12345678910>>...14

/linux-6.3-rc2/mm/
A Dslob.c92 slobidx_t units; member
152 s[0].units = size; 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()
283 set_slob(cur + units, avail - units, next); in slob_page_alloc()
286 sp->units -= units; in slob_page_alloc()
388 slobidx_t units; in slob_free() local
401 if (sp->units + units == SLOB_UNITS(PAGE_SIZE)) { in slob_free()
413 sp->units = units; in slob_free()
[all …]
/linux-6.3-rc2/sound/synth/
A 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-6.3-rc2/drivers/gpu/drm/i915/selftests/
A Dlibrapl.c23 u32 units; in librapl_energy_uJ() local
28 units = (power & 0x1f00) >> 8; in librapl_energy_uJ()
33 return (1000000 * power) >> units; /* convert to uJ */ in librapl_energy_uJ()
/linux-6.3-rc2/drivers/watchdog/
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-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/gr/
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,
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,
A Dctxnv50.c583 if (units & (1<<i)) { in nv50_gr_construct_mmio()
1304 if (units & (1 << 0)) in nv50_gr_construct_xfer1()
1306 if (units & (1 << 1)) in nv50_gr_construct_xfer1()
1308 if (units & (1 << 2)) in nv50_gr_construct_xfer1()
1310 if (units & (1 << 3)) in nv50_gr_construct_xfer1()
1318 if (units & (1 << 4)) in nv50_gr_construct_xfer1()
1320 if (units & (1 << 5)) in nv50_gr_construct_xfer1()
1322 if (units & (1 << 6)) in nv50_gr_construct_xfer1()
1324 if (units & (1 << 7)) in nv50_gr_construct_xfer1()
1326 if (units & (1 << 8)) in nv50_gr_construct_xfer1()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/powerpc/fsl/
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-6.3-rc2/drivers/char/
A 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-6.3-rc2/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_log.c77 log->sizes[i].units = SZ_1M; in _guc_log_init_sizes()
80 log->sizes[i].units = SZ_4K; in _guc_log_init_sizes()
84 if (!IS_ALIGNED(log->sizes[i].bytes, log->sizes[i].units)) in _guc_log_init_sizes()
86 sections[i].name, log->sizes[i].bytes, log->sizes[i].units); in _guc_log_init_sizes()
87 log->sizes[i].count = log->sizes[i].bytes / log->sizes[i].units; in _guc_log_init_sizes()
104 if (log->sizes[GUC_LOG_SECTIONS_CRASH].units != log->sizes[GUC_LOG_SECTIONS_DEBUG].units) { in _guc_log_init_sizes()
106 log->sizes[GUC_LOG_SECTIONS_CRASH].units, in _guc_log_init_sizes()
107 log->sizes[GUC_LOG_SECTIONS_DEBUG].units); in _guc_log_init_sizes()
108 log->sizes[GUC_LOG_SECTIONS_CRASH].units = log->sizes[GUC_LOG_SECTIONS_DEBUG].units; in _guc_log_init_sizes()
/linux-6.3-rc2/drivers/iio/common/hid-sensors/
A Dhid-sensor-attributes.c166 if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_poll_value()
187 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_read_samp_freq_value()
189 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_samp_freq_value()
212 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_write_samp_freq_value()
214 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_write_samp_freq_value()
414 unit_conversion[i].unit == attr_info->units) { in hid_sensor_format_scale()
445 if (st->poll.units == 0) in hid_sensor_get_reporting_interval()
446 st->poll.units = HID_USAGE_SENSOR_UNITS_MILLISECOND; in hid_sensor_get_reporting_interval()
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/
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
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
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.
/linux-6.3-rc2/lib/
A Dstring_helpers.c35 void string_get_size(u64 size, u64 blk_size, const enum string_size_units units, in string_get_size() argument
77 do_div(blk_size, divisor[units]); in string_get_size()
82 do_div(size, divisor[units]); in string_get_size()
91 while (size >= divisor[units]) { in string_get_size()
92 remainder = do_div(size, divisor[units]); in string_get_size()
102 if (units == STRING_UNITS_2) { in string_get_size()
127 unit = units_str[units][i]; in string_get_size()
/linux-6.3-rc2/Documentation/devicetree/bindings/powerpc/4xx/
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-6.3-rc2/tools/testing/selftests/size/
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-6.3-rc2/Documentation/devicetree/bindings/rng/
A Dsparc_sun_oracle_rng.txt18 rng-#units: 00000002
25 rng-#units: 00000003
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-firmware-opal-powercap22 possible powercap in Watt units
25 possible powercap in Watt units
A 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-6.3-rc2/drivers/md/bcache/
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-6.3-rc2/Documentation/devicetree/bindings/i2c/
A Dst,sti-i2c.yaml40 deglitch circuit. In units of us.
45 deglitch circuit. In units of us.
/linux-6.3-rc2/Documentation/devicetree/bindings/crypto/
A Dfsl-sec2.txt15 - fsl,exec-units-mask : The bitmask representing what execution units
63 fsl,exec-units-mask = <0xfe>;
/linux-6.3-rc2/drivers/char/hw_random/
A 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-6.3-rc2/Documentation/networking/devlink/
A Dsfc.rst24 control units, this is the SUC control unit's firmware version.
28 control units, this is the CMC control unit's firmware version.

Completed in 43 milliseconds

12345678910>>...14