Searched refs:handle (Results 1 - 25 of 1654) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Djpeg_v1_0.h27 int jpeg_v1_0_early_init(void *handle);
28 int jpeg_v1_0_sw_init(void *handle);
29 void jpeg_v1_0_sw_fini(void *handle);
/linux-master/tools/build/feature/
H A Dtest-libcapstone.c7 csh handle; local
9 cs_open(CS_ARCH_X86, CS_MODE_64, &handle);
/linux-master/tools/testing/selftests/net/forwarding/
H A Dtc_common.sh12 local handle=$2
16 tc_rule_handle_stats_get "$id" "$handle" > /dev/null
22 local handle=$2
26 tc_rule_handle_stats_get "$id" "$handle" > /dev/null
32 local handle=$2
35 tc_rule_handle_stats_get "$id" "$handle" > /dev/null
/linux-master/drivers/net/ethernet/qualcomm/
H A Dqca_7k_common.c64 qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte) argument
69 switch (handle->state) {
73 handle->state--;
77 handle->state = handle->init;
82 handle->state--;
91 handle->state = handle->init;
93 handle->state--;
99 handle
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dact_stats.h13 void mlx5e_tc_act_stats_free(struct mlx5e_tc_act_stats_handle *handle);
16 mlx5e_tc_act_stats_add_flow(struct mlx5e_tc_act_stats_handle *handle,
20 mlx5e_tc_act_stats_del_flow(struct mlx5e_tc_act_stats_handle *handle,
24 mlx5e_tc_act_stats_fill_stats(struct mlx5e_tc_act_stats_handle *handle,
H A Dpost_act.c81 struct mlx5e_post_act_handle *handle)
94 mlx5e_tc_match_to_reg_match(spec, FTEID_TO_REG, handle->id, MLX5_POST_ACTION_MASK);
96 handle->rule = mlx5e_tc_rule_offload(post_act->priv, spec, handle->attr);
97 if (IS_ERR(handle->rule)) {
98 err = PTR_ERR(handle->rule);
114 struct mlx5e_post_act_handle *handle; local
120 handle = kzalloc(sizeof(*handle), GFP_KERNEL);
121 if (!handle)
80 mlx5e_tc_post_act_offload(struct mlx5e_post_act *post_act, struct mlx5e_post_act_handle *handle) argument
152 mlx5e_tc_post_act_unoffload(struct mlx5e_post_act *post_act, struct mlx5e_post_act_handle *handle) argument
160 mlx5e_tc_post_act_del(struct mlx5e_post_act *post_act, struct mlx5e_post_act_handle *handle) argument
176 mlx5e_tc_post_act_set_handle(struct mlx5_core_dev *dev, struct mlx5e_post_act_handle *handle, struct mlx5e_tc_mod_hdr_acts *acts) argument
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dqat_hal.c36 #define AE(handle, ae) ((handle)->hal_handle->aes[ae])
69 void qat_hal_set_live_ctx(struct icp_qat_fw_loader_handle *handle, argument
72 AE(handle, ae).live_ctx_mask = ctx_mask;
76 static int qat_hal_rd_ae_csr(struct icp_qat_fw_loader_handle *handle, argument
83 value = GET_AE_CSR(handle, ae, csr);
84 if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS))
92 static int qat_hal_wr_ae_csr(struct icp_qat_fw_loader_handle *handle, argument
99 SET_AE_CSR(handle, ae, csr, value);
100 if (!(GET_AE_CSR(handle, a
108 qat_hal_get_wakeup_event(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, unsigned int *events) argument
120 qat_hal_wait_cycles(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int cycles, int chk_inactive) argument
156 qat_hal_set_ae_ctx_mode(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char mode) argument
176 qat_hal_set_ae_nn_mode(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char mode) argument
194 qat_hal_set_ae_lm_mode(struct icp_qat_fw_loader_handle *handle, unsigned char ae, enum icp_qat_uof_regtype lm_type, unsigned char mode) argument
233 qat_hal_set_ae_tindex_mode(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char mode) argument
302 qat_hal_reset(struct icp_qat_fw_loader_handle *handle) argument
313 qat_hal_wr_indr_csr(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask, unsigned int ae_csr, unsigned int csr_val) argument
331 qat_hal_rd_indr_csr(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, unsigned int ae_csr) argument
345 qat_hal_put_sig_event(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask, unsigned int events) argument
361 qat_hal_put_wakeup_event(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask, unsigned int events) argument
378 qat_hal_check_ae_alive(struct icp_qat_fw_loader_handle *handle) argument
403 qat_hal_check_ae_active(struct icp_qat_fw_loader_handle *handle, unsigned int ae) argument
417 qat_hal_reset_timestamp(struct icp_qat_fw_loader_handle *handle) argument
442 qat_hal_init_esram(struct icp_qat_fw_loader_handle *handle) argument
473 qat_hal_clr_reset(struct icp_qat_fw_loader_handle *handle) argument
529 qat_hal_disable_ctx(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask) argument
570 qat_hal_wr_uwords(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int uaddr, unsigned int words_num, u64 *uword) argument
593 qat_hal_enable_ctx(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask) argument
605 qat_hal_clear_xfer(struct icp_qat_fw_loader_handle *handle) argument
621 qat_hal_clear_gpr(struct icp_qat_fw_loader_handle *handle) argument
682 qat_hal_chip_init(struct icp_qat_fw_loader_handle *handle, struct adf_accel_dev *accel_dev) argument
829 struct icp_qat_fw_loader_handle *handle; local
880 qat_hal_deinit(struct icp_qat_fw_loader_handle *handle) argument
889 qat_hal_start(struct icp_qat_fw_loader_handle *handle) argument
922 qat_hal_stop(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask) argument
929 qat_hal_set_pc(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask, unsigned int upc) argument
936 qat_hal_get_uwords(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int uaddr, unsigned int words_num, u64 *uword) argument
960 qat_hal_wr_umem(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int uaddr, unsigned int words_num, unsigned int *data) argument
986 qat_hal_exec_micro_inst(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, u64 *micro_inst, unsigned int inst_num, int code_off, unsigned int max_cycle, unsigned int *endpc) argument
1114 qat_hal_rd_rel_reg(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int *data) argument
1175 qat_hal_wr_rel_reg(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int data) argument
1256 qat_hal_exec_micro_init_lm(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, int *pfirst_exec, u64 *micro_inst, unsigned int inst_num) argument
1286 qat_hal_batch_wr_lm(struct icp_qat_fw_loader_handle *handle, unsigned char ae, struct icp_qat_uof_batch_init *lm_init_header) argument
1329 qat_hal_put_rel_rd_xfer(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int val) argument
1370 qat_hal_put_rel_wr_xfer(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int data) argument
1431 qat_hal_put_rel_nn(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, unsigned short nn, unsigned int val) argument
1447 qat_hal_convert_abs_to_rel(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned short absreg_num, unsigned short *relreg, unsigned char *ctx) argument
1468 qat_hal_init_gpr(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned long ctx_mask, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int regdata) argument
1502 qat_hal_init_wr_xfer(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned long ctx_mask, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int regdata) argument
1537 qat_hal_init_rd_xfer(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned long ctx_mask, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int regdata) argument
1572 qat_hal_init_nn(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned long ctx_mask, unsigned short reg_num, unsigned int regdata) argument
[all...]
/linux-master/drivers/staging/media/atomisp/pci/runtime/isys/src/
H A Dibuf_ctrl_rmgr.c27 ibuf_handle_t *handle = NULL; local
30 handle = &ibuf_rsrc.handles[index];
31 return handle;
53 ibuf_handle_t *handle = NULL; local
61 /* Check if there is an available un-used handle with the size
66 handle = getHandle(i);
67 if (!handle->active) {
68 if (handle->size >= aligned_size) {
69 handle->active = true;
80 * request. Allocate a new handle wit
110 ibuf_handle_t *handle = NULL; local
[all...]
/linux-master/drivers/media/radio/
H A Dlm7000.h21 static inline void lm7000_set_freq(u32 freq, void *handle, argument
22 void (*set_pins)(void *handle, u8 pins))
34 set_pins(handle, data | LM7000_CE);
36 set_pins(handle, data | LM7000_CE | LM7000_CLK);
38 set_pins(handle, data | LM7000_CE);
41 set_pins(handle, 0);
/linux-master/drivers/input/
H A Devbug.c22 static void evbug_event(struct input_handle *handle, unsigned int type, unsigned int code, int value) argument
25 dev_name(&handle->dev->dev), type, code, value);
31 struct input_handle *handle; local
34 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL);
35 if (!handle)
38 handle->dev = dev;
39 handle->handler = handler;
40 handle->name = "evbug";
42 error = input_register_handle(handle);
46 error = input_open_device(handle);
64 evbug_disconnect(struct input_handle *handle) argument
[all...]
H A Dapm-power.c31 static void apmpower_event(struct input_handle *handle, unsigned int type, argument
52 struct input_handle *handle; local
55 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL);
56 if (!handle)
59 handle->dev = dev;
60 handle->handler = handler;
61 handle->name = "apm-power";
63 error = input_register_handle(handle);
67 kfree(handle);
71 error = input_open_device(handle);
82 apmpower_disconnect(struct input_handle *handle) argument
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dmpic_timer.h29 void mpic_start_timer(struct mpic_timer *handle);
30 void mpic_stop_timer(struct mpic_timer *handle);
31 void mpic_get_remain_time(struct mpic_timer *handle, time64_t *time);
32 void mpic_free_timer(struct mpic_timer *handle);
36 void mpic_start_timer(struct mpic_timer *handle) { } argument
37 void mpic_stop_timer(struct mpic_timer *handle) { } argument
38 void mpic_get_remain_time(struct mpic_timer *handle, time64_t *time) { } argument
39 void mpic_free_timer(struct mpic_timer *handle) { } argument
/linux-master/include/linux/platform_data/
H A Dmlxcpld.h18 * @handle: handle to be passed by callback
26 void *handle; member in struct:mlxcpld_mux_plat_data
27 int (*completion_notify)(void *handle, struct i2c_adapter *parent,
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_regs.h10 int hclgevf_get_regs_len(struct hnae3_handle *handle);
11 void hclgevf_get_regs(struct hnae3_handle *handle, u32 *version,
/linux-master/fs/ext4/
H A Dext4_jbd2.c32 /* Just increment the non-pointer handle value */
35 handle_t *handle = current->journal_info; local
36 unsigned long ref_cnt = (unsigned long)handle;
41 handle = (handle_t *)ref_cnt;
43 current->journal_info = handle;
44 return handle;
48 /* Decrement the non-pointer handle value */
49 static void ext4_put_nojournal(handle_t *handle) argument
51 unsigned long ref_cnt = (unsigned long)handle;
56 handle
116 __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) argument
143 __ext4_journal_start_reserved(handle_t *handle, unsigned int line, int type) argument
167 __ext4_journal_ensure_credits(handle_t *handle, int check_cred, int extend_cred, int revoke_cred) argument
182 ext4_journal_abort_handle(const char *caller, unsigned int line, const char *err_fn, struct buffer_head *bh, handle_t *handle, int err) argument
229 __ext4_journal_get_write_access(const char *where, unsigned int line, handle_t *handle, struct super_block *sb, struct buffer_head *bh, enum ext4_journal_trigger_type trigger_type) argument
264 __ext4_forget(const char *where, unsigned int line, handle_t *handle, int is_metadata, struct inode *inode, struct buffer_head *bh, ext4_fsblk_t blocknr) argument
318 __ext4_journal_get_create_access(const char *where, unsigned int line, handle_t *handle, struct super_block *sb, struct buffer_head *bh, enum ext4_journal_trigger_type trigger_type) argument
342 __ext4_handle_dirty_metadata(const char *where, unsigned int line, handle_t *handle, struct inode *inode, struct buffer_head *bh) argument
[all...]
H A Dext4_jbd2.h68 /* We break up a large truncate or write transaction once the handle's
109 * Ext4 handle operation types -- for logging purposes
134 /* list information for other callbacks attached to the same handle */
146 * @handle: active journal transaction handle to register callback on
154 * after the transaction for which the handle was created has completed.
165 static inline void _ext4_journal_callback_add(handle_t *handle, argument
169 list_add_tail(&jce->jce_list, &handle->h_transaction->t_private_list);
172 static inline void ext4_journal_callback_add(handle_t *handle, argument
179 EXT4_SB(handle
195 ext4_journal_callback_try_del(handle_t *handle, struct ext4_journal_cb_entry *jce) argument
273 ext4_handle_valid(handle_t *handle) argument
280 ext4_handle_sync(handle_t *handle) argument
286 ext4_handle_is_aborted(handle_t *handle) argument
344 ext4_journal_extend(handle_t *handle, int nblocks, int revoke) argument
351 ext4_journal_restart(handle_t *handle, int nblocks, int revoke) argument
399 ext4_journal_ensure_credits(handle_t *handle, int credits, int revoke_creds) argument
420 ext4_jbd2_inode_add_write(handle_t *handle, struct inode *inode, loff_t start_byte, loff_t length) argument
429 ext4_jbd2_inode_add_wait(handle_t *handle, struct inode *inode, loff_t start_byte, loff_t length) argument
438 ext4_update_inode_fsync_trans(handle_t *handle, struct inode *inode, int datasync) argument
[all...]
/linux-master/drivers/misc/vmw_vmci/
H A Dvmci_doorbell.h21 struct vmci_handle handle; member in struct:vmci_dbell_notify_resource_info
33 struct vmci_handle handle; member in struct:dbell_cpt_state
37 int vmci_dbell_host_context_notify(u32 src_cid, struct vmci_handle handle);
38 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags);
H A Dvmci_resource.c30 static unsigned int vmci_resource_hash(struct vmci_handle handle) argument
32 return hash_32(handle.resource, VMCI_RESOURCE_HASH_BITS);
36 * Gets a resource (if one exists) matching given handle from the hash table.
38 static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle, argument
42 unsigned int idx = vmci_resource_hash(handle);
47 u32 cid = r->handle.context;
48 u32 rid = r->handle.resource;
51 rid == handle.resource &&
52 (cid == handle.context || cid == VMCI_INVALID_ID ||
53 handle
81 struct vmci_handle handle; local
99 vmci_resource_add(struct vmci_resource *resource, enum vmci_resource_type resource_type, struct vmci_handle handle) argument
139 struct vmci_handle handle = resource->handle; local
[all...]
/linux-master/drivers/media/platform/mediatek/vcodec/encoder/
H A Dvenc_drv_base.h20 * @handle: [out] driver handle
26 * @handle: [in] driver handle
32 int (*encode)(void *handle, enum venc_start_opt opt,
39 * @handle: [in] driver handle
43 int (*set_param)(void *handle, enum venc_set_param_type type,
48 * @handle: [in] driver handle
[all...]
/linux-master/drivers/staging/media/atomisp/pci/runtime/rmgr/src/
H A Drmgr_vbuf.c65 * @brief Retain the reference count for a handle (host, vbuf)
67 * @param handle The pointer to the handle
69 void ia_css_rmgr_refcount_retain_vbuf(struct ia_css_rmgr_vbuf_handle **handle) argument
74 if ((!handle) || (!*handle)) {
79 if ((*handle)->count == 0) {
80 h = *handle;
81 *handle = NULL;
84 *handle
107 ia_css_rmgr_refcount_release_vbuf(struct ia_css_rmgr_vbuf_handle **handle) argument
197 rmgr_push_handle(struct ia_css_rmgr_vbuf_pool *pool, struct ia_css_rmgr_vbuf_handle **handle) argument
225 rmgr_pop_handle(struct ia_css_rmgr_vbuf_pool *pool, struct ia_css_rmgr_vbuf_handle **handle) argument
254 ia_css_rmgr_acq_vbuf(struct ia_css_rmgr_vbuf_pool *pool, struct ia_css_rmgr_vbuf_handle **handle) argument
310 ia_css_rmgr_rel_vbuf(struct ia_css_rmgr_vbuf_pool *pool, struct ia_css_rmgr_vbuf_handle **handle) argument
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_tqp_stats.h33 u64 *hclge_comm_tqps_get_stats(struct hnae3_handle *handle, u64 *data);
34 int hclge_comm_tqps_get_sset_count(struct hnae3_handle *handle);
35 u8 *hclge_comm_tqps_get_strings(struct hnae3_handle *handle, u8 *data);
36 void hclge_comm_reset_tqp_stats(struct hnae3_handle *handle);
37 int hclge_comm_tqps_update_stats(struct hnae3_handle *handle,
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dwil_platform.h37 int (*bus_request)(void *handle, uint32_t kbps /* KBytes/Sec */);
38 int (*suspend)(void *handle, bool keep_device_power);
39 int (*resume)(void *handle, bool device_powered_on);
40 void (*uninit)(void *handle);
41 int (*notify)(void *handle, enum wil_platform_event evt);
42 int (*get_capa)(void *handle);
43 void (*set_features)(void *handle, int features);
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_offload.sh19 local handle=$1; shift
23 h=$(qdisc_stats_get $h1 "$handle" .handle)
24 [[ $h == '"'$handle'"' ]]
25 check_err $? "Qdisc with handle $handle does not exist"
27 offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded)
29 check_fail $? "Qdisc with handle $handle offloaded, but should not be"
34 local handle
[all...]
/linux-master/drivers/pci/hotplug/
H A Dacpi_pcihp.c36 * @handle - the handle of the hotplug controller.
38 static acpi_status acpi_run_oshp(acpi_handle handle) argument
43 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string);
46 status = acpi_evaluate_object(handle, METHOD_NAME_OSHP, NULL, NULL);
73 acpi_handle chandle, handle; local
105 handle = ACPI_HANDLE(&pdev->dev);
106 if (!handle) {
109 * space at all. Try to get ACPI handle of parent PCI bus.
113 handle
145 pcihp_is_ejectable(acpi_handle handle) argument
166 acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle) argument
182 check_hotplug(acpi_handle handle, u32 lvl, void *context, void **rv) argument
198 acpi_pci_detect_ejectable(acpi_handle handle) argument
[all...]
/linux-master/drivers/sh/intc/
H A Dchip.c16 void _intc_enable(struct irq_data *data, unsigned long handle) argument
23 for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_E(handle)); cpu++) {
28 addr = INTC_REG(d, _INTC_ADDR_E(handle), cpu);
29 intc_enable_fns[_INTC_MODE(handle)](addr, handle, intc_reg_fns\
30 [_INTC_FN(handle)], irq);
45 unsigned long handle = (unsigned long)irq_data_get_irq_chip_data(data); local
51 for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_D(handle)); cpu++) {
56 addr = INTC_REG(d, _INTC_ADDR_D(handle), cpu);
57 intc_disable_fns[_INTC_MODE(handle)](add
85 unsigned long handle = intc_get_ack_handle(irq); local
[all...]

Completed in 1061 milliseconds

1234567891011>>