/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_hal.c | 36 #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 D | qat_uclo.c | 124 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 …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/rmgr/src/ |
H A D | rmgr_vbuf.c | 65 * @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) in ia_css_rmgr_refcount_retain_vbuf() argument 74 if ((!handle) || (!*handle)) { in ia_css_rmgr_refcount_retain_vbuf() 79 if ((*handle)->count == 0) { in ia_css_rmgr_refcount_retain_vbuf() 80 h = *handle; in ia_css_rmgr_refcount_retain_vbuf() 81 *handle = NULL; in ia_css_rmgr_refcount_retain_vbuf() 84 *handle = &handle_table[i]; in ia_css_rmgr_refcount_retain_vbuf() 88 /* if the loop dus not break and *handle == NULL in ia_css_rmgr_refcount_retain_vbuf() 89 * this is an error handle and report it. in ia_css_rmgr_refcount_retain_vbuf() [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_ae_adapt.c | 16 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() 138 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle() argument 140 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_ae_put_handle() 143 for (i = 0; i < handle->q_num; i++) in hns_ae_put_handle() 144 hns_ae_get_ring_pair(handle->qs[i])->used_by_vf = 0; in hns_ae_put_handle() 149 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down() argument 157 for (i = 0; i < handle->q_num; i++) { in hns_ae_wait_flow_down() [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sch_offload.sh | 19 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=$1; shift 36 if [[ ! -z $handle ]]; then 37 local offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded) 39 check_err $? "Qdisc with handle $handle not offloaded" [all …]
|
H A D | tc_restrictions.sh | 47 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 59 tc filter del block 22 protocol ip pref 1 handle 101 flower 64 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 73 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 77 tc filter del block 22 protocol ip pref 1 handle 101 flower 95 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 108 tc filter del block 22 protocol ip pref 1 handle 101 flower 113 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 123 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 130 tc filter add block 22 protocol ip pref 1 handle 101 flower \ [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/filters/ |
H A D | fw.json | 15 "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", 59 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok", 61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", 62 "matchPattern": "handle 0x1.*gact action pass", 82 … "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1", [all …]
|
H A D | matchall.json | 15 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 17 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r… 35 "$TC qdisc add dev $DUMMY root handle 1: prio" 37 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action… 39 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall", 40 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref … 43 "$TC qdisc del dev $DUMMY root handle 1: prio" 59 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall a… 61 … "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ipv6 matchall", [all …]
|
H A D | basic.json | 15 …"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 …]
|
H A D | flow.json | 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds… 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow", 18 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst … 37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds… 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow", 40 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst.… 59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds… 61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow", 62 …"matchPattern": "filter parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst … 81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds… [all …]
|
/linux/drivers/gpu/drm/amd/pm/powerplay/ |
H A D | amd_powerplay.c | 78 static int pp_early_init(void *handle) in pp_early_init() argument 81 struct amdgpu_device *adev = handle; in pp_early_init() 134 static int pp_sw_init(void *handle) in pp_sw_init() argument 136 struct amdgpu_device *adev = handle; in pp_sw_init() 151 static int pp_sw_fini(void *handle) in pp_sw_fini() argument 153 struct amdgpu_device *adev = handle; in pp_sw_fini() 163 static int pp_hw_init(void *handle) in pp_hw_init() argument 166 struct amdgpu_device *adev = handle; in pp_hw_init() 177 static int pp_hw_fini(void *handle) in pp_hw_fini() argument 179 struct amdgpu_device *adev = handle; in pp_hw_fini() [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hnae3.h | 8 * ae handle (handle): 202 struct hnae3_handle *handle; member 203 int tqp_index; /* index in a handle */ 408 int (*init_instance)(struct hnae3_handle *handle); 409 void (*uninit_instance)(struct hnae3_handle *handle, bool reset); 410 void (*link_status_change)(struct hnae3_handle *handle, bool state); 411 int (*reset_notify)(struct hnae3_handle *handle, 413 void (*process_hw_error)(struct hnae3_handle *handle, 439 /* This struct defines the operation on the handle. 458 * Get the carrier state of the back channel of the handle, 1 for ok, 0 for [all …]
|
/linux/drivers/net/ethernet/qualcomm/ |
H A D | qca_7k_common.c | 64 qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte) in qcafrm_fsm_decode() argument 69 switch (handle->state) { in qcafrm_fsm_decode() 73 handle->state--; in qcafrm_fsm_decode() 77 handle->state = handle->init; in qcafrm_fsm_decode() 82 handle->state--; in qcafrm_fsm_decode() 91 handle->state = handle->init; in qcafrm_fsm_decode() 93 handle->state--; in qcafrm_fsm_decode() 99 handle->offset = recv_byte; in qcafrm_fsm_decode() 100 handle->state = QCAFRM_WAIT_LEN_BYTE1; in qcafrm_fsm_decode() 103 handle->offset = handle->offset | (recv_byte << 8); in qcafrm_fsm_decode() [all …]
|
/linux/fs/ext4/ |
H A D | ext4_jbd2.h | 68 /* 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, in _ext4_journal_callback_add() argument 169 list_add_tail(&jce->jce_list, &handle->h_transaction->t_private_list); in _ext4_journal_callback_add() 172 static inline void ext4_journal_callback_add(handle_t *handle, in ext4_journal_callback_add() argument 179 EXT4_SB(handle->h_transaction->t_journal->j_private); in ext4_journal_callback_add() 184 _ext4_journal_callback_add(handle, jce); in ext4_journal_callback_add() [all …]
|
/linux/drivers/firmware/ |
H A D | ti_sci.c | 94 * @handle: Instance of TI SCI handle to send to clients. 110 struct ti_sci_handle handle; member 122 #define handle_to_ti_sci_info(h) container_of(h, struct ti_sci_info, handle) 254 dev_err(dev, "Unable to handle %zu xfer(max %d)\n", in ti_sci_rx_callback() 448 struct ti_sci_handle *handle = &info->handle; in ti_sci_cmd_get_revision() local 449 struct ti_sci_version_info *ver = &handle->version; in ti_sci_cmd_get_revision() 498 * @handle: pointer to TI SCI handle 505 static int ti_sci_set_device_state(const struct ti_sci_handle *handle, in ti_sci_set_device_state() argument 515 if (IS_ERR(handle)) in ti_sci_set_device_state() 516 return PTR_ERR(handle); in ti_sci_set_device_state() [all …]
|
/linux/drivers/pci/hotplug/ |
H A D | acpi_pcihp.c | 36 * @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 …]
|
/linux/fs/ |
H A D | fhandle.c | 25 struct file_handle *handle = NULL; in do_sys_name_to_handle() local 29 * the file handle if decodeable file handle was requested. in do_sys_name_to_handle() 40 handle = kzalloc(struct_size(handle, f_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 connectable maybe decodeable file 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 …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | post_act.c | 81 struct mlx5e_post_act_handle *handle) in mlx5e_tc_post_act_offload() argument 94 mlx5e_tc_match_to_reg_match(spec, FTEID_TO_REG, handle->id, MLX5_POST_ACTION_MASK); in mlx5e_tc_post_act_offload() 96 handle->rule = mlx5e_tc_rule_offload(post_act->priv, spec, handle->attr); in mlx5e_tc_post_act_offload() 97 if (IS_ERR(handle->rule)) { in mlx5e_tc_post_act_offload() 98 err = PTR_ERR(handle->rule); in mlx5e_tc_post_act_offload() 114 struct mlx5e_post_act_handle *handle; in mlx5e_tc_post_act_add() local 120 handle = kzalloc(sizeof(*handle), GFP_KERNEL); in mlx5e_tc_post_act_add() 121 if (!handle) in mlx5e_tc_post_act_add() 132 handle->ns_type = post_act->ns_type; in mlx5e_tc_post_act_add() 134 if (handle->ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5e_tc_post_act_add() [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | tc_flower.sh | 44 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 46 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ 58 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 59 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower 70 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 72 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ 84 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 85 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower 94 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 96 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/infra/ |
H A D | actions.json | 16 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 18 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 19 "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*", 39 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 41 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 42 "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*", 62 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 64 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 65 "matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*", 85 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… [all …]
|
/linux/drivers/media/pci/cx18/ |
H A D | cx23418.h | 21 OUT[0] - Task handle. This handle is passed along with commands to 27 IN[0] - Task handle. Hanlde of the task to destroy 65 IN[0] - Task handle. Handle of the task 83 IN[0] - Task handle. Handle of the task to start 88 IN[0] - Task handle. Handle of the task to stop 94 IN[0] - Task handle. Handle of the task to pause 99 IN[0] - Task handle. Handle of the task to resume 115 IN[0] - Task handle. Handle of the task to start 121 IN[0] - task handle. Handle of the task to start 127 IN[0] - task handle [all …]
|
/linux/drivers/misc/vmw_vmci/ |
H A D | vmci_resource.c | 30 static unsigned int vmci_resource_hash(struct vmci_handle handle) in vmci_resource_hash() argument 32 return hash_32(handle.resource, VMCI_RESOURCE_HASH_BITS); in vmci_resource_hash() 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, in vmci_resource_lookup() argument 42 unsigned int idx = vmci_resource_hash(handle); in vmci_resource_lookup() 47 u32 cid = r->handle.context; in vmci_resource_lookup() 48 u32 rid = r->handle.resource; in vmci_resource_lookup() 51 rid == handle.resource && in vmci_resource_lookup() 52 (cid == handle.context || cid == VMCI_INVALID_ID || in vmci_resource_lookup() 53 handle.context == VMCI_INVALID_ID)) { in vmci_resource_lookup() [all …]
|
H A D | vmci_doorbell.c | 30 * DoorbellEntry describes the a doorbell notification handle allocated by the 80 * with a given doorbell handle. For guest endpoints, the 83 * handle. Hypervisor endpoints are not yet supported. 85 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags) in vmci_dbell_get_priv_flags() argument 87 if (priv_flags == NULL || handle.context == VMCI_INVALID_ID) in vmci_dbell_get_priv_flags() 90 if (handle.context == VMCI_HOST_CONTEXT_ID) { in vmci_dbell_get_priv_flags() 94 resource = vmci_resource_by_handle(handle, in vmci_dbell_get_priv_flags() 102 } else if (handle.context == VMCI_HYPERVISOR_CONTEXT_ID) { in vmci_dbell_get_priv_flags() 109 *priv_flags = vmci_context_get_priv_flags(handle.context); in vmci_dbell_get_priv_flags() 225 * Creates a link between the given doorbell handle and the given [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_aca.c | 31 typedef int bank_handler_t(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type type… 204 static bool aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type t… in aca_bank_is_valid() argument 206 const struct aca_bank_ops *bank_ops = handle->bank_ops; in aca_bank_is_valid() 208 if (!aca_bank_hwip_is_matched(bank, handle->hwip)) in aca_bank_is_valid() 214 return bank_ops->aca_bank_is_valid(handle, bank, type, handle->data); in aca_bank_is_valid() 282 int aca_error_cache_log_bank_error(struct aca_handle *handle, struct aca_bank_info *info, in aca_error_cache_log_bank_error() argument 285 struct aca_error_cache *error_cache = &handle->error_cache; in aca_error_cache_log_bank_error() 289 if (!handle || !info || type >= ACA_ERROR_TYPE_COUNT) in aca_error_cache_log_bank_error() 305 static int aca_bank_parser(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type type) in aca_bank_parser() argument 307 const struct aca_bank_ops *bank_ops = handle->bank_ops; in aca_bank_parser() [all …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | ibuf_ctrl_rmgr.c | 27 ibuf_handle_t *handle = NULL; in getHandle() local 30 handle = &ibuf_rsrc.handles[index]; in getHandle() 31 return handle; in getHandle() 53 ibuf_handle_t *handle = NULL; in ia_css_isys_ibuf_rmgr_acquire() local 61 /* Check if there is an available un-used handle with the size in ia_css_isys_ibuf_rmgr_acquire() 66 handle = getHandle(i); in ia_css_isys_ibuf_rmgr_acquire() 67 if (!handle->active) { in ia_css_isys_ibuf_rmgr_acquire() 68 if (handle->size >= aligned_size) { in ia_css_isys_ibuf_rmgr_acquire() 69 handle->active = true; in ia_css_isys_ibuf_rmgr_acquire() 80 * request. Allocate a new handle with the requested size. in ia_css_isys_ibuf_rmgr_acquire() [all …]
|