Searched refs:devices (Results 1 - 25 of 53) sorted by relevance

123

/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A Dglobal_data.c15 radeon_devices *devices; variable
H A Ddriver.c157 devices = (radeon_devices *)calloc(1, sizeof(radeon_devices));
158 if (devices == NULL) {
165 (void)INIT_BEN(devices->kernel, "Radeon Kernel");
177 DELETE_BEN(devices->kernel);
179 free(devices);
180 devices = NULL;
191 return (const char **)devices->device_names;
201 for (index = 0; devices->device_names[index]; ++index) {
202 if (strcmp(name, devices->device_names[index]) == 0)
224 while (devices
[all...]
H A Ddetect.c251 // list of supported devices
476 RadeonDevice *devices; member in struct:__anon2
497 RadeonDevice *devices = SupportedVendors[vendor].devices; local
499 while (devices->device_id) {
500 if (devices->device_id == pcii.device_id) {
513 devices++;
521 SHOW_INFO0(0, "no supported devices found");
569 for (device = SupportedVendors[vendor].devices; device->device_id;
694 // gather list of supported devices
[all...]
/haiku/src/apps/devices/
H A Dpci-header.awk47 # store vendor ID for possible devices afterwards
70 # store device ID for possible devices afterwards
73 devices[devicecount, 1] = vendorid
74 devices[devicecount, 2] = $1
75 devices[devicecount, 3] = 0
76 devices[devicecount, 4] = 0
77 devices[devicecount, 5] = device
87 devices[devicecount, 1] = vendorid
88 devices[devicecount, 2] = deviceid
89 devices[devicecoun
[all...]
H A Dusb-header.awk49 # store vendor ID for possible devices afterwards
72 # store device ID for possible devices afterwards
75 devices[devicecount, 1] = vendorid
76 devices[devicecount, 2] = $1
77 devices[devicecount, 3] = device
151 printf "%s", formatting "\t{ 0x" devices[i, 1] ", 0x" devices[i, 2] ", \"" devices[i, 3] "\" }" > ofile
/haiku/src/add-ons/input_server/devices/virtualkeyboard/
H A DVirtualKeyboardInputDevice.cpp31 static input_device_ref* devices[2] = {&keyboard, NULL}; local
33 RegisterDevices(devices);
/haiku/src/add-ons/kernel/drivers/bus/pcmcia/
H A Dds.c28 static char ** devices; variable
44 if (strcmp(name, devices[i]) == 0) {
326 return (const char **)devices;
379 devices = malloc(sizeof(char *) * (devices_count+1));
380 if (!devices) {
386 devices[i] = strdup(sockname);
387 sprintf(devices[i], sockname, i);
389 devices[devices_count] = NULL;
400 free (devices[i]);
402 free(devices);
[all...]
/haiku/src/servers/input/
H A DInputServerDevice.cpp117 BInputServerDevice::RegisterDevices(input_device_ref** devices) argument
120 return gInputServer->RegisterDevices(*this, devices);
125 BInputServerDevice::UnregisterDevices(input_device_ref** devices) argument
128 // TODO: is this function supposed to remove devices that do not belong to this object?
130 return gInputServer->UnregisterDevices(*this, devices);
/haiku/src/add-ons/kernel/drivers/common/
H A Dnull.c76 static const char *devices[] = { local
81 return devices;
H A Dzero.c77 static const char *devices[] = { local
82 return devices;
H A Ddprintf.cpp135 static const char *devices[] = { local
140 return devices;
/haiku/headers/os/add-ons/input_server/
H A DInputServerDevice.h13 // Register your actual devices using this one - you can subclass
55 status_t RegisterDevices(input_device_ref** devices);
56 status_t UnregisterDevices(input_device_ref** devices);
/haiku/src/system/boot/platform/openfirmware/
H A Dreal_time_clock.cpp14 #include <platform/openfirmware/devices.h>
/haiku/src/add-ons/input_server/devices/tablet/
H A DTabletInputDevice.cpp594 input_device_ref* devices[2]; local
595 devices[0] = device->DeviceRef();
596 devices[1] = NULL;
598 TRACE("adding path: %s, name: %s\n", path, devices[0]->name);
600 return RegisterDevices(devices);
617 input_device_ref* devices[2]; local
618 devices[0] = device->DeviceRef();
619 devices[1] = NULL;
621 TRACE("removing path: %s, name: %s\n", path, devices[0]->name);
623 UnregisterDevices(devices);
[all...]
/haiku/src/kits/tracker/
H A DMountMenu.cpp183 BDiskDeviceList devices; local
184 status_t status = devices.Fetch();
187 devices.VisitEachPartition(&visitor);
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A DTODO17 #10) Make reservation of devices more flexible (can switch it off).
25 #18) Support of autosense on fake devices
26 #-INVALID-19)Locking for fake devices too
27 #20) What with write-protected devices?
43 36) Handle FORMAT_UNIT for UFI devices.
44 #37) Locking of global devices table
53 #46) Add "invalid" devices entries. Check your mailing for information.
56 #49) Handling 0xA1 (Blank) command for C/DVD-RW devices. Should be like FORMAT UNIT?
/haiku/src/tests/add-ons/kernel/busses/scsi/example/
H A Dexample_scsi.c90 example_get_supported_paths(const char ***busses, const char ***devices) argument
97 *devices = sDevices;
/haiku/src/tests/kits/storage/
H A DVolumeTest.cpp443 GetAllDevices(set<dev_t> &devices) argument
461 devices.insert(device);
486 // iterate through the first i devices
487 set<dev_t> devices(allDevices);
494 CHK(devices.find(device) != devices.end());
495 devices.erase(device);
497 // rewind and iterate through all devices
498 devices = allDevices;
506 CHK(devices
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/et6x00/
H A Ddriver.c44 uint32 isOpen; /* a count of how many times the devices has been opened */
59 uint32 count; /* number of devices actually found */
112 uint16 *devices; member in struct:__anon38
131 /* while there are more pci devices */
139 uint16 *devices = supportedDevices[vendor].devices; local
140 /* while there are more supported devices */
141 while (*devices) {
143 if (*devices == pcii.device_id) {
149 devices
180 uint16 *devices = supportedDevices[vendor].devices; local
[all...]
/haiku/src/add-ons/input_server/devices/serial_mouse/
H A DMouseInputDevice.cpp168 input_device_ref* devices[2]; local
169 devices[0] = &device->device_ref;
170 devices[1] = NULL;
174 return RegisterDevices(devices);
/haiku/src/system/kernel/platform/openfirmware/
H A Dopenfirmware_devices.cpp6 #include <platform/openfirmware/devices.h>
/haiku/src/add-ons/input_server/devices/mouse/
H A DMouseInputDevice.cpp879 input_device_ref* devices[2]; local
880 devices[0] = device->DeviceRef();
881 devices[1] = NULL;
883 TRACE("adding path: %s, name: %s\n", path, devices[0]->name);
885 return RegisterDevices(devices);
902 input_device_ref* devices[2]; local
903 devices[0] = device->DeviceRef();
904 devices[1] = NULL;
906 TRACE("removing path: %s, name: %s\n", path, devices[0]->name);
908 UnregisterDevices(devices);
[all...]
/haiku/src/add-ons/kernel/drivers/bus/firewire/
H A Dfw_raw.c78 static char ** devices; variable
165 if (strcmp(name, devices[i]) == 0) {
881 STAILQ_FOREACH(fwdev, &fc->devices, link) {
900 STAILQ_FOREACH(fwdev, &fc->devices, link)
950 return (const char **)devices;
1000 devices = malloc(sizeof(char *) * (devices_count + 1));
1001 if (!devices) {
1006 devices[i] = strdup(fwname);
1007 snprintf(devices[i], FWNAMEMAX, fwname, i);
1009 devices[devices_coun
[all...]
/haiku/src/add-ons/input_server/devices/keyboard/
H A DKeyboardInputDevice.cpp753 input_device_ref* devices[2];
754 devices[0] = device->DeviceRef();
755 devices[1] = NULL;
759 return RegisterDevices(devices);
775 input_device_ref* devices[2]; local
776 devices[0] = device->DeviceRef();
777 devices[1] = NULL;
779 UnregisterDevices(devices);
/haiku/src/add-ons/input_server/devices/easypen/
H A DEasyPenInputDevice.cpp141 input_device_ref *devices[2]; local
142 devices[0] = &device->device_ref;
143 devices[1] = NULL;
146 RegisterDevices(devices);
153 LOG("Found %ld devices\n", fDevices.CountItems());

Completed in 393 milliseconds

123