Home
last modified time | relevance | path

Searched full:handle (Results 1 – 25 of 6320) sorted by relevance

12345678910>>...253

/OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/
H A Dqat_hal.c36 #define AE(handle, ae) handle->hal_handle->aes[ae] argument
69 void qat_hal_set_live_ctx(struct icp_qat_fw_loader_handle *handle, in qat_hal_set_live_ctx() argument
72 AE(handle, ae).live_ctx_mask = ctx_mask; in qat_hal_set_live_ctx()
76 static int qat_hal_rd_ae_csr(struct icp_qat_fw_loader_handle *handle, in qat_hal_rd_ae_csr() argument
83 value = GET_AE_CSR(handle, ae, csr); in qat_hal_rd_ae_csr()
84 if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS)) in qat_hal_rd_ae_csr()
92 static int qat_hal_wr_ae_csr(struct icp_qat_fw_loader_handle *handle, in qat_hal_wr_ae_csr() argument
99 SET_AE_CSR(handle, ae, csr, value); in qat_hal_wr_ae_csr()
100 if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS)) in qat_hal_wr_ae_csr()
108 static void qat_hal_get_wakeup_event(struct icp_qat_fw_loader_handle *handle, in qat_hal_get_wakeup_event() argument
[all …]
H A Dqat_uclo.c124 static void qat_uclo_wr_sram_by_words(struct icp_qat_fw_loader_handle *handle, in qat_uclo_wr_sram_by_words() argument
133 SRAM_WRITE(handle, addr, outval); in qat_uclo_wr_sram_by_words()
140 static void qat_uclo_wr_umem_by_words(struct icp_qat_fw_loader_handle *handle, in qat_uclo_wr_umem_by_words() argument
152 qat_hal_wr_umem(handle, ae, addr++, 1, &outval); in qat_uclo_wr_umem_by_words()
158 static void qat_uclo_batch_wr_umem(struct icp_qat_fw_loader_handle *handle, in qat_uclo_batch_wr_umem() argument
175 qat_uclo_wr_umem_by_words(handle, ae, addr, value, size); in qat_uclo_batch_wr_umem()
181 qat_uclo_cleanup_batch_init_list(struct icp_qat_fw_loader_handle *handle, in qat_uclo_cleanup_batch_init_list() argument
217 static int qat_uclo_fetch_initmem_ae(struct icp_qat_fw_loader_handle *handle, in qat_uclo_fetch_initmem_ae() argument
221 struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle; in qat_uclo_fetch_initmem_ae()
249 *handle, struct icp_qat_uof_initmem in qat_uclo_create_batch_init_list()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ae_adapt.c16 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) in hns_get_mac_cb() argument
18 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_mac_cb()
28 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb() argument
32 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_ppe_cb()
139 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle() argument
141 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_ae_put_handle()
144 for (i = 0; i < handle->q_num; i++) in hns_ae_put_handle()
145 hns_ae_get_ring_pair(handle->qs[i])->used_by_vf = 0; in hns_ae_put_handle()
150 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down() argument
158 for (i = 0; i < handle->q_num; i++) { in hns_ae_wait_flow_down()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/runtime/rmgr/src/
H A Drmgr_vbuf.c77 * @brief Retain the reference count for a handle (host, vbuf)
79 * @param handle The pointer to the handle
81 void ia_css_rmgr_refcount_retain_vbuf(struct ia_css_rmgr_vbuf_handle **handle) in ia_css_rmgr_refcount_retain_vbuf() argument
86 if ((!handle) || (!*handle)) { in ia_css_rmgr_refcount_retain_vbuf()
91 if ((*handle)->count == 0) { in ia_css_rmgr_refcount_retain_vbuf()
92 h = *handle; in ia_css_rmgr_refcount_retain_vbuf()
93 *handle = NULL; in ia_css_rmgr_refcount_retain_vbuf()
96 *handle = &handle_table[i]; in ia_css_rmgr_refcount_retain_vbuf()
100 /* if the loop dus not break and *handle == NULL in ia_css_rmgr_refcount_retain_vbuf()
101 this is an error handle and report it. in ia_css_rmgr_refcount_retain_vbuf()
[all …]
/OK3568_Linux_fs/kernel/fs/ext4/
H A Dext4_jbd2.c32 /* Just increment the non-pointer handle value */
35 handle_t *handle = current->journal_info; in ext4_get_nojournal() local
36 unsigned long ref_cnt = (unsigned long)handle; in ext4_get_nojournal()
41 handle = (handle_t *)ref_cnt; in ext4_get_nojournal()
43 current->journal_info = handle; in ext4_get_nojournal()
44 return handle; in ext4_get_nojournal()
48 /* Decrement the non-pointer handle value */
49 static void ext4_put_nojournal(handle_t *handle) in ext4_put_nojournal() argument
51 unsigned long ref_cnt = (unsigned long)handle; in ext4_put_nojournal()
56 handle = (handle_t *)ref_cnt; in ext4_put_nojournal()
[all …]
H A Dext4_jbd2.h68 /* We break up a large truncate or write transaction once the handle's
112 * Ext4 handle operation types -- for logging purposes
137 /* list information for other callbacks attached to the same handle */
149 * @handle: active journal transaction handle to register callback on
157 * after the transaction for which the handle was created has completed.
168 static inline void _ext4_journal_callback_add(handle_t *handle, in _ext4_journal_callback_add() argument
172 list_add_tail(&jce->jce_list, &handle->h_transaction->t_private_list); in _ext4_journal_callback_add()
175 static inline void ext4_journal_callback_add(handle_t *handle, in ext4_journal_callback_add() argument
182 EXT4_SB(handle->h_transaction->t_journal->j_private); in ext4_journal_callback_add()
187 _ext4_journal_callback_add(handle, jce); in ext4_journal_callback_add()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/tc-testing/tc-tests/filters/
H A Dfw.json15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok",
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw",
18 "matchPattern": "pref 65535 fw.*handle 0x1.*gact action pass",
37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok",
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw",
40 "matchPattern": "pref 65536 fw.*handle 0x1.*gact action pass",
164 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok",
166 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
167 "matchPattern": "handle 0x1.*gact action pass",
186 … "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1",
[all …]
H A Dmatchall.json13 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
15 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
16 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r…
32 "$TC qdisc add dev $DUMMY root handle 1: prio"
34 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action…
36 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall",
37 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref …
40 "$TC qdisc del dev $DUMMY root handle 1: prio",
55 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall a…
57 … "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ipv6 matchall",
[all …]
H A Dbasic.json15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at…
37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
40 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at…
59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
62 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1.*cmp\\(u16 at 0 layer 0…
81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
[all …]
/OK3568_Linux_fs/external/mpp/osal/allocator/
H A Dion.h133 * an opaque handle to it.
139 * ion_free - free a handle
141 * @handle: the handle to free
143 * Free the provided handle.
145 void ion_free(struct ion_client *client, struct ion_handle *handle);
148 * ion_phys - returns the physical address and len of a handle
150 * @handle: the handle
154 * This function queries the heap for a particular handle to get the
155 * handle's physical address. It't output is only correct if
158 * instead. Returns -EINVAL if the handle is invalid. This has
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/
H A Dmoal_main.c922 * @param handle Pointer to structure moal_handle
945 /** some supplicant can not handle SCAN abort event */
1106 * @param handle Pointer to structure moal_handle
1110 void woal_process_hang(moal_handle *handle) argument
1115 reset_handle = handle;
1133 * @param handle A pointer to moal_handle
1138 t_u8 woal_is_any_interface_active(moal_handle *handle) argument
1141 for (i = 0; i < handle->priv_num; i++) {
1142 if (!handle->priv[i])
1145 if (GET_BSS_ROLE(handle->priv[i]) == MLAN_BSS_ROLE_STA) {
[all …]
H A Dmoal_proc.c87 moal_handle *handle = NULL; in woal_info_proc_read() local
116 handle = priv->phandle; in woal_info_proc_read()
117 if (handle == NULL) in woal_info_proc_read()
144 woal_get_version(handle, fmt, sizeof(fmt) - 1); in woal_info_proc_read()
157 ver.l = handle->fw_release_number; in woal_info_proc_read()
282 handle->tp_acnt.on, handle->tp_acnt.drop_point); in woal_info_proc_read()
286 handle->tp_acnt.tx_packets[i]); in woal_info_proc_read()
288 handle->tp_acnt.tx_packets_last[i]); in woal_info_proc_read()
290 handle->tp_acnt.tx_packets_rate[i]); in woal_info_proc_read()
292 handle->tp_acnt.tx_bytes[i]); in woal_info_proc_read()
[all …]
H A Dmoal_pcie.c57 static void woal_pcie_unregister_dev(moal_handle *handle);
152 * @param handle A Pointer to the moal_handle structure
237 * @param handle A pointer to moal_handle structure
249 static mlan_status woal_do_flr(moal_handle *handle, bool prepare, bool flr_flag) in woal_do_flr() argument
260 if (!handle) { in woal_do_flr()
261 PRINTM(MINFO, "\n Handle null during prepare=%d\n", prepare); in woal_do_flr()
266 card = (pcie_service_card *)handle->card; in woal_do_flr()
274 if (!IS_PCIE8997(handle->card_type) && in woal_do_flr()
275 !IS_PCIE9097(handle->card_type) && in woal_do_flr()
276 !IS_PCIENW62X(handle->card_type) && in woal_do_flr()
[all …]
H A Dmoal_init.c533 * @param handle A pointer to moal_handle structure
538 moal_handle *handle) in parse_cfg_read_block() argument
543 moal_mod_para *params = &handle->params; in parse_cfg_read_block()
558 moal_extflg_set(handle, EXT_HW_TEST); in parse_cfg_read_block()
560 moal_extflg_clear(handle, EXT_HW_TEST); in parse_cfg_read_block()
562 moal_extflg_isset(handle, EXT_HW_TEST) ? "on" : in parse_cfg_read_block()
572 moal_extflg_set(handle, EXT_DTS_ENABLE); in parse_cfg_read_block()
574 moal_extflg_clear(handle, EXT_DTS_ENABLE); in parse_cfg_read_block()
576 moal_extflg_isset(handle, EXT_DTS_ENABLE) ? in parse_cfg_read_block()
593 moal_extflg_set(handle, EXT_REQ_FW_NOWAIT); in parse_cfg_read_block()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/include/
H A Dkgd_pp_interface.h238 int (*pre_set_power_state)(void *handle);
239 int (*set_power_state)(void *handle);
240 void (*post_set_power_state)(void *handle);
241 void (*display_configuration_changed)(void *handle);
242 void (*print_power_state)(void *handle, void *ps);
243 bool (*vblank_too_short)(void *handle);
244 void (*enable_bapm)(void *handle, bool enable);
245 int (*check_state_equal)(void *handle,
250 void (*set_fan_control_mode)(void *handle, u32 mode);
251 u32 (*get_fan_control_mode)(void *handle);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.h8 * ae handle (handle):
153 struct hnae3_handle *handle; member
154 int tqp_index; /* index in a handle */
285 int (*init_instance)(struct hnae3_handle *handle);
286 void (*uninit_instance)(struct hnae3_handle *handle, bool reset);
287 void (*link_status_change)(struct hnae3_handle *handle, bool state);
288 int (*setup_tc)(struct hnae3_handle *handle, u8 tc);
289 int (*reset_notify)(struct hnae3_handle *handle,
291 void (*process_hw_error)(struct hnae3_handle *handle,
317 /* This struct defines the operation on the handle.
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/
H A Damd_powerplay.c77 static int pp_early_init(void *handle) in pp_early_init() argument
80 struct amdgpu_device *adev = handle; in pp_early_init()
94 static int pp_sw_init(void *handle) in pp_sw_init() argument
96 struct amdgpu_device *adev = handle; in pp_sw_init()
107 static int pp_sw_fini(void *handle) in pp_sw_fini() argument
109 struct amdgpu_device *adev = handle; in pp_sw_fini()
120 static int pp_hw_init(void *handle) in pp_hw_init() argument
123 struct amdgpu_device *adev = handle; in pp_hw_init()
134 static int pp_hw_fini(void *handle) in pp_hw_fini() argument
136 struct amdgpu_device *adev = handle; in pp_hw_fini()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/
H A Dmoal_sdio_mmc.c120 * @param handle A Pointer to the moal_handle structure
124 woal_dump_sdio_reg(moal_handle *handle) in woal_dump_sdio_reg() argument
133 data = sdio_f0_readb(((struct sdio_mmc_card *)handle->card)-> in woal_dump_sdio_reg()
141 data = sdio_readb(((struct sdio_mmc_card *)handle->card)->func, in woal_dump_sdio_reg()
162 moal_handle *handle; in woal_sdio_interrupt() local
168 if (!card || !card->handle) { in woal_sdio_interrupt()
170 "sdio_mmc_interrupt(func = %p) card or handle is NULL, card=%p\n", in woal_sdio_interrupt()
175 handle = card->handle; in woal_sdio_interrupt()
178 woal_interrupt(handle); in woal_sdio_interrupt()
279 * @param handle A Pointer to the moal_handle structure
[all …]
H A Dmoal_main.c362 * @param handle Pointer to structure moal_handle
392 * @param handle Pointer to structure moal_handle
397 woal_process_hang(moal_handle *handle) in woal_process_hang() argument
402 reset_handle = handle; in woal_process_hang()
403 mlan_ioctl(handle->pmlan_adapter, NULL); in woal_process_hang()
420 * @param handle A pointer to moal_handle
426 woal_is_any_interface_active(moal_handle *handle) in woal_is_any_interface_active() argument
429 for (i = 0; i < handle->priv_num; i++) { in woal_is_any_interface_active()
431 if (GET_BSS_ROLE(handle->priv[i]) == MLAN_BSS_ROLE_STA) { in woal_is_any_interface_active()
432 if (handle->priv[i]->media_connected == MTRUE) in woal_is_any_interface_active()
[all …]
/OK3568_Linux_fs/kernel/drivers/firmware/
H A Dti_sci.c91 * @handle: Instance of TI SCI handle to send to clients.
108 struct ti_sci_handle handle; member
121 #define handle_to_ti_sci_info(h) container_of(h, struct ti_sci_info, handle)
267 dev_err(dev, "Unable to handle %zu xfer(max %d)\n", in ti_sci_rx_callback()
445 struct ti_sci_handle *handle = &info->handle; in ti_sci_cmd_get_revision() local
446 struct ti_sci_version_info *ver = &handle->version; in ti_sci_cmd_get_revision()
495 * @handle: pointer to TI SCI handle
502 static int ti_sci_set_device_state(const struct ti_sci_handle *handle, in ti_sci_set_device_state() argument
512 if (IS_ERR(handle)) in ti_sci_set_device_state()
513 return PTR_ERR(handle); in ti_sci_set_device_state()
[all …]
/OK3568_Linux_fs/kernel/fs/
H A Dfhandle.c24 struct file_handle *handle = NULL; in do_sys_name_to_handle() local
28 * support decoding of the file handle in do_sys_name_to_handle()
40 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, in do_sys_name_to_handle()
42 if (!handle) in do_sys_name_to_handle()
45 /* convert handle size to multiple of sizeof(u32) */ in do_sys_name_to_handle()
48 /* we ask for a non connected handle */ in do_sys_name_to_handle()
50 (struct fid *)handle->f_handle, in do_sys_name_to_handle()
52 handle->handle_type = retval; in do_sys_name_to_handle()
53 /* convert handle size to bytes */ in do_sys_name_to_handle()
55 handle->handle_bytes = handle_bytes; in do_sys_name_to_handle()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/include/
H A Dta_crypt.h375 * out params[1].value.b: Handle to bignum variable
381 * in params[0].value.b: Handle to bignum variable modulus
382 * out params[1].value.a: Handle to FMM context
388 * out params[1].value.a: Handle to FMM variable
393 * in params[0].value.a: Handle to bignum variable, FMM context, or
400 * in params[0].value.a: Handle to bignum variable
407 * in params[0].value.a: Handle to bignum variable
413 * in params[0].value.a: Handle to bignum variable
420 * in params[0].value.a: Handle to bignum variable
426 * in params[0].value.a: Handle to bignum variable
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/
H A Dqca_7k_common.c77 qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte) in qcafrm_fsm_decode() argument
82 switch (handle->state) { in qcafrm_fsm_decode()
86 handle->state--; in qcafrm_fsm_decode()
90 handle->state = handle->init; in qcafrm_fsm_decode()
95 handle->state--; in qcafrm_fsm_decode()
104 handle->state = handle->init; in qcafrm_fsm_decode()
106 handle->state--; in qcafrm_fsm_decode()
112 handle->offset = recv_byte; in qcafrm_fsm_decode()
113 handle->state = QCAFRM_WAIT_LEN_BYTE1; in qcafrm_fsm_decode()
116 handle->offset = handle->offset | (recv_byte << 8); in qcafrm_fsm_decode()
[all …]
/OK3568_Linux_fs/kernel/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) in acpi_run_oshp() argument
43 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_run_oshp()
46 status = acpi_evaluate_object(handle, METHOD_NAME_OSHP, NULL, NULL); in acpi_run_oshp()
73 acpi_handle chandle, handle; in acpi_get_hp_hw_control_from_firmware() local
105 handle = ACPI_HANDLE(&pdev->dev); in acpi_get_hp_hw_control_from_firmware()
106 if (!handle) { in acpi_get_hp_hw_control_from_firmware()
109 * space at all. Try to get ACPI handle of parent PCI bus. in acpi_get_hp_hw_control_from_firmware()
113 handle = acpi_pci_get_bridge_handle(pbus); in acpi_get_hp_hw_control_from_firmware()
114 if (handle) in acpi_get_hp_hw_control_from_firmware()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_restrictions.sh44 tc filter add block 22 protocol ip pref 1 handle 101 flower \
56 tc filter del block 22 protocol ip pref 1 handle 101 flower
61 tc filter add block 22 protocol ip pref 1 handle 101 flower \
70 tc filter add block 22 protocol ip pref 1 handle 101 flower \
74 tc filter del block 22 protocol ip pref 1 handle 101 flower
92 tc filter add block 22 protocol ip pref 1 handle 101 flower \
105 tc filter del block 22 protocol ip pref 1 handle 101 flower
110 tc filter add block 22 protocol ip pref 1 handle 101 flower \
120 tc filter add block 22 protocol ip pref 1 handle 101 flower \
127 tc filter add block 22 protocol ip pref 1 handle 101 flower \
[all …]

12345678910>>...253