/Linux-v4.19/mm/ |
D | slob.c | 92 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() 221 int delta = 0, units = SLOB_UNITS(size); in slob_page_alloc() local [all …]
|
/Linux-v4.19/sound/synth/ |
D | util_mem.c | 76 unsigned int units, prev_offset; in __snd_util_mem_alloc() local 83 units = size; in __snd_util_mem_alloc() 84 if (units & 1) in __snd_util_mem_alloc() 85 units++; in __snd_util_mem_alloc() 86 if (units > hdr->size) in __snd_util_mem_alloc() 93 if (blk->offset - prev_offset >= units) in __snd_util_mem_alloc() 97 if (hdr->size - prev_offset < units) in __snd_util_mem_alloc() 101 return __snd_util_memblk_new(hdr, units, p->prev); in __snd_util_mem_alloc() 110 __snd_util_memblk_new(struct snd_util_memhdr *hdr, unsigned int units, in __snd_util_memblk_new() argument 126 blk->size = units; in __snd_util_memblk_new() [all …]
|
/Linux-v4.19/drivers/staging/iio/Documentation/ |
D | sysfs-bus-iio-light | 6 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-v4.19/drivers/watchdog/ |
D | it8712f_wdt.c | 156 int units = margin; in it8712f_wdt_update_margin() local 161 if (units <= max_units) { in it8712f_wdt_update_margin() 163 pr_info("timer margin %d seconds\n", units); in it8712f_wdt_update_margin() 165 units /= 60; in it8712f_wdt_update_margin() 166 pr_info("timer margin %d minutes\n", units); in it8712f_wdt_update_margin() 171 superio_outb(units >> 8, WDT_TIMEOUT + 1); in it8712f_wdt_update_margin() 172 superio_outb(units, WDT_TIMEOUT); in it8712f_wdt_update_margin()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
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,
|
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,
|
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 …]
|
D | base.c | 48 if (gr->func->units) in nvkm_gr_units() 49 return gr->func->units(gr); in nvkm_gr_units()
|
/Linux-v4.19/lib/ |
D | string_helpers.c | 33 void string_get_size(u64 size, u64 blk_size, const enum string_size_units units, in string_get_size() argument 75 do_div(blk_size, divisor[units]); in string_get_size() 80 do_div(size, divisor[units]); in string_get_size() 89 while (size >= divisor[units]) { in string_get_size() 90 remainder = do_div(size, divisor[units]); in string_get_size() 100 if (units == STRING_UNITS_2) { in string_get_size() 125 unit = units_str[units][i]; in string_get_size()
|
/Linux-v4.19/drivers/iio/common/hid-sensors/ |
D | hid-sensor-attributes.c | 183 if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_poll_value() 204 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_read_samp_freq_value() 206 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_samp_freq_value() 229 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_write_samp_freq_value() 231 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_write_samp_freq_value() 373 unit_conversion[i].unit == attr_info->units) { in hid_sensor_format_scale() 404 if (st->poll.units == 0) in hid_sensor_get_reporting_interval() 405 st->poll.units = HID_USAGE_SENSOR_UNITS_MILLISECOND; in hid_sensor_get_reporting_interval()
|
/Linux-v4.19/Documentation/devicetree/bindings/powerpc/fsl/ |
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-v4.19/drivers/char/ |
D | apm-emulation.c | 438 char *units; in proc_apm_show() local 445 info.units = -1; in proc_apm_show() 450 switch (info.units) { in proc_apm_show() 451 default: units = "?"; break; in proc_apm_show() 452 case 0: units = "min"; break; in proc_apm_show() 453 case 1: units = "sec"; break; in proc_apm_show() 460 info.time, units); in proc_apm_show()
|
/Linux-v4.19/Documentation/media/uapi/v4l/ |
D | vidioc-s-hw-freq-seek.rst | 99 units of 62.5 kHz, or if the struct 101 ``V4L2_TUNER_CAP_LOW`` flag set, in units of 62.5 Hz or if the 103 the ``V4L2_TUNER_CAP_1HZ`` flag set, in units of 1 Hz. If 108 in units of 62.5 kHz, or if the struct 110 ``V4L2_TUNER_CAP_LOW`` flag set, in units of 62.5 Hz or if the 112 the ``V4L2_TUNER_CAP_1HZ`` flag set, in units of 1 Hz. If
|
D | vidioc-enum-freq-bands.rst | 83 - :cspan:`2` The lowest tunable frequency in units of 62.5 kHz, or 84 if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units 89 - :cspan:`2` The highest tunable frequency in units of 62.5 kHz, 91 units of 62.5 Hz, for this frequency band. A 1 Hz unit is used
|
D | vidioc-g-modulator.rst | 90 - The lowest tunable frequency in units of 62.5 KHz, or if the 91 ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of 93 set, in units of 1 Hz. 96 - The highest tunable frequency in units of 62.5 KHz, or if the 97 ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of 99 set, in units of 1 Hz.
|
/Linux-v4.19/tools/testing/selftests/size/ |
D | get_size.c | 57 static int print_k_value(const char *s, unsigned long num, unsigned long units) in print_k_value() argument 65 temp = (temp * units)/1024; in print_k_value()
|
/Linux-v4.19/Documentation/devicetree/bindings/powerpc/4xx/ |
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-v4.19/drivers/s390/scsi/ |
D | zfcp_unit.c | 109 atomic_dec(&unit->port->units); in zfcp_unit_release() 127 if (atomic_read(&port->units) == -1) { in zfcp_unit_add() 166 atomic_inc(&port->units); /* under zfcp_sysfs_port_units_mutex ! */ in zfcp_unit_add()
|
/Linux-v4.19/Documentation/devicetree/bindings/rng/ |
D | sparc_sun_oracle_rng.txt | 18 rng-#units: 00000002 25 rng-#units: 00000003
|
/Linux-v4.19/drivers/md/bcache/ |
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-v4.19/Documentation/ABI/testing/ |
D | sysfs-firmware-opal-powercap | 22 possible powercap in Watt units 25 possible powercap in Watt units
|
/Linux-v4.19/drivers/block/paride/ |
D | pf.c | 243 static struct pf_unit units[PF_UNITS]; variable 286 for (unit = 0, pf = units; unit < PF_UNITS; unit++, pf++) { in pf_init_units() 708 struct pf_unit *pf = units; in pf_detect() 749 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) in pf_detect() 791 pf = &units[pf_queue]; in set_next_request() 1001 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) in pf_init() 1006 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) { in pf_init() 1022 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) { in pf_exit()
|
/Linux-v4.19/Documentation/filesystems/ext4/ondisk/ |
D | bigalloc.rst | 10 it is desirable to be able to allocate disk blocks in units of multiple 18 even for directories. TaoBao had a patchset to extend the “use units of
|
/Linux-v4.19/Documentation/devicetree/bindings/crypto/ |
D | fsl-sec2.txt | 15 - fsl,exec-units-mask : The bitmask representing what execution units 63 fsl,exec-units-mask = <0xfe>;
|
/Linux-v4.19/drivers/char/hw_random/ |
D | n2-drv.c | 368 struct n2rng_unit *up = &np->units[i]; in n2rng_control_swstate_init() 590 &np->units[unit].control[0], in n2rng_control_selftest() 619 struct n2rng_unit *up = &np->units[unit]; in n2rng_control_configure_units() 751 np->units = devm_kcalloc(&op->dev, np->num_units, sizeof(*np->units), in n2rng_probe() 754 if (!np->units) in n2rng_probe()
|