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

1 2

  /src/sys/arch/mips/alchemy/include/
auvar.h 85 struct au_dev *devices; member in struct:au_chipdep
  /src/usr.sbin/envstat/
config_yacc.y 68 main : devices
72 devices : device label
73 | devices device
envstat.c 56 #define ENVSYS_DFLAG 0x00000001 /* list registered devices */
146 case 'D': /* list registered devices */
551 /* print sensors for all devices registered */
1370 mj_t devices; local
1383 memset(&devices, 0x0, sizeof(devices));
1384 mj_create(&devices, "object");
1407 mj_append_field(&devices, tmpstr, "array", &sensors_per_dev);
1714 mj_append_field(&devices, tmpstr, "array", &sensors_per_dev);
1717 mj_append_field(&envstatj, "devices", "object", &devices)
    [all...]
  /src/sys/arch/mvme68k/dev/
mainbus.c 141 struct mainbus_devices *devices; local
152 devices = mainbusdevs_147;
162 devices = mainbusdevs_1x7;
171 for (i = 0; devices[i].md_name != NULL; ++i) {
180 if (devices[i].md_offset == MAINBUS_VMETWO_OFFSET
191 ma.ma_name = devices[i].md_name;
194 ma.ma_offset = devices[i].md_offset + intiobase_phys;
  /src/share/examples/refuse/dmesgfs/
dmesgfs.c 61 static devices_t devices; variable
203 for (i = 0 ; i < devices.c ; i++) {
204 if (strncmp(devices.v[i].dev, s, len) == 0 &&
205 devices.v[i].devlen == len) {
207 devices.v[i].dir = 1;
222 ALLOC(devicenode_t, devices.v, devices.size, devices.c, 10, 10, "add_dev", exit(EXIT_FAILURE));
223 devices.v[devices.c].dev = strnsave(dev, len)
    [all...]
  /src/sys/external/bsd/gnu-efi/dist/apps/
route80h.c 102 } devices[] = { local
110 for (i = 0; devices[i].vendor != 0; i++) {
111 rc = find_pci_device(devices[i].vendor, devices[i].device, &pciio);
  /src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/sysrandom/
randombytes_sysrandom.c 164 static const char *devices[] = { local
170 const char **device = devices;
  /src/crypto/external/bsd/openssh/dist/
auth2-chall.c 69 KbdintDevice *devices[] = { variable
86 char *devices; member in struct:KbdintAuthctxt
100 for (i = 0; devices[i] != NULL; i++)
101 if (strcmp(devices[i]->name, xdevname) == 0) {
102 for (j = i; devices[j] != NULL; j++)
103 devices[j] = devices[j+1];
125 for (i = 0; devices[i]; i++) {
127 sshbuf_len(b) ? "," : "", devices[i]->name)) != 0)
130 if ((kbdintctxt->devices = sshbuf_dup_string(b)) == NULL
    [all...]
  /src/external/bsd/pam-u2f/dist/
pam-u2f.c 180 device_t *devices = NULL; local
229 debug_dbg(cfg, "Maximum number of devices not set. Using default (%d)",
238 devices = calloc(cfg->max_devs, sizeof(device_t));
239 if (!devices) {
304 retval = get_devices_from_authfile(cfg, user, devices, &n_devices);
361 retval = do_authentication(cfg, devices, n_devices, pamh);
363 retval = do_manual_authentication(cfg, devices, n_devices, pamh);
375 free_devices(devices, n_devices);
  /src/external/gpl2/lvm2/dist/lib/filters/
filter-persistent.c 31 struct dm_hash_table *devices; member in struct:pfilter
45 if (pf->devices)
46 dm_hash_destroy(pf->devices);
48 if (!(pf->devices = dm_hash_create(128)))
58 log_verbose("Wiping cache of LVM-capable devices");
59 dm_hash_wipe(pf->devices);
81 * devices as we go.
85 log_verbose("Devices array contains a value "
90 if (!dm_hash_insert(pf->devices, cv->v.str, data))
122 /* We don't gain anything by holding invalid devices */
    [all...]
  /src/external/gpl3/gdb/dist/gdb/testsuite/lib/
cl_util.c 159 cl_device_id *devices; local
184 /* Determine number of devices. */
186 printf ("\n number of OpenCL Devices available: %d\n", device_count);
187 /* Get devices. */
188 devices = (cl_device_id*) malloc (sizeof (cl_device_id) * device_count);
189 if (devices == NULL)
194 clGetDeviceIDs (platforms[i], CL_DEVICE_TYPE_ALL, device_count, devices,
197 /* Querying devices. */
214 clGetDeviceInfo (devices[j], PARM, 0, NULL, &len); \
216 clGetDeviceInfo (devices[j], PARM, len, s, NULL);
425 cl_device_id *devices; local
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/lib/
cl_util.c 159 cl_device_id *devices; local
184 /* Determine number of devices. */
186 printf ("\n number of OpenCL Devices available: %d\n", device_count);
187 /* Get devices. */
188 devices = (cl_device_id*) malloc (sizeof (cl_device_id) * device_count);
189 if (devices == NULL)
194 clGetDeviceIDs (platforms[i], CL_DEVICE_TYPE_ALL, device_count, devices,
197 /* Querying devices. */
214 clGetDeviceInfo (devices[j], PARM, 0, NULL, &len); \
216 clGetDeviceInfo (devices[j], PARM, len, s, NULL);
425 cl_device_id *devices; local
    [all...]
  /src/sys/dev/podulebus/
esp_podule.c 101 } devices[] = { variable in typeref:struct:__anon3604
112 for (i = 0; i < __arraycount(devices); i++)
113 if (pa->pa_manufacturer == devices[i].manufacturer &&
114 pa->pa_product == devices[i].product)
128 for (i = 0; i < __arraycount(devices); i++)
129 if (pa->pa_manufacturer == devices[i].manufacturer &&
130 pa->pa_product == devices[i].product)
132 if (i == __arraycount(devices)) {
140 esc->sc_esp_glue.gl_read_reg = devices[i].read_reg;
141 esc->sc_esp_glue.gl_write_reg = devices[i].write_reg
    [all...]
  /src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/salsa20/
randombytes_salsa20_random.c 213 static const char *devices[] = { local
219 const char **device = devices;
  /src/sys/dev/ic/
aha.c 854 struct aha_devices devices; local
899 /* Inquire Installed Devices (to force synchronous negotiation). */
900 devices.cmd.opcode = AHA_INQUIRE_DEVICES;
902 sizeof(devices.cmd), (u_char *)&devices.cmd,
903 sizeof(devices.reply), (u_char *)&devices.reply);
909 if (((devices.reply.lun_map[i] >> j) & 1) == 1)
bha.c 1051 * Disable the ISA-compatibility ioports on PCI bha devices,
1080 struct bha_devices devices; local
1294 devices.cmd.opcode = BHA_INQUIRE_DEVICES;
1296 sizeof(devices.cmd), (u_char *)&devices.cmd,
1297 sizeof(devices.reply), (u_char *)&devices.reply);
1303 if (((devices.reply.lun_map[i] >> j) & 1) == 1)
1312 devices.cmd.opcode = BHA_INQUIRE_DEVICES_2;
1314 sizeof(devices.cmd), (u_char *)&devices.cmd
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_display.c 4 * Copyright 2007-8 Advanced Micro Devices, Inc.
379 uint32_t devices; local
420 devices = amdgpu_encoder->devices & amdgpu_connector->devices;
421 if (devices) {
422 if (devices & ATOM_DEVICE_CRT1_SUPPORT)
424 if (devices & ATOM_DEVICE_CRT2_SUPPORT)
426 if (devices & ATOM_DEVICE_LCD1_SUPPORT)
428 if (devices & ATOM_DEVICE_DFP1_SUPPORT
    [all...]
  /src/sys/arch/arc/dti/
btl.c 338 * Attach all the sub-devices we can find
1067 struct bt_devices devices; local
1083 /* Inquire Installed Devices (to force synchronous negotiation). */
1084 devices.cmd.opcode = BT_INQUIRE_DEVICES;
1085 bt_cmd(iobase, sc, sizeof(devices.cmd), (u_char *)&devices.cmd,
1086 sizeof(devices.reply), (u_char *)&devices.reply);
  /src/external/bsd/iscsi/dist/src/lib/
target.c 1915 devv_t *devices; local
1920 NEW(devv_t, devices, "iscsi_target_reconf 2", return -1);
1933 tgt->devv = devices;
  /src/external/gpl2/lvm2/dist/lib/device/
dev-cache.c 47 struct btree *devices; member in struct:__anon9438
297 if (!(dev = (struct device *) btree_lookup(_cache.devices,
306 if (!(btree_insert(_cache.devices, (uint32_t) d, dev))) {
436 * In NetBSD we have two different types of devices
503 if (!(cn = find_config_tree_node(cmd, "devices/preferred_names")) ||
505 log_very_verbose("devices/preferred_names not found in config file: "
564 if (!(_cache.devices = btree_create(_cache.mem))) {
611 _cache.devices = NULL;
765 di->current = btree_first(_cache.devices);
  /src/external/gpl3/gdb/dist/sim/ppc/
psim.c 47 device *devices; member in struct:_psim
527 system->devices = root;
666 return tree_find_device(system->devices, path);
705 if (tree_find_property(system->devices, "/openprom/options/max-iterations")) {
707 tree_find_integer_property(system->devices,
717 /* init all the devices (which updates the cpus) */
718 tree_init(system->devices, system);
742 device *stack_device = tree_find_device(system->devices,
  /src/external/gpl3/gdb.old/dist/sim/ppc/
psim.c 47 device *devices; member in struct:_psim
527 system->devices = root;
666 return tree_find_device(system->devices, path);
705 if (tree_find_property(system->devices, "/openprom/options/max-iterations")) {
707 tree_find_integer_property(system->devices,
717 /* init all the devices (which updates the cpus) */
718 tree_init(system->devices, system);
742 device *stack_device = tree_find_device(system->devices,
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_display.c 4 * Copyright 2007-8 Advanced Micro Devices, Inc.
772 uint32_t devices; local
812 devices = radeon_encoder->devices & radeon_connector->devices;
813 if (devices) {
814 if (devices & ATOM_DEVICE_CRT1_SUPPORT)
816 if (devices & ATOM_DEVICE_CRT2_SUPPORT)
818 if (devices & ATOM_DEVICE_LCD1_SUPPORT)
820 if (devices & ATOM_DEVICE_DFP1_SUPPORT
    [all...]
  /src/sys/arch/shark/shark/
scr.c 507 /* number of devices */ variable
508 static int devices = 0;
702 if (device_is_a(parent, "ofisascr") && devices == 0)
704 /* set "devices" to ensure that we respond only once */
705 devices++;
  /src/sys/dev/ieee1394/
firewirereg.h 139 STAILQ_HEAD(, fw_device) devices; member in struct:firewire_comm

Completed in 47 milliseconds

1 2