/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | qat_hal.c | 78 #define AE(handle, ae) handle->hal_handle->aes[ae] argument 111 void qat_hal_set_live_ctx(struct icp_qat_fw_loader_handle *handle, in qat_hal_set_live_ctx() argument 114 AE(handle, ae).live_ctx_mask = ctx_mask; in qat_hal_set_live_ctx() 118 static int qat_hal_rd_ae_csr(struct icp_qat_fw_loader_handle *handle, in qat_hal_rd_ae_csr() argument 125 *value = GET_AE_CSR(handle, ae, csr); in qat_hal_rd_ae_csr() 126 if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS)) in qat_hal_rd_ae_csr() 134 static int qat_hal_wr_ae_csr(struct icp_qat_fw_loader_handle *handle, in qat_hal_wr_ae_csr() argument 141 SET_AE_CSR(handle, ae, csr, value); in qat_hal_wr_ae_csr() 142 if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS)) in qat_hal_wr_ae_csr() 150 static void qat_hal_get_wakeup_event(struct icp_qat_fw_loader_handle *handle, in qat_hal_get_wakeup_event() argument [all …]
|
D | icp_qat_hal.h | 102 #define SET_CAP_CSR(handle, csr, val) \ argument 103 ADF_CSR_WR(handle->hal_cap_g_ctl_csr_addr_v, csr, val) 104 #define GET_CAP_CSR(handle, csr) \ argument 105 ADF_CSR_RD(handle->hal_cap_g_ctl_csr_addr_v, csr) 106 #define SET_GLB_CSR(handle, csr, val) SET_CAP_CSR(handle, csr + GLOBAL_CSR, val) argument 107 #define GET_GLB_CSR(handle, csr) GET_CAP_CSR(handle, GLOBAL_CSR + csr) argument 108 #define AE_CSR(handle, ae) \ argument 109 (handle->hal_cap_ae_local_csr_addr_v + \ 110 ((ae & handle->hal_handle->ae_mask) << 12)) 111 #define AE_CSR_ADDR(handle, ae, csr) (AE_CSR(handle, ae) + (0x3ff & csr)) argument [all …]
|
D | qat_uclo.c | 142 static void qat_uclo_wr_sram_by_words(struct icp_qat_fw_loader_handle *handle, in qat_uclo_wr_sram_by_words() argument 151 SRAM_WRITE(handle, addr, outval); in qat_uclo_wr_sram_by_words() 158 static void qat_uclo_wr_umem_by_words(struct icp_qat_fw_loader_handle *handle, in qat_uclo_wr_umem_by_words() argument 170 qat_hal_wr_umem(handle, ae, addr++, 1, &outval); in qat_uclo_wr_umem_by_words() 176 static void qat_uclo_batch_wr_umem(struct icp_qat_fw_loader_handle *handle, in qat_uclo_batch_wr_umem() argument 193 qat_uclo_wr_umem_by_words(handle, ae, addr, value, size); in qat_uclo_batch_wr_umem() 199 qat_uclo_cleanup_batch_init_list(struct icp_qat_fw_loader_handle *handle, in qat_uclo_cleanup_batch_init_list() argument 235 static int qat_uclo_fetch_initmem_ae(struct icp_qat_fw_loader_handle *handle, in qat_uclo_fetch_initmem_ae() argument 239 struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle; in qat_uclo_fetch_initmem_ae() 267 *handle, struct icp_qat_uof_initmem in qat_uclo_create_batch_init_list() [all …]
|
D | adf_common_drv.h | 172 void qat_hal_deinit(struct icp_qat_fw_loader_handle *handle); 173 void qat_hal_start(struct icp_qat_fw_loader_handle *handle, unsigned char ae, 175 void qat_hal_stop(struct icp_qat_fw_loader_handle *handle, unsigned char ae, 177 void qat_hal_reset(struct icp_qat_fw_loader_handle *handle); 178 int qat_hal_clr_reset(struct icp_qat_fw_loader_handle *handle); 179 void qat_hal_set_live_ctx(struct icp_qat_fw_loader_handle *handle, 181 int qat_hal_set_ae_lm_mode(struct icp_qat_fw_loader_handle *handle, 184 int qat_hal_set_ae_ctx_mode(struct icp_qat_fw_loader_handle *handle, 186 int qat_hal_set_ae_nn_mode(struct icp_qat_fw_loader_handle *handle, 188 void qat_hal_set_pc(struct icp_qat_fw_loader_handle *handle, [all …]
|
/linux-4.4.14/fs/ext4/ |
D | ext4_jbd2.c | 12 handle_t *handle = current->journal_info; in ext4_get_nojournal() local 13 unsigned long ref_cnt = (unsigned long)handle; in ext4_get_nojournal() 18 handle = (handle_t *)ref_cnt; in ext4_get_nojournal() 20 current->journal_info = handle; in ext4_get_nojournal() 21 return handle; in ext4_get_nojournal() 26 static void ext4_put_nojournal(handle_t *handle) in ext4_put_nojournal() argument 28 unsigned long ref_cnt = (unsigned long)handle; in ext4_put_nojournal() 33 handle = (handle_t *)ref_cnt; in ext4_put_nojournal() 35 current->journal_info = handle; in ext4_put_nojournal() 80 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) in __ext4_journal_stop() argument [all …]
|
D | ext4_jbd2.h | 178 static inline void ext4_journal_callback_add(handle_t *handle, in ext4_journal_callback_add() argument 185 EXT4_SB(handle->h_transaction->t_journal->j_private); in ext4_journal_callback_add() 190 list_add_tail(&jce->jce_list, &handle->h_transaction->t_private_list); in ext4_journal_callback_add() 200 static inline bool ext4_journal_callback_try_del(handle_t *handle, in ext4_journal_callback_try_del() argument 205 EXT4_SB(handle->h_transaction->t_journal->j_private); in ext4_journal_callback_try_del() 215 ext4_mark_iloc_dirty(handle_t *handle, 224 int ext4_reserve_inode_write(handle_t *handle, struct inode *inode, 227 int ext4_mark_inode_dirty(handle_t *handle, struct inode *inode); 233 handle_t *handle, struct buffer_head *bh); 235 int __ext4_forget(const char *where, unsigned int line, handle_t *handle, [all …]
|
D | migrate.c | 28 static int finish_range(handle_t *handle, struct inode *inode, in finish_range() argument 63 if (needed && ext4_handle_has_enough_credits(handle, in finish_range() 66 retval = ext4_journal_restart(handle, needed); in finish_range() 71 retval = ext4_journal_extend(handle, needed); in finish_range() 77 retval = ext4_journal_restart(handle, needed); in finish_range() 83 retval = ext4_ext_insert_extent(handle, inode, &path, &newext, 0); in finish_range() 92 static int update_extent_range(handle_t *handle, struct inode *inode, in update_extent_range() argument 110 retval = finish_range(handle, inode, lb); in update_extent_range() 117 static int update_ind_extent_range(handle_t *handle, struct inode *inode, in update_ind_extent_range() argument 133 retval = update_extent_range(handle, inode, in update_ind_extent_range() [all …]
|
D | indirect.c | 322 static int ext4_alloc_branch(handle_t *handle, in ext4_alloc_branch() argument 334 new_blocks[i] = ext4_mb_new_blocks(handle, ar, &err); in ext4_alloc_branch() 336 ar->goal = new_blocks[i] = ext4_new_meta_blocks(handle, in ext4_alloc_branch() 355 err = ext4_journal_get_create_access(handle, bh); in ext4_alloc_branch() 375 err = ext4_handle_dirty_metadata(handle, ar->inode, bh); in ext4_alloc_branch() 389 ext4_forget(handle, 1, ar->inode, branch[i].bh, in ext4_alloc_branch() 391 ext4_free_blocks(handle, ar->inode, NULL, new_blocks[i], in ext4_alloc_branch() 412 static int ext4_splice_branch(handle_t *handle, in ext4_splice_branch() argument 427 err = ext4_journal_get_write_access(handle, where->bh); in ext4_splice_branch() 458 err = ext4_handle_dirty_metadata(handle, ar->inode, where->bh); in ext4_splice_branch() [all …]
|
D | namei.c | 50 static struct buffer_head *ext4_append(handle_t *handle, in ext4_append() argument 64 bh = ext4_bread(handle, inode, *block, EXT4_GET_BLOCKS_CREATE); in ext4_append() 70 err = ext4_journal_get_write_access(handle, bh); in ext4_append() 275 static int ext4_dx_add_entry(handle_t *handle, struct ext4_filename *fname, 381 int ext4_handle_dirty_dirent_node(handle_t *handle, in ext4_handle_dirty_dirent_node() argument 386 return ext4_handle_dirty_metadata(handle, inode, bh); in ext4_handle_dirty_dirent_node() 492 static inline int ext4_handle_dirty_dx_node(handle_t *handle, in ext4_handle_dirty_dx_node() argument 497 return ext4_handle_dirty_metadata(handle, inode, bh); in ext4_handle_dirty_dx_node() 1682 static struct ext4_dir_entry_2 *do_split(handle_t *handle, struct inode *dir, in do_split() argument 1702 bh2 = ext4_append(handle, dir, &newblock); in do_split() [all …]
|
D | inline.c | 246 static int ext4_create_inline_data(handle_t *handle, in ext4_create_inline_data() argument 264 error = ext4_journal_get_write_access(handle, is.iloc.bh); in ext4_create_inline_data() 286 error = ext4_xattr_ibody_inline_set(handle, inode, &i, &is); in ext4_create_inline_data() 303 error = ext4_mark_iloc_dirty(handle, inode, &is.iloc); in ext4_create_inline_data() 310 static int ext4_update_inline_data(handle_t *handle, struct inode *inode, in ext4_update_inline_data() argument 348 error = ext4_journal_get_write_access(handle, is.iloc.bh); in ext4_update_inline_data() 356 error = ext4_xattr_ibody_inline_set(handle, inode, &i, &is); in ext4_update_inline_data() 366 error = ext4_mark_iloc_dirty(handle, inode, &is.iloc); in ext4_update_inline_data() 374 static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, in ext4_prepare_inline_data() argument 390 ret = ext4_update_inline_data(handle, inode, len); in ext4_prepare_inline_data() [all …]
|
D | inode.c | 135 static int ext4_bh_delay_or_unwritten(handle_t *handle, struct buffer_head *bh); 158 int ext4_truncate_restart_trans(handle_t *handle, struct inode *inode, in ext4_truncate_restart_trans() argument 170 jbd_debug(2, "restarting handle %p\n", handle); in ext4_truncate_restart_trans() 172 ret = ext4_journal_restart(handle, nblocks); in ext4_truncate_restart_trans() 184 handle_t *handle; in ext4_evict_inode() local 238 handle = ext4_journal_start(inode, EXT4_HT_TRUNCATE, in ext4_evict_inode() 240 if (IS_ERR(handle)) { in ext4_evict_inode() 241 ext4_std_error(inode->i_sb, PTR_ERR(handle)); in ext4_evict_inode() 253 ext4_handle_sync(handle); in ext4_evict_inode() 255 err = ext4_mark_inode_dirty(handle, inode); in ext4_evict_inode() [all …]
|
D | resize.c | 354 static struct buffer_head *bclean(handle_t *handle, struct super_block *sb, in bclean() argument 364 if ((err = ext4_journal_get_write_access(handle, bh))) { in bclean() 380 static int extend_or_restart_transaction(handle_t *handle, int thresh) in extend_or_restart_transaction() argument 384 if (ext4_handle_has_enough_credits(handle, thresh)) in extend_or_restart_transaction() 387 err = ext4_journal_extend(handle, EXT4_MAX_TRANS_DATA); in extend_or_restart_transaction() 391 err = ext4_journal_restart(handle, EXT4_MAX_TRANS_DATA); in extend_or_restart_transaction() 408 static int set_flexbg_block_bitmap(struct super_block *sb, handle_t *handle, in set_flexbg_block_bitmap() argument 434 err = extend_or_restart_transaction(handle, 1); in set_flexbg_block_bitmap() 443 err = ext4_journal_get_write_access(handle, bh); in set_flexbg_block_bitmap() 450 err = ext4_handle_dirty_metadata(handle, NULL, bh); in set_flexbg_block_bitmap() [all …]
|
D | extents.c | 98 static int ext4_split_extent(handle_t *handle, 105 static int ext4_split_extent_at(handle_t *handle, 115 static int ext4_ext_truncate_extend_restart(handle_t *handle, in ext4_ext_truncate_extend_restart() argument 121 if (!ext4_handle_valid(handle)) in ext4_ext_truncate_extend_restart() 123 if (handle->h_buffer_credits > needed) in ext4_ext_truncate_extend_restart() 125 err = ext4_journal_extend(handle, needed); in ext4_ext_truncate_extend_restart() 128 err = ext4_truncate_restart_trans(handle, inode, needed); in ext4_ext_truncate_extend_restart() 140 static int ext4_ext_get_access(handle_t *handle, struct inode *inode, in ext4_ext_get_access() argument 146 return ext4_journal_get_write_access(handle, path->p_bh); in ext4_ext_get_access() 159 int __ext4_ext_dirty(const char *where, unsigned int line, handle_t *handle, in __ext4_ext_dirty() argument [all …]
|
D | ioctl.c | 96 handle_t *handle; in swap_inode_boot_loader() local 129 handle = ext4_journal_start(inode_bl, EXT4_HT_MOVE_EXTENTS, 2); in swap_inode_boot_loader() 130 if (IS_ERR(handle)) { in swap_inode_boot_loader() 150 ext4_ext_tree_init(handle, inode_bl); in swap_inode_boot_loader() 166 err = ext4_mark_inode_dirty(handle, inode); in swap_inode_boot_loader() 174 err = ext4_mark_inode_dirty(handle, inode_bl); in swap_inode_boot_loader() 181 ext4_mark_inode_dirty(handle, inode); in swap_inode_boot_loader() 184 ext4_journal_stop(handle); in swap_inode_boot_loader() 220 handle_t *handle = NULL; in ext4_ioctl() local 280 handle = ext4_journal_start(inode, EXT4_HT_INODE, 1); in ext4_ioctl() [all …]
|
D | acl.c | 187 __ext4_set_acl(handle_t *handle, struct inode *inode, int type, in __ext4_set_acl() argument 204 ext4_mark_inode_dirty(handle, inode); in __ext4_set_acl() 226 error = ext4_xattr_set_handle(handle, inode, name_index, "", in __ext4_set_acl() 239 handle_t *handle; in ext4_set_acl() local 243 handle = ext4_journal_start(inode, EXT4_HT_XATTR, in ext4_set_acl() 245 if (IS_ERR(handle)) in ext4_set_acl() 246 return PTR_ERR(handle); in ext4_set_acl() 248 error = __ext4_set_acl(handle, inode, type, acl); in ext4_set_acl() 249 ext4_journal_stop(handle); in ext4_set_acl() 262 ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) in ext4_init_acl() argument [all …]
|
/linux-4.4.14/drivers/net/ethernet/qualcomm/ |
D | qca_framing.c | 73 qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte) in qcafrm_fsm_decode() argument 78 switch (handle->state) { in qcafrm_fsm_decode() 82 handle->state--; in qcafrm_fsm_decode() 86 handle->state = QCAFRM_HW_LEN0; in qcafrm_fsm_decode() 91 handle->state--; in qcafrm_fsm_decode() 100 handle->state = QCAFRM_HW_LEN0; in qcafrm_fsm_decode() 102 handle->state--; in qcafrm_fsm_decode() 108 handle->offset = recv_byte; in qcafrm_fsm_decode() 109 handle->state = QCAFRM_WAIT_LEN_BYTE1; in qcafrm_fsm_decode() 112 handle->offset = handle->offset | (recv_byte << 8); in qcafrm_fsm_decode() [all …]
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ae_adapt.c | 25 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) in hns_get_mac_cb() argument 27 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_mac_cb() 56 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb() argument 61 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_ppe_cb() 186 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle() argument 188 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_ae_put_handle() 195 for (i = 0; i < handle->q_num; i++) in hns_ae_put_handle() 196 hns_ae_get_ring_pair(handle->qs[i])->used_by_vf = 0; in hns_ae_put_handle() 199 static void hns_ae_ring_enable_all(struct hnae_handle *handle, int val) in hns_ae_ring_enable_all() argument 201 int q_num = handle->q_num; in hns_ae_ring_enable_all() [all …]
|
D | hnae.h | 306 struct hnae_handle *handle; member 402 void (*put_handle)(struct hnae_handle *handle); 405 int (*start)(struct hnae_handle *handle); 406 void (*stop)(struct hnae_handle *handle); 407 void (*reset)(struct hnae_handle *handle); 408 int (*set_opts)(struct hnae_handle *handle, int type, void *opts); 409 int (*get_opts)(struct hnae_handle *handle, int type, void **opts); 410 int (*get_status)(struct hnae_handle *handle); 411 int (*get_info)(struct hnae_handle *handle, 415 void (*adjust_link)(struct hnae_handle *handle, int speed, int duplex); [all …]
|
D | hnae.c | 238 q->handle = h; in hnae_init_queue() 286 int hnae_reinit_handle(struct hnae_handle *handle) in hnae_reinit_handle() argument 291 for (i = 0; i < handle->q_num; i++) /* free ring*/ in hnae_reinit_handle() 292 hnae_fini_queue(handle->qs[i]); in hnae_reinit_handle() 294 if (handle->dev->ops->reset) in hnae_reinit_handle() 295 handle->dev->ops->reset(handle); in hnae_reinit_handle() 297 for (i = 0; i < handle->q_num; i++) {/* reinit ring*/ in hnae_reinit_handle() 298 ret = hnae_init_queue(handle, handle->qs[i], handle->dev); in hnae_reinit_handle() 305 hnae_fini_queue(handle->qs[j]); in hnae_reinit_handle() 323 struct hnae_handle *handle; in hnae_get_handle() local [all …]
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | acpi_pcihp.c | 53 static acpi_status acpi_run_oshp(acpi_handle handle) in acpi_run_oshp() argument 58 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_run_oshp() 61 status = acpi_evaluate_object(handle, METHOD_NAME_OSHP, NULL, NULL); in acpi_run_oshp() 87 acpi_handle chandle, handle; in acpi_get_hp_hw_control_from_firmware() local 105 handle = acpi_find_root_bridge_handle(pdev); in acpi_get_hp_hw_control_from_firmware() 106 if (handle) { in acpi_get_hp_hw_control_from_firmware() 107 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_get_hp_hw_control_from_firmware() 110 status = acpi_pci_osc_control_set(handle, &flags, flags); in acpi_get_hp_hw_control_from_firmware() 119 handle = ACPI_HANDLE(&pdev->dev); in acpi_get_hp_hw_control_from_firmware() 120 if (!handle) { in acpi_get_hp_hw_control_from_firmware() [all …]
|
D | acpiphp_glue.c | 261 static acpi_status acpiphp_add_context(acpi_handle handle, u32 lvl, void *data, in acpiphp_add_context() argument 276 status = acpi_evaluate_integer(handle, "_ADR", NULL, &adr); in acpiphp_add_context() 279 acpi_handle_warn(handle, in acpiphp_add_context() 283 if (acpi_bus_get_device(handle, &adev)) in acpiphp_add_context() 293 acpi_handle_err(handle, "No hotplug context\n"); in acpiphp_add_context() 305 if (!is_dock_device(adev) && acpi_has_method(handle, "_EJ0")) in acpiphp_add_context() 308 if (acpi_has_method(handle, "_STA")) in acpiphp_add_context() 336 if ((acpi_pci_check_ejectable(pbus, handle) || is_dock_device(adev)) in acpiphp_add_context() 342 status = acpi_evaluate_integer(handle, "_SUN", NULL, &sun); in acpiphp_add_context() 469 acpi_bus_scan(adev->handle); in acpiphp_rescan_slot() [all …]
|
/linux-4.4.14/drivers/misc/vmw_vmci/ |
D | vmci_resource.c | 37 static unsigned int vmci_resource_hash(struct vmci_handle handle) in vmci_resource_hash() argument 39 return hash_32(handle.resource, VMCI_RESOURCE_HASH_BITS); in vmci_resource_hash() 45 static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle, in vmci_resource_lookup() argument 49 unsigned int idx = vmci_resource_hash(handle); in vmci_resource_lookup() 54 u32 cid = r->handle.context; in vmci_resource_lookup() 55 u32 rid = r->handle.resource; in vmci_resource_lookup() 58 rid == handle.resource && in vmci_resource_lookup() 59 (cid == handle.context || cid == VMCI_INVALID_ID)) { in vmci_resource_lookup() 87 struct vmci_handle handle; in vmci_resource_find_id() local 96 handle = vmci_make_handle(context_id, current_rid); in vmci_resource_find_id() [all …]
|
D | vmci_doorbell.c | 93 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags) in vmci_dbell_get_priv_flags() argument 95 if (priv_flags == NULL || handle.context == VMCI_INVALID_ID) in vmci_dbell_get_priv_flags() 98 if (handle.context == VMCI_HOST_CONTEXT_ID) { in vmci_dbell_get_priv_flags() 102 resource = vmci_resource_by_handle(handle, in vmci_dbell_get_priv_flags() 110 } else if (handle.context == VMCI_HYPERVISOR_CONTEXT_ID) { in vmci_dbell_get_priv_flags() 117 *priv_flags = vmci_context_get_priv_flags(handle.context); in vmci_dbell_get_priv_flags() 237 static int dbell_link(struct vmci_handle handle, u32 notify_idx) in dbell_link() argument 245 link_msg.handle = handle; in dbell_link() 255 static int dbell_unlink(struct vmci_handle handle) in dbell_unlink() argument 263 unlink_msg.handle = handle; in dbell_unlink() [all …]
|
D | vmci_context.c | 235 if (!vmci_handle_is_equal(node->handle, context_handle)) in ctx_fire_notification() 629 notifier->handle = vmci_make_handle(remote_cid, VMCI_EVENT_HANDLER); in vmci_ctx_add_notification() 634 if (vmci_handle_is_equal(n->handle, notifier->handle)) { in vmci_ctx_add_notification() 664 struct vmci_handle handle; in vmci_ctx_remove_notification() local 671 handle = vmci_make_handle(remote_cid, VMCI_EVENT_HANDLER); in vmci_ctx_remove_notification() 676 if (vmci_handle_is_equal(notifier->handle, handle)) { in vmci_ctx_remove_notification() 720 notifiers[i++] = entry->handle.context; in vmci_ctx_get_chkpt_notifiers() 747 dbells[i].handle = vmci_handle_arr_get_entry( in vmci_ctx_get_chkpt_doorbells() 899 struct vmci_handle handle; in vmci_ctx_rcv_notifications_release() local 908 handle = vmci_handle_arr_remove_tail( in vmci_ctx_rcv_notifications_release() [all …]
|
D | vmci_queue_pair.c | 171 struct vmci_handle handle; member 211 struct vmci_handle handle; member 892 struct vmci_handle handle) in qp_list_find() argument 896 if (vmci_handle_is_invalid(handle)) in qp_list_find() 900 if (vmci_handle_is_equal(entry->handle, handle)) in qp_list_find() 911 qp_guest_handle_to_entry(struct vmci_handle handle) in qp_guest_handle_to_entry() argument 914 struct qp_entry *qp = qp_list_find(&qp_guest_endpoints, handle); in qp_guest_handle_to_entry() 925 qp_broker_handle_to_entry(struct vmci_handle handle) in qp_broker_handle_to_entry() argument 928 struct qp_entry *qp = qp_list_find(&qp_broker_list, handle); in qp_broker_handle_to_entry() 939 static int qp_notify_peer_local(bool attach, struct vmci_handle handle) in qp_notify_peer_local() argument [all …]
|
D | vmci_queue_pair.h | 38 struct vmci_handle handle; member 51 struct vmci_handle handle; member 87 struct vmci_handle handle; member 100 struct vmci_handle handle; member 150 int vmci_qp_broker_alloc(struct vmci_handle handle, u32 peer, 155 int vmci_qp_broker_set_page_store(struct vmci_handle handle, 158 int vmci_qp_broker_detach(struct vmci_handle handle, struct vmci_ctx *context); 162 int vmci_qp_alloc(struct vmci_handle *handle, 168 int vmci_qp_broker_map(struct vmci_handle handle, 170 int vmci_qp_broker_unmap(struct vmci_handle handle,
|
D | vmci_handle_array.c | 48 struct vmci_handle handle) in vmci_handle_arr_append_entry() argument 66 array->entries[array->size] = handle; in vmci_handle_arr_append_entry() 76 struct vmci_handle handle = VMCI_INVALID_HANDLE; in vmci_handle_arr_remove_entry() local 81 handle = array->entries[i]; in vmci_handle_arr_remove_entry() 89 return handle; in vmci_handle_arr_remove_entry() 97 struct vmci_handle handle = VMCI_INVALID_HANDLE; in vmci_handle_arr_remove_tail() local 101 handle = array->entries[array->size]; in vmci_handle_arr_remove_tail() 105 return handle; in vmci_handle_arr_remove_tail()
|
D | vmci_doorbell.h | 29 struct vmci_handle handle; member 41 struct vmci_handle handle; member 45 int vmci_dbell_host_context_notify(u32 src_cid, struct vmci_handle handle); 46 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags);
|
D | vmci_context.h | 45 struct vmci_handle handle; member 155 int vmci_ctx_qp_create(struct vmci_ctx *context, struct vmci_handle handle); 156 int vmci_ctx_qp_destroy(struct vmci_ctx *context, struct vmci_handle handle); 157 bool vmci_ctx_qp_exists(struct vmci_ctx *context, struct vmci_handle handle); 162 int vmci_ctx_dbell_create(u32 context_id, struct vmci_handle handle); 163 int vmci_ctx_dbell_destroy(u32 context_id, struct vmci_handle handle); 165 int vmci_ctx_notify_dbell(u32 cid, struct vmci_handle handle,
|
/linux-4.4.14/drivers/input/ |
D | evbug.c | 41 static void evbug_event(struct input_handle *handle, unsigned int type, unsigned int code, int valu… in evbug_event() argument 44 dev_name(&handle->dev->dev), type, code, value); in evbug_event() 50 struct input_handle *handle; in evbug_connect() local 53 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in evbug_connect() 54 if (!handle) in evbug_connect() 57 handle->dev = dev; in evbug_connect() 58 handle->handler = handler; in evbug_connect() 59 handle->name = "evbug"; in evbug_connect() 61 error = input_register_handle(handle); in evbug_connect() 65 error = input_open_device(handle); in evbug_connect() [all …]
|
D | apm-power.c | 35 static void apmpower_event(struct input_handle *handle, unsigned int type, in apmpower_event() argument 56 struct input_handle *handle; in apmpower_connect() local 59 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in apmpower_connect() 60 if (!handle) in apmpower_connect() 63 handle->dev = dev; in apmpower_connect() 64 handle->handler = handler; in apmpower_connect() 65 handle->name = "apm-power"; in apmpower_connect() 67 error = input_register_handle(handle); in apmpower_connect() 71 kfree(handle); in apmpower_connect() 75 error = input_open_device(handle); in apmpower_connect() [all …]
|
D | input-leds.c | 43 struct input_handle *handle; member 48 struct input_handle handle; member 56 struct input_dev *input = led->handle->dev; in input_leds_brightness_get() 66 input_inject_event(led->handle, EV_LED, led->code, !!brightness); in input_leds_brightness_set() 69 static void input_leds_event(struct input_handle *handle, unsigned int type, in input_leds_event() argument 107 leds->handle.dev = dev; in input_leds_connect() 108 leds->handle.handler = handler; in input_leds_connect() 109 leds->handle.name = "leds"; in input_leds_connect() 110 leds->handle.private = leds; in input_leds_connect() 112 error = input_register_handle(&leds->handle); in input_leds_connect() [all …]
|
D | input.c | 96 static unsigned int input_to_handler(struct input_handle *handle, in input_to_handler() argument 99 struct input_handler *handler = handle->handler; in input_to_handler() 105 if (handler->filter(handle, v->type, v->code, v->value)) in input_to_handler() 118 handler->events(handle, vals, count); in input_to_handler() 121 handler->event(handle, v->type, v->code, v->value); in input_to_handler() 134 struct input_handle *handle; in input_pass_values() local 142 handle = rcu_dereference(dev->grab); in input_pass_values() 143 if (handle) { in input_pass_values() 144 count = input_to_handler(handle, vals, count); in input_pass_values() 146 list_for_each_entry_rcu(handle, &dev->h_list, d_node) in input_pass_values() [all …]
|
/linux-4.4.14/drivers/sh/intc/ |
D | chip.c | 16 void _intc_enable(struct irq_data *data, unsigned long handle) in _intc_enable() argument 23 for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_E(handle)); cpu++) { in _intc_enable() 28 addr = INTC_REG(d, _INTC_ADDR_E(handle), cpu); in _intc_enable() 29 intc_enable_fns[_INTC_MODE(handle)](addr, handle, intc_reg_fns\ in _intc_enable() 30 [_INTC_FN(handle)], irq); in _intc_enable() 45 unsigned long handle = (unsigned long)irq_data_get_irq_chip_data(data); in intc_disable() local 51 for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_D(handle)); cpu++) { in intc_disable() 56 addr = INTC_REG(d, _INTC_ADDR_D(handle), cpu); in intc_disable() 57 intc_disable_fns[_INTC_MODE(handle)](addr, handle,intc_reg_fns\ in intc_disable() 58 [_INTC_FN(handle)], irq); in intc_disable() [all …]
|
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() 66 unsigned long intc_get_field_from_handle(unsigned int value, unsigned int handle) in intc_get_field_from_handle() argument 68 unsigned int width = _INTC_WIDTH(handle); in intc_get_field_from_handle() 69 unsigned int shift = _INTC_SHIFT(handle); in intc_get_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() [all …]
|
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()
|
D | internals.h | 33 unsigned long handle; member 50 unsigned long handle; member 118 (*intc_enable_fns[])(unsigned long addr, unsigned long handle, 123 (*intc_disable_fns[])(unsigned long addr, unsigned long handle, 128 (*intc_enable_noprio_fns[])(unsigned long addr, unsigned long handle, 137 unsigned int handle); 139 unsigned int handle); 157 void _intc_enable(struct irq_data *data, unsigned long handle);
|
/linux-4.4.14/drivers/gpu/drm/amd/include/ |
D | amd_shared.h | 90 int (*early_init)(void *handle); 92 int (*late_init)(void *handle); 94 int (*sw_init)(void *handle); 96 int (*sw_fini)(void *handle); 98 int (*hw_init)(void *handle); 100 int (*hw_fini)(void *handle); 102 int (*suspend)(void *handle); 104 int (*resume)(void *handle); 106 bool (*is_idle)(void *handle); 108 int (*wait_for_idle)(void *handle); [all …]
|
D | cgs_common.h | 210 cgs_handle_t *handle); 219 typedef int (*cgs_free_gpu_mem_t)(void *cgs_device, cgs_handle_t handle); 231 typedef int (*cgs_gmap_gpu_mem_t)(void *cgs_device, cgs_handle_t handle, 243 typedef int (*cgs_gunmap_gpu_mem_t)(void *cgs_device, cgs_handle_t handle); 254 typedef int (*cgs_kmap_gpu_mem_t)(void *cgs_device, cgs_handle_t handle, 264 typedef int (*cgs_kunmap_gpu_mem_t)(void *cgs_device, cgs_handle_t handle); 561 #define cgs_alloc_gpu_mem(dev,type,size,align,min_off,max_off,handle) \ argument 562 CGS_CALL(alloc_gpu_mem,dev,type,size,align,min_off,max_off,handle) 563 #define cgs_free_gpu_mem(dev,handle) \ argument 564 CGS_CALL(free_gpu_mem,dev,handle) [all …]
|
/linux-4.4.14/drivers/acpi/ |
D | scan.c | 142 static acpi_status acpi_bus_offline(acpi_handle handle, u32 lvl, void *data, in acpi_bus_offline() argument 150 if (acpi_bus_get_device(handle, &device)) in acpi_bus_offline() 190 static acpi_status acpi_bus_online(acpi_handle handle, u32 lvl, void *data, in acpi_bus_online() argument 196 if (acpi_bus_get_device(handle, &device)) in acpi_bus_online() 214 acpi_handle handle = device->handle; in acpi_scan_try_to_offline() local 227 status = acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX, in acpi_scan_try_to_offline() 232 acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX, in acpi_scan_try_to_offline() 236 acpi_bus_offline(handle, 0, (void *)false, (void **)&errdev); in acpi_scan_try_to_offline() 239 acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX, in acpi_scan_try_to_offline() 243 acpi_bus_offline(handle, 0, (void *)true, in acpi_scan_try_to_offline() [all …]
|
D | ioapic.c | 33 acpi_handle handle; member 64 static bool acpi_is_ioapic(acpi_handle handle, char **type) in acpi_is_ioapic() argument 71 if (!acpi_has_method(handle, "_GSB")) in acpi_is_ioapic() 74 status = acpi_get_object_info(handle, &info); in acpi_is_ioapic() 93 static acpi_status handle_ioapic_add(acpi_handle handle, u32 lvl, in handle_ioapic_add() argument 103 if (!acpi_is_ioapic(handle, &type)) in handle_ioapic_add() 108 if (ioapic->handle == handle) { in handle_ioapic_add() 113 status = acpi_evaluate_integer(handle, "_GSB", NULL, &gsi_base); in handle_ioapic_add() 115 acpi_handle_warn(handle, "failed to evaluate _GSB method\n"); in handle_ioapic_add() 125 ioapic->handle = handle; in handle_ioapic_add() [all …]
|
D | utils.c | 264 (void *)element->reference.handle; in acpi_extract_package() 286 acpi_evaluate_integer(acpi_handle handle, in acpi_evaluate_integer() argument 299 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); in acpi_evaluate_integer() 301 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_integer() 306 acpi_util_eval_error(handle, pathname, AE_BAD_DATA); in acpi_evaluate_integer() 320 acpi_evaluate_reference(acpi_handle handle, in acpi_evaluate_reference() argument 338 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); in acpi_evaluate_reference() 346 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference() 351 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference() 356 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference() [all …]
|
D | dock.c | 51 acpi_handle handle; member 150 static struct dock_station *find_dock_station(acpi_handle handle) in find_dock_station() argument 155 if (ds->handle == handle) in find_dock_station() 209 if (acpi_dock_match(adev->handle)) in is_dock_device() 233 status = acpi_evaluate_integer(ds->handle, "_STA", NULL, &sta); in dock_present() 292 int ret = acpi_bus_scan(adev->handle); in hotplug_dock_devices() 339 acpi_handle_info(ds->handle, "%s\n", dock ? "docking" : "undocking"); in handle_dock() 346 status = acpi_evaluate_integer(ds->handle, "_DCK", &arg_list, &value); in handle_dock() 348 acpi_handle_err(ds->handle, "Failed to execute _DCK (0x%x)\n", in handle_dock() 421 acpi_evaluate_lck(ds->handle, 0); in handle_eject_request() [all …]
|
D | processor_pdc.c | 21 static bool __init processor_physically_present(acpi_handle handle) in processor_physically_present() argument 31 status = acpi_get_type(handle, &acpi_type); in processor_physically_present() 37 status = acpi_evaluate_object(handle, NULL, NULL, &buffer); in processor_physically_present() 43 status = acpi_evaluate_integer(handle, "_UID", NULL, &tmp); in processor_physically_present() 53 cpuid = acpi_get_cpuid(handle, type, acpi_id); in processor_physically_present() 113 acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in) in acpi_processor_eval_pdc() argument 131 status = acpi_evaluate_object(handle, "_PDC", pdc_in, NULL); in acpi_processor_eval_pdc() 140 void acpi_processor_set_pdc(acpi_handle handle) in acpi_processor_set_pdc() argument 151 acpi_processor_eval_pdc(handle, obj_list); in acpi_processor_set_pdc() 159 early_init_pdc(acpi_handle handle, u32 lvl, void *context, void **rv) in early_init_pdc() argument [all …]
|
D | bus.c | 91 acpi_status acpi_bus_get_status_handle(acpi_handle handle, in acpi_bus_get_status_handle() argument 96 status = acpi_evaluate_integer(handle, "_STA", NULL, sta); in acpi_bus_get_status_handle() 113 status = acpi_bus_get_status_handle(device->handle, &sta); in acpi_bus_get_status() 131 void acpi_bus_private_data_handler(acpi_handle handle, in acpi_bus_private_data_handler() argument 138 int acpi_bus_attach_private_data(acpi_handle handle, void *data) in acpi_bus_attach_private_data() argument 142 status = acpi_attach_data(handle, in acpi_bus_attach_private_data() 145 acpi_handle_debug(handle, "Error attaching device data\n"); in acpi_bus_attach_private_data() 153 int acpi_bus_get_private_data(acpi_handle handle, void **data) in acpi_bus_get_private_data() argument 160 status = acpi_get_data(handle, acpi_bus_private_data_handler, data); in acpi_bus_get_private_data() 162 acpi_handle_debug(handle, "No context for object\n"); in acpi_bus_get_private_data() [all …]
|
D | pci_root.c | 83 int acpi_is_root_bridge(acpi_handle handle) in acpi_is_root_bridge() argument 88 ret = acpi_bus_get_device(handle, &device); in acpi_is_root_bridge() 120 static acpi_status try_get_root_bridge_busnr(acpi_handle handle, in try_get_root_bridge_busnr() argument 127 acpi_walk_resources(handle, METHOD_NAME__CRS, in try_get_root_bridge_busnr() 187 static acpi_status acpi_pci_run_osc(acpi_handle handle, in acpi_pci_run_osc() argument 198 status = acpi_run_osc(handle, &context); in acpi_pci_run_osc() 226 status = acpi_pci_run_osc(root->device->handle, capbuf, &result); in acpi_pci_query_osc() 245 struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle) in acpi_pci_find_root() argument 250 if (acpi_bus_get_device(handle, &device) || in acpi_pci_find_root() 262 acpi_handle handle; member [all …]
|
D | pci_slot.c | 71 check_slot(acpi_handle handle, unsigned long long *sun) in check_slot() argument 78 acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer); in check_slot() 83 status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); in check_slot() 88 status = acpi_evaluate_integer(handle, "_ADR", NULL, &adr); in check_slot() 95 status = acpi_evaluate_integer(handle, "_SUN", NULL, sun); in check_slot() 111 register_slot(acpi_handle handle, u32 lvl, void *context, void **rv) in register_slot() argument 120 device = check_slot(handle, &sun); in register_slot() 161 acpi_handle handle = ACPI_HANDLE(bus->bridge); in acpi_pci_slot_enumerate() local 163 if (handle) { in acpi_pci_slot_enumerate() 165 acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1, in acpi_pci_slot_enumerate()
|
D | power.c | 87 static struct acpi_power_resource *acpi_power_get_context(acpi_handle handle) in acpi_power_get_context() argument 91 if (acpi_bus_get_device(handle, &device)) in acpi_power_get_context() 97 static int acpi_power_resources_list_add(acpi_handle handle, in acpi_power_resources_list_add() argument 100 struct acpi_power_resource *resource = acpi_power_get_context(handle); in acpi_power_resources_list_add() 148 rhandle = element->reference.handle; in acpi_extract_power_resources() 167 static int acpi_power_get_state(acpi_handle handle, int *state) in acpi_power_get_state() argument 175 if (!handle || !state) in acpi_power_get_state() 178 status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); in acpi_power_get_state() 185 acpi_get_name(handle, ACPI_SINGLE_NAME, &buffer); in acpi_power_get_state() 205 acpi_handle handle = resource->device.handle; in acpi_power_get_list_state() local [all …]
|
D | device_sysfs.c | 29 static ssize_t acpi_object_path(acpi_handle handle, char *buf) in acpi_object_path() argument 34 result = acpi_get_name(handle, ACPI_FULL_PATHNAME, &path); in acpi_object_path() 55 return acpi_object_path(dn->handle, buf); in data_node_show_path() 109 acpi_handle_err(dn->handle, "Failed to expose (%d)\n", ret); in acpi_expose_nondev_subnodes() 205 acpi_get_name(acpi_dev->handle, ACPI_SINGLE_NAME, &buf); in create_of_modalias() 382 status = acpi_get_type(acpi_device->handle, ¬_used); in acpi_eject_store() 392 acpi_evaluate_ost(acpi_device->handle, ACPI_OST_EC_OSPM_EJECT, in acpi_eject_store() 431 return acpi_object_path(acpi_dev->handle, buf); in acpi_device_path_show() 468 status = acpi_evaluate_integer(acpi_dev->handle, "_SUN", NULL, &sun); in acpi_device_sun_show() 482 status = acpi_evaluate_integer(acpi_dev->handle, "_STA", NULL, &sta); in status_show() [all …]
|
D | acpi_processor.c | 167 int __weak acpi_map_cpu(acpi_handle handle, in acpi_map_cpu() argument 194 status = acpi_evaluate_integer(pr->handle, "_STA", NULL, &sta); in acpi_processor_hotadd_init() 201 ret = acpi_map_cpu(pr->handle, pr->phys_id, &pr->id); in acpi_processor_hotadd_init() 257 status = acpi_evaluate_object(pr->handle, NULL, NULL, &buffer); in acpi_processor_get_info() 271 status = acpi_evaluate_integer(pr->handle, METHOD_NAME__UID, in acpi_processor_get_info() 283 pr->phys_id = acpi_get_phys_id(pr->handle, device_declaration, in acpi_processor_get_info() 286 acpi_handle_debug(pr->handle, "failed to get CPU physical ID.\n"); in acpi_processor_get_info() 350 status = acpi_evaluate_integer(pr->handle, "_SUN", NULL, &value); in acpi_processor_get_info() 381 pr->handle = device->handle; in acpi_processor_add() 496 static acpi_status __init acpi_hwp_native_thermal_lvt_osc(acpi_handle handle, in acpi_hwp_native_thermal_lvt_osc() argument [all …]
|
D | thermal.c | 207 status = acpi_evaluate_integer(tz->device->handle, "_TMP", NULL, &tmp); in acpi_thermal_get_temperature() 226 status = acpi_evaluate_integer(tz->device->handle, "_TZP", NULL, &tmp); in acpi_thermal_get_polling_frequency() 242 if (!acpi_has_method(tz->device->handle, "_SCP")) { in acpi_thermal_set_cooling_mode() 245 } else if (ACPI_FAILURE(acpi_execute_simple_method(tz->device->handle, in acpi_thermal_set_cooling_mode() 291 status = acpi_evaluate_integer(tz->device->handle, in acpi_thermal_trips_update() 332 status = acpi_evaluate_integer(tz->device->handle, in acpi_thermal_trips_update() 357 status = acpi_evaluate_integer(tz->device->handle, in acpi_thermal_trips_update() 368 tz->device->handle, "_TC1", in acpi_thermal_trips_update() 375 tz->device->handle, "_TC2", in acpi_thermal_trips_update() 382 tz->device->handle, "_TSP", in acpi_thermal_trips_update() [all …]
|
/linux-4.4.14/fs/jbd2/ |
D | transaction.c | 271 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle() argument 275 int blocks = handle->h_buffer_credits; in start_this_handle() 279 if (handle->h_rsv_handle) in start_this_handle() 280 rsv_blocks = handle->h_rsv_handle->h_buffer_credits; in start_this_handle() 311 jbd_debug(3, "New handle %p going live.\n", handle); in start_this_handle() 332 if (!handle->h_reserved && journal->j_barrier_count) { in start_this_handle() 345 (handle->h_reserved || !journal->j_barrier_count)) { in start_this_handle() 355 if (!handle->h_reserved) { in start_this_handle() 366 handle->h_reserved = 0; in start_this_handle() 373 handle->h_transaction = transaction; in start_this_handle() [all …]
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | reset.c | 18 static int handle; /* reset pin handle */ variable 24 handle = of_get_named_gpio(of_find_node_by_path("/"), in of_platform_reset_gpio_probe() 27 if (!gpio_is_valid(handle)) { in of_platform_reset_gpio_probe() 29 handle, "reset"); in of_platform_reset_gpio_probe() 33 ret = gpio_request(handle, "reset"); in of_platform_reset_gpio_probe() 40 reset_val = gpio_get_value(handle); in of_platform_reset_gpio_probe() 45 ret = gpio_direction_output(handle, 0); in of_platform_reset_gpio_probe() 50 gpio_set_value(handle, 0); in of_platform_reset_gpio_probe() 53 handle, reset_val); in of_platform_reset_gpio_probe() 56 gpio_free(handle); in of_platform_reset_gpio_probe() [all …]
|
/linux-4.4.14/drivers/staging/android/ion/ |
D | ion.c | 342 struct ion_handle *handle; in ion_handle_create() local 344 handle = kzalloc(sizeof(struct ion_handle), GFP_KERNEL); in ion_handle_create() 345 if (!handle) in ion_handle_create() 347 kref_init(&handle->ref); in ion_handle_create() 348 RB_CLEAR_NODE(&handle->node); in ion_handle_create() 349 handle->client = client; in ion_handle_create() 352 handle->buffer = buffer; in ion_handle_create() 354 return handle; in ion_handle_create() 361 struct ion_handle *handle = container_of(kref, struct ion_handle, ref); in ion_handle_destroy() local 362 struct ion_client *client = handle->client; in ion_handle_destroy() [all …]
|
D | ion.h | 130 void ion_free(struct ion_client *client, struct ion_handle *handle); 148 int ion_phys(struct ion_client *client, struct ion_handle *handle, 160 struct ion_handle *handle); 170 void *ion_map_kernel(struct ion_client *client, struct ion_handle *handle); 177 void ion_unmap_kernel(struct ion_client *client, struct ion_handle *handle); 185 struct ion_handle *handle); 192 int ion_share_dma_buf_fd(struct ion_client *client, struct ion_handle *handle);
|
D | ion_cma_heap.c | 38 dma_addr_t handle; member 64 info->cpu_addr = dma_alloc_coherent(dev, len, &(info->handle), in ion_cma_allocate() 76 if (dma_get_sgtable(dev, info->table, info->cpu_addr, info->handle, in ion_cma_allocate() 87 dma_free_coherent(dev, len, info->cpu_addr, info->handle); in ion_cma_allocate() 101 dma_free_coherent(dev, buffer->size, info->cpu_addr, info->handle); in ion_cma_free() 117 &info->handle); in ion_cma_phys() 119 *addr = info->handle; in ion_cma_phys() 145 return dma_mmap_coherent(dev, vma, info->cpu_addr, info->handle, in ion_cma_mmap()
|
D | compat_ion.c | 30 compat_int_t handle; member 39 compat_int_t handle; member 66 err |= get_user(i, &data32->handle); in compat_get_ion_allocation_data() 67 err |= put_user(i, &data->handle); in compat_get_ion_allocation_data() 79 err = get_user(i, &data32->handle); in compat_get_ion_handle_data() 80 err |= put_user(i, &data->handle); in compat_get_ion_handle_data() 102 err |= get_user(i, &data->handle); in compat_put_ion_allocation_data() 103 err |= put_user(i, &data32->handle); in compat_put_ion_allocation_data()
|
/linux-4.4.14/kernel/power/ |
D | swap.c | 294 static int mark_swapfiles(struct swap_map_handle *handle, unsigned int flags) in mark_swapfiles() argument 303 swsusp_header->image = handle->first_sector; in mark_swapfiles() 306 swsusp_header->crc32 = handle->crc32; in mark_swapfiles() 384 static void release_swap_writer(struct swap_map_handle *handle) in release_swap_writer() argument 386 if (handle->cur) in release_swap_writer() 387 free_page((unsigned long)handle->cur); in release_swap_writer() 388 handle->cur = NULL; in release_swap_writer() 391 static int get_swap_writer(struct swap_map_handle *handle) in get_swap_writer() argument 402 handle->cur = (struct swap_map_page *)get_zeroed_page(GFP_KERNEL); in get_swap_writer() 403 if (!handle->cur) { in get_swap_writer() [all …]
|
D | power.h | 132 #define data_of(handle) ((handle).buffer) argument 136 extern int snapshot_read_next(struct snapshot_handle *handle); 137 extern int snapshot_write_next(struct snapshot_handle *handle); 138 extern void snapshot_write_finalize(struct snapshot_handle *handle); 139 extern int snapshot_image_loaded(struct snapshot_handle *handle);
|
/linux-4.4.14/drivers/media/usb/uvc/ |
D | uvc_v4l2.c | 444 static int uvc_acquire_privileges(struct uvc_fh *handle) in uvc_acquire_privileges() argument 447 if (handle->state == UVC_HANDLE_ACTIVE) in uvc_acquire_privileges() 451 if (atomic_inc_return(&handle->stream->active) != 1) { in uvc_acquire_privileges() 452 atomic_dec(&handle->stream->active); in uvc_acquire_privileges() 456 handle->state = UVC_HANDLE_ACTIVE; in uvc_acquire_privileges() 460 static void uvc_dismiss_privileges(struct uvc_fh *handle) in uvc_dismiss_privileges() argument 462 if (handle->state == UVC_HANDLE_ACTIVE) in uvc_dismiss_privileges() 463 atomic_dec(&handle->stream->active); in uvc_dismiss_privileges() 465 handle->state = UVC_HANDLE_PASSIVE; in uvc_dismiss_privileges() 468 static int uvc_has_privileges(struct uvc_fh *handle) in uvc_has_privileges() argument [all …]
|
/linux-4.4.14/kernel/events/ |
D | ring_buffer.c | 20 static void perf_output_wakeup(struct perf_output_handle *handle) in perf_output_wakeup() argument 22 atomic_set(&handle->rb->poll, POLLIN); in perf_output_wakeup() 24 handle->event->pending_wakeup = 1; in perf_output_wakeup() 25 irq_work_queue(&handle->event->pending); in perf_output_wakeup() 36 static void perf_output_get_handle(struct perf_output_handle *handle) in perf_output_get_handle() argument 38 struct ring_buffer *rb = handle->rb; in perf_output_get_handle() 42 handle->wakeup = local_read(&rb->wakeup); in perf_output_get_handle() 45 static void perf_output_put_handle(struct perf_output_handle *handle) in perf_output_put_handle() argument 47 struct ring_buffer *rb = handle->rb; in perf_output_put_handle() 98 if (handle->wakeup != local_read(&rb->wakeup)) in perf_output_put_handle() [all …]
|
D | internal.h | 120 func_name(struct perf_output_handle *handle, \ 126 size = min(handle->size, len); \ 127 written = memcpy_func(handle->addr, buf, size); \ 131 handle->addr += written; \ 133 handle->size -= written; \ 134 if (!handle->size) { \ 135 struct ring_buffer *rb = handle->rb; \ 137 handle->page++; \ 138 handle->page &= rb->nr_pages - 1; \ 139 handle->addr = rb->data_pages[handle->page]; \ [all …]
|
/linux-4.4.14/fs/ |
D | fhandle.c | 22 struct file_handle *handle = NULL; in do_sys_name_to_handle() local 38 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, in do_sys_name_to_handle() 40 if (!handle) in do_sys_name_to_handle() 48 (struct fid *)handle->f_handle, in do_sys_name_to_handle() 50 handle->handle_type = retval; in do_sys_name_to_handle() 53 handle->handle_bytes = handle_bytes; in do_sys_name_to_handle() 54 if ((handle->handle_bytes > f_handle.handle_bytes) || in do_sys_name_to_handle() 72 copy_to_user(ufh, handle, in do_sys_name_to_handle() 75 kfree(handle); in do_sys_name_to_handle() 93 struct file_handle __user *, handle, int __user *, mnt_id, in SYSCALL_DEFINE5() [all …]
|
/linux-4.4.14/drivers/staging/rdma/ehca/ |
D | hcp_if.c | 222 adapter_handle.handle, /* r4 */ in hipz_h_alloc_resource_eq() 226 eq_handle->handle = outs[0]; in hipz_h_alloc_resource_eq() 242 adapter_handle.handle, /* r4 */ in hipz_h_reset_event() 243 eq_handle.handle, /* r5 */ in hipz_h_reset_event() 257 adapter_handle.handle, /* r4 */ in hipz_h_alloc_resource_cq() 259 param->eq_handle.handle, /* r6 */ in hipz_h_alloc_resource_cq() 263 cq->ipz_cq_handle.handle = outs[0]; in hipz_h_alloc_resource_cq() 274 adapter_handle.handle, /* r4 */ in hipz_h_alloc_resource_cq() 275 cq->ipz_cq_handle.handle, /* r5 */ in hipz_h_alloc_resource_cq() 331 adapter_handle.handle, /* r4 */ in hipz_h_alloc_resource_qp() [all …]
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | tonga_dpm.c | 33 static int tonga_dpm_early_init(void *handle) in tonga_dpm_early_init() argument 35 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_dpm_early_init() 60 static int tonga_dpm_sw_init(void *handle) in tonga_dpm_sw_init() argument 63 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_dpm_sw_init() 72 static int tonga_dpm_sw_fini(void *handle) in tonga_dpm_sw_fini() argument 77 static int tonga_dpm_hw_init(void *handle) in tonga_dpm_hw_init() argument 80 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_dpm_hw_init() 109 static int tonga_dpm_hw_fini(void *handle) in tonga_dpm_hw_fini() argument 111 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_dpm_hw_fini() 123 static int tonga_dpm_suspend(void *handle) in tonga_dpm_suspend() argument [all …]
|
D | fiji_dpm.c | 33 static int fiji_dpm_early_init(void *handle) in fiji_dpm_early_init() argument 35 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in fiji_dpm_early_init() 61 static int fiji_dpm_sw_init(void *handle) in fiji_dpm_sw_init() argument 64 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in fiji_dpm_sw_init() 73 static int fiji_dpm_sw_fini(void *handle) in fiji_dpm_sw_fini() argument 78 static int fiji_dpm_hw_init(void *handle) in fiji_dpm_hw_init() argument 81 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in fiji_dpm_hw_init() 106 static int fiji_dpm_hw_fini(void *handle) in fiji_dpm_hw_fini() argument 108 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in fiji_dpm_hw_fini() 115 static int fiji_dpm_suspend(void *handle) in fiji_dpm_suspend() argument [all …]
|
D | iceland_dpm.c | 33 static int iceland_dpm_early_init(void *handle) in iceland_dpm_early_init() argument 35 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in iceland_dpm_early_init() 61 static int iceland_dpm_sw_init(void *handle) in iceland_dpm_sw_init() argument 64 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in iceland_dpm_sw_init() 73 static int iceland_dpm_sw_fini(void *handle) in iceland_dpm_sw_fini() argument 78 static int iceland_dpm_hw_init(void *handle) in iceland_dpm_hw_init() argument 81 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in iceland_dpm_hw_init() 110 static int iceland_dpm_hw_fini(void *handle) in iceland_dpm_hw_fini() argument 112 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in iceland_dpm_hw_fini() 124 static int iceland_dpm_suspend(void *handle) in iceland_dpm_suspend() argument [all …]
|
D | cik_ih.c | 274 static int cik_ih_early_init(void *handle) in cik_ih_early_init() argument 276 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in cik_ih_early_init() 283 static int cik_ih_sw_init(void *handle) in cik_ih_sw_init() argument 286 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in cik_ih_sw_init() 297 static int cik_ih_sw_fini(void *handle) in cik_ih_sw_fini() argument 299 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in cik_ih_sw_fini() 307 static int cik_ih_hw_init(void *handle) in cik_ih_hw_init() argument 310 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in cik_ih_hw_init() 319 static int cik_ih_hw_fini(void *handle) in cik_ih_hw_fini() argument 321 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in cik_ih_hw_fini() [all …]
|
D | cz_ih.c | 253 static int cz_ih_early_init(void *handle) in cz_ih_early_init() argument 255 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in cz_ih_early_init() 261 static int cz_ih_sw_init(void *handle) in cz_ih_sw_init() argument 264 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in cz_ih_sw_init() 275 static int cz_ih_sw_fini(void *handle) in cz_ih_sw_fini() argument 277 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in cz_ih_sw_fini() 285 static int cz_ih_hw_init(void *handle) in cz_ih_hw_init() argument 288 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in cz_ih_hw_init() 297 static int cz_ih_hw_fini(void *handle) in cz_ih_hw_fini() argument 299 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in cz_ih_hw_fini() [all …]
|
D | iceland_ih.c | 253 static int iceland_ih_early_init(void *handle) in iceland_ih_early_init() argument 255 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in iceland_ih_early_init() 261 static int iceland_ih_sw_init(void *handle) in iceland_ih_sw_init() argument 264 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in iceland_ih_sw_init() 275 static int iceland_ih_sw_fini(void *handle) in iceland_ih_sw_fini() argument 277 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in iceland_ih_sw_fini() 285 static int iceland_ih_hw_init(void *handle) in iceland_ih_hw_init() argument 288 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in iceland_ih_hw_init() 297 static int iceland_ih_hw_fini(void *handle) in iceland_ih_hw_fini() argument 299 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in iceland_ih_hw_fini() [all …]
|
D | tonga_ih.c | 273 static int tonga_ih_early_init(void *handle) in tonga_ih_early_init() argument 275 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_early_init() 281 static int tonga_ih_sw_init(void *handle) in tonga_ih_sw_init() argument 284 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_sw_init() 298 static int tonga_ih_sw_fini(void *handle) in tonga_ih_sw_fini() argument 300 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_sw_fini() 308 static int tonga_ih_hw_init(void *handle) in tonga_ih_hw_init() argument 311 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_hw_init() 320 static int tonga_ih_hw_fini(void *handle) in tonga_ih_hw_fini() argument 322 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in tonga_ih_hw_fini() [all …]
|
D | amdgpu_acpi.c | 104 static union acpi_object *amdgpu_atif_call(acpi_handle handle, int function, in amdgpu_atif_call() argument 128 status = acpi_evaluate_object(handle, "ATIF", &atif_arg, &buffer); in amdgpu_atif_call() 199 static int amdgpu_atif_verify_interface(acpi_handle handle, in amdgpu_atif_verify_interface() argument 207 info = amdgpu_atif_call(handle, ATIF_FUNCTION_VERIFY_INTERFACE, NULL); in amdgpu_atif_verify_interface() 246 static int amdgpu_atif_get_notification_params(acpi_handle handle, in amdgpu_atif_get_notification_params() argument 254 info = amdgpu_atif_call(handle, ATIF_FUNCTION_GET_SYSTEM_PARAMETERS, NULL); in amdgpu_atif_get_notification_params() 308 static int amdgpu_atif_get_sbios_requests(acpi_handle handle, in amdgpu_atif_get_sbios_requests() argument 315 info = amdgpu_atif_call(handle, ATIF_FUNCTION_GET_SYSTEM_BIOS_REQUESTS, NULL); in amdgpu_atif_get_sbios_requests() 352 acpi_handle handle; in amdgpu_atif_handler() local 367 handle = ACPI_HANDLE(&adev->pdev->dev); in amdgpu_atif_handler() [all …]
|
D | vce_v2_0.c | 172 static int vce_v2_0_early_init(void *handle) in vce_v2_0_early_init() argument 174 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_early_init() 182 static int vce_v2_0_sw_init(void *handle) in vce_v2_0_sw_init() argument 186 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_sw_init() 219 static int vce_v2_0_sw_fini(void *handle) in vce_v2_0_sw_fini() argument 222 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_sw_fini() 235 static int vce_v2_0_hw_init(void *handle) in vce_v2_0_hw_init() argument 239 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v2_0_hw_init() 266 static int vce_v2_0_hw_fini(void *handle) in vce_v2_0_hw_fini() argument 271 static int vce_v2_0_suspend(void *handle) in vce_v2_0_suspend() argument [all …]
|
D | vce_v3_0.c | 247 static int vce_v3_0_early_init(void *handle) in vce_v3_0_early_init() argument 249 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v3_0_early_init() 264 static int vce_v3_0_sw_init(void *handle) in vce_v3_0_sw_init() argument 266 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v3_0_sw_init() 301 static int vce_v3_0_sw_fini(void *handle) in vce_v3_0_sw_fini() argument 304 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v3_0_sw_fini() 317 static int vce_v3_0_hw_init(void *handle) in vce_v3_0_hw_init() argument 321 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in vce_v3_0_hw_init() 348 static int vce_v3_0_hw_fini(void *handle) in vce_v3_0_hw_fini() argument 353 static int vce_v3_0_suspend(void *handle) in vce_v3_0_suspend() argument [all …]
|
D | uvd_v6_0.c | 82 static int uvd_v6_0_early_init(void *handle) in uvd_v6_0_early_init() argument 84 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v6_0_early_init() 92 static int uvd_v6_0_sw_init(void *handle) in uvd_v6_0_sw_init() argument 96 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v6_0_sw_init() 119 static int uvd_v6_0_sw_fini(void *handle) in uvd_v6_0_sw_fini() argument 122 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v6_0_sw_fini() 142 static int uvd_v6_0_hw_init(void *handle) in uvd_v6_0_hw_init() argument 144 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v6_0_hw_init() 201 static int uvd_v6_0_hw_fini(void *handle) in uvd_v6_0_hw_fini() argument 203 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v6_0_hw_fini() [all …]
|
D | uvd_v5_0.c | 82 static int uvd_v5_0_early_init(void *handle) in uvd_v5_0_early_init() argument 84 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_early_init() 92 static int uvd_v5_0_sw_init(void *handle) in uvd_v5_0_sw_init() argument 95 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_sw_init() 119 static int uvd_v5_0_sw_fini(void *handle) in uvd_v5_0_sw_fini() argument 122 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_sw_fini() 142 static int uvd_v5_0_hw_init(void *handle) in uvd_v5_0_hw_init() argument 144 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_hw_init() 207 static int uvd_v5_0_hw_fini(void *handle) in uvd_v5_0_hw_fini() argument 209 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v5_0_hw_fini() [all …]
|
D | uvd_v4_2.c | 86 static int uvd_v4_2_early_init(void *handle) in uvd_v4_2_early_init() argument 88 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v4_2_early_init() 96 static int uvd_v4_2_sw_init(void *handle) in uvd_v4_2_sw_init() argument 99 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v4_2_sw_init() 123 static int uvd_v4_2_sw_fini(void *handle) in uvd_v4_2_sw_fini() argument 126 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v4_2_sw_fini() 146 static int uvd_v4_2_hw_init(void *handle) in uvd_v4_2_hw_init() argument 148 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v4_2_hw_init() 211 static int uvd_v4_2_hw_fini(void *handle) in uvd_v4_2_hw_fini() argument 213 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in uvd_v4_2_hw_fini() [all …]
|
D | amdgpu_gem.c | 176 uint32_t handle; in amdgpu_gem_create_ioctl() local 204 r = drm_gem_handle_create(filp, gobj, &handle); in amdgpu_gem_create_ioctl() 211 args->out.handle = handle; in amdgpu_gem_create_ioctl() 226 uint32_t handle; in amdgpu_gem_userptr_ioctl() local 281 r = drm_gem_handle_create(filp, gobj, &handle); in amdgpu_gem_userptr_ioctl() 287 args->handle = handle; in amdgpu_gem_userptr_ioctl() 301 uint32_t handle, uint64_t *offset_p) in amdgpu_mode_dumb_mmap() argument 306 gobj = drm_gem_object_lookup(dev, filp, handle); in amdgpu_mode_dumb_mmap() 325 uint32_t handle = args->in.handle; in amdgpu_gem_mmap_ioctl() local 327 return amdgpu_mode_dumb_mmap(filp, dev, handle, &args->out.addr_ptr); in amdgpu_gem_mmap_ioctl() [all …]
|
/linux-4.4.14/drivers/platform/x86/ |
D | intel_menlow.c | 67 acpi_handle handle = device->handle; in memory_get_max_bandwidth() local 77 status = acpi_evaluate_integer(handle, MEMORY_GET_BANDWIDTH, in memory_get_max_bandwidth() 93 acpi_handle handle = device->handle; in memory_get_cur_bandwidth() local 103 status = acpi_evaluate_integer(handle, MEMORY_GET_BANDWIDTH, in memory_get_cur_bandwidth() 116 acpi_handle handle = device->handle; in memory_set_cur_bandwidth() local 135 acpi_evaluate_integer(handle, MEMORY_SET_BANDWIDTH, &arg_list, in memory_set_cur_bandwidth() 162 if (!acpi_has_method(device->handle, MEMORY_GET_BANDWIDTH)) in intel_menlow_memory_add() 165 if (!acpi_has_method(device->handle, MEMORY_SET_BANDWIDTH)) in intel_menlow_memory_add() 239 acpi_handle handle; member 252 static int sensor_get_auxtrip(acpi_handle handle, int index, in sensor_get_auxtrip() argument [all …]
|
D | classmate-laptop.c | 86 static acpi_status cmpc_start_accel_v4(acpi_handle handle) in cmpc_start_accel_v4() argument 102 status = acpi_evaluate_object(handle, "ACMD", &input, NULL); in cmpc_start_accel_v4() 106 static acpi_status cmpc_stop_accel_v4(acpi_handle handle) in cmpc_stop_accel_v4() argument 122 status = acpi_evaluate_object(handle, "ACMD", &input, NULL); in cmpc_stop_accel_v4() 126 static acpi_status cmpc_accel_set_sensitivity_v4(acpi_handle handle, int val) in cmpc_accel_set_sensitivity_v4() argument 141 return acpi_evaluate_object(handle, "ACMD", &input, NULL); in cmpc_accel_set_sensitivity_v4() 144 static acpi_status cmpc_accel_set_g_select_v4(acpi_handle handle, int val) in cmpc_accel_set_g_select_v4() argument 159 return acpi_evaluate_object(handle, "ACMD", &input, NULL); in cmpc_accel_set_g_select_v4() 162 static acpi_status cmpc_get_accel_v4(acpi_handle handle, in cmpc_get_accel_v4() argument 183 status = acpi_evaluate_object(handle, "ACMD", &input, &output); in cmpc_get_accel_v4() [all …]
|
D | ideapad-laptop.c | 107 static int read_method_int(acpi_handle handle, const char *method, int *val) in read_method_int() argument 112 status = acpi_evaluate_integer(handle, (char *)method, NULL, &result); in read_method_int() 122 static int method_vpcr(acpi_handle handle, int cmd, int *ret) in method_vpcr() argument 134 status = acpi_evaluate_integer(handle, "VPCR", ¶ms, &result); in method_vpcr() 145 static int method_vpcw(acpi_handle handle, int cmd, int data) in method_vpcw() argument 158 status = acpi_evaluate_object(handle, "VPCW", ¶ms, NULL); in method_vpcw() 164 static int read_ec_data(acpi_handle handle, int cmd, unsigned long *data) in read_ec_data() argument 169 if (method_vpcw(handle, 1, cmd)) in read_ec_data() 175 if (method_vpcr(handle, 1, &val)) in read_ec_data() 178 if (method_vpcr(handle, 0, &val)) in read_ec_data() [all …]
|
D | toshiba_bluetooth.c | 69 static int toshiba_bluetooth_present(acpi_handle handle) in toshiba_bluetooth_present() argument 79 result = acpi_evaluate_integer(handle, "_STA", NULL, &bt_present); in toshiba_bluetooth_present() 91 static int toshiba_bluetooth_status(acpi_handle handle) in toshiba_bluetooth_status() argument 96 result = acpi_evaluate_integer(handle, "BTST", NULL, &status); in toshiba_bluetooth_status() 105 static int toshiba_bluetooth_enable(acpi_handle handle) in toshiba_bluetooth_enable() argument 109 result = acpi_evaluate_object(handle, "AUSB", NULL, NULL); in toshiba_bluetooth_enable() 115 result = acpi_evaluate_object(handle, "BTPO", NULL, NULL); in toshiba_bluetooth_enable() 124 static int toshiba_bluetooth_disable(acpi_handle handle) in toshiba_bluetooth_disable() argument 128 result = acpi_evaluate_object(handle, "BTPF", NULL, NULL); in toshiba_bluetooth_disable() 134 result = acpi_evaluate_object(handle, "DUSB", NULL, NULL); in toshiba_bluetooth_disable() [all …]
|
D | toshiba_haps.c | 39 static int toshiba_haps_reset_protection(acpi_handle handle) in toshiba_haps_reset_protection() argument 43 status = acpi_evaluate_object(handle, "RSSS", NULL, NULL); in toshiba_haps_reset_protection() 52 static int toshiba_haps_protection_level(acpi_handle handle, int level) in toshiba_haps_protection_level() argument 56 status = acpi_execute_simple_method(handle, "PTLV", level); in toshiba_haps_protection_level() 95 ret = toshiba_haps_protection_level(haps->acpi_dev->handle, level); in protection_level_store() 121 ret = toshiba_haps_reset_protection(haps->acpi_dev->handle); in reset_protection_store() 162 static int toshiba_haps_available(acpi_handle handle) in toshiba_haps_available() argument 171 status = acpi_evaluate_integer(handle, "_STA", NULL, in toshiba_haps_available() 189 if (!toshiba_haps_available(acpi_dev->handle)) in toshiba_haps_add() 204 ret = toshiba_haps_protection_level(acpi_dev->handle, 2); in toshiba_haps_add() [all …]
|
D | asus-laptop.c | 290 acpi_handle handle; /* the handle of the hotk device */ member 377 static int write_acpi_int_ret(acpi_handle handle, const char *method, int val, in write_acpi_int_ret() argument 384 if (!handle) in write_acpi_int_ret() 392 status = acpi_evaluate_object(handle, (char *)method, ¶ms, output); in write_acpi_int_ret() 399 static int write_acpi_int(acpi_handle handle, const char *method, int val) in write_acpi_int() argument 401 return write_acpi_int_ret(handle, method, val, NULL); in write_acpi_int() 404 static int acpi_check_handle(acpi_handle handle, const char *method, in acpi_check_handle() argument 413 status = acpi_get_handle(handle, (char *)method, in acpi_check_handle() 418 status = acpi_get_handle(handle, (char *)method, in acpi_check_handle() 433 !acpi_check_handle(asus->handle, METHOD_PEGA_ENABLE, NULL) && in asus_check_pega_lucid() [all …]
|
D | wmi.c | 66 acpi_handle handle; member 225 acpi_handle handle; in wmi_method_enable() local 228 handle = wblock->handle; in wmi_method_enable() 231 status = acpi_execute_simple_method(handle, method, enable); in wmi_method_enable() 257 acpi_handle handle; in wmi_evaluate_method() local 267 handle = wblock->handle; in wmi_evaluate_method() 296 status = acpi_evaluate_object(handle, method, &input, out); in wmi_evaluate_method() 315 acpi_handle handle; in wmi_query_block() local 329 handle = wblock->handle; in wmi_query_block() 355 if (acpi_has_method(handle, wc_method)) in wmi_query_block() [all …]
|
D | sony-laptop.c | 143 unsigned int handle); 145 unsigned int handle); 148 unsigned int handle); 155 unsigned int handle); 159 unsigned int handle); 182 unsigned int handle); 197 unsigned int handle); 739 static union acpi_object *__call_snc_method(acpi_handle handle, char *method, in __call_snc_method() argument 753 status = acpi_evaluate_object(handle, method, ¶ms, &output); in __call_snc_method() 758 status = acpi_evaluate_object(handle, method, NULL, &output); in __call_snc_method() [all …]
|
D | eeepc-laptop.c | 160 acpi_handle handle; /* the handle of the acpi device */ member 190 static int write_acpi_int(acpi_handle handle, const char *method, int val) in write_acpi_int() argument 194 status = acpi_execute_simple_method(handle, (char *)method, val); in write_acpi_int() 199 static int read_acpi_int(acpi_handle handle, const char *method, int *val) in read_acpi_int() argument 204 status = acpi_evaluate_integer(handle, (char *)method, NULL, &result); in read_acpi_int() 223 if (write_acpi_int(eeepc->handle, method, value)) in set_acpi() 238 if (read_acpi_int(eeepc->handle, method, &value)) in get_acpi() 244 acpi_handle *handle) in acpi_setter_handle() argument 254 status = acpi_get_handle(eeepc->handle, (char *)method, in acpi_setter_handle() 255 handle); in acpi_setter_handle() [all …]
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_context.c | 36 drm_context_t handle; member 141 pos->handle != DRM_KERNEL_CONTEXT) { in drm_legacy_ctxbitmap_flush() 143 dev->driver->context_dtor(dev, pos->handle); in drm_legacy_ctxbitmap_flush() 145 drm_legacy_ctxbitmap_free(dev, pos->handle); in drm_legacy_ctxbitmap_flush() 191 request->handle = NULL; in drm_legacy_getsareactx() 194 request->handle = in drm_legacy_getsareactx() 202 if (request->handle == NULL) in drm_legacy_getsareactx() 234 && r_list->user_token == (unsigned long) request->handle) in drm_legacy_setsareactx() 338 ctx.handle = i; in drm_legacy_resctx() 369 ctx->handle = drm_legacy_ctxbitmap_next(dev); in drm_legacy_addctx() [all …]
|
D | drm_memory.c | 97 void drm_free_agp(struct agp_memory * handle, int pages) in drm_free_agp() argument 99 agp_free_memory(handle); in drm_free_agp() 103 int drm_bind_agp(struct agp_memory * handle, unsigned int start) in drm_bind_agp() argument 105 return agp_bind_memory(handle, start); in drm_bind_agp() 109 int drm_unbind_agp(struct agp_memory * handle) in drm_unbind_agp() argument 111 return agp_unbind_memory(handle); in drm_unbind_agp() 126 map->handle = agp_remap(map->offset, map->size, dev); in drm_legacy_ioremap() 128 map->handle = ioremap(map->offset, map->size); in drm_legacy_ioremap() 135 map->handle = agp_remap(map->offset, map->size, dev); in drm_legacy_ioremap_wc() 137 map->handle = ioremap_wc(map->offset, map->size); in drm_legacy_ioremap_wc() [all …]
|
D | drm_ioc32.c | 188 u32 handle; /**< User-space: "Handle" to pass to mmap() */ member 199 void *handle; in compat_drm_getmap() local 218 || __get_user(handle, &map->handle) in compat_drm_getmap() 222 m32.handle = (unsigned long)handle; in compat_drm_getmap() 236 void *handle; in compat_drm_addmap() local 256 || __get_user(handle, &map->handle)) in compat_drm_addmap() 259 m32.handle = (unsigned long)handle; in compat_drm_addmap() 260 if (m32.handle != (unsigned long)handle) in compat_drm_addmap() 263 handle, m32.type, m32.offset); in compat_drm_addmap() 276 u32 handle; in compat_drm_rmmap() local [all …]
|
D | drm_prime.c | 66 uint32_t handle; member 75 struct dma_buf *dma_buf, uint32_t handle) in drm_prime_add_buf_handle() argument 85 member->handle = handle; in drm_prime_add_buf_handle() 91 uint32_t handle) in drm_prime_lookup_buf_by_handle() argument 96 if (member->handle == handle) in drm_prime_lookup_buf_by_handle() 105 uint32_t *handle) in drm_prime_lookup_buf_handle() argument 111 *handle = member->handle; in drm_prime_lookup_buf_handle() 405 struct drm_file *file_priv, uint32_t handle, in drm_gem_prime_handle_to_fd() argument 414 obj = drm_gem_object_lookup(dev, file_priv, handle); in drm_gem_prime_handle_to_fd() 420 dmabuf = drm_prime_lookup_buf_by_handle(&file_priv->prime, handle); in drm_gem_prime_handle_to_fd() [all …]
|
/linux-4.4.14/net/rfkill/ |
D | input.c | 196 static void rfkill_event(struct input_handle *handle, unsigned int type, in rfkill_event() argument 224 struct input_handle *handle; in rfkill_connect() local 227 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in rfkill_connect() 228 if (!handle) in rfkill_connect() 231 handle->dev = dev; in rfkill_connect() 232 handle->handler = handler; in rfkill_connect() 233 handle->name = "rfkill"; in rfkill_connect() 236 error = input_register_handle(handle); in rfkill_connect() 240 error = input_open_device(handle); in rfkill_connect() 247 input_unregister_handle(handle); in rfkill_connect() [all …]
|
/linux-4.4.14/arch/arm/include/asm/xen/ |
D | page-coherent.h | 11 void __xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, 15 dma_addr_t handle, size_t size, enum dma_data_direction dir); 18 dma_addr_t handle, size_t size, enum dma_data_direction dir); 60 static inline void xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in xen_dma_unmap_page() argument 64 unsigned long pfn = PFN_DOWN(handle); in xen_dma_unmap_page() 75 __generic_dma_ops(hwdev)->unmap_page(hwdev, handle, size, dir, attrs); in xen_dma_unmap_page() 77 __xen_dma_unmap_page(hwdev, handle, size, dir, attrs); in xen_dma_unmap_page() 81 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_cpu() argument 83 unsigned long pfn = PFN_DOWN(handle); in xen_dma_sync_single_for_cpu() 86 __generic_dma_ops(hwdev)->sync_single_for_cpu(hwdev, handle, size, dir); in xen_dma_sync_single_for_cpu() [all …]
|
/linux-4.4.14/arch/avr32/mm/ |
D | dma-coherent.c | 41 dma_addr_t *handle, gfp_t gfp) in __dma_alloc() argument 72 *handle = page_to_bus(page); in __dma_alloc() 88 struct page *page, dma_addr_t handle) in __dma_free() argument 97 dma_addr_t *handle, gfp_t gfp) in dma_alloc_coherent() argument 102 page = __dma_alloc(dev, size, handle, gfp); in dma_alloc_coherent() 111 void *cpu_addr, dma_addr_t handle) in dma_free_coherent() argument 117 cpu_addr, (unsigned long)handle, (unsigned)size); in dma_free_coherent() 120 __dma_free(dev, size, page, handle); in dma_free_coherent() 125 dma_addr_t *handle, gfp_t gfp) in dma_alloc_writecombine() argument 130 page = __dma_alloc(dev, size, handle, gfp); in dma_alloc_writecombine() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/ |
D | ramht.c | 26 nvkm_ramht_hash(struct nvkm_ramht *ramht, int chid, u32 handle) in nvkm_ramht_hash() argument 30 while (handle) { in nvkm_ramht_hash() 31 hash ^= (handle & ((1 << ramht->bits) - 1)); in nvkm_ramht_hash() 32 handle >>= ramht->bits; in nvkm_ramht_hash() 40 nvkm_ramht_search(struct nvkm_ramht *ramht, int chid, u32 handle) in nvkm_ramht_search() argument 44 co = ho = nvkm_ramht_hash(ramht, chid, handle); in nvkm_ramht_search() 47 if (ramht->data[co].handle == handle) in nvkm_ramht_search() 60 int chid, int addr, u32 handle, u32 context) in nvkm_ramht_update() argument 68 data->handle = handle; in nvkm_ramht_update() 92 nvkm_wo32(ramht->gpuobj, (co << 3) + 0, handle); in nvkm_ramht_update() [all …]
|
/linux-4.4.14/drivers/xen/ |
D | xen-acpi-cpuhotplug.c | 53 status = acpi_evaluate_object(pr->handle, NULL, NULL, &buffer); in xen_acpi_processor_enable() 62 status = acpi_evaluate_integer(pr->handle, METHOD_NAME__UID, in xen_acpi_processor_enable() 97 pr->handle = device->handle; in xen_acpi_processor_add() 128 static int is_processor_present(acpi_handle handle) in is_processor_present() argument 134 status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); in is_processor_present() 149 static int xen_apic_id(acpi_handle handle) in xen_apic_id() argument 156 if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer))) in xen_apic_id() 190 apic_id = xen_apic_id(pr->handle); in xen_hotadd_cpu() 197 pxm = xen_acpi_get_pxm(pr->handle); in xen_hotadd_cpu() 219 if (!is_processor_present(pr->handle)) in xen_acpi_cpu_hotadd() [all …]
|
D | xen-acpi-memhotplug.c | 78 pxm = xen_acpi_get_pxm(mem_device->device->handle); in xen_acpi_memory_enable_device() 149 status = acpi_walk_resources(mem_device->device->handle, in acpi_memory_get_device_resources() 162 static int acpi_memory_get_device(acpi_handle handle, in acpi_memory_get_device() argument 170 acpi_bus_get_device(handle, &device); in acpi_memory_get_device() 178 result = acpi_bus_scan(handle); in acpi_memory_get_device() 185 acpi_bus_get_device(handle, &device); in acpi_memory_get_device() 210 if (ACPI_FAILURE(acpi_evaluate_integer(mem_device->device->handle, in acpi_memory_check_device() 232 static void acpi_memory_device_notify(acpi_handle handle, u32 event, void *data) in acpi_memory_device_notify() argument 248 if (acpi_memory_get_device(handle, &mem_device)) { in acpi_memory_device_notify() 261 if (acpi_bus_get_device(handle, &device)) { in acpi_memory_device_notify() [all …]
|
D | xen-acpi-pad.c | 57 static int acpi_pad_pur(acpi_handle handle) in acpi_pad_pur() argument 63 if (ACPI_FAILURE(acpi_evaluate_object(handle, "_PUR", NULL, &buffer))) in acpi_pad_pur() 80 static void acpi_pad_handle_notify(acpi_handle handle) in acpi_pad_handle_notify() argument 90 idle_nums = acpi_pad_pur(handle); in acpi_pad_handle_notify() 99 acpi_evaluate_ost(handle, ACPI_PROCESSOR_AGGREGATOR_NOTIFY, in acpi_pad_handle_notify() 104 static void acpi_pad_notify(acpi_handle handle, u32 event, in acpi_pad_notify() argument 109 acpi_pad_handle_notify(handle); in acpi_pad_notify() 124 status = acpi_install_notify_handler(device->handle, in acpi_pad_add() 138 acpi_remove_notify_handler(device->handle, in acpi_pad_remove()
|
D | pci.c | 56 acpi_handle handle; in xen_add_device() local 70 handle = ACPI_HANDLE(&pci_dev->dev); in xen_add_device() 72 if (!handle && pci_dev->is_virtfn) in xen_add_device() 73 handle = ACPI_HANDLE(physfn->bus->bridge); in xen_add_device() 75 if (!handle) { in xen_add_device() 82 handle = acpi_pci_get_bridge_handle(pbus); in xen_add_device() 83 if (handle) in xen_add_device() 87 if (handle) { in xen_add_device() 93 status = acpi_evaluate_integer(handle, "_PXM", in xen_add_device() 100 status = acpi_get_parent(handle, &handle); in xen_add_device()
|
/linux-4.4.14/tools/usb/ffs-aio-example/simple/host_app/ |
D | test.c | 51 libusb_device_handle *handle; member 67 state->handle = NULL; in test_init() 102 ret = libusb_open(state->found, &state->handle); in test_init() 108 if (libusb_claim_interface(state->handle, 0)) { in test_init() 109 ret = libusb_detach_kernel_driver(state->handle, 0); in test_init() 116 ret = libusb_claim_interface(state->handle, 0); in test_init() 128 libusb_attach_kernel_driver(state->handle, 0); in test_init() 131 libusb_close(state->handle); in test_init() 147 libusb_release_interface(state->handle, 0); in test_exit() 149 libusb_attach_kernel_driver(state->handle, 0); in test_exit() [all …]
|
/linux-4.4.14/tools/usb/ffs-aio-example/multibuff/host_app/ |
D | test.c | 51 libusb_device_handle *handle; member 67 state->handle = NULL; in test_init() 102 ret = libusb_open(state->found, &state->handle); in test_init() 108 if (libusb_claim_interface(state->handle, 0)) { in test_init() 109 ret = libusb_detach_kernel_driver(state->handle, 0); in test_init() 116 ret = libusb_claim_interface(state->handle, 0); in test_init() 128 libusb_attach_kernel_driver(state->handle, 0); in test_init() 131 libusb_close(state->handle); in test_init() 147 libusb_release_interface(state->handle, 0); in test_exit() 149 libusb_attach_kernel_driver(state->handle, 0); in test_exit() [all …]
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | mpic_timer.h | 33 void mpic_start_timer(struct mpic_timer *handle); 34 void mpic_stop_timer(struct mpic_timer *handle); 35 void mpic_get_remain_time(struct mpic_timer *handle, struct timeval *time); 36 void mpic_free_timer(struct mpic_timer *handle); 40 void mpic_start_timer(struct mpic_timer *handle) { } in mpic_start_timer() argument 41 void mpic_stop_timer(struct mpic_timer *handle) { } in mpic_stop_timer() argument 42 void mpic_get_remain_time(struct mpic_timer *handle, struct timeval *time) { } in mpic_get_remain_time() argument 43 void mpic_free_timer(struct mpic_timer *handle) { } in mpic_free_timer() argument
|
D | fsl_hcalls.h | 121 static inline unsigned int fh_partition_get_dtprop(int handle, in fh_partition_get_dtprop() argument 138 r3 = handle; in fh_partition_get_dtprop() 175 static inline unsigned int fh_partition_set_dtprop(int handle, in fh_partition_set_dtprop() argument 192 r3 = handle; in fh_partition_set_dtprop() 534 static inline unsigned int fh_get_core_state(unsigned int handle, in fh_get_core_state() argument 542 r3 = handle; in fh_get_core_state() 565 static inline unsigned int fh_enter_nap(unsigned int handle, unsigned int vcpu) in fh_enter_nap() argument 572 r3 = handle; in fh_enter_nap() 590 static inline unsigned int fh_exit_nap(unsigned int handle, unsigned int vcpu) in fh_exit_nap() argument 597 r3 = handle; in fh_exit_nap() [all …]
|
/linux-4.4.14/drivers/macintosh/ |
D | mac_hid.c | 70 static bool mac_hid_emumouse_filter(struct input_handle *handle, in mac_hid_emumouse_filter() argument 96 struct input_handle *handle; in mac_hid_emumouse_connect() local 103 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in mac_hid_emumouse_connect() 104 if (!handle) in mac_hid_emumouse_connect() 107 handle->dev = dev; in mac_hid_emumouse_connect() 108 handle->handler = handler; in mac_hid_emumouse_connect() 109 handle->name = "mac-button-emul"; in mac_hid_emumouse_connect() 111 error = input_register_handle(handle); in mac_hid_emumouse_connect() 119 error = input_open_device(handle); in mac_hid_emumouse_connect() 130 input_unregister_handle(handle); in mac_hid_emumouse_connect() [all …]
|
/linux-4.4.14/mm/ |
D | zbud.c | 128 static int zbud_zpool_evict(struct zbud_pool *pool, unsigned long handle) in zbud_zpool_evict() argument 131 return pool->zpool_ops->evict(pool->zpool, handle); in zbud_zpool_evict() 160 unsigned long *handle) in zbud_zpool_malloc() argument 162 return zbud_alloc(pool, size, gfp, handle); in zbud_zpool_malloc() 164 static void zbud_zpool_free(void *pool, unsigned long handle) in zbud_zpool_free() argument 166 zbud_free(pool, handle); in zbud_zpool_free() 188 static void *zbud_zpool_map(void *pool, unsigned long handle, in zbud_zpool_map() argument 191 return zbud_map(pool, handle); in zbud_zpool_map() 193 static void zbud_zpool_unmap(void *pool, unsigned long handle) in zbud_zpool_unmap() argument 195 zbud_unmap(pool, handle); in zbud_zpool_unmap() [all …]
|
D | zsmalloc.c | 240 unsigned long handle; member 305 static void free_handle(struct zs_pool *pool, unsigned long handle) in free_handle() argument 307 kmem_cache_free(pool->handle_cachep, (void *)handle); in free_handle() 310 static void record_obj(unsigned long handle, unsigned long obj) in record_obj() argument 317 WRITE_ONCE(*(unsigned long *)handle, obj); in record_obj() 337 unsigned long *handle) in zs_zpool_malloc() argument 339 *handle = zs_malloc(pool, size); in zs_zpool_malloc() 340 return *handle ? 0 : -1; in zs_zpool_malloc() 342 static void zs_zpool_free(void *pool, unsigned long handle) in zs_zpool_free() argument 344 zs_free(pool, handle); in zs_zpool_free() [all …]
|
D | zpool.c | 255 unsigned long *handle) in zpool_malloc() argument 257 return zpool->driver->malloc(zpool->pool, size, gfp, handle); in zpool_malloc() 274 void zpool_free(struct zpool *zpool, unsigned long handle) in zpool_free() argument 276 zpool->driver->free(zpool->pool, handle); in zpool_free() 324 void *zpool_map_handle(struct zpool *zpool, unsigned long handle, in zpool_map_handle() argument 327 return zpool->driver->map(zpool->pool, handle, mapmode); in zpool_map_handle() 340 void zpool_unmap_handle(struct zpool *zpool, unsigned long handle) in zpool_unmap_handle() argument 342 zpool->driver->unmap(zpool->pool, handle); in zpool_unmap_handle()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_bts.c | 32 struct perf_output_handle handle; member 179 if (local_read(&buf->data_size) >= bts->handle.size || in bts_buffer_is_full() 180 bts->handle.size - local_read(&buf->data_size) < BTS_RECORD_SIZE) in bts_buffer_is_full() 190 struct bts_buffer *buf = perf_get_aux(&bts->handle); in bts_update() 219 struct bts_buffer *buf = perf_get_aux(&bts->handle); in __bts_event_start() 287 if (bts->handle.event && bts->started) in intel_bts_enable_local() 288 __bts_event_start(bts->handle.event); in intel_bts_enable_local() 295 if (bts->handle.event) in intel_bts_disable_local() 296 __bts_event_stop(bts->handle.event); in intel_bts_disable_local() 300 bts_buffer_reset(struct bts_buffer *buf, struct perf_output_handle *handle) in bts_buffer_reset() argument [all …]
|
/linux-4.4.14/fs/ocfs2/ |
D | namei.c | 75 handle_t *handle, 86 handle_t *handle, 95 handle_t *handle, 244 handle_t *handle = NULL; in ocfs2_mknod() local 369 handle = ocfs2_start_trans(osb, ocfs2_mknod_credits(osb->sb, in ocfs2_mknod() 372 if (IS_ERR(handle)) { in ocfs2_mknod() 373 status = PTR_ERR(handle); in ocfs2_mknod() 374 handle = NULL; in ocfs2_mknod() 390 &new_fe_bh, parent_fe_bh, handle, in ocfs2_mknod() 398 status = ocfs2_fill_new_dir(osb, handle, dir, inode, in ocfs2_mknod() [all …]
|
D | alloc.c | 529 static inline int ocfs2_et_root_journal_access(handle_t *handle, in ocfs2_et_root_journal_access() argument 533 return et->et_root_journal_access(handle, et->et_ci, et->et_root_bh, in ocfs2_et_root_journal_access() 571 static void ocfs2_adjust_rightmost_records(handle_t *handle, 726 int ocfs2_path_bh_journal_access(handle_t *handle, in ocfs2_path_bh_journal_access() argument 739 return access(handle, ci, path->p_node[idx].bh, in ocfs2_path_bh_journal_access() 747 handle_t *handle, in ocfs2_journal_access_path() argument 756 ret = ocfs2_path_bh_journal_access(handle, ci, path, i); in ocfs2_journal_access_path() 995 static int ocfs2_create_new_meta_bhs(handle_t *handle, in ocfs2_create_new_meta_bhs() argument 1011 status = ocfs2_claim_metadata(handle, in ocfs2_create_new_meta_bhs() 1032 status = ocfs2_journal_access_eb(handle, et->et_ci, in ocfs2_create_new_meta_bhs() [all …]
|
D | journal.h | 259 handle_t *handle); 260 int ocfs2_extend_trans(handle_t *handle, int nblocks); 261 int ocfs2_allocate_extend_trans(handle_t *handle, 290 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci, 293 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci, 296 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci, 299 int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci, 302 int ocfs2_journal_access_xb(handle_t *handle, struct ocfs2_caching_info *ci, 305 int ocfs2_journal_access_dq(handle_t *handle, struct ocfs2_caching_info *ci, 308 int ocfs2_journal_access_db(handle_t *handle, struct ocfs2_caching_info *ci, [all …]
|
D | file.c | 268 handle_t *handle; in ocfs2_update_inode_atime() local 271 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS); in ocfs2_update_inode_atime() 272 if (IS_ERR(handle)) { in ocfs2_update_inode_atime() 273 ret = PTR_ERR(handle); in ocfs2_update_inode_atime() 278 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), bh, in ocfs2_update_inode_atime() 293 ocfs2_update_inode_fsync_trans(handle, inode, 0); in ocfs2_update_inode_atime() 294 ocfs2_journal_dirty(handle, bh); in ocfs2_update_inode_atime() 297 ocfs2_commit_trans(OCFS2_SB(inode->i_sb), handle); in ocfs2_update_inode_atime() 302 int ocfs2_set_inode_size(handle_t *handle, in ocfs2_set_inode_size() argument 313 status = ocfs2_mark_inode_dirty(handle, inode, fe_bh); in ocfs2_set_inode_size() [all …]
|
D | acl.c | 169 handle_t *handle, umode_t new_mode) in ocfs2_acl_set_mode() argument 183 if (handle == NULL) { in ocfs2_acl_set_mode() 184 handle = ocfs2_start_trans(OCFS2_SB(inode->i_sb), in ocfs2_acl_set_mode() 186 if (IS_ERR(handle)) { in ocfs2_acl_set_mode() 187 ret = PTR_ERR(handle); in ocfs2_acl_set_mode() 196 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_acl_set_mode() 208 ocfs2_update_inode_fsync_trans(handle, inode, 0); in ocfs2_acl_set_mode() 210 ocfs2_journal_dirty(handle, di_bh); in ocfs2_acl_set_mode() 214 ocfs2_commit_trans(OCFS2_SB(inode->i_sb), handle); in ocfs2_acl_set_mode() 224 int ocfs2_set_acl(handle_t *handle, in ocfs2_set_acl() argument [all …]
|
D | dir.c | 76 handle_t *handle, 170 static int ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_link_trailer() argument 178 ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh, in ocfs2_dx_dir_link_trailer() 190 ocfs2_journal_dirty(handle, dx_root_bh); in ocfs2_dx_dir_link_trailer() 1106 int ocfs2_update_entry(struct inode *dir, handle_t *handle, in ocfs2_update_entry() argument 1124 ret = access(handle, INODE_CACHE(dir), de_bh, in ocfs2_update_entry() 1134 ocfs2_journal_dirty(handle, de_bh); in ocfs2_update_entry() 1144 static int __ocfs2_delete_entry(handle_t *handle, struct inode *dir, in __ocfs2_delete_entry() argument 1166 status = access(handle, INODE_CACHE(dir), bh, in __ocfs2_delete_entry() 1178 ocfs2_journal_dirty(handle, bh); in __ocfs2_delete_entry() [all …]
|
D | localalloc.c | 61 handle_t *handle, 72 handle_t *handle, 381 handle_t *handle; in ocfs2_shutdown_local_alloc() local 427 handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS); in ocfs2_shutdown_local_alloc() 428 if (IS_ERR(handle)) { in ocfs2_shutdown_local_alloc() 429 mlog_errno(PTR_ERR(handle)); in ocfs2_shutdown_local_alloc() 430 handle = NULL; in ocfs2_shutdown_local_alloc() 444 status = ocfs2_journal_access_di(handle, INODE_CACHE(local_alloc_inode), in ocfs2_shutdown_local_alloc() 452 ocfs2_journal_dirty(handle, bh); in ocfs2_shutdown_local_alloc() 458 status = ocfs2_sync_local_to_main(osb, handle, alloc_copy, in ocfs2_shutdown_local_alloc() [all …]
|
D | suballoc.h | 90 handle_t *handle, 98 int ocfs2_block_group_set_bits(handle_t *handle, 105 int ocfs2_claim_metadata(handle_t *handle, 112 int ocfs2_claim_new_inode(handle_t *handle, 119 int ocfs2_claim_clusters(handle_t *handle, 128 int __ocfs2_claim_clusters(handle_t *handle, 135 int ocfs2_free_suballoc_bits(handle_t *handle, 141 int ocfs2_free_dinode(handle_t *handle, 145 int ocfs2_free_clusters(handle_t *handle, 150 int ocfs2_release_clusters(handle_t *handle, [all …]
|
D | refcounttree.c | 68 int (*cow_duplicate_clusters)(handle_t *handle, 561 handle_t *handle = NULL; in ocfs2_create_refcount_tree() local 584 handle = ocfs2_start_trans(osb, OCFS2_REFCOUNT_TREE_CREATE_CREDITS); in ocfs2_create_refcount_tree() 585 if (IS_ERR(handle)) { in ocfs2_create_refcount_tree() 586 ret = PTR_ERR(handle); in ocfs2_create_refcount_tree() 591 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh, in ocfs2_create_refcount_tree() 598 ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc, in ocfs2_create_refcount_tree() 621 ret = ocfs2_journal_access_rb(handle, &new_tree->rf_ci, new_bh, in ocfs2_create_refcount_tree() 644 ocfs2_journal_dirty(handle, new_bh); in ocfs2_create_refcount_tree() 654 ocfs2_journal_dirty(handle, di_bh); in ocfs2_create_refcount_tree() [all …]
|
D | suballoc.c | 85 static int ocfs2_block_group_fill(handle_t *handle, 110 handle_t *handle, 116 static int ocfs2_relink_block_group(handle_t *handle, 358 static int ocfs2_block_group_fill(handle_t *handle, in ocfs2_block_group_fill() argument 379 status = ocfs2_journal_access_gd(handle, in ocfs2_block_group_fill() 407 ocfs2_journal_dirty(handle, bg_bh); in ocfs2_block_group_fill() 435 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig() argument 446 status = ocfs2_claim_clusters(handle, ac, in ocfs2_block_group_alloc_contig() 468 status = ocfs2_block_group_fill(handle, alloc_inode, bg_bh, in ocfs2_block_group_alloc_contig() 480 handle_t *handle, in ocfs2_block_group_claim_bits() argument [all …]
|
D | export.c | 51 struct ocfs2_inode_handle *handle) in ocfs2_get_dentry() argument 55 u64 blkno = handle->ih_blkno; in ocfs2_get_dentry() 59 trace_ocfs2_get_dentry_begin(sb, handle, (unsigned long long)blkno); in ocfs2_get_dentry() 114 handle->ih_generation); in ocfs2_get_dentry() 127 if (handle->ih_generation != inode->i_generation) { in ocfs2_get_dentry() 130 handle->ih_generation, in ocfs2_get_dentry() 241 struct ocfs2_inode_handle handle; in ocfs2_fh_to_dentry() local 246 handle.ih_blkno = (u64)le32_to_cpu(fid->raw[0]) << 32; in ocfs2_fh_to_dentry() 247 handle.ih_blkno |= (u64)le32_to_cpu(fid->raw[1]); in ocfs2_fh_to_dentry() 248 handle.ih_generation = le32_to_cpu(fid->raw[2]); in ocfs2_fh_to_dentry() [all …]
|
D | quota_local.c | 97 handle_t *handle; in ocfs2_modify_bh() local 100 handle = ocfs2_start_trans(OCFS2_SB(sb), in ocfs2_modify_bh() 102 if (IS_ERR(handle)) { in ocfs2_modify_bh() 103 status = PTR_ERR(handle); in ocfs2_modify_bh() 107 status = ocfs2_journal_access_dq(handle, INODE_CACHE(inode), bh, in ocfs2_modify_bh() 111 ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_modify_bh() 117 ocfs2_journal_dirty(handle, bh); in ocfs2_modify_bh() 119 status = ocfs2_commit_trans(OCFS2_SB(sb), handle); in ocfs2_modify_bh() 467 handle_t *handle; in ocfs2_recover_local_quota_file() local 516 handle = ocfs2_start_trans(OCFS2_SB(sb), in ocfs2_recover_local_quota_file() [all …]
|
D | move_extents.c | 58 static int __ocfs2_move_extent(handle_t *handle, in __ocfs2_move_extent() argument 72 ret = ocfs2_duplicate_clusters_by_page(handle, inode, cpos, in __ocfs2_move_extent() 117 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), in __ocfs2_move_extent() 125 ret = ocfs2_split_extent(handle, &context->et, path, index, in __ocfs2_move_extent() 133 ocfs2_journal_dirty(handle, context->et.et_root_bh); in __ocfs2_move_extent() 142 ret = ocfs2_decrease_refcount(inode, handle, in __ocfs2_move_extent() 148 ret = ocfs2_truncate_log_append(osb, handle, in __ocfs2_move_extent() 152 ocfs2_update_inode_fsync_trans(handle, inode, 0); in __ocfs2_move_extent() 229 handle_t *handle; in ocfs2_defrag_extent() local 289 handle = ocfs2_start_trans(osb, credits); in ocfs2_defrag_extent() [all …]
|
D | quota_global.c | 224 handle_t *handle = journal_current_handle(); in ocfs2_quota_write() local 227 if (!handle) { in ocfs2_quota_write() 278 err = ocfs2_journal_access_dq(handle, INODE_CACHE(gqinode), bh, in ocfs2_quota_write() 284 ocfs2_journal_dirty(handle, bh); in ocfs2_quota_write() 292 ocfs2_mark_inode_dirty(handle, gqinode, oinfo->dqi_gqi_bh); in ocfs2_quota_write() 593 handle_t *handle; in ocfs2_sync_dquot_helper() local 608 handle = ocfs2_start_trans(osb, OCFS2_QSYNC_CREDITS); in ocfs2_sync_dquot_helper() 609 if (IS_ERR(handle)) { in ocfs2_sync_dquot_helper() 610 status = PTR_ERR(handle); in ocfs2_sync_dquot_helper() 623 ocfs2_commit_trans(osb, handle); in ocfs2_sync_dquot_helper() [all …]
|
D | dir.h | 60 int ocfs2_delete_entry(handle_t *handle, 63 int __ocfs2_add_entry(handle_t *handle, 69 static inline int ocfs2_add_entry(handle_t *handle, in ocfs2_add_entry() argument 75 return __ocfs2_add_entry(handle, d_inode(dentry->d_parent), in ocfs2_add_entry() 79 int ocfs2_update_entry(struct inode *dir, handle_t *handle, 105 handle_t *handle,
|
D | alloc.h | 96 int ocfs2_insert_extent(handle_t *handle, 109 int ocfs2_add_clusters_in_btree(handle_t *handle, 119 int ocfs2_split_extent(handle_t *handle, 128 handle_t *handle, u32 cpos, u32 len, u32 phys, 131 int ocfs2_change_extent_flag(handle_t *handle, 137 int ocfs2_remove_extent(handle_t *handle, struct ocfs2_extent_tree *et, 187 handle_t *handle, 229 int ocfs2_zero_range_for_truncate(struct inode *inode, handle_t *handle, 273 void ocfs2_map_and_dirty_page(struct inode *inode, handle_t *handle, 310 int ocfs2_path_bh_journal_access(handle_t *handle, [all …]
|
D | xattr.c | 78 handle_t *handle; member 148 int (*xlo_journal_access)(handle_t *handle, struct ocfs2_xa_loc *loc, 150 void (*xlo_journal_dirty)(handle_t *handle, struct ocfs2_xa_loc *loc); 298 static int ocfs2_mv_xattr_buckets(struct inode *inode, handle_t *handle, 428 static int ocfs2_xattr_bucket_journal_access(handle_t *handle, in ocfs2_xattr_bucket_journal_access() argument 435 rc = ocfs2_journal_access(handle, in ocfs2_xattr_bucket_journal_access() 447 static void ocfs2_xattr_bucket_journal_dirty(handle_t *handle, in ocfs2_xattr_bucket_journal_dirty() argument 459 ocfs2_journal_dirty(handle, bucket->bu_bhs[i]); in ocfs2_xattr_bucket_journal_dirty() 713 handle_t *handle = ctxt->handle; in ocfs2_xattr_extend_allocation() local 723 status = vb->vb_access(handle, INODE_CACHE(inode), vb->vb_bh, in ocfs2_xattr_extend_allocation() [all …]
|
D | resize.c | 93 static int ocfs2_update_last_group_and_inode(handle_t *handle, in ocfs2_update_last_group_and_inode() argument 114 ret = ocfs2_journal_access_gd(handle, INODE_CACHE(bm_inode), in ocfs2_update_last_group_and_inode() 141 ocfs2_journal_dirty(handle, group_bh); in ocfs2_update_last_group_and_inode() 144 ret = ocfs2_journal_access_di(handle, INODE_CACHE(bm_inode), bm_bh, in ocfs2_update_last_group_and_inode() 169 ocfs2_journal_dirty(handle, bm_bh); in ocfs2_update_last_group_and_inode() 276 handle_t *handle; in ocfs2_group_extend() local 350 handle = ocfs2_start_trans(osb, OCFS2_GROUP_EXTEND_CREDITS); in ocfs2_group_extend() 351 if (IS_ERR(handle)) { in ocfs2_group_extend() 352 mlog_errno(PTR_ERR(handle)); in ocfs2_group_extend() 358 ret = ocfs2_update_last_group_and_inode(handle, main_bm_inode, in ocfs2_group_extend() [all …]
|
D | journal.c | 351 handle_t *handle; in ocfs2_start_trans() local 369 handle = jbd2_journal_start(journal, max_buffs); in ocfs2_start_trans() 370 if (IS_ERR(handle)) { in ocfs2_start_trans() 374 mlog_errno(PTR_ERR(handle)); in ocfs2_start_trans() 378 handle = ERR_PTR(-EROFS); in ocfs2_start_trans() 385 return handle; in ocfs2_start_trans() 389 handle_t *handle) in ocfs2_commit_trans() argument 394 BUG_ON(!handle); in ocfs2_commit_trans() 396 nested = handle->h_ref > 1; in ocfs2_commit_trans() 397 ret = jbd2_journal_stop(handle); in ocfs2_commit_trans() [all …]
|
/linux-4.4.14/net/sched/ |
D | cls_u32.c | 49 u32 handle; member 76 u32 handle; member 253 u32_lookup_ht(struct tc_u_common *tp_c, u32 handle) in u32_lookup_ht() argument 260 if (ht->handle == handle) in u32_lookup_ht() 267 u32_lookup_key(struct tc_u_hnode *ht, u32 handle) in u32_lookup_key() argument 272 sel = TC_U32_HASH(handle); in u32_lookup_key() 279 if (n->handle == handle) in u32_lookup_key() 286 static unsigned long u32_get(struct tcf_proto *tp, u32 handle) in u32_get() argument 291 if (TC_U32_HTID(handle) == TC_U32_ROOT) in u32_get() 294 ht = u32_lookup_ht(tp_c, TC_U32_HTID(handle)); in u32_get() [all …]
|
D | cls_route.c | 57 u32 handle; member 200 !(TC_H_MAJ(id^tp->q->handle)))) { in route4_classify() 230 static unsigned long route4_get(struct tcf_proto *tp, u32 handle) in route4_get() argument 240 h1 = to_hash(handle); in route4_get() 244 h2 = from_hash(handle >> 16); in route4_get() 253 if (f->handle == handle) in route4_get() 334 h = f->handle; in route4_delete() 382 u32 handle, struct route4_head *head, in route4_set_parms() argument 400 if (new && handle & 0x8000) in route4_set_parms() 423 if (handle && new) { in route4_set_parms() [all …]
|
D | cls_basic.c | 31 u32 handle; member 59 static unsigned long basic_get(struct tcf_proto *tp, u32 handle) in basic_get() argument 69 if (f->handle == handle) { in basic_get() 166 struct tcf_proto *tp, unsigned long base, u32 handle, in basic_change() argument 184 if (handle && fold->handle != handle) in basic_change() 194 if (handle) { in basic_change() 195 fnew->handle = handle; in basic_change() 197 fnew->handle = fold->handle; in basic_change() 210 fnew->handle = head->hgenerator; in basic_change() 260 t->tcm_handle = f->handle; in basic_dump()
|
D | cls_fw.c | 52 static u32 fw_hash(u32 handle) in fw_hash() argument 54 handle ^= (handle >> 16); in fw_hash() 55 handle ^= (handle >> 8); in fw_hash() 56 return handle % HTSIZE; in fw_hash() 88 !(TC_H_MAJ(id ^ tp->q->handle)))) { in fw_classify() 98 static unsigned long fw_get(struct tcf_proto *tp, u32 handle) in fw_get() argument 106 f = rtnl_dereference(head->ht[fw_hash(handle)]); in fw_get() 108 if (f->id == handle) in fw_get() 238 u32 handle, in fw_change() argument 249 return handle ? -EINVAL : 0; /* Succeed if it is old method. */ in fw_change() [all …]
|
D | cls_cgroup.c | 22 u32 handle; member 46 static unsigned long cls_cgroup_get(struct tcf_proto *tp, u32 handle) in cls_cgroup_get() argument 73 u32 handle, struct nlattr **tca, in cls_cgroup_change() argument 86 if (!head && !handle) in cls_cgroup_change() 89 if (head && handle != head->handle) in cls_cgroup_change() 97 new->handle = handle; in cls_cgroup_change() 167 t->tcm_handle = head->handle; in cls_cgroup_dump()
|
D | cls_bpf.c | 43 u32 handle; member 207 static unsigned long cls_bpf_get(struct tcf_proto *tp, u32 handle) in cls_bpf_get() argument 217 if (prog->handle == handle) { in cls_bpf_get() 356 u32 handle; in cls_bpf_grab_new_handle() local 365 handle = 0; in cls_bpf_grab_new_handle() 367 handle = head->hgen; in cls_bpf_grab_new_handle() 370 return handle; in cls_bpf_grab_new_handle() 375 u32 handle, struct nlattr **tca, in cls_bpf_change() argument 398 if (handle && oldprog->handle != handle) { in cls_bpf_change() 404 if (handle == 0) in cls_bpf_change() [all …]
|
/linux-4.4.14/drivers/acpi/acpica/ |
D | utxfmutex.c | 53 acpi_ut_get_mutex_object(acpi_handle handle, 74 acpi_ut_get_mutex_object(acpi_handle handle, in acpi_ut_get_mutex_object() argument 84 if (!ret_obj || (!handle && !pathname)) { in acpi_ut_get_mutex_object() 90 mutex_node = handle; in acpi_ut_get_mutex_object() 92 status = acpi_get_handle(handle, pathname, in acpi_ut_get_mutex_object() 136 acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout) in acpi_acquire_mutex() argument 143 status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj); in acpi_acquire_mutex() 171 acpi_status acpi_release_mutex(acpi_handle handle, acpi_string pathname) in acpi_release_mutex() argument 178 status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj); in acpi_release_mutex()
|
D | nsxfobj.c | 66 acpi_status acpi_get_type(acpi_handle handle, acpi_object_type * ret_type) in acpi_get_type() argument 81 if (handle == ACPI_ROOT_OBJECT) { in acpi_get_type() 93 node = acpi_ns_validate_handle(handle); in acpi_get_type() 120 acpi_status acpi_get_parent(acpi_handle handle, acpi_handle * ret_handle) in ACPI_EXPORT_SYMBOL() 132 if (handle == ACPI_ROOT_OBJECT) { in ACPI_EXPORT_SYMBOL() 143 node = acpi_ns_validate_handle(handle); in ACPI_EXPORT_SYMBOL()
|
/linux-4.4.14/include/linux/ |
D | zpool.h | 17 int (*evict)(struct zpool *pool, unsigned long handle); 49 unsigned long *handle); 51 void zpool_free(struct zpool *pool, unsigned long handle); 56 void *zpool_map_handle(struct zpool *pool, unsigned long handle, 59 void zpool_unmap_handle(struct zpool *pool, unsigned long handle); 93 unsigned long *handle); 94 void (*free)(void *pool, unsigned long handle); 99 void *(*map)(void *pool, unsigned long handle, 101 void (*unmap)(void *pool, unsigned long handle);
|
D | acpi.h | 49 return adev ? adev->handle : NULL; in acpi_device_handle() 195 int acpi_map_cpu(acpi_handle handle, phys_cpuid_t physid, int *pcpu); 200 int acpi_get_ioapic_id(acpi_handle handle, u32 gsi_base, u64 *phys_addr); 203 int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base); 204 int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base); 205 int acpi_ioapic_registered(acpi_handle handle, u32 gsi_base); 289 extern long acpi_is_video_device(acpi_handle handle); 297 int acpi_get_node(acpi_handle handle); 303 static inline int acpi_get_node(acpi_handle handle) in acpi_get_node() argument 362 acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context); [all …]
|
D | zbud.h | 9 int (*evict)(struct zbud_pool *pool, unsigned long handle); 15 unsigned long *handle); 16 void zbud_free(struct zbud_pool *pool, unsigned long handle); 18 void *zbud_map(struct zbud_pool *pool, unsigned long handle); 19 void zbud_unmap(struct zbud_pool *pool, unsigned long handle);
|
/linux-4.4.14/include/net/bluetooth/ |
D | hci.h | 527 __le16 handle; member 533 __le16 handle; member 587 __le16 handle; member 593 __le16 handle; member 598 __le16 handle; member 604 __le16 handle; member 622 __le16 handle; member 627 __le16 handle; member 633 __le16 handle; member 638 __le16 handle; member [all …]
|
/linux-4.4.14/arch/arm/xen/ |
D | mm.c | 47 static void dma_cache_maint(dma_addr_t handle, unsigned long offset, in dma_cache_maint() argument 54 xen_pfn = (handle >> XEN_PAGE_SHIFT) + offset / XEN_PAGE_SIZE; in dma_cache_maint() 87 static void __xen_dma_page_dev_to_cpu(struct device *hwdev, dma_addr_t handle, in __xen_dma_page_dev_to_cpu() argument 90 dma_cache_maint(handle & PAGE_MASK, handle & ~PAGE_MASK, size, dir, DMA_UNMAP); in __xen_dma_page_dev_to_cpu() 93 static void __xen_dma_page_cpu_to_dev(struct device *hwdev, dma_addr_t handle, in __xen_dma_page_cpu_to_dev() argument 96 dma_cache_maint(handle & PAGE_MASK, handle & ~PAGE_MASK, size, dir, DMA_MAP); in __xen_dma_page_cpu_to_dev() 111 void __xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in __xen_dma_unmap_page() argument 121 __xen_dma_page_dev_to_cpu(hwdev, handle, size, dir); in __xen_dma_unmap_page() 125 dma_addr_t handle, size_t size, enum dma_data_direction dir) in __xen_dma_sync_single_for_cpu() argument 129 __xen_dma_page_dev_to_cpu(hwdev, handle, size, dir); in __xen_dma_sync_single_for_cpu() [all …]
|
/linux-4.4.14/drivers/scsi/mpt3sas/ |
D | mpt3sas_scsih.c | 69 static int _scsih_add_device(struct MPT3SAS_ADAPTER *ioc, u16 handle, 257 u16 handle; member 401 _scsih_get_sas_address(struct MPT3SAS_ADAPTER *ioc, u16 handle, in _scsih_get_sas_address() argument 410 if (handle <= ioc->sas_hba.num_phys) { in _scsih_get_sas_address() 416 MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, handle))) { in _scsih_get_sas_address() 435 ioc->name, handle, ioc_status, in _scsih_get_sas_address() 610 __mpt3sas_get_sdev_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle) in __mpt3sas_get_sdev_by_handle() argument 617 if (sas_device->handle == handle) in __mpt3sas_get_sdev_by_handle() 621 if (sas_device->handle == handle) in __mpt3sas_get_sdev_by_handle() 641 mpt3sas_get_sdev_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle) in mpt3sas_get_sdev_by_handle() argument [all …]
|
D | mpt3sas_warpdrive.c | 59 u16 handle; in _warpdrive_disable_ddio() local 63 handle = 0xFFFF; in _warpdrive_disable_ddio() 65 &vol_pg1, MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE, handle))) { in _warpdrive_disable_ddio() 70 handle = le16_to_cpu(vol_pg1.DevHandle); in _warpdrive_disable_ddio() 72 raid_device = mpt3sas_raid_device_find_by_handle(ioc, handle); in _warpdrive_disable_ddio() 90 u16 handle; in mpt3sas_get_num_volumes() local 94 handle = 0xFFFF; in mpt3sas_get_num_volumes() 96 &vol_pg1, MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE, handle))) { in mpt3sas_get_num_volumes() 102 handle = le16_to_cpu(vol_pg1.DevHandle); in mpt3sas_get_num_volumes() 140 if ((mpt3sas_config_get_number_pds(ioc, raid_device->handle, in mpt3sas_init_warpdrive_properties() [all …]
|
/linux-4.4.14/include/uapi/linux/ |
D | phonet.h | 117 static inline __u8 pn_obj(__u16 handle) in pn_obj() argument 119 return handle & 0xff; in pn_obj() 122 static inline __u8 pn_dev(__u16 handle) in pn_dev() argument 124 return handle >> 8; in pn_dev() 127 static inline __u16 pn_port(__u16 handle) in pn_port() argument 129 return handle & 0x3ff; in pn_port() 132 static inline __u8 pn_addr(__u16 handle) in pn_addr() argument 134 return (handle >> 8) & 0xfc; in pn_addr() 151 __u16 handle) in pn_sockaddr_set_object() argument 153 spn->spn_dev = pn_dev(handle); in pn_sockaddr_set_object() [all …]
|
D | firewire-cdev.h | 137 __u32 handle; member 200 __u32 handle; member 326 __u32 handle; member 531 __u32 handle; member 575 __u32 handle; member 585 __u32 handle; member 642 __u32 handle; member 655 __u32 handle; member 702 __u32 handle; member 718 __u32 handle; member [all …]
|
/linux-4.4.14/sound/core/oss/ |
D | pcm_plugin.h | 85 int snd_pcm_plugin_build(struct snd_pcm_substream *handle, 94 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_… 95 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_s… 100 int snd_pcm_plugin_build_io(struct snd_pcm_substream *handle, 103 int snd_pcm_plugin_build_linear(struct snd_pcm_substream *handle, 107 int snd_pcm_plugin_build_mulaw(struct snd_pcm_substream *handle, 111 int snd_pcm_plugin_build_rate(struct snd_pcm_substream *handle, 115 int snd_pcm_plugin_build_route(struct snd_pcm_substream *handle, 119 int snd_pcm_plugin_build_copy(struct snd_pcm_substream *handle, 133 snd_pcm_sframes_t snd_pcm_plug_write_transfer(struct snd_pcm_substream *handle, [all …]
|
/linux-4.4.14/arch/m68k/kernel/ |
D | dma.c | 22 dma_addr_t *handle, gfp_t flag) in dma_alloc_coherent() argument 38 *handle = page_to_phys(page); in dma_alloc_coherent() 65 void *addr, dma_addr_t handle) in dma_free_coherent() argument 67 pr_debug("dma_free_coherent: %p, %x\n", addr, handle); in dma_free_coherent() 104 void dma_sync_single_for_device(struct device *dev, dma_addr_t handle, in dma_sync_single_for_device() argument 110 cache_push(handle, size); in dma_sync_single_for_device() 113 cache_clear(handle, size); in dma_sync_single_for_device() 139 dma_addr_t handle = virt_to_bus(addr); in dma_map_single() local 141 dma_sync_single_for_device(dev, handle, size, dir); in dma_map_single() 142 return handle; in dma_map_single() [all …]
|
/linux-4.4.14/drivers/mfd/ |
D | dln2.c | 31 __le16 handle; member 192 u16 handle, u16 rx_slot) in dln2_transfer_complete() argument 195 struct dln2_mod_rx_slots *rxs = &dln2->mod_rx_slots[handle]; in dln2_transfer_complete() 219 dev_warn(dev, "bad/late response %d/%d\n", handle, rx_slot); in dln2_transfer_complete() 246 u16 id, echo, handle, size; in dln2_rx() local 272 handle = le16_to_cpu(hdr->handle); in dln2_rx() 279 handle, id, echo, size, urb->actual_length); in dln2_rx() 283 if (handle >= DLN2_HANDLES) { in dln2_rx() 284 dev_warn(dev, "invalid handle %d\n", handle); in dln2_rx() 291 if (handle == DLN2_HANDLE_EVENT) { in dln2_rx() [all …]
|
/linux-4.4.14/arch/powerpc/sysdev/ |
D | mpic_timer.c | 282 void mpic_start_timer(struct mpic_timer *handle) in mpic_start_timer() argument 284 struct timer_group_priv *priv = container_of(handle, in mpic_start_timer() 285 struct timer_group_priv, timer[handle->num]); in mpic_start_timer() 287 clrbits32(&priv->regs[handle->num].gtbcr, TIMER_STOP); in mpic_start_timer() 297 void mpic_stop_timer(struct mpic_timer *handle) in mpic_stop_timer() argument 299 struct timer_group_priv *priv = container_of(handle, in mpic_stop_timer() 300 struct timer_group_priv, timer[handle->num]); in mpic_stop_timer() 303 setbits32(&priv->regs[handle->num].gtbcr, TIMER_STOP); in mpic_stop_timer() 305 casc_priv = priv->timer[handle->num].cascade_handle; in mpic_stop_timer() 307 out_be32(&priv->regs[handle->num].gtccr, 0); in mpic_stop_timer() [all …]
|
/linux-4.4.14/include/acpi/ |
D | acpi_bus.h | 40 acpi_evaluate_integer(acpi_handle handle, 44 acpi_evaluate_reference(acpi_handle handle, 49 acpi_evaluate_ost(acpi_handle handle, u32 source_event, u32 status_code, 53 acpi_get_physical_device_location(acpi_handle handle, struct acpi_pld_info **pld); 55 bool acpi_has_method(acpi_handle handle, char *name); 56 acpi_status acpi_execute_simple_method(acpi_handle handle, char *method, 58 acpi_status acpi_evaluate_ej0(acpi_handle handle); 59 acpi_status acpi_evaluate_lck(acpi_handle handle, int lock); 60 bool acpi_ata_match(acpi_handle handle); 61 bool acpi_bay_match(acpi_handle handle); [all …]
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_acpi.c | 104 static union acpi_object *radeon_atif_call(acpi_handle handle, int function, in radeon_atif_call() argument 128 status = acpi_evaluate_object(handle, "ATIF", &atif_arg, &buffer); in radeon_atif_call() 199 static int radeon_atif_verify_interface(acpi_handle handle, in radeon_atif_verify_interface() argument 207 info = radeon_atif_call(handle, ATIF_FUNCTION_VERIFY_INTERFACE, NULL); in radeon_atif_verify_interface() 246 static int radeon_atif_get_notification_params(acpi_handle handle, in radeon_atif_get_notification_params() argument 254 info = radeon_atif_call(handle, ATIF_FUNCTION_GET_SYSTEM_PARAMETERS, NULL); in radeon_atif_get_notification_params() 308 static int radeon_atif_get_sbios_requests(acpi_handle handle, in radeon_atif_get_sbios_requests() argument 315 info = radeon_atif_call(handle, ATIF_FUNCTION_GET_SYSTEM_BIOS_REQUESTS, NULL); in radeon_atif_get_sbios_requests() 352 acpi_handle handle; in radeon_atif_handler() local 367 handle = ACPI_HANDLE(&rdev->pdev->dev); in radeon_atif_handler() [all …]
|
D | radeon_gem.c | 254 uint32_t handle; in radeon_gem_create_ioctl() local 268 r = drm_gem_handle_create(filp, gobj, &handle); in radeon_gem_create_ioctl() 276 args->handle = handle; in radeon_gem_create_ioctl() 288 uint32_t handle; in radeon_gem_userptr_ioctl() local 349 r = drm_gem_handle_create(filp, gobj, &handle); in radeon_gem_userptr_ioctl() 355 args->handle = handle; in radeon_gem_userptr_ioctl() 385 gobj = drm_gem_object_lookup(dev, filp, args->handle); in radeon_gem_set_domain_ioctl() 402 uint32_t handle, uint64_t *offset_p) in radeon_mode_dumb_mmap() argument 407 gobj = drm_gem_object_lookup(dev, filp, handle); in radeon_mode_dumb_mmap() 426 return radeon_mode_dumb_mmap(filp, dev, args->handle, &args->addr_ptr); in radeon_gem_mmap_ioctl() [all …]
|
D | radeon_atpx_handler.c | 28 acpi_handle handle; member 75 static union acpi_object *radeon_atpx_call(acpi_handle handle, int function, in radeon_atpx_call() argument 99 status = acpi_evaluate_object(handle, NULL, &atpx_arg, &buffer); in radeon_atpx_call() 154 info = radeon_atpx_call(atpx->handle, ATPX_FUNCTION_GET_PX_PARAMETERS, NULL); in radeon_atpx_validate() 204 info = radeon_atpx_call(atpx->handle, ATPX_FUNCTION_VERIFY_INTERFACE, NULL); in radeon_atpx_verify_interface() 252 info = radeon_atpx_call(atpx->handle, in radeon_atpx_set_discrete_state() 284 info = radeon_atpx_call(atpx->handle, in radeon_atpx_switch_disp_mux() 316 info = radeon_atpx_call(atpx->handle, in radeon_atpx_switch_i2c_mux() 348 info = radeon_atpx_call(atpx->handle, in radeon_atpx_switch_start() 380 info = radeon_atpx_call(atpx->handle, in radeon_atpx_switch_end() [all …]
|
/linux-4.4.14/arch/ia64/sn/kernel/ |
D | io_acpi_init.c | 39 acpi_handle handle; member 65 sn_acpi_hubdev_init(acpi_handle handle, u32 depth, void *context, void **ret) in sn_acpi_hubdev_init() argument 79 status = acpi_get_vendor_resource(handle, METHOD_NAME__CRS, in sn_acpi_hubdev_init() 82 acpi_get_name(handle, ACPI_FULL_PATHNAME, &name_buffer); in sn_acpi_hubdev_init() 95 acpi_get_name(handle, ACPI_FULL_PATHNAME, &name_buffer); in sn_acpi_hubdev_init() 128 acpi_handle handle; in sn_get_bussoft_ptr() local 135 handle = acpi_device_handle(PCI_CONTROLLER(bus)->companion); in sn_get_bussoft_ptr() 136 status = acpi_get_vendor_resource(handle, METHOD_NAME__CRS, in sn_get_bussoft_ptr() 139 acpi_get_name(handle, ACPI_FULL_PATHNAME, &name_buffer); in sn_get_bussoft_ptr() 171 sn_extract_device_info(acpi_handle handle, struct pcidev_info **pcidev_info, in sn_extract_device_info() argument [all …]
|
/linux-4.4.14/arch/c6x/include/asm/ |
D | dma-mapping.h | 50 extern void dma_unmap_single(struct device *dev, dma_addr_t handle, 63 dma_addr_t handle; in dma_map_page() local 65 handle = dma_map_single(dev, page_address(page) + offset, size, dir); in dma_map_page() 67 debug_dma_map_page(dev, page, offset, size, dir, handle, false); in dma_map_page() 69 return handle; in dma_map_page() 72 static inline void dma_unmap_page(struct device *dev, dma_addr_t handle, in dma_unmap_page() argument 75 dma_unmap_single(dev, handle, size, dir); in dma_unmap_page() 77 debug_dma_unmap_page(dev, handle, size, dir, false); in dma_unmap_page() 80 extern void dma_sync_single_for_cpu(struct device *dev, dma_addr_t handle, 83 extern void dma_sync_single_for_device(struct device *dev, dma_addr_t handle,
|
/linux-4.4.14/drivers/gpio/ |
D | gpiolib-acpi.c | 27 acpi_handle handle; member 125 acpi_handle handle; in acpi_get_gpiod() local 129 status = acpi_get_handle(NULL, path, &handle); in acpi_get_gpiod() 133 chip = gpiochip_find(handle, acpi_gpiochip_find); in acpi_get_gpiod() 148 acpi_evaluate_object(event->handle, NULL, NULL, NULL); in acpi_gpio_irq_handler() 157 acpi_execute_simple_method(event->handle, NULL, event->pin); in acpi_gpio_irq_handler_evt() 162 static void acpi_gpio_chip_dh(acpi_handle handle, void *data) in acpi_gpio_chip_dh() argument 173 acpi_handle handle, evt_handle; in acpi_gpiochip_request_interrupt() local 187 handle = ACPI_HANDLE(chip->dev); in acpi_gpiochip_request_interrupt() 195 if (ACPI_SUCCESS(acpi_get_handle(handle, ev_name, &evt_handle))) in acpi_gpiochip_request_interrupt() [all …]
|
/linux-4.4.14/arch/c6x/kernel/ |
D | dma.c | 17 static void c6x_dma_sync(dma_addr_t handle, size_t size, in c6x_dma_sync() argument 20 unsigned long paddr = handle; in c6x_dma_sync() 54 void dma_unmap_single(struct device *dev, dma_addr_t handle, in dma_unmap_single() argument 57 c6x_dma_sync(handle, size, dir); in dma_unmap_single() 59 debug_dma_unmap_page(dev, handle, size, dir, true); in dma_unmap_single() 94 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t handle, in dma_sync_single_for_cpu() argument 97 c6x_dma_sync(handle, size, dir); in dma_sync_single_for_cpu() 99 debug_dma_sync_single_for_cpu(dev, handle, size, dir); in dma_sync_single_for_cpu() 104 void dma_sync_single_for_device(struct device *dev, dma_addr_t handle, in dma_sync_single_for_device() argument 107 c6x_dma_sync(handle, size, dir); in dma_sync_single_for_device() [all …]
|
/linux-4.4.14/include/drm/ |
D | drm_os_linux.h | 26 #define DRM_READ8(map, offset) readb(((void __iomem *)(map)->handle) + (offset)) 28 #define DRM_READ16(map, offset) readw(((void __iomem *)(map)->handle) + (offset)) 30 #define DRM_READ32(map, offset) readl(((void __iomem *)(map)->handle) + (offset)) 32 #define DRM_WRITE8(map, offset, val) writeb(val, ((void __iomem *)(map)->handle) + (offset)) 34 #define DRM_WRITE16(map, offset, val) writew(val, ((void __iomem *)(map)->handle) + (offset)) 36 #define DRM_WRITE32(map, offset, val) writel(val, ((void __iomem *)(map)->handle) + (offset)) 39 #define DRM_READ64(map, offset) readq(((void __iomem *)(map)->handle) + (offset)) 41 #define DRM_WRITE64(map, offset, val) writeq(val, ((void __iomem *)(map)->handle) + (offset))
|
D | drm_agpsupport.h | 30 void drm_free_agp(struct agp_memory * handle, int pages); 31 int drm_bind_agp(struct agp_memory * handle, unsigned int start); 32 int drm_unbind_agp(struct agp_memory * handle); 68 static inline void drm_free_agp(struct agp_memory * handle, int pages) in drm_free_agp() argument 72 static inline int drm_bind_agp(struct agp_memory * handle, unsigned int start) in drm_bind_agp() argument 77 static inline int drm_unbind_agp(struct agp_memory * handle) in drm_unbind_agp() argument
|
/linux-4.4.14/arch/mips/include/asm/fw/cfe/ |
D | cfe_api.h | 97 int cfe_close(int handle); 109 int cfe_init(uint64_t handle, uint64_t ept); 110 int cfe_inpstat(int handle); 111 int cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, 114 int cfe_read(int handle, unsigned char *buffer, int length); 115 int cfe_readblk(int handle, int64_t offset, unsigned char *buffer, 118 int cfe_write(int handle, const char *buffer, int length); 119 int cfe_writeblk(int handle, int64_t offset, const char *buffer,
|
/linux-4.4.14/drivers/media/radio/ |
D | lm7000.h | 20 static inline void lm7000_set_freq(u32 freq, void *handle, in lm7000_set_freq() argument 21 void (*set_pins)(void *handle, u8 pins)) in lm7000_set_freq() argument 33 set_pins(handle, data | LM7000_CE); in lm7000_set_freq() 35 set_pins(handle, data | LM7000_CE | LM7000_CLK); in lm7000_set_freq() 37 set_pins(handle, data | LM7000_CE); in lm7000_set_freq() 40 set_pins(handle, 0); in lm7000_set_freq()
|
/linux-4.4.14/include/uapi/drm/ |
D | tegra_drm.h | 34 __u32 handle; member 38 __u32 handle; member 90 __u32 handle; member 98 __u32 handle; member 102 __u32 handle; member 110 __u32 handle; member 139 __u32 handle; member 147 __u32 handle; member 159 __u32 handle; member 166 __u32 handle; member
|
D | vmwgfx_drm.h | 341 uint32_t handle; member 395 uint32_t handle; member 431 uint32_t handle; member 486 uint32_t handle; member 627 uint32_t handle; member 658 uint32_t handle; member 684 uint32_t handle; member 729 uint32_t handle; member 874 uint32_t handle; member 947 uint32_t handle; member [all …]
|
D | i915_drm.h | 456 __u32 handle; member 462 __u32 handle; member 478 __u32 handle; member 494 __u32 handle; member 522 __u32 handle; member 534 __u32 handle; member 545 __u32 handle; member 621 __u32 handle; member 671 __u32 handle; member 789 __u32 handle; member [all …]
|
/linux-4.4.14/drivers/thermal/int340x_thermal/ |
D | int3402_thermal.c | 23 acpi_handle *handle; member 27 static void int3402_notify(acpi_handle handle, u32 event, void *data) in int3402_notify() argument 51 if (!acpi_has_method(adev->handle, "_TMP")) in int3402_thermal_probe() 62 ret = acpi_install_notify_handler(adev->handle, in int3402_thermal_probe() 71 d->handle = adev->handle; in int3402_thermal_probe() 81 acpi_remove_notify_handler(d->handle, in int3402_thermal_remove()
|
D | int340x_thermal_zone.c | 32 status = acpi_evaluate_integer(d->adev->handle, "_TMP", NULL, &tmp); in int340x_thermal_get_zone_temp() 127 status = acpi_execute_simple_method(d->adev->handle, name, in int340x_thermal_set_trip_temp() 148 status = acpi_evaluate_integer(d->adev->handle, "GTSH", NULL, &hyst); in int340x_thermal_get_trip_hyst() 165 static int int340x_thermal_get_trip_config(acpi_handle handle, char *name, in int340x_thermal_get_trip_config() argument 171 status = acpi_evaluate_integer(handle, name, NULL, &r); in int340x_thermal_get_trip_config() 202 status = acpi_evaluate_integer(adev->handle, "PATC", NULL, &trip_cnt); in int340x_thermal_zone_add() 218 if (!int340x_thermal_get_trip_config(adev->handle, "_CRT", in int340x_thermal_zone_add() 222 if (!int340x_thermal_get_trip_config(adev->handle, "_HOT", in int340x_thermal_zone_add() 226 if (!int340x_thermal_get_trip_config(adev->handle, "_PSV", in int340x_thermal_zone_add() 232 if (int340x_thermal_get_trip_config(adev->handle, name, in int340x_thermal_zone_add() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_acpi.c | 74 static int nouveau_optimus_dsm(acpi_handle handle, int func, int arg, uint32_t *result) in nouveau_optimus_dsm() argument 90 obj = acpi_evaluate_dsm_typed(handle, nouveau_op_dsm_muid, 0x00000100, in nouveau_optimus_dsm() 93 acpi_handle_info(handle, "failed to evaluate _DSM\n"); in nouveau_optimus_dsm() 113 static int nouveau_check_optimus_dsm(acpi_handle handle) in nouveau_check_optimus_dsm() argument 121 if (nouveau_optimus_dsm(handle, 0, 0, &result)) in nouveau_check_optimus_dsm() 131 static int nouveau_dsm(acpi_handle handle, int func, int arg) in nouveau_dsm() argument 140 obj = acpi_evaluate_dsm_typed(handle, nouveau_dsm_muid, 0x00000102, in nouveau_dsm() 143 acpi_handle_info(handle, "failed to evaluate _DSM\n"); in nouveau_dsm() 154 static int nouveau_dsm_switch_mux(acpi_handle handle, int mux_id) in nouveau_dsm_switch_mux() argument 158 return nouveau_dsm(handle, NOUVEAU_DSM_LED, mux_id); in nouveau_dsm_switch_mux() [all …]
|
D | nv04_fbcon.c | 212 OUT_RING(chan, nfbdev->surf2d.handle); in nv04_fbcon_accel_init() 214 OUT_RING(chan, chan->vram.handle); in nv04_fbcon_accel_init() 215 OUT_RING(chan, chan->vram.handle); in nv04_fbcon_accel_init() 223 OUT_RING(chan, nfbdev->rop.handle); in nv04_fbcon_accel_init() 228 OUT_RING(chan, nfbdev->patt.handle); in nv04_fbcon_accel_init() 244 OUT_RING(chan, nfbdev->clip.handle); in nv04_fbcon_accel_init() 250 OUT_RING(chan, nfbdev->blit.handle); in nv04_fbcon_accel_init() 252 OUT_RING(chan, nfbdev->surf2d.handle); in nv04_fbcon_accel_init() 263 OUT_RING(chan, nfbdev->gdi.handle); in nv04_fbcon_accel_init() 265 OUT_RING(chan, nfbdev->surf2d.handle); in nv04_fbcon_accel_init() [all …]
|
/linux-4.4.14/fs/notify/ |
D | fdinfo.c | 43 struct file_handle handle; in show_mark_fhandle() member 48 f.handle.handle_bytes = sizeof(f.pad); in show_mark_fhandle() 49 size = f.handle.handle_bytes >> 2; in show_mark_fhandle() 51 ret = exportfs_encode_inode_fh(inode, (struct fid *)f.handle.f_handle, &size, 0); in show_mark_fhandle() 57 f.handle.handle_type = ret; in show_mark_fhandle() 58 f.handle.handle_bytes = size * sizeof(u32); in show_mark_fhandle() 61 f.handle.handle_bytes, f.handle.handle_type); in show_mark_fhandle() 63 for (i = 0; i < f.handle.handle_bytes; i++) in show_mark_fhandle() 64 seq_printf(m, "%02x", (int)f.handle.f_handle[i]); in show_mark_fhandle()
|
/linux-4.4.14/drivers/usb/wusbcore/ |
D | mmc.c | 98 unsigned handle, itr; in wusbhc_mmcie_set() local 105 handle = wusbhc->mmcies_max - 1; in wusbhc_mmcie_set() 114 handle = ~0; in wusbhc_mmcie_set() 117 handle = itr; in wusbhc_mmcie_set() 121 handle = itr; in wusbhc_mmcie_set() 123 if (handle == ~0) in wusbhc_mmcie_set() 126 result = (wusbhc->mmcie_add)(wusbhc, interval, repeat_cnt, handle, in wusbhc_mmcie_set() 129 wusbhc->mmcie[handle] = wuie; in wusbhc_mmcie_set() 144 unsigned handle, itr; in wusbhc_mmcie_rm() local 149 handle = itr; in wusbhc_mmcie_rm() [all …]
|
/linux-4.4.14/arch/sparc/kernel/ |
D | ds.c | 85 __u64 handle; member 93 __u64 handle; member 99 __u64 handle; member 105 __u64 handle; member 110 __u64 handle; member 115 __u64 handle; member 120 __u64 handle; member 125 __u64 handle; member 131 __u64 handle; member 219 static struct ds_cap_state *find_cap(struct ds_info *dp, u64 handle) in find_cap() argument [all …]
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
D | qxl_dumb.c | 37 uint32_t handle; in qxl_mode_dumb_create() local 63 &handle); in qxl_mode_dumb_create() 67 args->handle = handle; in qxl_mode_dumb_create() 73 uint32_t handle, uint64_t *offset_p) in qxl_mode_dumb_mmap() argument 79 gobj = drm_gem_object_lookup(dev, file_priv, handle); in qxl_mode_dumb_mmap()
|
D | qxl_ioctl.c | 40 uint32_t handle; in qxl_alloc_ioctl() local 51 &qobj, &handle); in qxl_alloc_ioctl() 57 qxl_alloc->handle = handle; in qxl_alloc_ioctl() 67 return qxl_mode_dumb_mmap(file_priv, qdev->ddev, qxl_map->handle, in qxl_map_ioctl() 111 struct drm_file *file_priv, uint64_t handle, in qxlhw_handle_to_bo() argument 118 gobj = drm_gem_object_lookup(qdev->ddev, file_priv, handle); in qxlhw_handle_to_bo() 317 gobj = drm_gem_object_lookup(dev, file, update_area->handle); in qxl_update_area_ioctl() 339 DRM_ERROR("got update area for surface with no id %d\n", update_area->handle); in qxl_update_area_ioctl() 396 int handle; in qxl_alloc_surf_ioctl() local 415 &qobj, &handle); in qxl_alloc_surf_ioctl() [all …]
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-streams.c | 266 s->handle = CX18_INVALID_TASK_HANDLE; in cx18_stream_init() 604 data[0] = s->handle; in cx18_vbi_setup() 697 if (s->handle == CX18_INVALID_TASK_HANDLE || in _cx18_stream_put_mdl_fw() 707 cx18_vapi(cx, CX18_CPU_DE_SET_MDL, 5, s->handle, in _cx18_stream_put_mdl_fw() 842 s->handle = data[0]; in cx18_start_v4l2_encode_stream() 843 cx18_vapi(cx, CX18_CPU_SET_CHANNEL_TYPE, 2, s->handle, captype); in cx18_start_v4l2_encode_stream() 857 cx18_vapi(cx, CX18_CPU_SET_VER_CROP_LINE, 2, s->handle, 0); in cx18_start_v4l2_encode_stream() 858 cx18_vapi(cx, CX18_CPU_SET_MISC_PARAMETERS, 3, s->handle, 3, 1); in cx18_start_v4l2_encode_stream() 859 cx18_vapi(cx, CX18_CPU_SET_MISC_PARAMETERS, 3, s->handle, 8, 0); in cx18_start_v4l2_encode_stream() 860 cx18_vapi(cx, CX18_CPU_SET_MISC_PARAMETERS, 3, s->handle, 4, 1); in cx18_start_v4l2_encode_stream() [all …]
|
/linux-4.4.14/drivers/pnp/pnpacpi/ |
D | core.c | 65 acpi_handle handle; in pnpacpi_set_resources() local 79 handle = acpi_dev->handle; in pnpacpi_set_resources() 80 if (acpi_has_method(handle, METHOD_NAME__SRS)) { in pnpacpi_set_resources() 91 status = acpi_set_current_resources(handle, &buffer); in pnpacpi_set_resources() 121 status = acpi_evaluate_object(acpi_dev->handle, "_DIS", NULL, NULL); in pnpacpi_disable_resources() 138 return acpi_bus_can_wakeup(acpi_dev->handle); in pnpacpi_can_wakeup() 237 if (!acpi_has_method(device->handle, "_CRS")) in pnpacpi_add_device() 255 if (acpi_has_method(device->handle, "_SRS")) in pnpacpi_add_device() 262 if (acpi_has_method(device->handle, "_DIS")) in pnpacpi_add_device() 299 static acpi_status __init pnpacpi_add_device_handler(acpi_handle handle, in pnpacpi_add_device_handler() argument [all …]
|
/linux-4.4.14/tools/power/acpi/os_specific/service_layers/ |
D | osunixxf.c | 612 acpi_status acpi_os_delete_semaphore(acpi_handle handle) in acpi_os_delete_semaphore() argument 617 acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout) in acpi_os_wait_semaphore() argument 622 acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) in acpi_os_signal_semaphore() argument 691 acpi_status acpi_os_delete_semaphore(acpi_handle handle) in acpi_os_delete_semaphore() argument 693 sem_t *sem = (sem_t *) handle; in acpi_os_delete_semaphore() 721 acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 msec_timeout) in acpi_os_wait_semaphore() argument 724 sem_t *sem = (sem_t *) handle; in acpi_os_wait_semaphore() 835 acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) in acpi_os_signal_semaphore() argument 837 sem_t *sem = (sem_t *) handle; in acpi_os_signal_semaphore() 866 void acpi_os_delete_lock(acpi_spinlock handle) in acpi_os_delete_lock() argument [all …]
|
/linux-4.4.14/drivers/firmware/efi/libstub/ |
D | arm-stub.c | 53 void *handle = (void *)(unsigned long)image->device_handle; in efi_open_volume() local 55 status = sys_table_arg->boottime->handle_protocol(handle, in efi_open_volume() 70 efi_status_t efi_file_close(void *handle) in efi_file_close() argument 72 efi_file_handle_t *fh = handle; in efi_file_close() 74 return fh->close(handle); in efi_file_close() 78 efi_file_read(void *handle, unsigned long *size, void *addr) in efi_file_read() argument 80 efi_file_handle_t *fh = handle; in efi_file_read() 82 return fh->read(handle, size, addr); in efi_file_read() 88 efi_char16_t *filename_16, void **handle, u64 *file_sz) in efi_file_size() argument 104 *handle = h; in efi_file_size() [all …]
|
/linux-4.4.14/drivers/tty/ |
D | sysrq.c | 592 struct input_handle handle; member 735 struct input_handle *handle = &sysrq->handle; in sysrq_reinject_alt_sysrq() local 744 input_inject_event(handle, EV_KEY, alt_code, 1); in sysrq_reinject_alt_sysrq() 745 input_inject_event(handle, EV_KEY, KEY_SYSRQ, 1); in sysrq_reinject_alt_sysrq() 746 input_inject_event(handle, EV_SYN, SYN_REPORT, 1); in sysrq_reinject_alt_sysrq() 748 input_inject_event(handle, EV_KEY, KEY_SYSRQ, 0); in sysrq_reinject_alt_sysrq() 749 input_inject_event(handle, EV_KEY, alt_code, 0); in sysrq_reinject_alt_sysrq() 750 input_inject_event(handle, EV_SYN, SYN_REPORT, 1); in sysrq_reinject_alt_sysrq() 800 clear_bit(KEY_SYSRQ, sysrq->handle.dev->key); in sysrq_handle_keypress() 849 static bool sysrq_filter(struct input_handle *handle, in sysrq_filter() argument [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | wil_platform.h | 26 int (*bus_request)(void *handle, uint32_t kbps /* KBytes/Sec */); 27 int (*suspend)(void *handle); 28 int (*resume)(void *handle); 29 void (*uninit)(void *handle);
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
D | virtgpu_gem.c | 60 u32 handle; in virtio_gpu_gem_create() local 66 ret = drm_gem_handle_create(file, &obj->gem_base, &handle); in virtio_gpu_gem_create() 77 *handle_p = handle; in virtio_gpu_gem_create() 97 &args->handle); in virtio_gpu_mode_dumb_create() 121 uint32_t handle) in virtio_gpu_mode_dumb_destroy() argument 123 return drm_gem_handle_delete(file_priv, handle); in virtio_gpu_mode_dumb_destroy() 128 uint32_t handle, uint64_t *offset_p) in virtio_gpu_mode_dumb_mmap() argument 133 gobj = drm_gem_object_lookup(dev, file_priv, handle); in virtio_gpu_mode_dumb_mmap()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_iocb.c | 317 uint32_t handle; in qla2x00_start_scsi() local 350 handle = req->current_outstanding_cmd; in qla2x00_start_scsi() 352 handle++; in qla2x00_start_scsi() 353 if (handle == req->num_outstanding_cmds) in qla2x00_start_scsi() 354 handle = 1; in qla2x00_start_scsi() 355 if (!req->outstanding_cmds[handle]) in qla2x00_start_scsi() 387 req->current_outstanding_cmd = handle; in qla2x00_start_scsi() 388 req->outstanding_cmds[handle] = sp; in qla2x00_start_scsi() 389 sp->handle = handle; in qla2x00_start_scsi() 390 cmd->host_scribble = (unsigned char *)(unsigned long)handle; in qla2x00_start_scsi() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | llog.c | 108 struct llog_handle *handle, in llog_read_header() argument 114 rc = llog_handle2ops(handle, &lop); in llog_read_header() 121 rc = lop->lop_read_header(env, handle); in llog_read_header() 123 struct llog_log_hdr *llh = handle->lgh_hdr; in llog_read_header() 125 handle->lgh_last_idx = 0; /* header is record with index 0 */ in llog_read_header() 141 int llog_init_handle(const struct lu_env *env, struct llog_handle *handle, in llog_init_handle() argument 147 LASSERT(handle->lgh_hdr == NULL); in llog_init_handle() 152 handle->lgh_hdr = llh; in llog_init_handle() 155 rc = llog_read_header(env, handle, uuid); in llog_init_handle() 162 handle->lgh_ctxt->loc_obd->obd_name, in llog_init_handle() [all …]
|
/linux-4.4.14/arch/mips/fw/cfe/ |
D | cfe_api.c | 48 static int (*cfe_dispfunc) (intptr_t handle, intptr_t xiocb); 51 int cfe_init(u64 handle, u64 ept) in cfe_init() argument 54 cfe_handle = handle; in cfe_init() 65 int cfe_close(int handle) in cfe_close() argument 71 xiocb.xiocb_handle = handle; in cfe_close() 303 int cfe_inpstat(int handle) in cfe_inpstat() argument 309 xiocb.xiocb_handle = handle; in cfe_inpstat() 322 cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, in cfe_ioctl() argument 329 xiocb.xiocb_handle = handle; in cfe_ioctl() 364 int cfe_read(int handle, unsigned char *buffer, int length) in cfe_read() argument [all …]
|
/linux-4.4.14/drivers/pci/pcie/ |
D | portdrv_acpi.c | 38 acpi_handle handle; in pcie_port_acpi_setup() local 44 handle = acpi_find_root_bridge_handle(port); in pcie_port_acpi_setup() 45 if (!handle) in pcie_port_acpi_setup() 48 root = acpi_pci_find_root(handle); in pcie_port_acpi_setup()
|
/linux-4.4.14/drivers/pci/ |
D | pci-acpi.c | 30 phys_addr_t acpi_pci_root_get_mcfg_addr(acpi_handle handle) in acpi_pci_root_get_mcfg_addr() argument 35 if (handle) in acpi_pci_root_get_mcfg_addr() 36 status = acpi_evaluate_integer(handle, METHOD_NAME__CBA, in acpi_pci_root_get_mcfg_addr() 145 static acpi_status acpi_run_hpx(acpi_handle handle, struct hotplug_params *hpx) in acpi_run_hpx() argument 156 status = acpi_evaluate_object(handle, "_HPX", NULL, &buffer); in acpi_run_hpx() 209 static acpi_status acpi_run_hpp(acpi_handle handle, struct hotplug_params *hpp) in acpi_run_hpp() argument 218 status = acpi_evaluate_object(handle, "_HPP", NULL, &buffer); in acpi_run_hpp() 257 acpi_handle handle, phandle; in pci_get_hp_params() local 263 handle = NULL; in pci_get_hp_params() 265 handle = acpi_pci_get_bridge_handle(pbus); in pci_get_hp_params() [all …]
|
/linux-4.4.14/arch/arm/mm/ |
D | dma-mapping.c | 106 static void arm_dma_unmap_page(struct device *dev, dma_addr_t handle, in arm_dma_unmap_page() argument 111 __dma_page_dev_to_cpu(pfn_to_page(dma_to_pfn(dev, handle)), in arm_dma_unmap_page() 112 handle & ~PAGE_MASK, size, dir); in arm_dma_unmap_page() 116 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_cpu() argument 118 unsigned int offset = handle & (PAGE_SIZE - 1); in arm_dma_sync_single_for_cpu() 119 struct page *page = pfn_to_page(dma_to_pfn(dev, handle-offset)); in arm_dma_sync_single_for_cpu() 124 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_device() argument 126 unsigned int offset = handle & (PAGE_SIZE - 1); in arm_dma_sync_single_for_device() 127 struct page *page = pfn_to_page(dma_to_pfn(dev, handle-offset)); in arm_dma_sync_single_for_device() 149 dma_addr_t *handle, gfp_t gfp, struct dma_attrs *attrs); [all …]
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | mdesc.h | 20 u64 mdesc_node_by_name(struct mdesc_handle *handle, 37 const void *mdesc_get_property(struct mdesc_handle *handle, 53 u64 mdesc_next_arc(struct mdesc_handle *handle, u64 from, 65 void (*add)(struct mdesc_handle *handle, u64 node); 66 void (*remove)(struct mdesc_handle *handle, u64 node);
|
/linux-4.4.14/drivers/net/wireless/rsi/ |
D | rsi_common.h | 73 static inline int rsi_kill_thread(struct rsi_thread *handle) in rsi_kill_thread() argument 75 atomic_inc(&handle->thread_done); in rsi_kill_thread() 76 rsi_set_event(&handle->event); in rsi_kill_thread() 78 wait_for_completion(&handle->completion); in rsi_kill_thread() 79 return kthread_stop(handle->task); in rsi_kill_thread()
|
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/ |
D | ehea_qmr.c | 146 hret = ehea_h_alloc_resource_cq(adapter->handle, &cq->attr, in ehea_create_cq() 166 hret = ehea_h_register_rpage(adapter->handle, in ehea_create_cq() 203 ehea_h_free_resource(adapter->handle, cq->fw_handle, FORCE_FREE); in ehea_create_cq() 215 u64 adapter_handle = cq->adapter->handle; in ehea_destroy_cq_res() 268 hret = ehea_h_alloc_resource_eq(adapter->handle, in ehea_create_eq() 292 hret = ehea_h_register_rpage(adapter->handle, 0, in ehea_create_eq() 316 ehea_h_free_resource(adapter->handle, eq->fw_handle, FORCE_FREE); in ehea_create_eq() 342 hret = ehea_h_free_resource(eq->adapter->handle, eq->fw_handle, force); in ehea_destroy_eq_res() 396 hret = ehea_h_register_rpage(adapter->handle, in ehea_qp_alloc_register() 433 hret = ehea_h_alloc_resource_qp(adapter->handle, init_attr, pd, in ehea_create_qp() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/dma/ |
D | base.c | 38 if (object < dmaobj->handle) in nvkm_dma_search() 41 if (object > dmaobj->handle) in nvkm_dma_search() 67 dmaobj->handle = oclass->object; in nvkm_dma_oclass_new() 72 if (dmaobj->handle < obj->handle) in nvkm_dma_oclass_new() 75 if (dmaobj->handle > obj->handle) in nvkm_dma_oclass_new()
|
/linux-4.4.14/drivers/block/xen-blkback/ |
D | common.h | 83 blkif_vdev_t handle; /* only for read/write requests */ member 108 blkif_vdev_t handle; member 143 blkif_vdev_t handle; /* only for read/write requests */ member 172 blkif_vdev_t handle; member 232 blkif_vdev_t handle; member 266 grant_handle_t handle; member 275 unsigned int handle; member 344 grant_handle_t handle; member 418 dst->u.rw.handle = src->u.rw.handle; in blkif_get_x86_32_req() 436 dst->u.indirect.handle = src->u.indirect.handle; in blkif_get_x86_32_req() [all …]
|
/linux-4.4.14/drivers/usb/core/ |
D | usb-acpi.c | 88 static enum usb_port_connect_type usb_acpi_get_connect_type(acpi_handle handle, in usb_acpi_get_connect_type() argument 104 status = acpi_evaluate_object(handle, "_UPC", NULL, &buffer); in usb_acpi_get_connect_type() 161 acpi_handle *handle; in usb_acpi_find_companion() local 193 handle = adev->handle; in usb_acpi_find_companion() 194 status = acpi_get_physical_device_location(handle, &pld); in usb_acpi_find_companion() 200 port_dev->connect_type = usb_acpi_get_connect_type(handle, pld); in usb_acpi_find_companion()
|
/linux-4.4.14/Documentation/devicetree/bindings/net/ |
D | hisilicon-hip04-net.txt | 9 - port-handle: <phandle port channel> 16 - phy-handle: see ethernet.txt [1]. 69 port-handle = <&ppe 31 0>; 77 port-handle = <&ppe 0 1>; 78 phy-handle = <&phy0>; 86 port-handle = <&ppe 8 2>; 87 phy-handle = <&phy1>;
|
/linux-4.4.14/Documentation/DocBook/ |
D | genericirq.xml.db | 44 API-handle-simple-irq 45 API-handle-level-irq 46 API-handle-fasteoi-irq 47 API-handle-edge-irq 48 API---handle-domain-irq 56 API-handle-edge-eoi-irq 57 API-handle-percpu-irq 58 API-handle-percpu-devid-irq
|
/linux-4.4.14/drivers/isdn/hardware/eicon/ |
D | dadapter.c | 86 static void diva_remove_adapter_callback(dword handle); 224 pinfo->handle = diva_register_adapter_callback( \ in diva_dadapter_request() 231 diva_remove_adapter_callback(pinfo->handle); in diva_dadapter_request() 291 static void diva_remove_adapter_callback(dword handle) { in diva_remove_adapter_callback() argument 293 if (handle && ((--handle) < DIVA_DIDD_MAX_NOTIFICATIONS)) { in diva_remove_adapter_callback() 295 NotificationTable[handle].callback = NULL; in diva_remove_adapter_callback() 296 NotificationTable[handle].context = NULL; in diva_remove_adapter_callback() 298 DBG_TRC(("Remove adapter notification[%d]", (int)(handle + 1))) in diva_remove_adapter_callback() 301 DBG_ERR(("Can't remove adapter notification, handle=%d", handle)) in diva_remove_adapter_callback()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | llog_client.c | 259 struct llog_handle *handle) in llog_client_read_header() argument 268 LLOG_CLIENT_ENTRY(handle->lgh_ctxt, imp); in llog_client_read_header() 278 body->lgd_logid = handle->lgh_id; in llog_client_read_header() 279 body->lgd_ctxt_idx = handle->lgh_ctxt->loc_idx - 1; in llog_client_read_header() 280 body->lgd_llh_flags = handle->lgh_hdr->llh_flags; in llog_client_read_header() 293 memcpy(handle->lgh_hdr, hdr, sizeof(*hdr)); in llog_client_read_header() 294 handle->lgh_last_idx = handle->lgh_hdr->llh_tail.lrt_index; in llog_client_read_header() 297 llh_hdr = &handle->lgh_hdr->llh_hdr; in llog_client_read_header() 311 LLOG_CLIENT_EXIT(handle->lgh_ctxt, imp); in llog_client_read_header() 316 struct llog_handle *handle) in llog_client_close() argument
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | l2t.h | 90 typedef void (*arp_err_handler_t)(void *handle, struct sk_buff *skb); 96 void *handle; member 102 static inline void t4_set_arp_err_handler(struct sk_buff *skb, void *handle, in t4_set_arp_err_handler() argument 105 L2T_SKB_CB(skb)->handle = handle; in t4_set_arp_err_handler()
|
/linux-4.4.14/drivers/media/i2c/m5mols/ |
D | m5mols_controls.c | 553 v4l2_ctrl_handler_init(&info->handle, 20); in m5mols_init_controls() 555 info->auto_wb = v4l2_ctrl_new_std_menu(&info->handle, in m5mols_init_controls() 560 info->auto_exposure = v4l2_ctrl_new_std_menu(&info->handle, in m5mols_init_controls() 564 info->exposure = v4l2_ctrl_new_std(&info->handle, in m5mols_init_controls() 568 info->exposure_bias = v4l2_ctrl_new_int_menu(&info->handle, in m5mols_init_controls() 574 info->metering = v4l2_ctrl_new_std_menu(&info->handle, in m5mols_init_controls() 579 info->auto_iso = v4l2_ctrl_new_std_menu(&info->handle, &m5mols_ctrl_ops, in m5mols_init_controls() 582 info->iso = v4l2_ctrl_new_int_menu(&info->handle, &m5mols_ctrl_ops, in m5mols_init_controls() 586 info->saturation = v4l2_ctrl_new_std(&info->handle, &m5mols_ctrl_ops, in m5mols_init_controls() 589 info->zoom = v4l2_ctrl_new_std(&info->handle, &m5mols_ctrl_ops, in m5mols_init_controls() [all …]
|
/linux-4.4.14/net/bluetooth/ |
D | amp.c | 106 if (++mgr->handle == 0) in __next_handle() 107 mgr->handle = 1; in __next_handle() 109 return mgr->handle; in __next_handle() 127 hcon->handle = __next_handle(mgr); in phylink_add() 308 cp.phy_handle = hcon->handle; in amp_read_loc_assoc_final_data() 371 cp->phy_handle = hcon->handle; in amp_write_rem_assoc_frag() 390 void amp_write_rem_assoc_continue(struct hci_dev *hdev, u8 handle) in amp_write_rem_assoc_continue() argument 394 BT_DBG("%s phy handle 0x%2.2x", hdev->name, handle); in amp_write_rem_assoc_continue() 396 hcon = hci_conn_hash_lookup_handle(hdev, handle); in amp_write_rem_assoc_continue() 405 void amp_write_remote_assoc(struct hci_dev *hdev, u8 handle) in amp_write_remote_assoc() argument [all …]
|
/linux-4.4.14/drivers/gpu/drm/armada/ |
D | armada_gem.c | 243 u32 handle; in armada_gem_dumb_create() local 258 ret = drm_gem_handle_create(file, &dobj->obj, &handle); in armada_gem_dumb_create() 262 args->handle = handle; in armada_gem_dumb_create() 265 DRM_DEBUG_DRIVER("obj %p size %zu handle %#x\n", dobj, size, handle); in armada_gem_dumb_create() 272 uint32_t handle, uint64_t *offset) in armada_gem_dumb_map_offset() argument 278 obj = armada_gem_object_lookup(dev, file, handle); in armada_gem_dumb_map_offset() 294 DRM_DEBUG_DRIVER("handle %#x offset %llx\n", handle, *offset); in armada_gem_dumb_map_offset() 305 uint32_t handle) in armada_gem_dumb_destroy() argument 307 return drm_gem_handle_delete(file, handle); in armada_gem_dumb_destroy() 317 u32 handle; in armada_gem_create_ioctl() local [all …]
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | uvc_v4l2.c | 289 struct uvc_file_handle *handle; in uvc_v4l2_open() local 291 handle = kzalloc(sizeof(*handle), GFP_KERNEL); in uvc_v4l2_open() 292 if (handle == NULL) in uvc_v4l2_open() 295 v4l2_fh_init(&handle->vfh, vdev); in uvc_v4l2_open() 296 v4l2_fh_add(&handle->vfh); in uvc_v4l2_open() 298 handle->device = &uvc->video; in uvc_v4l2_open() 299 file->private_data = &handle->vfh; in uvc_v4l2_open() 310 struct uvc_file_handle *handle = to_uvc_file_handle(file->private_data); in uvc_v4l2_release() local 311 struct uvc_video *video = handle->device; in uvc_v4l2_release() 321 v4l2_fh_del(&handle->vfh); in uvc_v4l2_release() [all …]
|