/openbmc/linux/drivers/macintosh/ |
H A D | mac_hid.c | 97 struct input_handle *handle; in mac_hid_emumouse_connect() local 105 if (!handle) in mac_hid_emumouse_connect() 108 handle->dev = dev; in mac_hid_emumouse_connect() 109 handle->handler = handler; in mac_hid_emumouse_connect() 110 handle->name = "mac-button-emul"; in mac_hid_emumouse_connect() 120 error = input_open_device(handle); in mac_hid_emumouse_connect() 131 input_unregister_handle(handle); in mac_hid_emumouse_connect() 133 kfree(handle); in mac_hid_emumouse_connect() 139 input_close_device(handle); in mac_hid_emumouse_disconnect() 140 input_unregister_handle(handle); in mac_hid_emumouse_disconnect() [all …]
|
/openbmc/linux/drivers/sh/intc/ |
H A D | access.c | 56 unsigned int handle) in intc_set_field_from_handle() argument 58 unsigned int width = _INTC_WIDTH(handle); in intc_set_field_from_handle() 59 unsigned int shift = _INTC_SHIFT(handle); in intc_set_field_from_handle() 166 unsigned long handle, in intc_mode_field() argument 172 return fn(addr, handle, ((1 << _INTC_WIDTH(handle)) - 1)); in intc_mode_field() 176 unsigned long handle, in intc_mode_zero() argument 182 return fn(addr, handle, 0); in intc_mode_zero() 186 unsigned long handle, in intc_mode_prio() argument 210 unsigned long handle, 223 unsigned long handle, [all …]
|
H A D | balancing.c | 17 unsigned long handle = dist_handle[irq]; in intc_balancing_enable() local 20 if (irq_balancing_disabled(irq) || !handle) in intc_balancing_enable() 23 addr = INTC_REG(d, _INTC_ADDR_D(handle), 0); in intc_balancing_enable() 24 intc_reg_fns[_INTC_FN(handle)](addr, handle, 1); in intc_balancing_enable() 30 unsigned long handle = dist_handle[irq]; in intc_balancing_disable() local 33 if (irq_balancing_disabled(irq) || !handle) in intc_balancing_disable() 36 addr = INTC_REG(d, _INTC_ADDR_D(handle), 0); in intc_balancing_disable() 37 intc_reg_fns[_INTC_FN(handle)](addr, handle, 0); in intc_balancing_disable()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | iceland_ih.c | 276 static int iceland_ih_early_init(void *handle) in iceland_ih_early_init() argument 290 static int iceland_ih_sw_init(void *handle) in iceland_ih_sw_init() argument 304 static int iceland_ih_sw_fini(void *handle) in iceland_ih_sw_fini() argument 314 static int iceland_ih_hw_init(void *handle) in iceland_ih_hw_init() argument 321 static int iceland_ih_hw_fini(void *handle) in iceland_ih_hw_fini() argument 330 static int iceland_ih_suspend(void *handle) in iceland_ih_suspend() argument 337 static int iceland_ih_resume(void *handle) in iceland_ih_resume() argument 344 static bool iceland_ih_is_idle(void *handle) in iceland_ih_is_idle() argument 355 static int iceland_ih_wait_for_idle(void *handle) in iceland_ih_wait_for_idle() argument 371 static int iceland_ih_soft_reset(void *handle) in iceland_ih_soft_reset() argument [all …]
|
H A D | cz_ih.c | 277 static int cz_ih_early_init(void *handle) in cz_ih_early_init() argument 291 static int cz_ih_sw_init(void *handle) in cz_ih_sw_init() argument 305 static int cz_ih_sw_fini(void *handle) in cz_ih_sw_fini() argument 315 static int cz_ih_hw_init(void *handle) in cz_ih_hw_init() argument 327 static int cz_ih_hw_fini(void *handle) in cz_ih_hw_fini() argument 336 static int cz_ih_suspend(void *handle) in cz_ih_suspend() argument 343 static int cz_ih_resume(void *handle) in cz_ih_resume() argument 350 static bool cz_ih_is_idle(void *handle) in cz_ih_is_idle() argument 361 static int cz_ih_wait_for_idle(void *handle) in cz_ih_wait_for_idle() argument 377 static int cz_ih_soft_reset(void *handle) in cz_ih_soft_reset() argument [all …]
|
/openbmc/linux/drivers/platform/x86/ |
H A D | ideapad-laptop.c | 254 return eval_int(handle, "GBMD", res); in eval_gbmd() 264 return eval_int(handle, "HALS", res); in eval_hals() 322 if (!eval_gbmd(priv->adev->handle, &value)) in debugfs_status_show() 324 if (!eval_hals(priv->adev->handle, &value)) in debugfs_status_show() 1326 err = eval_kblc(priv->adev->handle, in ideapad_kbd_bl_brightness_get() 1627 acpi_handle handle = priv->adev->handle; in ideapad_check_features() local 1641 if (acpi_has_method(handle, "GBMD") && acpi_has_method(handle, "SBMC")) in ideapad_check_features() 1644 if (acpi_has_method(handle, "DYTC")) in ideapad_check_features() 1647 if (acpi_has_method(handle, "HALS") && acpi_has_method(handle, "SALS")) { in ideapad_check_features() 1648 if (!eval_hals(handle, &val)) { in ideapad_check_features() [all …]
|
/openbmc/linux/drivers/net/ethernet/qualcomm/ |
H A D | qca_7k_common.h | 119 static inline void qcafrm_fsm_init_spi(struct qcafrm_handle *handle) in qcafrm_fsm_init_spi() argument 121 handle->init = QCAFRM_HW_LEN0; in qcafrm_fsm_init_spi() 122 handle->state = handle->init; in qcafrm_fsm_init_spi() 125 static inline void qcafrm_fsm_init_uart(struct qcafrm_handle *handle) in qcafrm_fsm_init_uart() argument 127 handle->init = QCAFRM_WAIT_AA1; in qcafrm_fsm_init_uart() 128 handle->state = handle->init; in qcafrm_fsm_init_uart() 142 s32 qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte);
|
/openbmc/linux/drivers/misc/vmw_vmci/ |
H A D | vmci_queue_pair.c | 865 ev.payload.handle = handle; in qp_notify_peer_local() 918 handle.context, handle.resource, result); in qp_guest_endpoint_create() 966 alloc_msg->handle = entry->qp.handle; in qp_alloc_hypercall() 995 detach_msg.handle = handle; in qp_detatch_hypercall() 1228 *handle = queue_pair_entry->qp.handle; in qp_alloc_guest_work() 1341 entry->qp.handle = handle; in qp_broker_create() 1419 handle.context, handle.resource, result); in qp_broker_create() 1478 ev.payload.handle = handle; in qp_notify_peer() 2149 handle.context, handle.resource, in vmci_qp_broker_detach() 2362 handle.context, handle.resource, result); in vmci_qp_broker_unmap() [all …]
|
H A D | vmci_queue_pair.h | 30 struct vmci_handle handle; member 43 struct vmci_handle handle; member 79 struct vmci_handle handle; member 92 struct vmci_handle handle; member 142 int vmci_qp_broker_alloc(struct vmci_handle handle, u32 peer, 147 int vmci_qp_broker_set_page_store(struct vmci_handle handle, 150 int vmci_qp_broker_detach(struct vmci_handle handle, struct vmci_ctx *context); 154 int vmci_qp_alloc(struct vmci_handle *handle, 160 int vmci_qp_broker_map(struct vmci_handle handle, 162 int vmci_qp_broker_unmap(struct vmci_handle handle,
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | notify.c | 222 struct scmi_handle *handle; member 494 dev_err(pd->ni->handle->dev, in scmi_process_event_payload() 598 dev_warn(handle->dev, in scmi_notify() 1008 dev_dbg(ni->handle->dev, in scmi_register_event_handler() 1078 dev_dbg(ni->handle->dev, in __scmi_event_handler_get_ops() 1483 dres->handle = sdev->handle; in scmi_devm_notifier_register() 1539 dres.handle = sdev->handle; in scmi_devm_notifier_unregister() 1585 dev_dbg(ni->handle->dev, in scmi_protocols_late_init() 1590 dev_dbg(ni->handle->dev, in scmi_protocols_late_init() 1598 dev_dbg(ni->handle->dev, in scmi_protocols_late_init() [all …]
|
/openbmc/linux/include/net/bluetooth/ |
H A D | hci.h | 1691 __le16 handle; member 1699 __le16 handle; member 1704 __le16 handle; member 1709 __le16 handle; member 1907 __u8 handle; member 1916 __u8 handle; member 1925 __u8 handle; member 1951 __u8 handle; member 1960 __u8 handle; member 1973 __u8 handle; member [all …]
|
/openbmc/linux/tools/testing/selftests/tpm2/ |
H A D | tpm2_tests.py | 49 self.client.policy_password(handle) 53 self.client.flush_context(handle) 61 self.client.policy_password(handle) 65 self.client.flush_context(handle) 96 self.client.policy_password(handle) 100 self.client.flush_context(handle) 114 self.client.policy_password(handle) 118 self.client.flush_context(handle) 138 self.client.flush_context(handle) 140 self.client.flush_context(handle) [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | tc_actions.sh | 65 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 74 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \ 84 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \ 86 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 95 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \ 116 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower 117 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower 154 tc filter del dev $swp1 ingress protocol ip pref 3 handle 103 flower 155 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower 156 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | tc_actions.sh | 65 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 74 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \ 84 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \ 86 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 95 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \ 116 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower 117 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower 154 tc filter del dev $swp1 ingress protocol ip pref 3 handle 103 flower 155 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower 156 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | utxfmutex.c | 17 acpi_ut_get_mutex_object(acpi_handle handle, 38 acpi_ut_get_mutex_object(acpi_handle handle, in acpi_ut_get_mutex_object() argument 48 if (!ret_obj || (!handle && !pathname)) { in acpi_ut_get_mutex_object() 54 mutex_node = handle; in acpi_ut_get_mutex_object() 57 acpi_get_handle(handle, pathname, in acpi_ut_get_mutex_object() 100 acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout) in acpi_acquire_mutex() argument 107 status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj); in acpi_acquire_mutex() 136 acpi_status acpi_release_mutex(acpi_handle handle, acpi_string pathname) in ACPI_EXPORT_SYMBOL() 143 status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj); in ACPI_EXPORT_SYMBOL()
|
/openbmc/linux/fs/ocfs2/ |
H A D | namei.c | 364 handle = NULL; in ocfs2_mknod() 460 if (handle) { in ocfs2_mknod() 780 handle = NULL; in ocfs2_link() 972 handle = NULL; in ocfs2_unlink() 1020 if (handle) in ocfs2_unlink() 1491 handle = NULL; in ocfs2_rename() 1649 if (handle) in ocfs2_rename() 1919 handle = NULL; in ocfs2_symlink() 2036 if (handle) { in ocfs2_symlink() 2544 handle = NULL; in ocfs2_create_inode_in_orphan() [all …]
|
H A D | journal.h | 244 handle_t *handle); 245 int ocfs2_extend_trans(handle_t *handle, int nblocks); 246 int ocfs2_assure_trans_credits(handle_t *handle, 248 int ocfs2_allocate_extend_trans(handle_t *handle, 304 int ocfs2_journal_access(handle_t *handle, struct ocfs2_caching_info *ci, 326 void ocfs2_journal_dirty(handle_t *handle, struct buffer_head *bh); 582 return jbd2_journal_inode_ranged_write(handle, in ocfs2_jbd2_inode_add_write() 596 static inline void ocfs2_update_inode_fsync_trans(handle_t *handle, in ocfs2_update_inode_fsync_trans() argument 602 if (!is_handle_aborted(handle)) { in ocfs2_update_inode_fsync_trans() 603 oi->i_sync_tid = handle->h_transaction->t_tid; in ocfs2_update_inode_fsync_trans() [all …]
|
/openbmc/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_warpdrive.c | 59 u16 handle; in _warpdrive_disable_ddio() local 63 handle = 0xFFFF; in _warpdrive_disable_ddio() 70 handle = le16_to_cpu(vol_pg1.DevHandle); in _warpdrive_disable_ddio() 90 u16 handle; in mpt3sas_get_num_volumes() local 94 handle = 0xFFFF; in mpt3sas_get_num_volumes() 102 handle = le16_to_cpu(vol_pg1.DevHandle); in mpt3sas_get_num_volumes() 176 raid_device->handle, in mpt3sas_init_warpdrive_properties() 184 raid_device->handle, in mpt3sas_init_warpdrive_properties() 199 raid_device->handle, raid_device->volume_type, in mpt3sas_init_warpdrive_properties() 210 raid_device->handle, in mpt3sas_init_warpdrive_properties() [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | namei.c | 2893 if (handle) in ext4_create() 2927 if (handle) in ext4_mknod() 2966 if (handle) in ext4_tmpfile() 3104 if (handle) in ext4_mkdir() 3272 if (handle) in ext4_rmdir() 3448 if (handle) in ext4_symlink() 3482 if (handle) in ext4_symlink() 3492 if (handle) in ext4_symlink() 3813 if (handle) in ext4_whiteout_for_rename() 3819 *h = handle; in ext4_whiteout_for_rename() [all …]
|
/openbmc/linux/kernel/events/ |
H A D | internal.h | 139 size = min(handle->size, len); \ 144 handle->addr += written; \ 147 handle->size -= written; \ 148 if (!handle->size) { \ 149 struct perf_buffer *rb = handle->rb; \ 151 handle->page++; \ 152 handle->page &= rb->nr_pages - 1; \ 153 handle->addr = rb->data_pages[handle->page]; \ 154 handle->size = PAGE_SIZE << page_order(rb); \ 163 func_name(struct perf_output_handle *handle, \ [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hnae.c | 243 q->handle = h; in hnae_init_queue() 299 if (handle->dev->ops->reset) in hnae_reinit_handle() 300 handle->dev->ops->reset(handle); in hnae_reinit_handle() 303 ret = hnae_init_queue(handle, handle->qs[i], handle->dev); in hnae_reinit_handle() 329 struct hnae_handle *handle; in hnae_get_handle() local 338 if (IS_ERR(handle)) { in hnae_get_handle() 340 return handle; in hnae_get_handle() 343 handle->dev = dev; in hnae_get_handle() 346 handle->eport_id = port_id; in hnae_get_handle() 349 ret = hnae_init_queue(handle, handle->qs[i], dev); in hnae_get_handle() [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | dock.c | 31 acpi_handle handle; member 135 if (ds->handle == handle) in find_dock_station() 189 if (acpi_dock_match(adev->handle)) in is_dock_device() 403 acpi_evaluate_lck(ds->handle, 0); in handle_eject_request() 404 acpi_evaluate_ej0(ds->handle); in handle_eject_request() 424 acpi_handle handle = adev->handle; in dock_notify() local 462 acpi_evaluate_lck(ds->handle, 1); in dock_notify() 591 acpi_handle handle = adev->handle; in acpi_dock_add() local 607 dock_station->handle = handle; in acpi_dock_add() 617 if (acpi_dock_match(handle)) in acpi_dock_add() [all …]
|
/openbmc/linux/net/sched/ |
H A D | cls_u32.c | 263 if (ht->handle == handle) in u32_lookup_ht() 281 if (n->handle == handle) in u32_lookup_key() 486 cls_u32.hnode.handle = h->handle; in u32_clear_hw_hnode() 504 cls_u32.hnode.handle = h->handle; in u32_replace_hw_hnode() 529 cls_u32.knode.handle = n->handle; in u32_remove_hw_knode() 546 cls_u32.knode.handle = n->handle; in u32_replace_hw_knode() 804 if (pins->handle == n->handle) in u32_replace_knode() 824 new->handle = n->handle; in u32_init_knode() 985 ht->handle = handle; in u32_change() 1117 n->handle = handle; in u32_change() [all …]
|
/openbmc/linux/arch/arm/xen/ |
H A D | mm.c | 45 static void dma_cache_maint(struct device *dev, dma_addr_t handle, in dma_cache_maint() argument 50 cflush.offset = xen_offset_in_page(handle); in dma_cache_maint() 52 handle &= XEN_PAGE_MASK; in dma_cache_maint() 55 cflush.a.dev_bus_addr = dma_to_phys(dev, handle); in dma_cache_maint() 65 handle += cflush.length; in dma_cache_maint() 77 void xen_dma_sync_for_cpu(struct device *dev, dma_addr_t handle, in xen_dma_sync_for_cpu() argument 81 dma_cache_maint(dev, handle, size, GNTTAB_CACHE_INVAL); in xen_dma_sync_for_cpu() 84 void xen_dma_sync_for_device(struct device *dev, dma_addr_t handle, in xen_dma_sync_for_device() argument 88 dma_cache_maint(dev, handle, size, GNTTAB_CACHE_INVAL); in xen_dma_sync_for_device() 90 dma_cache_maint(dev, handle, size, GNTTAB_CACHE_CLEAN); in xen_dma_sync_for_device()
|
/openbmc/linux/arch/x86/events/intel/ |
H A D | bts.c | 24 struct perf_output_handle handle; member 316 buf = perf_get_aux(&bts->handle); in bts_event_stop() 325 bts->handle.head = in bts_event_stop() 355 if (bts->handle.event) in intel_bts_enable_local() 370 if (bts->handle.event) in intel_bts_disable_local() 390 if (space > handle->size) { in bts_buffer_reset() 391 space = handle->size; in bts_buffer_reset() 403 if (handle->size >= skip) { in bts_buffer_reset() 432 handle->head; in bts_buffer_reset() 473 buf = perf_get_aux(&bts->handle); in intel_bts_interrupt() [all …]
|