/src/sys/arch/sparc/dev/ |
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
|
/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/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
|
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_ctxnv50.c | 307 u32 units = nvkm_rd32(device, 0x1540); local in function:nv50_gr_construct_mmio 504 if (units & (1<<(i+16))) { 588 if (units & (1<<i)) { 603 if (!(units & (1 << (j+24)))) continue; 1200 u32 units = nvkm_rd32(device, 0x1540); local in function:nv50_gr_construct_xfer1 1240 if (units & (1 << (i + 16))) 1248 if (units & (1 << (2 * i))) 1250 if (units & (1 << (2 * i + 1))) 1299 if (units & (1<<(i+16))) 1309 if (units & (1 << 0) 3283 u32 units = nvkm_rd32(device, 0x1540); local in function:nv50_gr_construct_xfer2 [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...] |
/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/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);
|
/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];
|
/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/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);
|
/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];
|
/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) {
|
/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
|
audioio.h | 351 audio_mixer_name_t units; member in struct:mixer_devinfo::__anon2f6f5b49010a::audio_mixer_value
|
/src/usr.sbin/ofctl/ |
ofctl.c | 797 const char *units = ""; local in function:frequency_format 810 case 1000000000: units = "GHz"; break; 811 case 1000000: units = "MHz"; break; 812 case 1000: units = "KHz"; break; 813 case 1: units = "Hz"; break; 816 printf(" %u.%03u%s\n", whole, frac, units); 818 printf(" %u%s\n", whole, units); 829 const char *units = ""; local in function:size_format 842 case 0x40000000: units = "G"; break; 843 case 0x100000: units = "M"; break [all...] |
/src/usr.bin/make/unit-tests/ |
varmisc.mk | 50 M_cmpv.units= 1 1000 1000000 51 M_cmpv= S,., ,g:_:range:@i@+ $${_:[-$$i]} \* $${M_cmpv.units:[$$i]}@:S,^,expr 0 ,1:sh
|
/src/sys/dev/ |
ccd.c | 1737 int error, i, nccd, *units; local in function:ccd_units_sysctl 1747 size = nccd * sizeof(*units); 1748 units = kmem_zalloc(size, KM_SLEEP); 1754 units[i] = sc->sc_unit; 1758 units = NULL; 1763 node.sysctl_data = units; 1767 if (units) 1768 kmem_free(units, size); 1878 CTLTYPE_STRUCT, "units",
|
/src/sys/arch/evbppc/mpc85xx/ |
machdep.c | 731 static const char units[16] = "KKKKKMMMMMGGGGGT"; local in function:e500_tlb_print 744 minsize, maxsize, units[maxsize_log4k]);
|
/src/sys/dev/sysmon/ |
sysmonvar.h | 96 uint32_t units; /* type of sensor */ member in struct:envsys_data
|
/src/usr.sbin/envstat/ |
envstat.c | 903 const char *a, *b, *c, *d, *e, *units; local in function:print_sensors 929 units = "Unit"; 952 "", a, b, c, d, units); 956 "", a, b, c, d, e, units); 1487 mj_append_field(&this_sensor, "units", "string", 1516 mj_append_field(&this_sensor, "units", "string", 1565 mj_append_field(&this_sensor, "units", "string", 1602 mj_append_field(&this_sensor, "units", "string", 1631 mj_append_field(&this_sensor, "units", "string", 1656 mj_append_field(&this_sensor, "units", "string" [all...] |
/src/sys/arch/powerpc/booke/pci/ |
pq3pci.c | 446 const char units[] = " KMGTP"; 452 winnum, 1 << (win_size_log2 % 10), units[win_size_log2 / 10], 518 const char units[] = " KMGTP"; local in function:pq3pci_iwin_setup 524 winnum, 1 << (win_size_log2 % 10), units[win_size_log2 / 10],
|
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
vmwgfx_kms.c | 1550 * vmw_kms_check_implicit - Verify that all implicit display units scan out 2428 * on a set of cliprects and a set of display units. 2452 struct vmw_display_unit *units[VMWGFX_NUM_DISPLAY_UNITS]; local in function:vmw_kms_helper_dirty 2459 /* If crtc is passed, no need to iterate over other display units */ 2461 units[num_units++] = vmw_crtc_to_du(dirty->crtc); 2468 units[num_units++] = vmw_crtc_to_du(crtc); 2473 struct vmw_display_unit *unit = units[k];
|