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

1 2 3 4 5 6 7 8 9

  /src/usr.bin/units/
Makefile 5 PROG= units
7 FILES= units.lib
  /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...]
  /src/sys/arch/mips/cavium/
octeon1p_iobus.c 57 .units = iobus_units_octuart
72 .units = iobus_units_octrnm
86 .units = iobus_units_octtwsi
100 .units = iobus_units_octmpi
114 .units = iobus_units_octsmi
128 .units = iobus_units_octpip
143 .units = iobus_units_octusbn
  /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...]
  /src/sys/arch/sparc/dev/
tctrlvar.h 43 u_int units; member in struct:envsys_sensor
  /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) {
  /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
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/
nouveau_nvkm_engine_gr_gt200.c 39 .units = nv50_gr_units,
nouveau_nvkm_engine_gr_mcp79.c 38 .units = nv50_gr_units,
nouveau_nvkm_engine_gr_gt215.c 39 .units = nv50_gr_units,
nouveau_nvkm_engine_gr_mcp89.c 39 .units = nv50_gr_units,
nouveau_nvkm_engine_gr_g84.c 101 const struct nvkm_bitfield *units, u32 status)
109 for (i = 0; units[i].name && status; i++) {
115 nvkm_snprintbf(msg, sizeof(msg), units, mask);
188 .units = nv50_gr_units,
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
  /src/distrib/utils/embedded/
mkpkgs 34 local unit units
36 units=$(
42 test -z "${units}" && {
52 for unit in ${units}
  /src/sys/dev/i2c/
adadc.c 177 s->units = ENVSYS_STEMP;
181 s->units = ENVSYS_SAMPS;
184 s->units = ENVSYS_SVOLTS_DC;
187 s->units = ENVSYS_INTEGER;
214 s->units = ENVSYS_STEMP;
218 s->units = ENVSYS_SAMPS;
221 s->units = ENVSYS_SVOLTS_DC;
224 s->units = ENVSYS_INTEGER;
lm87.c 265 sc->sc_sensor[LMENV_INT_TEMP].units = ENVSYS_STEMP;
269 sc->sc_sensor[LMENV_2_5V].units = ENVSYS_SVOLTS_DC;
275 sc->sc_sensor[LMENV_VCCP1].units = ENVSYS_SVOLTS_DC;
280 sc->sc_sensor[LMENV_VCC].units = ENVSYS_SVOLTS_DC;
285 sc->sc_sensor[LMENV_5V].units = ENVSYS_SVOLTS_DC;
290 sc->sc_sensor[LMENV_12V].units = ENVSYS_SVOLTS_DC;
296 sc->sc_sensor[LMENV_VCCP2].units = ENVSYS_SVOLTS_DC;
302 sc->sc_sensor[LMENV_EXT_TEMP].units = ENVSYS_STEMP;
311 sc->sc_sensor[LMENV_INT_TEMP].units = ENVSYS_STEMP;
317 sc->sc_sensor[LMENV_FAN1].units = ENVSYS_SVOLTS_DC
    [all...]
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/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...]
  /src/sys/arch/sparc64/dev/
tadpmu.c 247 /* The data to read is calculated from the command and the units */
259 if (edata->units == ENVSYS_STEMP) {
261 } else if (edata->units == ENVSYS_SVOLTS_DC) {
263 } else if (edata->units == ENVSYS_BATTERY_CHARGE) {
268 } else if (edata->units == ENVSYS_BATTERY_CAPACITY) {
271 if (edata->units == ENVSYS_INDICATOR &&
464 tadpmu_sensors[0].units = ENVSYS_STEMP;
470 tadpmu_sensors[1].units = ENVSYS_INDICATOR;
476 tadpmu_sensors[2].units = ENVSYS_INDICATOR;
482 tadpmu_sensors[3].units = ENVSYS_SVOLTS_DC
    [all...]
  /src/sys/sys/
envsys.h 50 /* sensor units */
137 /* see units below */
141 unsigned int units; /* type of sensor */ member in struct:envsys_tre_data
190 unsigned int units; /* type of sensor */ member in struct:envsys_basic_info
  /src/sys/dev/sysmon/
sysmon_envsys.c 422 if (edata->units == ENVSYS_BATTERY_CHARGE)
423 tred->units = ENVSYS_INDICATOR;
425 tred->units = edata->units;
442 DPRINTFOBJ(("%s: tred->validflags=%d tred->units=%d"
444 tred->units, tred->sensor));
482 if (edata->units == ENVSYS_BATTERY_CHARGE)
483 binfo->units = ENVSYS_INDICATOR;
485 binfo->units = edata->units;
    [all...]
  /src/sys/arch/macppc/dev/
fcu.c 195 sc->sc_sensors[0].units = ENVSYS_SFANRPM;
221 s->units = ENVSYS_SFANRPM;
225 s->units = ENVSYS_SFANRPM;
256 s->units = ENVSYS_SFANRPM;
259 s->units = ENVSYS_SFANRPM;
263 s->units = ENVSYS_SVOLTS_DC;
266 s->units = ENVSYS_INDICATOR;
308 if (s->units == ENVSYS_SFANRPM) {
399 if (edata->units == ENVSYS_SFANRPM) {
417 switch (edata->units) {
    [all...]
  /src/usr.bin/tail/
tail.c 87 #define ARG(units, forward, backward) { \
90 off = strtoll(optarg, &p, 10) * (units); \
96 off -= (units); \
  /src/sys/arch/arm/xilinx/
zynq_xadc.c 117 uint32_t units; member in struct:__anon389537e40208
260 if (edata->units == ENVSYS_STEMP) {
274 KASSERT(edata->units == ENVSYS_SVOLTS_DC);
338 sc->sc_sensor[n].units = zynq_xadc_sensors[n].units;
341 if (zynq_xadc_sensors[n].units == ENVSYS_STEMP) {

Completed in 217 milliseconds

1 2 3 4 5 6 7 8 9