Searched refs:handle (Results 1 - 25 of 247) sorted by last modified time

12345678910

/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_signal.cpp349 command->type = conn->handle;
H A DL2capEndpoint.cpp487 buffer->type = fConnection->handle;
/haiku/src/add-ons/kernel/bluetooth/hci/
H A Dacl.cpp28 extern void RegisterConnection(hci_id hid, uint16 handle);
29 extern void unRegisterConnection(hci_id hid, uint16 handle);
54 // Get ACL connection handle, PB flag and payload length
55 aclHeader->handle = B_LENDIAN_TO_HOST_INT16(aclHeader->handle);
57 uint16 con_handle = get_acl_handle(aclHeader->handle);
58 uint16 pb = get_acl_pb_flag(aclHeader->handle);
63 TRACE("%s: ACL data packet, handle=%#x, PB=%#x, length=%d\n", __func__,
72 ERROR("%s: expected handle=%#x does not exist!\n", __func__,
110 TRACE("%s: New L2CAP, handle
[all...]
/haiku/src/add-ons/kernel/bluetooth/btCoreData/
H A DConnectionInterface.cpp64 AddConnection(uint16 handle, int type, const bdaddr_t& dst, hci_id hid) argument
68 HciConnection* conn = ConnectionByHandle(handle, hid);
90 conn->handle = handle;
136 RemoveConnection(uint16 handle, hci_id hid) argument
146 if (conn->Hid == hid && conn->handle == handle) {
185 ConnectionByHandle(uint16 handle, hci_id hid) argument
195 if (conn->Hid == hid && conn->handle == handle) {
[all...]
H A DBTCoreData.cpp32 ExistConnectionByHandle(uint16 handle, hci_id hid) argument
34 return ConnectionByHandle(handle, hid);
51 // TODO: XXX parse handle field
52 HciConnection* conn = AddConnection(data->handle, BT_ACL,
58 TRACE("%s: Registered connection handle=%#x\n", __func__,
59 data->handle);
70 RemoveConnection(data->handle, ndev->index);
71 TRACE("%s: unRegistered connection handle=%#x\n", __func__,
72 data->handle);
H A DConnectionInterface.h18 HciConnection* ConnectionByHandle(uint16 handle, hci_id hid);
23 HciConnection* AddConnection(uint16 handle, int type, const bdaddr_t& dst,
26 status_t RemoveConnection(uint16 handle, hci_id hid);
/haiku/headers/private/bluetooth/
H A DbtCoreData.h44 uint16 handle; member in struct:HciConnection
78 struct HciConnection* (*AddConnection)(uint16 handle, int type,
82 status_t (*RemoveConnection)(uint16 handle, hci_id hid);
86 struct HciConnection* (*ConnectionByHandle)(uint16 handle, hci_id hid);
98 inline bool ExistConnectionByHandle(uint16 handle, hci_id hid);
/haiku/src/apps/drivesetup/
H A DPartitionList.cpp355 void* handle = parse_driver_settings_string(partition->Parameters()); local
356 if (handle != NULL) {
357 bool active = get_driver_boolean_parameter(handle, "active", false,
361 unload_driver_settings(handle);
/haiku/src/system/runtime_loader/
H A Druntime_loader_private.h76 status_t unload_library(void* handle, image_id imageID, bool addOn);
84 status_t get_library_symbol(void* handle, void* caller, const char* symbolName,
H A Delf.cpp38 // a handle returned by load_library() (dlopen())
726 unload_library(void* handle, image_id imageID, bool addOn) argument
731 if (handle == NULL && imageID < 0)
734 if (handle == RLD_GLOBAL_SCOPE)
749 if (handle != NULL) {
750 image = (image_t*)handle;
983 get_library_symbol(void* handle, void* caller, const char* symbolName, argument
994 if (handle == RTLD_DEFAULT || handle == RLD_GLOBAL_SCOPE) {
1009 } else if (handle
[all...]
/haiku/headers/private/shared/
H A DAutoDeleter.h15 HandleDeleter - use arbitrary handle type and destructor function
260 inline bool operator()(status_t handle) argument
262 return handle >= B_OK;
276 inline HandleDeleter(C handle) argument
277 : fHandle(handle)
287 inline void SetTo(C handle) argument
289 if (handle != fHandle) {
292 fHandle = handle;
319 C handle = fHandle; local
321 return handle;
[all...]
/haiku/src/system/kernel/arch/generic/
H A Dacpi_irq_routing_table.cpp220 if (existing->handle == irqEntry.source) {
238 link->handle = irqEntry.source;
239 status_t status = read_possible_irqs(acpi, link->handle,
247 status = read_current_irq(acpi, link->handle, link->current_irq);
348 evaluate_integer(acpi_module_info* acpi, acpi_handle handle, argument
356 status_t status = acpi->evaluate_method(handle, method, NULL,
386 dprintf("failed to get handle to link device\n");
740 dprintf("failed to resolve handle to path\n");
752 dprintf("failed to get handle to child \"%s\"\n", childName);
792 // TODO: handle
[all...]
/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DBusManager.cpp300 get_name(acpi_handle handle, uint32 nameType, char* returnedName, argument
304 return AcpiGetName(handle, nameType, &buffer) == AE_OK ? B_OK : B_ERROR;
309 acquire_global_lock(uint16 timeout, uint32 *handle) argument
311 return AcpiAcquireGlobalLock(timeout, (UINT32*)handle) == AE_OK
317 release_global_lock(uint32 handle) argument
319 return AcpiReleaseGlobalLock(handle) == AE_OK ? B_OK : B_ERROR;
349 enable_gpe(acpi_handle handle, uint32 gpeNumber) argument
351 return AcpiEnableGpe(handle, gpeNumber) == AE_OK ? B_OK : B_ERROR;
356 disable_gpe(acpi_handle handle, uint32 gpeNumber) argument
358 return AcpiDisableGpe(handle, gpeNumbe
363 clear_gpe(acpi_handle handle, uint32 gpeNumber) argument
370 set_gpe(acpi_handle handle, uint32 gpeNumber, uint8 action) argument
377 finish_gpe(acpi_handle handle, uint32 gpeNumber) argument
384 install_gpe_handler(acpi_handle handle, uint32 gpeNumber, uint32 type, acpi_gpe_handler handler, void *data) argument
393 remove_gpe_handler(acpi_handle handle, uint32 gpeNumber, acpi_gpe_handler address) argument
402 install_address_space_handler(acpi_handle handle, uint32 spaceId, acpi_adr_space_handler handler, acpi_adr_space_setup setup, void *data) argument
412 remove_address_space_handler(acpi_handle handle, uint32 spaceId, acpi_adr_space_handler handler) argument
536 ACPI_HANDLE handle; local
574 ACPI_HANDLE handle; local
598 ACPI_HANDLE handle; local
612 ACPI_HANDLE handle; local
634 ACPI_HANDLE handle; local
662 evaluate_object(acpi_handle handle, const char* object, acpi_objects *args, acpi_object_type* returnValue, size_t bufferLength) argument
681 evaluate_method(acpi_handle handle, const char* method, acpi_objects *args, acpi_data *returnValue) argument
[all...]
H A DACPIPrivate.h38 acpi_handle handle; member in struct:acpi_device_cookie
56 status_t (*get_name)(acpi_handle handle, uint32 nameType,
61 status_t (*acquire_global_lock)(uint16 timeout, uint32 *handle);
62 status_t (*release_global_lock)(uint32 handle);
74 status_t (*enable_gpe)(acpi_handle handle, uint32 gpeNumber);
75 status_t (*disable_gpe)(acpi_handle handle, uint32 gpeNumber);
76 status_t (*clear_gpe)(acpi_handle handle, uint32 gpeNumber);
77 status_t (*set_gpe)(acpi_handle handle, uint32 gpeNumber,
79 status_t (*finish_gpe)(acpi_handle handle, uint32 gpeNumber);
80 status_t (*install_gpe_handler)(acpi_handle handle, uint3
[all...]
/haiku/src/add-ons/kernel/drivers/disk/nvme/
H A Dnvme_disk.cpp113 get_geometry(nvme_disk_handle* handle, device_geometry* geometry) argument
115 nvme_disk_driver_info* info = handle->info;
355 nvme_disk_handle* handle = (nvme_disk_handle*)malloc( local
357 if (handle == NULL)
360 handle->info = info;
362 *_cookie = handle;
372 //nvme_disk_handle* handle = (nvme_disk_handle*)cookie;
382 nvme_disk_handle* handle = (nvme_disk_handle*)cookie; local
383 free(handle);
549 nvme_disk_bounced_io(nvme_disk_handle* handle, io_reques argument
624 nvme_disk_handle* handle = (nvme_disk_handle*)cookie; local
801 nvme_disk_handle* handle = (nvme_disk_handle*)cookie; local
824 nvme_disk_handle* handle = (nvme_disk_handle*)cookie; local
935 nvme_disk_handle* handle = (nvme_disk_handle*)cookie; local
[all...]
/haiku/src/system/kernel/vm/
H A Dvm.cpp1096 // to handle the private copies of pages as they are written to
2631 // We need to handle wired pages -- iterate through the cache's pages.
5099 vm_put_physical_page(addr_t vaddr, void* handle) argument
5101 return sPhysicalPageMapper->PutPage(vaddr, handle);
5113 vm_put_physical_page_current_cpu(addr_t vaddr, void* handle) argument
5115 return sPhysicalPageMapper->PutPageCurrentCPU(vaddr, handle);
5126 vm_put_physical_page_debug(addr_t vaddr, void* handle) argument
5128 return sPhysicalPageMapper->PutPageDebug(vaddr, handle);
6873 // The whole area is covered: let set_area_protection handle it.
/haiku/src/add-ons/kernel/drivers/network/ether/usb_rndis/
H A DRNDISDevice.cpp163 fWriteEndpoint = interface->endpoint[0].handle;
165 fReadEndpoint = interface->endpoint[0].handle;
168 fReadEndpoint = interface->endpoint[1].handle;
170 fWriteEndpoint = interface->endpoint[1].handle;
690 fNotifyEndpoint = interface->endpoint[0].handle;
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DStream.cpp256 fStreamEndpoint = interface->endpoint[i].handle;
257 TRACE(INF, "%s Stream Endpoint [address %#04x] handle is: %#010x.\n",
/haiku/headers/private/graphics/intel_extreme/
H A Dintel_extreme.h291 uint16 handle; member in struct:child_device_config
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.cpp2704 // handle special cases
3196 // handle trivial special case -- both nodes are the same
3325 FUSEVolume::_AddReadDirEntryGetDir(fuse_dirh_t handle, const char* name, argument
3328 ReadDirBuffer* buffer = (ReadDirBuffer*)handle;
/haiku/src/add-ons/kernel/drivers/graphics/virtio/
H A Dvirtio_gpu.cpp564 virtio_gpu_handle* handle = (virtio_gpu_handle*)malloc( local
566 if (handle == NULL)
635 handle->info = info;
637 *_cookie = handle;
645 free(handle);
653 virtio_gpu_handle* handle = (virtio_gpu_handle*)cookie; local
656 virtio_gpu_driver_info* info = handle->info;
669 virtio_gpu_handle* handle = (virtio_gpu_handle*)cookie; local
671 virtio_gpu_driver_info* info = handle->info;
676 free(handle);
712 virtio_gpu_handle* handle = (virtio_gpu_handle*)cookie; local
[all...]
/haiku/src/add-ons/kernel/drivers/disk/usb/usb_disk/
H A Dusb_disk.cpp1081 device->bulk_in = endpoint->handle;
1086 device->bulk_out = endpoint->handle;
1092 device->interrupt = endpoint->handle;
/haiku/src/add-ons/kernel/drivers/disk/mmc/
H A Dmmc_disk.cpp221 TRACE("MMC bus handle: %p %s\n", info->mmc, info->mmc->info.info.name);
361 mmc_disk_handle* handle = new(std::nothrow) mmc_disk_handle; local
362 *_cookie = handle;
363 if (handle == NULL)
366 handle->info = info;
368 if (handle->info->geometry.bytes_per_sector == 0) {
369 status_t error = mmc_block_get_geometry(handle->info,
370 &handle->info->geometry);
373 delete handle;
386 //mmc_disk_handle* handle
397 mmc_disk_handle* handle = (mmc_disk_handle*)cookie; local
408 mmc_disk_handle* handle = (mmc_disk_handle*)cookie; local
436 mmc_disk_handle* handle = (mmc_disk_handle*)cookie; local
463 mmc_disk_handle* handle = (mmc_disk_handle*)cookie; local
567 mmc_disk_handle* handle = (mmc_disk_handle*)cookie; local
[all...]
/haiku/src/add-ons/kernel/drivers/disk/virtual/virtio_block/
H A Dvirtio_block.cpp140 get_geometry(virtio_block_handle* handle, device_geometry* geometry) argument
142 virtio_block_driver_info* info = handle->info;
323 virtio_block_handle* handle = (virtio_block_handle*)malloc( local
325 if (handle == NULL)
328 handle->info = info;
330 *_cookie = handle;
338 //virtio_block_handle* handle = (virtio_block_handle*)cookie;
349 virtio_block_handle* handle = (virtio_block_handle*)cookie; local
351 free(handle);
360 virtio_block_handle* handle local
370 virtio_block_handle* handle = (virtio_block_handle*)cookie; local
[all...]
/haiku/headers/os/drivers/
H A DACPI.h110 acpi_handle handle; member in struct:acpi_object_type::__anon8
186 status_t (*get_name)(acpi_handle handle, uint32 nameType,
191 status_t (*acquire_global_lock)(uint16 timeout, uint32 *handle);
192 status_t (*release_global_lock)(uint32 handle);
205 status_t (*enable_gpe)(acpi_handle handle, uint32 gpeNumber);
206 status_t (*disable_gpe)(acpi_handle handle, uint32 gpeNumber);
207 status_t (*clear_gpe)(acpi_handle handle, uint32 gpeNumber);
208 status_t (*set_gpe)(acpi_handle handle, uint32 gpeNumber,
210 status_t (*finish_gpe)(acpi_handle handle, uint32 gpeNumber);
211 status_t (*install_gpe_handler)(acpi_handle handle, uint3
[all...]

Completed in 175 milliseconds

12345678910