Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/sbus/char/
Ductrl.c264 static void uctrl_do_txn(struct uctrl_driver *driver, struct uctrl_txn *txn) in uctrl_do_txn() argument
275 incnt = txn->inbits; in uctrl_do_txn()
276 outcnt = txn->outbits; in uctrl_do_txn()
277 byte = (txn->opcode << 8); in uctrl_do_txn()
282 byte = (txn->inbuf[bytecnt] << 8); in uctrl_do_txn()
295 txn->outbuf[bytecnt] = (byte >> 8); in uctrl_do_txn()
304 struct uctrl_txn txn; in uctrl_get_event_status() local
307 txn.opcode = READ_EVENT_STATUS; in uctrl_get_event_status()
308 txn.inbits = 0; in uctrl_get_event_status()
309 txn.outbits = 2; in uctrl_get_event_status()
[all …]
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c82 static void *alloc_dma(struct dmm_txn *txn, size_t sz, dma_addr_t *pa) in alloc_dma() argument
85 struct refill_engine *engine = txn->engine_handle; in alloc_dma()
88 txn->current_pa = round_up(txn->current_pa, 16); in alloc_dma()
89 txn->current_va = (void *)round_up((long)txn->current_va, 16); in alloc_dma()
91 ptr = txn->current_va; in alloc_dma()
92 *pa = txn->current_pa; in alloc_dma()
94 txn->current_pa += sz; in alloc_dma()
95 txn->current_va += sz; in alloc_dma()
97 BUG_ON((txn->current_va - engine->refill_va) > REFILL_BUFFER_SIZE); in alloc_dma()
167 struct dmm_txn *txn = NULL; in dmm_txn_init() local
[all …]
Domap_dmm_priv.h147 struct dmm_txn txn; member
/linux-4.1.27/drivers/staging/fwserial/
Dfwserial.c90 struct fwtty_transaction *txn);
222 struct fwtty_transaction *txn = this; in fwtty_txn_constructor() local
224 init_timer(&txn->fw_txn.split_timeout_timer); in fwtty_txn_constructor()
230 struct fwtty_transaction *txn = cb_data; in fwtty_common_callback() local
231 struct fwtty_port *port = txn->port; in fwtty_common_callback()
235 if (txn->callback) in fwtty_common_callback()
236 txn->callback(card, rcode, payload, len, txn); in fwtty_common_callback()
237 kmem_cache_free(fwtty_txn_cache, txn); in fwtty_common_callback()
245 struct fwtty_transaction *txn; in fwtty_send_data_async() local
248 txn = kmem_cache_alloc(fwtty_txn_cache, GFP_ATOMIC); in fwtty_send_data_async()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Ddt_object.c101 int dt_txn_hook_stop(const struct lu_env *env, struct thandle *txn) in dt_txn_hook_stop() argument
103 struct dt_device *dev = txn->th_dev; in dt_txn_hook_stop()
107 if (txn->th_local) in dt_txn_hook_stop()
114 rc = cb->dtc_txn_stop(env, txn, cb->dtc_cookie); in dt_txn_hook_stop()
122 void dt_txn_hook_commit(struct thandle *txn) in dt_txn_hook_commit() argument
126 if (txn->th_local) in dt_txn_hook_commit()
129 list_for_each_entry(cb, &txn->th_dev->dd_txn_callbacks, in dt_txn_hook_commit()
132 cb->dtc_txn_commit(txn, cb->dtc_cookie); in dt_txn_hook_commit()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_ds.c841 u64 txn = (pebs->tsx_tuning & PEBS_HSW_TSX_FLAGS) >> 32; in intel_hsw_transaction() local
844 if ((txn & PERF_TXN_TRANSACTION) && (pebs->ax & 1)) in intel_hsw_transaction()
845 txn |= ((pebs->ax >> 24) & 0xff) << PERF_TXN_ABORT_SHIFT; in intel_hsw_transaction()
846 return txn; in intel_hsw_transaction()
958 data.txn = intel_hsw_transaction(pebs); in __intel_pmu_pebs_event()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Ddt_object.h784 struct thandle *txn, void *cookie);
786 struct thandle *txn, void *cookie);
787 void (*dtc_txn_commit)(struct thandle *txn, void *cookie);
797 struct dt_device *dev, struct thandle *txn);
798 int dt_txn_hook_stop(const struct lu_env *env, struct thandle *txn);
799 void dt_txn_hook_commit(struct thandle *txn);
/linux-4.1.27/drivers/dma/
Dsa11x0-dma.c182 struct sa11x0_dma_desc *txn = sa11x0_dma_next_desc(c); in sa11x0_dma_start_sg() local
189 if (txn && txn->ddar == txd->ddar) { in sa11x0_dma_start_sg()
190 txd = txn; in sa11x0_dma_start_sg()
191 sa11x0_dma_start_desc(p, txn); in sa11x0_dma_start_sg()
/linux-4.1.27/include/linux/
Dperf_event.h667 u64 txn; member
717 data->txn = 0; in perf_sample_data_init()
/linux-4.1.27/fs/ext4/
Dsuper.c343 static void ext4_journal_commit_callback(journal_t *journal, transaction_t *txn) in ext4_journal_commit_callback() argument
350 BUG_ON(txn->t_state == T_FINISHED); in ext4_journal_commit_callback()
352 while (!list_empty(&txn->t_private_list)) { in ext4_journal_commit_callback()
353 jce = list_entry(txn->t_private_list.next, in ext4_journal_commit_callback()
/linux-4.1.27/kernel/events/
Dcore.c1324 size += sizeof(data->txn); in perf_event__header_size()
5278 perf_output_put(handle, data->txn); in perf_output_sample()