Home
last modified time | relevance | path

Searched refs:txn (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/slimbus/
A Dmessaging.c34 if (txn == NULL) in slim_msg_response()
37 msg = txn->msg; in slim_msg_response()
46 if (txn->comp) in slim_msg_response()
47 complete(txn->comp); in slim_msg_response()
75 txn->tid = ret; in slim_alloc_txn_tid()
135 txn->tid = 0; in slim_do_transfer()
136 need_tid = slim_tid_txn(txn->mt, txn->mc); in slim_do_transfer()
146 txn->comp = txn->comp; in slim_do_transfer()
164 txn->mt, txn->mc, txn->la, ret); in slim_do_transfer()
267 if (slim_tid_txn(txn->mt, txn->mc)) in slim_xfer_msg()
[all …]
A Dqcom-ngd-ctrl.c852 txn->rl = txn->msg->num_bytes + 4; in qcom_slim_ngd_xfer_msg()
860 *pbuf = SLIM_MSG_ASM_FIRST_WORD(txn->rl, txn->mt, txn->mc, 0, in qcom_slim_ngd_xfer_msg()
864 *pbuf = SLIM_MSG_ASM_FIRST_WORD(txn->rl, txn->mt, txn->mc, 1, in qcom_slim_ngd_xfer_msg()
869 if (slim_tid_txn(txn->mt, txn->mc)) in qcom_slim_ngd_xfer_msg()
872 if (slim_ec_txn(txn->mt, txn->mc)) { in qcom_slim_ngd_xfer_msg()
877 if (txn->msg && txn->msg->wbuf) in qcom_slim_ngd_xfer_msg()
878 memcpy(puc, txn->msg->wbuf, txn->msg->num_bytes); in qcom_slim_ngd_xfer_msg()
899 txn->mc, txn->mt); in qcom_slim_ngd_xfer_msg()
982 wbuf[txn.msg->num_bytes++] = txn.tid; in qcom_slim_ngd_enable_stream()
988 txn.rl = txn.msg->num_bytes + 4; in qcom_slim_ngd_enable_stream()
[all …]
A Dstream.c133 txn.mc = SLIM_MSG_MC_CONNECT_SINK; in slim_connect_port_channel()
170 ret = slim_do_transfer(sdev->ctrl, &txn); in slim_deactivate_remove_channel()
174 txn.mc = SLIM_MSG_MC_NEXT_REMOVE_CHANNEL; in slim_deactivate_remove_channel()
331 txn.msg->num_bytes = 1; in slim_activate_channel()
332 txn.msg->wbuf = wbuf; in slim_activate_channel()
368 ret = slim_do_transfer(ctrl, &txn); in slim_stream_enable()
386 txn.mc = SLIM_MSG_MC_RECONFIGURE_NOW; in slim_stream_enable()
388 return slim_do_transfer(ctrl, &txn); in slim_stream_enable()
413 ret = slim_do_transfer(ctrl, &txn); in slim_stream_disable()
420 txn.mc = SLIM_MSG_MC_RECONFIGURE_NOW; in slim_stream_disable()
[all …]
A Dqcom-ctrl.c334 u8 la = txn->la; in qcom_xfer_msg()
337 txn->rl--; in qcom_xfer_msg()
356 *head = SLIM_MSG_ASM_FIRST_WORD(txn->rl, txn->mt, in qcom_xfer_msg()
357 txn->mc, 0, la); in qcom_xfer_msg()
360 *head = SLIM_MSG_ASM_FIRST_WORD(txn->rl, txn->mt, in qcom_xfer_msg()
361 txn->mc, 1, la); in qcom_xfer_msg()
365 if (slim_tid_txn(txn->mt, txn->mc)) in qcom_xfer_msg()
368 if (slim_ec_txn(txn->mt, txn->mc)) { in qcom_xfer_msg()
373 if (txn->msg && txn->msg->wbuf) in qcom_xfer_msg()
374 memcpy(puc, txn->msg->wbuf, txn->msg->num_bytes); in qcom_xfer_msg()
[all …]
A Dsched.c32 DEFINE_SLIM_BCAST_TXN(txn, SLIM_MSG_MC_BEGIN_RECONFIGURATION, in slim_ctrl_clk_pause()
92 ret = slim_do_transfer(ctrl, &txn); in slim_ctrl_clk_pause()
96 txn.mc = SLIM_MSG_MC_NEXT_PAUSE_CLOCK; in slim_ctrl_clk_pause()
97 txn.rl = 4; in slim_ctrl_clk_pause()
100 ret = slim_do_transfer(ctrl, &txn); in slim_ctrl_clk_pause()
104 txn.mc = SLIM_MSG_MC_RECONFIGURE_NOW; in slim_ctrl_clk_pause()
105 txn.rl = 3; in slim_ctrl_clk_pause()
108 ret = slim_do_transfer(ctrl, &txn); in slim_ctrl_clk_pause()
A Dslimbus.h431 int slim_do_transfer(struct slim_controller *ctrl, struct slim_msg_txn *txn);
433 int slim_alloc_txn_tid(struct slim_controller *ctrl, struct slim_msg_txn *txn);
434 void slim_free_txn_tid(struct slim_controller *ctrl, struct slim_msg_txn *txn);
/linux/drivers/soc/qcom/
A Dqmi_interface.c312 memset(txn, 0, sizeof(*txn)); in qmi_txn_init()
316 txn->qmi = qmi; in qmi_txn_init()
317 txn->ei = ei; in qmi_txn_init()
325 txn->id = ret; in qmi_txn_init()
359 return txn->result; in qmi_txn_wait()
493 if (!txn) { in qmi_handle_message()
501 if (txn->dest && txn->ei) { in qmi_handle_message()
502 ret = qmi_decode_message(buf, len, txn->ei, txn->dest); in qmi_handle_message()
506 txn->result = ret; in qmi_handle_message()
748 txn->id, ei, in qmi_send_message()
[all …]
A Dpdr_interface.c124 struct qmi_txn txn; in pdr_register_listener() local
142 qmi_txn_cancel(&txn); in pdr_register_listener()
146 ret = qmi_txn_wait(&txn, 5 * HZ); in pdr_register_listener()
251 struct qmi_txn txn; in pdr_send_indack_msg() local
269 qmi_txn_cancel(&txn); in pdr_send_indack_msg()
361 struct qmi_txn txn; in pdr_get_domain_list() local
376 qmi_txn_cancel(&txn); in pdr_get_domain_list()
380 ret = qmi_txn_wait(&txn, 5 * HZ); in pdr_get_domain_list()
575 struct qmi_txn txn; in pdr_restart_pd() local
610 qmi_txn_cancel(&txn); in pdr_restart_pd()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
A Dqmi.c121 struct qmi_txn txn; in ath10k_qmi_msa_mem_info_send_sync_msg() local
138 qmi_txn_cancel(&txn); in ath10k_qmi_msa_mem_info_send_sync_msg()
198 struct qmi_txn txn; in ath10k_qmi_msa_ready_send_sync_msg() local
238 struct qmi_txn txn; in ath10k_qmi_bdf_dnld_send_sync() local
324 struct qmi_txn txn; in ath10k_qmi_send_cal_report_req() local
381 struct qmi_txn txn; in ath10k_qmi_mode_send_sync_msg() local
430 struct qmi_txn txn; in ath10k_qmi_cfg_send_sync_msg() local
545 struct qmi_txn txn; in ath10k_qmi_cap_send_sync_msg() local
624 struct qmi_txn txn; in ath10k_qmi_host_cap_send_sync() local
675 struct qmi_txn txn; in ath10k_qmi_set_fw_log_mode() local
[all …]
/linux/drivers/sbus/char/
A Ductrl.c273 incnt = txn->inbits; in uctrl_do_txn()
302 struct uctrl_txn txn; in uctrl_get_event_status() local
306 txn.inbits = 0; in uctrl_get_event_status()
307 txn.outbits = 2; in uctrl_get_event_status()
308 txn.inbuf = NULL; in uctrl_get_event_status()
309 txn.outbuf = outbits; in uctrl_get_event_status()
321 struct uctrl_txn txn; in uctrl_get_external_status() local
326 txn.inbits = 0; in uctrl_get_external_status()
327 txn.outbits = 2; in uctrl_get_external_status()
328 txn.inbuf = NULL; in uctrl_get_external_status()
[all …]
/linux/drivers/gpu/drm/omapdrm/
A Domap_dmm_tiler.c222 txn->current_pa = round_up(txn->current_pa, 16); in alloc_dma()
223 txn->current_va = (void *)round_up((long)txn->current_va, 16); in alloc_dma()
225 ptr = txn->current_va; in alloc_dma()
226 *pa = txn->current_pa; in alloc_dma()
337 txn = &engine->txn; in dmm_txn_init()
340 txn->last_pat = NULL; in dmm_txn_init()
344 return txn; in dmm_txn_init()
364 if (txn->last_pat) in dmm_txn_append()
390 txn->last_pat = pat; in dmm_txn_append()
404 if (!txn->last_pat) { in dmm_txn_commit()
[all …]
A Domap_dmm_priv.h147 struct dmm_txn txn; member
/linux/samples/qmi/
A Dqmi_sample_client.c306 struct qmi_txn txn; in ping_write() local
315 ret = qmi_send_request(qmi, NULL, &txn, in ping_write()
320 qmi_txn_cancel(&txn); in ping_write()
324 ret = qmi_txn_wait(&txn, 5 * HZ); in ping_write()
341 if (!txn) { in ping_pong_cb()
347 txn->result = -ENXIO; in ping_pong_cb()
349 txn->result = -EINVAL; in ping_pong_cb()
351 complete(&txn->completion); in ping_pong_cb()
375 struct qmi_txn txn; in data_write() local
403 qmi_txn_cancel(&txn); in data_write()
[all …]
/linux/drivers/net/ipa/
A Dipa_qmi.c181 struct qmi_txn *txn, in ipa_server_indication_register() argument
195 ret = qmi_send_response(qmi, sq, txn, IPA_QMI_INDICATION_REGISTER, in ipa_server_indication_register()
210 struct qmi_txn *txn, in ipa_server_driver_init_complete() argument
258 struct qmi_txn *txn, const void *decoded) in ipa_client_init_driver() argument
260 txn->result = 0; /* IPA_QMI_INIT_DRIVER request was successful */ in ipa_client_init_driver()
261 complete(&txn->completion); in ipa_client_init_driver()
410 struct qmi_txn txn; in ipa_client_init_driver_work() local
421 ret = qmi_txn_init(qmi, &txn, NULL, NULL); in ipa_client_init_driver_work()
429 ret = qmi_send_request(qmi, &ipa_qmi->modem_sq, &txn, in ipa_client_init_driver_work()
434 else if ((ret = qmi_txn_wait(&txn, timeout))) in ipa_client_init_driver_work()
[all …]
/linux/include/linux/soc/qcom/
A Dqmi.h196 struct qmi_txn *txn, const void *decoded);
251 struct qmi_txn *txn, int msg_id, size_t len,
254 struct qmi_txn *txn, int msg_id, size_t len,
267 int qmi_txn_init(struct qmi_handle *qmi, struct qmi_txn *txn,
269 int qmi_txn_wait(struct qmi_txn *txn, unsigned long timeout);
270 void qmi_txn_cancel(struct qmi_txn *txn);
/linux/drivers/remoteproc/
A Dqcom_sysmon.c290 struct qmi_txn *txn, const void *data) in sysmon_ind_cb() argument
333 struct qmi_txn txn; in ssctl_request_shutdown() local
339 ret = qmi_txn_init(&sysmon->qmi, &txn, ssctl_shutdown_resp_ei, &resp); in ssctl_request_shutdown()
345 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_request_shutdown()
349 qmi_txn_cancel(&txn); in ssctl_request_shutdown()
353 ret = qmi_txn_wait(&txn, 5 * HZ); in ssctl_request_shutdown()
379 struct qmi_txn txn; in ssctl_send_event() local
383 ret = qmi_txn_init(&sysmon->qmi, &txn, ssctl_subsys_event_resp_ei, &resp); in ssctl_send_event()
396 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_send_event()
401 qmi_txn_cancel(&txn); in ssctl_send_event()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
A Dqmi.c1589 struct qmi_txn txn = {}; in ath11k_qmi_host_cap_send() local
1667 struct qmi_txn txn; in ath11k_qmi_fw_ind_register_send() local
1737 struct qmi_txn txn = {}; in ath11k_qmi_respond_fw_mem_request() local
1914 struct qmi_txn txn = {}; in ath11k_qmi_request_target_cap() local
2003 struct qmi_txn txn = {}; in ath11k_qmi_load_file_target_mem() local
2074 qmi_txn_cancel(&txn); in ath11k_qmi_load_file_target_mem()
2248 struct qmi_txn txn = {}; in ath11k_qmi_wlanfw_m3_info_send() local
2306 struct qmi_txn txn = {}; in ath11k_qmi_wlanfw_mode_send() local
2361 struct qmi_txn txn = {}; in ath11k_qmi_wlanfw_wlan_cfg_send() local
2593 struct qmi_txn *txn, in ath11k_qmi_msg_mem_request_cb() argument
[all …]
/linux/drivers/staging/fwserial/
A Dfwserial.c222 if (txn->callback) in fwtty_common_callback()
223 txn->callback(card, rcode, payload, len, txn); in fwtty_common_callback()
232 struct fwtty_transaction *txn; in fwtty_send_data_async() local
236 if (!txn) in fwtty_send_data_async()
239 txn->callback = callback; in fwtty_send_data_async()
240 txn->port = port; in fwtty_send_data_async()
246 len, fwtty_common_callback, txn); in fwtty_send_data_async()
258 txn->callback = callback; in fwtty_send_txn_async()
259 txn->port = port; in fwtty_send_txn_async()
702 struct fwtty_transaction *txn; in fwtty_tx() local
[all …]
/linux/drivers/edac/
A Darmada_xp_edac.c410 uint32_t cnt, src, txn, err, attr_cap, addr_cap, way_cap; in aurora_l2_check() local
436 txn = (attr_cap & AURORA_ERR_ATTR_TXN_MSK) >> AURORA_ERR_ATTR_TXN_OFF; in aurora_l2_check()
437 switch (txn) { in aurora_l2_check()
/linux/drivers/dma/
A Dsa11x0-dma.c178 struct sa11x0_dma_desc *txn = sa11x0_dma_next_desc(c); in sa11x0_dma_start_sg() local
185 if (txn && txn->ddar == txd->ddar) { in sa11x0_dma_start_sg()
186 txd = txn; in sa11x0_dma_start_sg()
187 sa11x0_dma_start_desc(p, txn); in sa11x0_dma_start_sg()
/linux/arch/x86/events/intel/
A Dds.c1412 u64 txn = (tsx_tuning & PEBS_HSW_TSX_FLAGS) >> 32; in intel_get_tsx_transaction() local
1415 if ((txn & PERF_TXN_TRANSACTION) && (ax & 1)) in intel_get_tsx_transaction()
1416 txn |= ((ax >> 24) & 0xff) << PERF_TXN_ABORT_SHIFT; in intel_get_tsx_transaction()
1417 return txn; in intel_get_tsx_transaction()
1577 data->txn = intel_get_tsx_transaction(pebs->tsx_tuning, in setup_pebs_fixed_sample_data()
1720 data->txn = intel_get_tsx_transaction(meminfo->tsx_tuning, in setup_pebs_adaptive_sample_data()
/linux/include/linux/
A Dperf_event.h1009 u64 txn; member
1059 data->txn = 0; in perf_sample_data_init()
/linux/tools/perf/util/
A Dintel-pt.c2113 u64 txn = (u8)(items->tsx_aux_info >> 32); in intel_pt_do_synth_pebs_sample() local
2116 if (txn & PERF_TXN_TRANSACTION && ax & 1) in intel_pt_do_synth_pebs_sample()
2117 txn |= ((ax >> 24) & 0xff) << PERF_TXN_ABORT_SHIFT; in intel_pt_do_synth_pebs_sample()
2118 sample.transaction = txn; in intel_pt_do_synth_pebs_sample()
/linux/fs/ext4/
A Dsuper.c440 static void ext4_journal_commit_callback(journal_t *journal, transaction_t *txn) in ext4_journal_commit_callback() argument
447 BUG_ON(txn->t_state == T_FINISHED); in ext4_journal_commit_callback()
449 ext4_process_freed_data(sb, txn->t_tid); in ext4_journal_commit_callback()
452 while (!list_empty(&txn->t_private_list)) { in ext4_journal_commit_callback()
453 jce = list_entry(txn->t_private_list.next, in ext4_journal_commit_callback()
/linux/Documentation/driver-api/dmaengine/
A Dprovider.rst557 ``dmaengine_desc_clear_reuse()`` and submitting for last txn

Completed in 81 milliseconds

12