/drivers/pci/pcie/ |
H A D | portdrv_acpi.c | 37 acpi_handle handle; local 43 handle = acpi_find_root_bridge_handle(port); 44 if (!handle) 47 root = acpi_pci_find_root(handle);
|
/drivers/acpi/acpica/ |
H A D | nsxfobj.c | 62 * DESCRIPTION: This routine returns the owner id associated with a handle 65 acpi_status acpi_get_id(acpi_handle handle, acpi_owner_id * ret_id) argument 81 /* Convert and validate the handle */ 83 node = acpi_ns_validate_handle(handle); 106 * DESCRIPTION: This routine returns the type associatd with a particular handle 109 acpi_status acpi_get_type(acpi_handle handle, acpi_object_type * ret_type) 124 if (handle == ACPI_ROOT_OBJECT) { 134 /* Convert and validate the handle */ 136 node = acpi_ns_validate_handle(handle); 155 * ret_handle - Where the parent handle wil [all...] |
H A D | nsload.c | 55 acpi_status acpi_ns_unload_namespace(acpi_handle handle); 199 * DESCRIPTION: Walks the namespace starting at the given handle and deletes 287 * including) the given handle. 291 acpi_status acpi_ns_unload_namespace(acpi_handle handle) argument 303 if (!handle) { 309 status = acpi_ns_delete_subtree(handle);
|
H A D | utxfmutex.c | 53 acpi_ut_get_mutex_object(acpi_handle handle, 61 * PARAMETERS: Handle - Mutex or prefix handle (optional) 74 acpi_ut_get_mutex_object(acpi_handle handle, argument 84 if (!ret_obj || (!handle && !pathname)) { 90 mutex_node = handle; 92 status = acpi_get_handle(handle, pathname, 121 * PARAMETERS: Handle - Mutex or prefix handle (optional) 136 acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout) argument 143 status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj); 158 * PARAMETERS: Handle - Mutex or prefix handle (optiona 171 acpi_release_mutex(acpi_handle handle, acpi_string pathname) argument [all...] |
/drivers/acpi/ |
H A D | pci_bind.c | 42 dev = acpi_get_pci_dev(device->handle); 65 acpi_handle handle; local 69 dev = acpi_get_pci_dev(device->handle); 98 status = acpi_get_handle(device->handle, METHOD_NAME__PRT, &handle); 107 acpi_pci_irq_add_prt(device->handle, bus);
|
H A D | internal.h | 55 acpi_handle handle; member in struct:acpi_ec
|
H A D | utils.c | 161 /* TBD: handle nested packages... */ 247 /* TBD: handle nested packages... */ 260 acpi_evaluate_integer(acpi_handle handle, argument 273 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); 275 acpi_util_eval_error(handle, pathname, status); 280 acpi_util_eval_error(handle, pathname, AE_BAD_DATA); 294 acpi_evaluate_reference(acpi_handle handle, argument 312 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); 322 acpi_util_eval_error(handle, pathname, status); 329 acpi_util_eval_error(handle, pathnam [all...] |
H A D | video_detect.c | 24 * are available, video.ko should be used to handle the device. 32 * drivers always can handle backlight. 50 acpi_backlight_cap_match(acpi_handle handle, u32 level, void *context, argument 56 if (ACPI_SUCCESS(acpi_get_handle(handle, "_BCM", &h_dummy)) && 57 ACPI_SUCCESS(acpi_get_handle(handle, "_BCL", &h_dummy))) { 61 if (ACPI_FAILURE(acpi_get_handle(handle, "_BQC", &h_dummy))) 87 if (ACPI_SUCCESS(acpi_get_handle(device->handle, "_DOD", &h_dummy)) || 88 ACPI_SUCCESS(acpi_get_handle(device->handle, "_DOS", &h_dummy))) 92 if (ACPI_SUCCESS(acpi_get_handle(device->handle, "_ROM", &h_dummy))) 96 if (ACPI_SUCCESS(acpi_get_handle(device->handle, "_VP 112 find_video(acpi_handle handle, u32 lvl, void *context, void **rv) argument [all...] |
/drivers/gpu/drm/radeon/ |
H A D | radeon_acpi.c | 19 static int radeon_atif_call(acpi_handle handle) argument 34 status = acpi_evaluate_object(handle, "ATIF", &atif_arg, &buffer); 51 acpi_handle handle; local 54 /* Get the device handle */ 55 handle = DEVICE_ACPI_HANDLE(&rdev->pdev->dev); 58 if (!ASIC_IS_AVIVO(rdev) || !rdev->bios || !handle) 62 ret = radeon_atif_call(handle);
|
/drivers/gpu/drm/i915/ |
H A D | i915_gem_debug.c | 139 i915_gem_object_check_coherency(struct drm_i915_gem_object *obj, int handle) argument 148 __func__, obj, obj->gtt_offset, handle,
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_ramht.h | 32 u32 handle; member in struct:nouveau_ramht_entry 49 extern int nouveau_ramht_insert(struct nouveau_channel *, u32 handle, 51 extern int nouveau_ramht_remove(struct nouveau_channel *, u32 handle); 53 nouveau_ramht_find(struct nouveau_channel *chan, u32 handle);
|
H A D | nouveau_notifier.c | 110 nouveau_notifier_alloc(struct nouveau_channel *chan, uint32_t handle, argument 153 ret = nouveau_ramht_insert(chan, handle, nobj); 200 ret = nouveau_notifier_alloc(chan, na->handle, na->size, 0, 0x1000,
|
H A D | nv84_crypt.c | 93 u32 handle, u16 class) 109 ret = nouveau_ramht_insert(chan, handle, obj); 92 nv84_crypt_object_new(struct nouveau_channel *chan, int engine, u32 handle, u16 class) argument
|
/drivers/input/ |
H A D | evbug.c | 41 static void evbug_event(struct input_handle *handle, unsigned int type, unsigned int code, int value) argument 44 dev_name(&handle->dev->dev), type, code, value); 50 struct input_handle *handle; local 53 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); 54 if (!handle) 57 handle->dev = dev; 58 handle->handler = handler; 59 handle->name = "evbug"; 61 error = input_register_handle(handle); 65 error = input_open_device(handle); 83 evbug_disconnect(struct input_handle *handle) argument [all...] |
H A D | apm-power.c | 35 static void apmpower_event(struct input_handle *handle, unsigned int type, argument 56 struct input_handle *handle; local 59 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); 60 if (!handle) 63 handle->dev = dev; 64 handle->handler = handler; 65 handle->name = "apm-power"; 67 error = input_register_handle(handle); 71 kfree(handle); 75 error = input_open_device(handle); 86 apmpower_disconnect(struct input_handle *handle) argument [all...] |
/drivers/pci/ |
H A D | ioapic.c | 26 acpi_handle handle; member in struct:ioapic 32 acpi_handle handle; local 40 handle = DEVICE_ACPI_HANDLE(&dev->dev); 41 if (!handle) 44 status = acpi_evaluate_integer(handle, "_GSB", NULL, &gsb); 57 ioapic->handle = handle; 75 if (acpi_register_ioapic(ioapic->handle, res->start, ioapic->gsi_base)) 95 acpi_unregister_ioapic(ioapic->handle, ioapic->gsi_base);
|
/drivers/gpu/drm/ |
H A D | drm_memory.c | 85 void drm_free_agp(DRM_AGP_MEM * handle, int pages) argument 87 agp_free_memory(handle); 92 int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start) argument 94 return agp_bind_memory(handle, start); 98 int drm_unbind_agp(DRM_AGP_MEM * handle) argument 100 return agp_unbind_memory(handle); 117 map->handle = agp_remap(map->offset, map->size, dev); 119 map->handle = ioremap(map->offset, map->size); 127 map->handle = agp_remap(map->offset, map->size, dev); 129 map->handle [all...] |
/drivers/platform/x86/ |
H A D | toshiba_bluetooth.c | 59 static int toshiba_bluetooth_enable(acpi_handle handle) argument 69 res1 = acpi_evaluate_integer(handle, "BTST", NULL, &result); 76 res1 = acpi_evaluate_object(handle, "AUSB", NULL, NULL); 77 res2 = acpi_evaluate_object(handle, "BTPO", NULL, NULL); 88 toshiba_bluetooth_enable(device->handle); 93 return toshiba_bluetooth_enable(device->handle); 107 status = acpi_evaluate_integer(device->handle, "_STA", NULL, 113 result = toshiba_bluetooth_enable(device->handle);
|
/drivers/sh/intc/ |
H A D | balancing.c | 17 unsigned long handle = dist_handle[irq]; local 20 if (irq_balancing_disabled(irq) || !handle) 23 addr = INTC_REG(d, _INTC_ADDR_D(handle), 0); 24 intc_reg_fns[_INTC_FN(handle)](addr, handle, 1); 30 unsigned long handle = dist_handle[irq]; local 33 if (irq_balancing_disabled(irq) || !handle) 36 addr = INTC_REG(d, _INTC_ADDR_D(handle), 0); 37 intc_reg_fns[_INTC_FN(handle)](addr, handle, [all...] |
/drivers/usb/wusbcore/ |
H A D | mmc.c | 66 * @handle: See WUSB1.0[8.5.3.1] 82 * The host uses the handle as the 'sort' index. We 98 unsigned handle, itr; local 100 /* Search a handle, taking into account the ordering */ 105 handle = wusbhc->mmcies_max - 1; 114 handle = ~0; 117 handle = itr; 121 handle = itr; 123 if (handle == ~0) 126 result = (wusbhc->mmcie_add)(wusbhc, interval, repeat_cnt, handle, 144 unsigned handle, itr; local [all...] |
/drivers/xen/ |
H A D | pci.c | 47 acpi_handle handle; local 61 handle = DEVICE_ACPI_HANDLE(&pci_dev->dev); 62 if (!handle) 63 handle = DEVICE_ACPI_HANDLE(pci_dev->bus->bridge); 65 if (!handle && pci_dev->is_virtfn) 66 handle = DEVICE_ACPI_HANDLE(physfn->bus->bridge); 68 if (handle) { 74 status = acpi_evaluate_integer(handle, "_PXM", 81 status = acpi_get_parent(handle, &handle); [all...] |
/drivers/gpu/drm/gma500/ |
H A D | gem.c | 54 * @handle: GEM handle to the object (from dumb_create) 60 uint32_t handle, uint64_t *offset) 70 /* GEM does all our handle to object mapping */ 71 obj = drm_gem_object_lookup(dev, file, handle); 98 * @handlep: returned handle (opaque number) 100 * Create a GEM object, fill in the boilerplate and attach a handle to 109 u32 handle; local 127 /* Give the object a handle so we can carry it more easily */ 128 ret = drm_gem_handle_create(file, &r->gem, &handle); 59 psb_gem_dumb_map_gtt(struct drm_file *file, struct drm_device *dev, uint32_t handle, uint64_t *offset) argument 170 psb_gem_dumb_destroy(struct drm_file *file, struct drm_device *dev, uint32_t handle) argument 251 psb_gem_create_stolen(struct drm_file *file, struct drm_device *dev, int size, u32 *handle) argument [all...] |
/drivers/media/video/cx23885/ |
H A D | cx23885-input.c | 53 bool handle = false; local 66 handle = true; 72 else if (handle) 91 * The only boards we handle right now. However other boards
|
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | l2t.h | 76 typedef void (*arp_err_handler_t)(void *handle, struct sk_buff *skb); 79 * Callback stored in an skb to handle address resolution failure. 82 void *handle; member in struct:l2t_skb_cb 88 static inline void t4_set_arp_err_handler(struct sk_buff *skb, void *handle, argument 91 L2T_SKB_CB(skb)->handle = handle;
|
/drivers/pci/hotplug/ |
H A D | pciehp_acpi.c | 86 acpi_handle handle; local 103 handle = DEVICE_ACPI_HANDLE(&pdev->dev); 104 if (!acpi_slot_detected && acpi_pci_detect_ejectable(handle))
|