HomeSort by: relevance | last modified time | path
    Searched defs:units (Results 1 - 25 of 52) sorted by relevancy

1 2 3

  /src/sys/arch/sparc/dev/
tctrlvar.h 43 u_int units; member in struct:envsys_sensor
tctrlvar.h 43 u_int units; member in struct:envsys_sensor
  /src/sys/arch/mips/cavium/include/
bootbusvar.h 47 const struct bootbus_unit *units; member in struct:bootbus_dev
iobusvar.h 49 const struct iobus_unit *units; member in struct:iobus_dev
bootbusvar.h 47 const struct bootbus_unit *units; member in struct:bootbus_dev
iobusvar.h 49 const struct iobus_unit *units; member in struct:iobus_dev
  /src/sys/dev/ofw/
ofbus.c 120 int child, units; local in function:ofbus_attach
153 units = 1;
157 units = 7; /* What about wide or hostid != 7? XXX */
159 units = 2;
175 for (oba2.oba_unit = 0; oba2.oba_unit < units;
177 if (units > 1) {
206 for (oba2.oba_unit = 0; oba2.oba_unit < units;
208 if (units > 1) {
ofbus.c 120 int child, units; local in function:ofbus_attach
153 units = 1;
157 units = 7; /* What about wide or hostid != 7? XXX */
159 units = 2;
175 for (oba2.oba_unit = 0; oba2.oba_unit < units;
177 if (units > 1) {
206 for (oba2.oba_unit = 0; oba2.oba_unit < units;
208 if (units > 1) {
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/
priv.h 28 /* Returns chipset-specific counts of units packed into an u64.
30 u64 (*units)(struct nvkm_gr *); member in struct:nvkm_gr_func
priv.h 28 /* Returns chipset-specific counts of units packed into an u64.
30 u64 (*units)(struct nvkm_gr *); member in struct:nvkm_gr_func
nouveau_nvkm_engine_gr_nv50.c 291 u32 units = nvkm_rd32(device, 0x1540); local in function:nv50_gr_mp_trap
297 if (!(units & 1 << (i+24)))
335 u32 units = nvkm_rd32(device, 0x1540); local in function:nv50_gr_tp_trap
341 if (!(units & (1 << i)))
410 nvkm_error(subdev, "TRAP: no units reporting traps?\n");
414 /* DISPATCH: Relays commands to other units and handles NOTIFY,
590 /* TEXTURE: CUDA texturing units */
688 int ret, units, i; local in function:nv50_gr_init
701 units = nvkm_rd32(device, 0x001540);
703 if (!(units & (1 << i))
    [all...]
nouveau_nvkm_engine_gr_nv50.c 291 u32 units = nvkm_rd32(device, 0x1540); local in function:nv50_gr_mp_trap
297 if (!(units & 1 << (i+24)))
335 u32 units = nvkm_rd32(device, 0x1540); local in function:nv50_gr_tp_trap
341 if (!(units & (1 << i)))
410 nvkm_error(subdev, "TRAP: no units reporting traps?\n");
414 /* DISPATCH: Relays commands to other units and handles NOTIFY,
590 /* TEXTURE: CUDA texturing units */
688 int ret, units, i; local in function:nv50_gr_init
701 units = nvkm_rd32(device, 0x001540);
703 if (!(units & (1 << i))
    [all...]
  /src/games/trek/
phaser.c 63 ** of units to fire, and the spread angle. In automatic
64 ** mode, you give only the total number of units to fire.
86 int units; member in struct:banks
157 bank[i].units = 0;
161 printf("%d units available\n", Ship.energy);
167 hit = getintpar("units");
179 b->units = hit;
200 printf("%d units available\n", Ship.energy);
201 hit = getintpar("Units to fire");
230 b->units = ((n - i) / tot) * extra
    [all...]
phaser.c 63 ** of units to fire, and the spread angle. In automatic
64 ** mode, you give only the total number of units to fire.
86 int units; member in struct:banks
157 bank[i].units = 0;
161 printf("%d units available\n", Ship.energy);
167 hit = getintpar("units");
179 b->units = hit;
200 printf("%d units available\n", Ship.energy);
201 hit = getintpar("Units to fire");
230 b->units = ((n - i) / tot) * extra
    [all...]
  /src/sys/arch/atari/stand/ahdilabel/
ahdilabel.c 61 int flags, rv, key, units; local in function:main
110 units = UNITS_SECTORS;
112 show_parts (&ptable, 0, ptable.nparts, units);
127 change_part (&ptable, key - 'A', units);
136 show_parts (&ptable, 0, ptable.nparts, units);
145 if (units == UNITS_SECTORS) {
146 printf ("Units now cylinder/track/sector\n");
147 units = UNITS_CTS;
149 printf ("Units now sector\n");
150 units = UNITS_SECTORS
    [all...]
ahdilabel.c 61 int flags, rv, key, units; local in function:main
110 units = UNITS_SECTORS;
112 show_parts (&ptable, 0, ptable.nparts, units);
127 change_part (&ptable, key - 'A', units);
136 show_parts (&ptable, 0, ptable.nparts, units);
145 if (units == UNITS_SECTORS) {
146 printf ("Units now cylinder/track/sector\n");
147 units = UNITS_CTS;
149 printf ("Units now sector\n");
150 units = UNITS_SECTORS
    [all...]
  /src/sys/dev/i2c/
ibmhawk.c 56 uint32_t units; member in struct:ibmhawk_sensordesc
273 ibmhawk_normalize(int value, uint32_t units)
279 switch (units) {
315 dp->units = sp->units;
318 ibmhawk_normalize(sd->ihs_warnmin, dp->units);
320 ibmhawk_normalize(sd->ihs_warnmax, dp->units);
326 dp->value_cur = ibmhawk_normalize(value, dp->units);
ibmhawk.c 56 uint32_t units; member in struct:ibmhawk_sensordesc
273 ibmhawk_normalize(int value, uint32_t units)
279 switch (units) {
315 dp->units = sp->units;
318 ibmhawk_normalize(sd->ihs_warnmin, dp->units);
320 ibmhawk_normalize(sd->ihs_warnmax, dp->units);
326 dp->value_cur = ibmhawk_normalize(value, dp->units);
  /src/sys/arch/sparc/stand/ofwboot/
ofdev.c 367 cell_t units[4], phandle, myself, depth = 0, odepth = 0, cnt; local in function:device_target_unit
387 &units[0], &units[1], &units[2], &units[3]);
411 bi_unit.lun = units[cnt > 2 ? 3 : 1];
412 bi_unit.target = units[cnt > 2 ? 2 : 0];
414 bi_unit.wwn = (uint64_t)units[0] << 32 | (uint32_t)units[1];
ofdev.c 367 cell_t units[4], phandle, myself, depth = 0, odepth = 0, cnt; local in function:device_target_unit
387 &units[0], &units[1], &units[2], &units[3]);
411 bi_unit.lun = units[cnt > 2 ? 3 : 1];
412 bi_unit.target = units[cnt > 2 ? 2 : 0];
414 bi_unit.wwn = (uint64_t)units[0] << 32 | (uint32_t)units[1];
  /src/sys/external/bsd/common/include/linux/
bitops.h 124 const unsigned units = (sizeof(unsigned long) * CHAR_BIT); local in function:test_bit
126 return ((p[n / units] & (1UL << (n % units))) != 0);
132 const unsigned units = (sizeof(unsigned long) * CHAR_BIT); local in function:__set_bit
134 p[n / units] |= (1UL << (n % units));
140 const unsigned units = (sizeof(unsigned long) * CHAR_BIT); local in function:__clear_bit
142 p[n / units] &= ~(1UL << (n % units));
148 const unsigned units = (sizeof(unsigned long) * CHAR_BIT) local in function:__change_bit
156 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:__test_and_set_bit
170 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:__test_and_clear_bit
184 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:__test_and_change_bit
292 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:set_bit
301 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:clear_bit
310 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:clear_bit_unlock
320 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:change_bit
332 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:test_and_set_bit
347 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:test_and_clear_bit
362 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:test_and_change_bit
    [all...]
bitops.h 124 const unsigned units = (sizeof(unsigned long) * CHAR_BIT); local in function:test_bit
126 return ((p[n / units] & (1UL << (n % units))) != 0);
132 const unsigned units = (sizeof(unsigned long) * CHAR_BIT); local in function:__set_bit
134 p[n / units] |= (1UL << (n % units));
140 const unsigned units = (sizeof(unsigned long) * CHAR_BIT); local in function:__clear_bit
142 p[n / units] &= ~(1UL << (n % units));
148 const unsigned units = (sizeof(unsigned long) * CHAR_BIT) local in function:__change_bit
156 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:__test_and_set_bit
170 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:__test_and_clear_bit
184 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:__test_and_change_bit
292 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:set_bit
301 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:clear_bit
310 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:clear_bit_unlock
320 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:change_bit
332 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:test_and_set_bit
347 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:test_and_clear_bit
362 const unsigned int units = (sizeof(*ptr) * CHAR_BIT); local in function:test_and_change_bit
    [all...]
  /src/sbin/ccdconfig/
ccdconfig.c 529 int *units; local in function:dump_ccd
531 if (sysctlbyname(sys = "kern.ccd.units", NULL, &nunits, NULL, 0)
549 units = emalloc(nunits);
551 if (sysctlbyname(sys, units, &nunits, NULL, 0) == -1)
553 nunits /= sizeof(*units);
555 errs += printccdinfo(units[i]);
556 free(units);
ccdconfig.c 529 int *units; local in function:dump_ccd
531 if (sysctlbyname(sys = "kern.ccd.units", NULL, &nunits, NULL, 0)
549 units = emalloc(nunits);
551 if (sysctlbyname(sys, units, &nunits, NULL, 0) == -1)
553 nunits /= sizeof(*units);
555 errs += printccdinfo(units[i]);
556 free(units);
  /src/sys/arch/dreamcast/dev/maple/
maple.c 522 int units, un; local in function:maple_check_subunit_change
532 units = ((unit_map & 0x1f) << 1) | 1;
536 printf("%s: unit_map 0x%x -> 0x%x (units 0x%x)\n",
538 sc->sc_port_unit_map[port], unit_map, units);
543 un = sc->sc_port_units[port] & ~units;
554 un = units & ~sc->sc_port_units[port];

Completed in 30 milliseconds

1 2 3