Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 2813) sorted by relevance

12345678910>>...113

/linux/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=$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 …]
/linux/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) 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 Dext4_jbd2.h165 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()
195 static inline bool ext4_journal_callback_try_del(handle_t *handle, in ext4_journal_callback_try_del() argument
200 EXT4_SB(handle->h_transaction->t_journal->j_private); in ext4_journal_callback_try_del()
210 ext4_mark_iloc_dirty(handle_t *handle,
219 int ext4_reserve_inode_write(handle_t *handle, struct inode *inode,
224 int __ext4_mark_inode_dirty(handle_t *handle, struct inode *inode,
[all …]
H A Dmigrate.c21 static int finish_range(handle_t *handle, struct inode *inode, in finish_range() argument
52 retval = ext4_datasem_ensure_credits(handle, inode, needed, needed, 0); in finish_range()
55 path = ext4_ext_insert_extent(handle, inode, path, &newext, 0); in finish_range()
65 static int update_extent_range(handle_t *handle, struct inode *inode, in update_extent_range() argument
83 retval = finish_range(handle, inode, lb); in update_extent_range()
90 static int update_ind_extent_range(handle_t *handle, struct inode *inode, in update_ind_extent_range() argument
106 retval = update_extent_range(handle, inode, in update_ind_extent_range()
119 static int update_dind_extent_range(handle_t *handle, struct inode *inode, in update_dind_extent_range() argument
135 retval = update_ind_extent_range(handle, inode, in update_dind_extent_range()
149 static int update_tind_extent_range(handle_t *handle, struct inode *inode, in update_tind_extent_range() argument
[all …]
/linux/drivers/crypto/intel/qat/qat_common/
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 …]
H A Dicp_qat_hal.h125 #define SET_CAP_CSR(handle, csr, val) \ argument
126 ADF_CSR_WR((handle)->hal_cap_g_ctl_csr_addr_v, csr, val)
127 #define GET_CAP_CSR(handle, csr) \ argument
128 ADF_CSR_RD((handle)->hal_cap_g_ctl_csr_addr_v, csr)
129 #define AE_CSR(handle, ae) \ argument
130 ((char __iomem *)(handle)->hal_cap_ae_local_csr_addr_v + ((ae) << 12))
131 #define AE_CSR_ADDR(handle, ae, csr) (AE_CSR(handle, ae) + (0x3ff & (csr))) argument
132 #define SET_AE_CSR(handle, ae, csr, val) \ argument
133 ADF_CSR_WR(AE_CSR_ADDR(handle, ae, csr), 0, val)
134 #define GET_AE_CSR(handle, ae, csr) ADF_CSR_RD(AE_CSR_ADDR(handle, ae, csr), 0) argument
[all …]
/linux/fs/jbd2/
H A Dtransaction.c316 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle() argument
320 int blocks = handle->h_total_credits; in start_this_handle()
324 if (handle->h_rsv_handle) in start_this_handle()
325 rsv_blocks = handle->h_rsv_handle->h_total_credits; in start_this_handle()
361 jbd2_debug(3, "New handle %p going live.\n", handle); in start_this_handle()
382 if (!handle->h_reserved && journal->j_barrier_count) { in start_this_handle()
395 (handle->h_reserved || !journal->j_barrier_count)) { in start_this_handle()
405 if (!handle->h_reserved) { in start_this_handle()
428 handle->h_reserved = 0; in start_this_handle()
435 handle->h_transaction = transaction; in start_this_handle()
[all …]
/linux/kernel/events/
H A Dring_buffer.c20 static void perf_output_wakeup(struct perf_output_handle *handle) in perf_output_wakeup() argument
22 atomic_set(&handle->rb->poll, EPOLLIN); in perf_output_wakeup()
24 handle->event->pending_wakeup = 1; in perf_output_wakeup()
26 if (*perf_event_fasync(handle->event) && !handle->event->pending_kill) in perf_output_wakeup()
27 handle->event->pending_kill = POLL_IN; in perf_output_wakeup()
29 irq_work_queue(&handle->event->pending_irq); in perf_output_wakeup()
40 static void perf_output_get_handle(struct perf_output_handle *handle) in perf_output_get_handle() argument
42 struct perf_buffer *rb = handle->rb; in perf_output_get_handle()
51 handle->wakeup = local_read(&rb->wakeup); in perf_output_get_handle()
54 static void perf_output_put_handle(struct perf_output_handle *handle) in perf_output_put_handle() argument
[all …]
/linux/drivers/pci/hotplug/
H A Dacpi_pcihp.c38 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()
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()
119 while (handle) { in acpi_get_hp_hw_control_from_firmware()
120 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_get_hp_hw_control_from_firmware()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dpost_act.c81 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 …]
H A Dact_stats.c36 struct mlx5e_tc_act_stats_handle *handle; in mlx5e_tc_act_stats_create() local
39 handle = kvzalloc(sizeof(*handle), GFP_KERNEL); in mlx5e_tc_act_stats_create()
40 if (!handle) in mlx5e_tc_act_stats_create()
43 err = rhashtable_init(&handle->ht, &act_counters_ht_params); in mlx5e_tc_act_stats_create()
47 spin_lock_init(&handle->ht_lock); in mlx5e_tc_act_stats_create()
48 return handle; in mlx5e_tc_act_stats_create()
50 kvfree(handle); in mlx5e_tc_act_stats_create()
54 void mlx5e_tc_act_stats_free(struct mlx5e_tc_act_stats_handle *handle) in mlx5e_tc_act_stats_free() argument
56 rhashtable_destroy(&handle->ht); in mlx5e_tc_act_stats_free()
57 kvfree(handle); in mlx5e_tc_act_stats_free()
[all …]
/linux/drivers/misc/vmw_vmci/
H A Dvmci_resource.c30 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()
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()
81 struct vmci_handle handle; in vmci_resource_find_id() local
[all …]
H A Dvmci_doorbell.c85 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()
229 static int dbell_link(struct vmci_handle handle, u32 notify_idx) in dbell_link() argument
237 link_msg.handle = handle; in dbell_link()
247 static int dbell_unlink(struct vmci_handle handle) in dbell_unlink() argument
255 unlink_msg.handle = handle; in dbell_unlink()
[all …]
/linux/drivers/acpi/
H A Dscan.c133 static acpi_status acpi_bus_offline(acpi_handle handle, u32 lvl, void *data, in acpi_bus_offline() argument
136 struct acpi_device *device = acpi_fetch_acpi_dev(handle); in acpi_bus_offline()
178 static acpi_status acpi_bus_online(acpi_handle handle, u32 lvl, void *data, in acpi_bus_online() argument
181 struct acpi_device *device = acpi_fetch_acpi_dev(handle); in acpi_bus_online()
202 acpi_handle handle = device->handle; in acpi_scan_try_to_offline() local
215 status = acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX, in acpi_scan_try_to_offline()
220 acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX, in acpi_scan_try_to_offline()
224 acpi_bus_offline(handle, 0, (void *)false, (void **)&errdev); in acpi_scan_try_to_offline()
227 acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX, in acpi_scan_try_to_offline()
231 acpi_bus_offline(handle, 0, (void *)true, in acpi_scan_try_to_offline()
[all …]
H A Dpci_link.c88 acpi_handle handle = link->device->handle; in acpi_pci_link_check_possible() local
99 acpi_handle_debug(handle, in acpi_pci_link_check_possible()
107 acpi_handle_debug(handle, in acpi_pci_link_check_possible()
125 acpi_handle_debug(handle, in acpi_pci_link_check_possible()
133 acpi_handle_debug(handle, in acpi_pci_link_check_possible()
147 acpi_handle_debug(handle, "_PRS resource type 0x%x is not IRQ\n", in acpi_pci_link_check_possible()
157 acpi_handle handle = link->device->handle; in acpi_pci_link_get_possible() local
160 status = acpi_walk_resources(handle, METHOD_NAME__PRS, in acpi_pci_link_get_possible()
163 acpi_handle_debug(handle, "_PRS not present or invalid"); in acpi_pci_link_get_possible()
167 acpi_handle_debug(handle, "Found %d possible IRQs\n", in acpi_pci_link_get_possible()
[all …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-trbe.c140 struct perf_output_handle * __percpu *handle; member
263 static void trbe_report_wrap_event(struct perf_output_handle *handle) in trbe_report_wrap_event() argument
279 perf_aux_output_flag(handle, PERF_AUX_FLAG_COLLISION); in trbe_report_wrap_event()
282 static void trbe_stop_and_truncate_event(struct perf_output_handle *handle) in trbe_stop_and_truncate_event() argument
284 struct trbe_buf *buf = etm_perf_sink_config(handle); in trbe_stop_and_truncate_event()
294 perf_aux_output_flag(handle, PERF_AUX_FLAG_TRUNCATED); in trbe_stop_and_truncate_event()
295 perf_aux_output_end(handle, 0); in trbe_stop_and_truncate_event()
296 *this_cpu_ptr(buf->cpudata->drvdata->handle) = NULL; in trbe_stop_and_truncate_event()
347 static void trbe_pad_buf(struct perf_output_handle *handle, int len) in trbe_pad_buf() argument
349 struct trbe_buf *buf = etm_perf_sink_config(handle); in trbe_pad_buf()
[all …]
/linux/drivers/sh/intc/
H A Dchip.c16 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 …]
/linux/drivers/input/
H A Devbug.c22 static void evbug_event(struct input_handle *handle, unsigned int type, unsigned int code, int valu… in evbug_event() argument
25 dev_name(&handle->dev->dev), type, code, value); in evbug_event()
31 struct input_handle *handle; in evbug_connect() local
34 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in evbug_connect()
35 if (!handle) in evbug_connect()
38 handle->dev = dev; in evbug_connect()
39 handle->handler = handler; in evbug_connect()
40 handle->name = "evbug"; in evbug_connect()
42 error = input_register_handle(handle); in evbug_connect()
46 error = input_open_device(handle); in evbug_connect()
[all …]
H A Dapm-power.c31 static void apmpower_event(struct input_handle *handle, unsigned int type, in apmpower_event() argument
52 struct input_handle *handle; in apmpower_connect() local
55 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL); in apmpower_connect()
56 if (!handle) in apmpower_connect()
59 handle->dev = dev; in apmpower_connect()
60 handle->handler = handler; in apmpower_connect()
61 handle->name = "apm-power"; in apmpower_connect()
63 error = input_register_handle(handle); in apmpower_connect()
67 kfree(handle); in apmpower_connect()
71 error = input_open_device(handle); in apmpower_connect()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_aca.c31 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/acpi/riscv/
H A Dirq.c14 acpi_handle handle; member
26 acpi_handle handle; member
56 static acpi_status riscv_acpi_update_gsi_handle(u32 gsi_base, acpi_handle handle) in riscv_acpi_update_gsi_handle() argument
64 ext_intc_element->handle = handle; in riscv_acpi_update_gsi_handle()
80 if (ext_intc_element->handle == ACPI_HANDLE_FWNODE(fwnode)) { in riscv_acpi_get_gsi_info()
104 adev = acpi_fetch_acpi_dev(ext_intc_element->handle); in riscv_acpi_get_gsi_domain_id()
132 static acpi_status __init riscv_acpi_create_gsi_map(acpi_handle handle, u32 level, in riscv_acpi_create_gsi_map() argument
138 if (!acpi_has_method(handle, "_GSB")) { in riscv_acpi_create_gsi_map()
139 acpi_handle_err(handle, "_GSB method not found\n"); in riscv_acpi_create_gsi_map()
143 status = acpi_evaluate_integer(handle, "_GSB", NULL, &gbase); in riscv_acpi_create_gsi_map()
[all …]
/linux/kernel/power/
H A Dswap.c314 static int mark_swapfiles(struct swap_map_handle *handle, unsigned int flags) in mark_swapfiles() argument
323 swsusp_header->image = handle->first_sector; in mark_swapfiles()
330 swsusp_header->crc32 = handle->crc32; in mark_swapfiles()
414 static void release_swap_writer(struct swap_map_handle *handle) in release_swap_writer() argument
416 if (handle->cur) in release_swap_writer()
417 free_page((unsigned long)handle->cur); in release_swap_writer()
418 handle->cur = NULL; in release_swap_writer()
421 static int get_swap_writer(struct swap_map_handle *handle) in get_swap_writer() argument
431 handle->cur = (struct swap_map_page *)get_zeroed_page(GFP_KERNEL); in get_swap_writer()
432 if (!handle->cur) { in get_swap_writer()
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Dtc_flower.sh44 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/include/linux/
H A Dpgalloc_tag.h102 union pgtag_ref_handle *handle) in get_page_tag_ref() argument
112 handle->page = page; in get_page_tag_ref()
123 handle->ref = tmp; in get_page_tag_ref()
129 static inline void put_page_tag_ref(union pgtag_ref_handle handle) in put_page_tag_ref() argument
131 if (WARN_ON(!handle.ref)) in put_page_tag_ref()
135 page_ext_put((void *)handle.ref - page_alloc_tagging_ops.offset); in put_page_tag_ref()
138 static inline void update_page_tag_ref(union pgtag_ref_handle handle, union codetag_ref *ref) in update_page_tag_ref() argument
141 struct page *page = handle.page; in update_page_tag_ref()
158 if (WARN_ON(!handle.ref || !ref)) in update_page_tag_ref()
161 handle.ref->ct = ref->ct; in update_page_tag_ref()
[all …]
/linux/tools/testing/selftests/alsa/
H A Dtest-pcmtest-driver.c83 static int setup_handle(snd_pcm_t **handle, snd_pcm_sw_params_t *swparams, in setup_handle() argument
91 err = snd_pcm_open(handle, pcm_name, stream, 0); in setup_handle()
94 snd_pcm_hw_params_any(*handle, hwparams); in setup_handle()
95 snd_pcm_hw_params_set_rate_resample(*handle, hwparams, 0); in setup_handle()
96 snd_pcm_hw_params_set_access(*handle, hwparams, params->access); in setup_handle()
97 snd_pcm_hw_params_set_format(*handle, hwparams, params->format); in setup_handle()
98 snd_pcm_hw_params_set_channels(*handle, hwparams, params->channels); in setup_handle()
99 snd_pcm_hw_params_set_rate_near(*handle, hwparams, &params->rate, 0); in setup_handle()
100 snd_pcm_hw_params_set_period_size_near(*handle, hwparams, &params->period_size, 0); in setup_handle()
101 snd_pcm_hw_params_set_buffer_size_near(*handle, hwparams, &params->buffer_size); in setup_handle()
[all …]

12345678910>>...113