Searched refs:handle (Results 226 - 250 of 1660) sorted by path

1234567891011>>

/linux-master/drivers/acpi/
H A Dprocessor_pdc.c71 acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in) argument
75 status = acpi_evaluate_object(handle, "_PDC", pdc_in, NULL);
78 acpi_handle_debug(handle,
84 void acpi_processor_set_pdc(acpi_handle handle) argument
95 acpi_processor_eval_pdc(handle, obj_list);
103 early_init_pdc(acpi_handle handle, u32 lvl, void *context, void **rv) argument
105 if (processor_physically_present(handle) == false)
108 acpi_processor_set_pdc(handle);
H A Dprocessor_perflib.c67 status = acpi_evaluate_integer(pr->handle, "_PPC", NULL, &ppc);
72 acpi_evaluation_failure_warn(pr->handle, "_PPC", status);
112 * @handle: ACPI processor handle
117 static void acpi_processor_ppc_ost(acpi_handle handle, int status) argument
119 if (acpi_has_method(handle, "_OST"))
120 acpi_evaluate_ost(handle, ACPI_PROCESSOR_NOTIFY_PERFORMANCE,
134 acpi_processor_ppc_ost(pr->handle, 1);
145 acpi_processor_ppc_ost(pr->handle, 1);
147 acpi_processor_ppc_ost(pr->handle,
523 acpi_processor_get_psd(acpi_handle handle, struct acpi_psd_package *pdomain) argument
[all...]
H A Dprocessor_throttling.c214 acpi_handle_debug(pr->handle,
239 acpi_handle_debug(pr->handle,
249 acpi_handle_debug(pr->handle,
275 status = acpi_evaluate_integer(pr->handle, "_TPC", NULL, &tpc);
278 acpi_evaluation_failure_warn(pr->handle, "_TPC", status);
408 status = acpi_evaluate_object(pr->handle, "_PTC", NULL, &buffer);
411 acpi_evaluation_failure_warn(pr->handle, "_PTC", status);
492 status = acpi_evaluate_object(pr->handle, "_TSS", NULL, &buffer);
495 acpi_evaluation_failure_warn(pr->handle, "_TSS", status);
507 acpi_handle_debug(pr->handle, "Foun
[all...]
H A Dproperty.c75 static bool acpi_extract_properties(acpi_handle handle,
80 acpi_handle handle,
88 if (acpi_graph_ignore_port(handle))
101 result = acpi_extract_properties(handle, desc, &dn->data);
103 if (handle) {
113 status = acpi_get_parent(handle, &scope);
124 dn->handle = handle;
131 acpi_handle_debug(handle, "Invalid properties/subnodes data, skipping\n");
135 static bool acpi_nondev_subnode_data_ok(acpi_handle handle, argument
79 acpi_nondev_subnode_extract(union acpi_object *desc, acpi_handle handle, const union acpi_object *link, struct list_head *list, struct fwnode_handle *parent) argument
161 acpi_handle handle; local
185 acpi_handle handle; local
363 acpi_nondev_subnode_tag(acpi_handle handle, void *context) argument
400 acpi_data_add_buffer_props(acpi_handle handle, struct acpi_device_data *data, union acpi_object *properties) argument
850 acpi_handle scope, handle; local
[all...]
H A Dresource.c910 if (!adev || !adev->handle || !list_empty(list))
913 if (!acpi_has_method(adev->handle, method))
921 status = acpi_walk_resources(adev->handle, method,
1097 static acpi_status acpi_res_consumer_cb(acpi_handle handle, u32 depth, argument
1102 struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
H A Dsbshc.c242 acpi_handle handle, acpi_ec_query_func func,
254 status = acpi_evaluate_integer(device->handle, "_EC", NULL, &val);
H A Dscan.c133 static acpi_status acpi_bus_offline(acpi_handle handle, u32 lvl, void *data, argument
136 struct acpi_device *device = acpi_fetch_acpi_dev(handle);
178 static acpi_status acpi_bus_online(acpi_handle handle, u32 lvl, void *data, argument
181 struct acpi_device *device = acpi_fetch_acpi_dev(handle);
202 acpi_handle handle = device->handle; local
215 status = acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX,
220 acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX,
224 acpi_bus_offline(handle, 0, (void *)false, (void **)&errdev);
227 acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MA
295 acpi_handle handle = device->handle; local
573 acpi_scan_drop_device(acpi_handle handle, void *context) argument
600 handle_to_device(acpi_handle handle, void (*callback)(void *)) argument
622 acpi_fetch_acpi_dev(acpi_handle handle) argument
644 acpi_get_acpi_dev(acpi_handle handle) argument
679 acpi_handle handle = adev->handle; local
838 acpi_find_parent_acpi_dev(acpi_handle handle) argument
866 acpi_bus_get_ejd(acpi_handle handle, acpi_handle *ejd) argument
890 acpi_handle handle = dev->handle; local
1187 acpi_ata_match(acpi_handle handle) argument
1201 acpi_bay_match(acpi_handle handle) argument
1228 acpi_handle handle = adev->handle; local
1239 acpi_dock_match(acpi_handle handle) argument
1245 acpi_backlight_cap_match(acpi_handle handle, u32 level, void *context, void **return_value) argument
1268 acpi_is_video_device(acpi_handle handle) argument
1331 acpi_ibm_smbus_match(acpi_handle handle) argument
1353 acpi_object_is_system_bus(acpi_handle handle) argument
1367 acpi_set_pnp_ids(acpi_handle handle, struct acpi_device_pnp *pnp, int device_type) argument
1810 acpi_init_device_object(struct acpi_device *device, acpi_handle handle, int type, void (*release)(struct device *)) argument
1864 acpi_add_single_object(struct acpi_device **child, acpi_handle handle, int type, bool dep_init) argument
1934 acpi_device_should_be_hidden(acpi_handle handle) argument
2031 acpi_scan_check_dep(acpi_handle handle) argument
2089 acpi_scan_check_crs_csi2_cb(acpi_handle handle, u32 a, void *b, void **c) argument
2095 acpi_bus_check_add(acpi_handle handle, bool first_pass, struct acpi_device **adev_p) argument
2170 acpi_bus_check_add_1(acpi_handle handle, u32 lvl_not_used, void *not_used, void **ret_p) argument
2176 acpi_bus_check_add_2(acpi_handle handle, u32 lvl_not_used, void *not_used, void **ret_p) argument
2415 acpi_walk_dep_device_list(acpi_handle handle, int (*callback)(struct acpi_dep_data *, void *), void *data) argument
2492 acpi_scan_postponed_branch(acpi_handle handle) argument
2518 acpi_handle handle = dep->consumer; local
2562 acpi_bus_scan(acpi_handle handle) argument
[all...]
H A Dsysfs.c652 acpi_handle *handle)
660 status = acpi_get_gpe_device(index, handle);
665 status = acpi_get_gpe_status(*handle, index, ret);
680 acpi_handle handle; local
696 result = get_status(index, &status, &handle);
738 acpi_handle handle; local
753 result = get_status(index, &status, &handle);
765 result = acpi_disable_gpe(handle, index);
768 result = acpi_enable_gpe(handle, index);
771 result = acpi_clear_gpe(handle, inde
651 get_status(u32 index, acpi_event_status *ret, acpi_handle *handle) argument
843 acpi_handle handle; local
[all...]
H A Dthermal.c61 acpi_handle_info(tz->device->handle, \
138 status = acpi_evaluate_integer(tz->device->handle, "_TMP", NULL, &tmp);
144 acpi_handle_debug(tz->device->handle, "Temperature is %lu dK\n",
158 status = acpi_evaluate_integer(tz->device->handle, "_TZP", NULL, &tmp);
163 acpi_handle_debug(tz->device->handle, "Polling frequency is %lu dS\n",
255 if (!acpi_evaluate_reference(tz->device->handle, method, NULL, &devices)) {
256 acpi_handle_info(tz->device->handle, "%s evaluation failure\n", method);
350 acpi_handle_debug(tz->device->handle, "Critical threshold disabled\n");
367 acpi_handle_debug(tz->device->handle, "Critical threshold [%d]\n", temp);
376 acpi_handle_debug(tz->device->handle, "N
575 acpi_handle handle = acpi_trip->devices.handles[i]; local
711 acpi_thermal_notify(acpi_handle handle, u32 event, void *data) argument
748 acpi_handle handle = tz->device->handle; local
[all...]
H A Dthermal_lib.c30 status = acpi_evaluate_integer(adev->handle, obj_name, NULL, &temp);
32 acpi_handle_debug(adev->handle, "%s evaluation failed\n", obj_name);
39 acpi_handle_debug(adev->handle, "%s result %llu out of range\n",
H A Dtiny-power-button.c22 static void acpi_tiny_power_button_notify(acpi_handle handle, u32 event, void *data) argument
47 status = acpi_install_notify_handler(device->handle,
64 acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
H A Dutils.c134 /* TBD: handle nested packages... */
225 (void *)element->reference.handle;
234 /* TBD: handle nested packages... */
247 acpi_evaluate_integer(acpi_handle handle, argument
260 status = acpi_evaluate_object(handle, pathname, arguments, &buffer);
262 acpi_util_eval_error(handle, pathname, status);
267 acpi_util_eval_error(handle, pathname, AE_BAD_DATA);
273 acpi_handle_debug(handle, "Return value [%llu]\n", *data);
280 int acpi_get_local_address(acpi_handle handle, u32 *addr) argument
285 status = acpi_evaluate_integer(handle, METHOD_NAME__AD
296 acpi_get_subsystem_id(acpi_handle handle) argument
332 acpi_evaluate_reference(acpi_handle handle, acpi_string pathname, struct acpi_object_list *arguments, struct acpi_handle_list *list) argument
488 acpi_get_physical_device_location(acpi_handle handle, struct acpi_pld_info **pld) argument
532 acpi_evaluate_ost(acpi_handle handle, u32 source_event, u32 status_code, struct acpi_buffer *status_buf) argument
562 acpi_handle_path(acpi_handle handle) argument
587 acpi_handle_printk(const char *level, acpi_handle handle, const char *fmt, ...) argument
618 __acpi_handle_debug(struct _ddebug *descriptor, acpi_handle handle, const char *fmt, ...) argument
644 acpi_evaluation_failure_warn(acpi_handle handle, const char *name, acpi_status status) argument
659 acpi_has_method(acpi_handle handle, char *name) argument
667 acpi_execute_simple_method(acpi_handle handle, char *method, u64 arg) argument
685 acpi_evaluate_ej0(acpi_handle handle) argument
705 acpi_evaluate_lck(acpi_handle handle, int lock) argument
731 acpi_evaluate_reg(acpi_handle handle, u8 space_id, u32 function) argument
762 acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 func, union acpi_object *argv4) argument
811 acpi_check_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 funcs) argument
[all...]
H A Dvideo_detect.c15 * are available, video.ko should be used to handle the device.
21 * driver should handle the backlight. RAW/GPU-driver backlight drivers must
62 find_video(acpi_handle handle, u32 lvl, void *context, void **rv) argument
64 struct acpi_device *acpi_dev = acpi_fetch_acpi_dev(handle);
74 dev = acpi_get_pci_dev(handle);
78 *cap |= acpi_is_video_device(handle);
/linux-master/drivers/acpi/x86/
H A Dapple.c38 props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 0,
47 acpi_handle_info(adev->handle, FW_INFO
54 props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 1,
88 acpi_handle_info(adev->handle, FW_INFO
H A Dcmos_rtc.c54 int acpi_install_cmos_rtc_space_handler(acpi_handle handle) argument
58 status = acpi_install_address_space_handler(handle,
71 void acpi_remove_cmos_rtc_space_handler(acpi_handle handle) argument
73 if (ACPI_FAILURE(acpi_remove_address_space_handler(handle,
81 return acpi_install_cmos_rtc_space_handler(adev->handle);
86 acpi_remove_cmos_rtc_space_handler(adev->handle);
H A Dlpss.c179 acpi_handle handle = pdata->adev->handle; local
187 status = acpi_evaluate_integer(handle, "_SEM", NULL, &shared_host);
504 * device links for every handle in _DEP, only links in the following list are
H A Ds2idle.c79 acpi_handle handle; member in struct:lpi_constraints
175 status = acpi_get_handle(NULL, dev_info.name, &list->handle);
248 status = acpi_get_handle(NULL, info.name, &constraint->handle);
319 if (adev->handle == entry->handle)
331 struct acpi_device *adev = acpi_fetch_acpi_dev(entry->handle);
336 acpi_handle_debug(entry->handle,
342 acpi_handle_info(entry->handle, "LPI: Device not power manageable\n");
343 entry->handle = NULL;
348 acpi_handle_info(entry->handle,
414 validate_dsm(acpi_handle handle, const char *uuid, int rev, guid_t *dsm_guid) argument
[all...]
H A Dutils.c184 if (acpi_get_name(adev->handle, ACPI_FULL_PATHNAME, &path))
/linux-master/drivers/android/
H A Dbinder.c637 * to handle the work (if they don't have a thread already),
1175 * binder_inc_ref_olocked() - increment the ref for given handle
1208 * binder_dec_ref_olocked() - dec the ref for given handle
1249 * @desc: the handle associated with the ref
1253 * Given a proc and ref handle, return the associated binder_node
1302 * binder_update_ref_for_handle() - inc/dec the ref for given handle
1304 * @desc: the handle associated with the ref
1309 * Given a proc and ref handle, increment or decrement the ref
1347 * binder_dec_ref_for_handle() - dec the ref for given handle
1349 * @desc: the handle associate
5173 __u32 handle = info->handle; local
[all...]
/linux-master/drivers/ata/
H A Dlibata-acpi.c178 /* bind acpi handle to pata port */
293 acpi_handle handle = ACPI_HANDLE(&ap->tdev); local
295 if (!handle)
298 status = acpi_evaluate_object(handle, "_GTM", NULL, &output);
869 acpi_handle handle; local
873 handle = ata_dev_acpi_handle(dev);
874 if (!handle)
884 acpi_bus_set_power(handle, acpi_state);
888 acpi_bus_set_power(handle, ACPI_STATE_D0);
H A Dlibata-zpodd.c240 static void zpodd_wake_dev(acpi_handle handle, u32 event, void *context) argument
254 acpi_handle handle = ata_dev_acpi_handle(dev); local
255 acpi_install_notify_handler(handle, ACPI_SYSTEM_NOTIFY,
261 acpi_handle handle = ata_dev_acpi_handle(dev); local
262 acpi_remove_notify_handler(handle, ACPI_SYSTEM_NOTIFY, zpodd_wake_dev);
/linux-master/drivers/atm/
H A Dfore200e.c940 entry->rbd_block->rbd[ i ].handle = FORE200E_BUF2HDL(buffer);
1007 /* rebuild rx buffer address from rsd handle */
1008 buffer = FORE200E_HDL2BUF(rpd->rsd[ i ].handle);
1057 /* rebuild rx buffer address from rsd handle */
1058 buffer = FORE200E_HDL2BUF(rpd->rsd[ i ].handle);
H A Dfore200e.h154 u32 handle; /* host supplied receive buffer handle */ member in struct:rsd
189 u32 handle; /* host supplied handle */ member in struct:rbd
592 #define FORE200E_HDL2BUF(handle) ((struct buffer*)(handle))
595 #define FORE200E_HDL2BUF(handle) ((struct buffer*)(((u64)(handle)) | PAGE_OFFSET))
H A Didt77252.c605 u32 handle; local
607 handle = IDT77252_PRV_POOL(skb);
609 queue = POOL_QUEUE(handle);
613 index = POOL_INDEX(handle);
621 sb_pool_skb(struct idt77252_dev *card, u32 handle) argument
625 queue = POOL_QUEUE(handle);
629 index = POOL_INDEX(handle);
1246 u32 handle = le32_to_cpu(*(card->raw_cell_hnd + 1)); local
1247 card->raw_cell_head = sb_pool_skb(card, handle);
1339 u32 handle; local
1796 u32 handle; local
1844 u32 handle; local
1884 u32 handle = IDT77252_PRV_POOL(skb); local
[all...]
H A Didt77252.h344 #define POOL_QUEUE(handle) (((handle) >> 16) - 1)
345 #define POOL_INDEX(handle) ((handle) & 0xffff)
352 struct pci_dev *pcidev; /* PCI handle (desriptor) */
405 u32 *raw_cell_hnd; /* Pointer to RCQ handle */
790 dma_addr_t paddr; /* DMA handle */
791 u32 pool; /* sb_pool handle */

Completed in 373 milliseconds

1234567891011>>