[go: nahoru, domu]

Searched defs:units (Results 1 - 25 of 25) sorted by relevance

/drivers/gpu/drm/nouveau/core/include/engine/
H A Dgraph.h30 /* Returns chipset-specific counts of units packed into an u64.
32 u64 (*units)(struct nouveau_graph *); member in struct:nouveau_graph
/drivers/char/hw_random/
H A Dn2rng.h78 struct n2rng_unit *units; member in struct:n2rng
/drivers/gpu/drm/i915/
H A Di915_sysfs.c42 u64 units = 128ULL, div = 100000ULL, bias = 100ULL; local
50 /* On VLV and CHV, residency time is in CZ units rather than 1.28us */
67 units = 0;
74 units = 3125ULL;
81 if (units == 0)
82 units = DIV_ROUND_UP_ULL(30ULL * bias,
86 units <<= 8;
91 raw_time = I915_READ(reg) * units;
H A Di915_debugfs.c2202 u32 units; local
2211 units = 1000000 / (1 << power); /* convert to uJ */
2213 power *= units;
3520 /* WM1+ latency values in 0.5us units */
/drivers/md/bcache/
H A Dutil.c78 static const char units[] = "?kMGTPEZY"; local
93 return sprintf(buf, "%lli%s%c", v, dec, units[u]);
204 * @done - the amount of work done, in arbitrary units
/drivers/power/
H A Dwm831x_power.c200 const char *units)
209 name, val, units);
212 dev_dbg(wm831x->dev, "Set %s of %d%s\n", name, val, units);
197 wm831x_battey_apply_config(struct wm831x *wm831x, struct chg_map *map, int count, int val, int *reg, const char *name, const char *units) argument
/drivers/char/
H A Dapm-emulation.c437 * 7) Remaining battery life (time units):
445 char *units; local
452 info.units = -1;
457 switch (info.units) {
458 default: units = "?"; break;
459 case 0: units = "min"; break;
460 case 1: units = "sec"; break;
467 info.time, units);
/drivers/hid/
H A Dhid-debug.c565 static const char *units[5][8] = { local
595 seq_printf(f, "%s", units[sys][i]);
/drivers/watchdog/
H A Dit8712f_wdt.c156 int units = margin; local
161 if (units <= max_units) {
163 pr_info("timer margin %d seconds\n", units);
165 units /= 60;
166 pr_info("timer margin %d minutes\n", units);
171 superio_outb(units >> 8, WDT_TIMEOUT + 1);
172 superio_outb(units, WDT_TIMEOUT);
/drivers/gpu/drm/nouveau/core/engine/graph/
H A Dnv50.c232 const char *const units[], u32 status)
238 for (i = 0; units[i] && status; i++) {
240 pr_cont(" %s", units[i]);
481 u32 units = nv_rd32(priv, 0x1540); local
486 if (!(units & 1 << (i+24)))
522 u32 units = nv_rd32(priv, 0x1540); local
526 if (!(units & (1 << i)))
590 nv_error(priv, "TRAP: no units reporting traps?\n");
594 /* DISPATCH: Relays commands to other units and handles NOTIFY,
759 /* TEXTURE: CUDA texturing units */
231 nouveau_pgraph_vstatus_print(struct nv50_graph_priv *priv, int r, const char *const units[], u32 status) argument
918 int ret, units, i; local
[all...]
H A Dctxnv50.c304 u32 units = nv_rd32 (ctx->device, 0x1540); local
501 if (units & (1<<(i+16))) {
585 if (units & (1<<i)) {
600 if (!(units & (1 << (j+24)))) continue;
1195 u32 units = nv_rd32 (ctx->device, 0x1540); local
1235 if (units & (1 << (i + 16)))
1243 if (units & (1 << (2 * i)))
1245 if (units & (1 << (2 * i + 1)))
1294 if (units & (1<<(i+16)))
1304 if (units
3278 u32 units = nv_rd32 (ctx->device, 0x1540); local
[all...]
/drivers/hwmon/
H A Dacpi_power_meter.c76 u64 units; member in struct:acpi_power_meter_capabilities
780 if (resource->caps.units) {
782 "Unknown units %llu.\n",
783 resource->caps.units);
/drivers/s390/char/
H A Draw3270.c448 char units; /* 0x00:in; 0x01:mm */ member in struct:raw3270_ua::__anon4953
/drivers/s390/scsi/
H A Dzfcp_def.h204 atomic_t units; /* zfcp_unit count */ member in struct:zfcp_port
/drivers/staging/comedi/drivers/
H A Djr3_pci.h369 * to the full scales. The engineering units used are indicated by
370 * the units value discussed on page 16. The full scales for Fx, Fy,
606 * units used in the sensor full scale. The meanings of particular
608 * structure on page 22. The engineering units are setto customer
628 u32 units; /* offset 0x00fc */ member in struct:jr3_channel
633 * flange to flange. The engineering units for this value are
634 * contained in units (pg. 16). The sensor calibration is relative
/drivers/staging/lustre/lustre/ptlrpc/
H A Dlproc_ptlrpc.c223 char *units; local
228 units = "bytes";
231 units = "reqs";
236 ll_eopcode2str(i), units);
/drivers/acpi/
H A Dosl.c1286 * TODO: Support for units > 1?
1288 acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout) argument
1295 if (!sem || (units < 1))
1298 if (units > 1)
1302 handle, units, timeout));
1316 handle, units, timeout,
1321 units, timeout));
1328 * TODO: Support for units > 1?
1330 acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) argument
1334 if (!sem || (units <
[all...]
/drivers/block/drbd/
H A Ddrbd_nl.c819 static char units[] = { 'K', 'M', 'G', 'T', 'P', 'E' }; local
821 while (size >= 10000 && base < sizeof(units)-1) {
826 sprintf(buf, "%u %cB", (unsigned)size, units[base]);
/drivers/block/paride/
H A Dpf.c243 static struct pf_unit units[PF_UNITS]; variable in typeref:struct:pf_unit
285 for (unit = 0, pf = units; unit < PF_UNITS; unit++, pf++) {
700 struct pf_unit *pf = units;
736 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++)
964 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++)
971 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++)
978 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) {
995 for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) {
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.c453 struct vmw_display_unit *units[VMWGFX_NUM_DISPLAY_UNITS]; local
473 units[num_units++] = vmw_crtc_to_du(crtc);
529 struct vmw_display_unit *unit = units[i];
861 struct vmw_display_unit *units[VMWGFX_NUM_DISPLAY_UNITS]; local
887 units[num_units++] = vmw_crtc_to_du(crtc);
891 struct vmw_display_unit *unit = units[k];
1230 struct vmw_display_unit *units[VMWGFX_NUM_DISPLAY_UNITS]; local
1248 units[num_units++] = vmw_crtc_to_du(crtc);
1299 struct vmw_display_unit *unit = units[k];
1367 struct vmw_display_unit *units[VMWGFX_NUM_DISPLAY_UNIT local
[all...]
/drivers/staging/lustre/lustre/include/
H A Dlprocfs_status.h555 const char *units);
830 const char *name, const char *units)
828 lprocfs_counter_init(struct lprocfs_stats *stats, int index, unsigned conf, const char *name, const char *units) argument
/drivers/staging/lustre/lustre/llite/
H A Dlproc_llite.c1118 int i, units = 10; local
1135 end = 1 << (i + LL_HIST_START - units);
1144 units += 10;
/drivers/staging/lustre/lustre/obdclass/
H A Dlprocfs_status.c1284 unsigned conf, const char *name, const char *units)
1296 index, name, units);
1300 header->lc_units = units;
1865 __u64 whole, frac = 0, units; local
1899 units = 1;
1902 units <<= 10;
1904 units <<= 10;
1906 units <<= 10;
1908 units <<= 10;
1910 units <<
1283 lprocfs_counter_init(struct lprocfs_stats *stats, int index, unsigned conf, const char *name, const char *units) argument
[all...]
/drivers/scsi/
H A Dst.c2622 static void deb_space_print(struct scsi_tape *STp, int direction, char *units, unsigned char *cmd)
2634 direction ? "backward" : "forward", sc, units);
2639 static void deb_space_print(struct scsi_tape *STp, int direction, char *units, unsigned char *cmd) {}
2610 deb_space_print(struct scsi_tape *STp, int direction, char *units, unsigned char *cmd) argument
2627 deb_space_print(struct scsi_tape *STp, int direction, char *units, unsigned char *cmd) argument
H A DBusLogic.h221 unsigned int units; member in struct:blogic_byte_count
1243 bytecount->units += amount;
1244 if (bytecount->units > 999999999) {
1245 bytecount->units -= 1000000000;

Completed in 1417 milliseconds