Home
last modified time | relevance | path

Searched refs:tran (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/util/
H A Dtransactions.c40 Transaction *tran = g_new(Transaction, 1); in tran_new() local
42 QSLIST_INIT(&tran->actions); in tran_new()
44 return tran; in tran_new()
47 void tran_add(Transaction *tran, TransactionActionDrv *drv, void *opaque) in tran_add() argument
57 QSLIST_INSERT_HEAD(&tran->actions, act, entry); in tran_add()
60 void tran_abort(Transaction *tran) in tran_abort() argument
64 QSLIST_FOREACH(act, &tran->actions, entry) { in tran_abort()
70 QSLIST_FOREACH_SAFE(act, &tran->actions, entry, next) { in tran_abort()
78 g_free(tran); in tran_abort()
81 void tran_commit(Transaction *tran) in tran_commit() argument
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_psr_regs.h26 #define EDP_PSR_CTL(tran) _MMIO_TRANS2(tran, _SRD_CTL_A) argument
67 #define TRANS_PSR_IMR(tran) _MMIO_TRANS2(tran, _PSR_IMR_A) argument
68 #define TRANS_PSR_IIR(tran) _MMIO_TRANS2(tran, _PSR_IIR_A) argument
87 #define EDP_PSR_AUX_CTL(tran) _MMIO_TRANS2(tran, _SRD_AUX_CTL_A) argument
97 #define EDP_PSR_AUX_DATA(tran, i) _MMIO_TRANS2(tran, _SRD_AUX_DATA_A + (i) * 4) /* 5 registers */ argument
102 #define EDP_PSR_STATUS(tran) _MMIO_TRANS2(tran, _SRD_STATUS_A) argument
127 #define EDP_PSR_PERF_CNT(tran) _MMIO_TRANS2(tran, _SRD_PERF_CNT_A) argument
134 #define EDP_PSR_DEBUG(tran) _MMIO_TRANS2(tran, _SRD_DEBUG_A) argument
154 #define EDP_PSR2_CTL(tran) _MMIO_TRANS2(tran, _PSR2_CTL_A) argument
195 #define PSR_EVENT(tran) _MMIO_TRANS2(tran, _PSR_EVENT_TRANS_A) argument
[all …]
H A Dintel_display_reg_defs.h20 #define _TRANS(tran, a, b) _PICK_EVEN(tran, a, b) argument
27 #define _MMIO_TRANS(tran, a, b) _MMIO(_TRANS(tran, a, b)) argument
42 #define _MMIO_TRANS2(tran, reg) _MMIO(DISPLAY_INFO(dev_priv)->trans_offsets[(tran)] - \ argument
H A Dintel_display_power.h124 #define POWER_DOMAIN_TRANSCODER(tran) \ argument
125 ((tran) == TRANSCODER_EDP ? POWER_DOMAIN_TRANSCODER_EDP : \
126 (tran) + POWER_DOMAIN_TRANSCODER_A)
/openbmc/qemu/include/qemu/
H A Dtransactions.h53 void tran_add(Transaction *tran, TransactionActionDrv *drv, void *opaque);
54 void tran_abort(Transaction *tran);
55 void tran_commit(Transaction *tran);
57 static inline void tran_finalize(Transaction *tran, int ret) in tran_finalize() argument
60 tran_abort(tran); in tran_finalize()
62 tran_commit(tran); in tran_finalize()
/openbmc/qemu/
H A Dblock.c99 bdrv_remove_child(BdrvChild *child, Transaction *tran);
110 GHashTable *visited, Transaction *tran,
1230 GHashTable *visited, Transaction *tran, in bdrv_child_cb_change_aio_ctx() argument
1234 return bdrv_change_aio_context(bs, ctx, visited, tran, errp); in bdrv_child_cb_change_aio_ctx()
2336 uint64_t shared, Transaction *tran) in bdrv_child_set_perm() argument
2350 tran_add(tran, &bdrv_child_set_pem_drv, s); in bdrv_child_set_perm()
2387 Transaction *tran, Error **errp) in bdrv_drv_set_perm() argument
2401 if (tran) { in bdrv_drv_set_perm()
2402 tran_add(tran, &bdrv_drv_set_perm_drv, bs); in bdrv_drv_set_perm()
2470 Transaction *tran) in bdrv_replace_child_tran() argument
[all …]
H A Dblockdev.c1201 Transaction *tran, Error **errp) in internal_snapshot_action() argument
1216 tran_add(tran, &internal_snapshot_drv, state); in internal_snapshot_action()
1341 Transaction *tran, Error **errp) in external_snapshot_action() argument
1360 tran_add(tran, &external_snapshot_drv, state); in external_snapshot_action()
1591 Transaction *tran, Error **errp) in drive_backup_action() argument
1608 tran_add(tran, &drive_backup_drv, state); in drive_backup_action()
1775 Transaction *tran, Error **errp) in blockdev_backup_action() argument
1783 tran_add(tran, &blockdev_backup_drv, state); in blockdev_backup_action()
1855 Transaction *tran, Error **errp) in block_dirty_bitmap_add_action() argument
1860 tran_add(tran, &block_dirty_bitmap_add_drv, state); in block_dirty_bitmap_add_action()
[all …]
H A Dblockjob.c148 GHashTable *visited, Transaction *tran, in child_job_change_aio_ctx() argument
158 tran, errp)) { in child_job_change_aio_ctx()
169 tran_add(tran, &change_child_job_context, s); in child_job_change_aio_ctx()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_reg.h3998 #define PIPE_DATA_M1(tran) _MMIO_TRANS2(tran, _PIPEA_DATA_M1) argument
3999 #define PIPE_DATA_N1(tran) _MMIO_TRANS2(tran, _PIPEA_DATA_N1) argument
4000 #define PIPE_DATA_M2(tran) _MMIO_TRANS2(tran, _PIPEA_DATA_M2) argument
4001 #define PIPE_DATA_N2(tran) _MMIO_TRANS2(tran, _PIPEA_DATA_N2) argument
4002 #define PIPE_LINK_M1(tran) _MMIO_TRANS2(tran, _PIPEA_LINK_M1) argument
4003 #define PIPE_LINK_N1(tran) _MMIO_TRANS2(tran, _PIPEA_LINK_N1) argument
4004 #define PIPE_LINK_M2(tran) _MMIO_TRANS2(tran, _PIPEA_LINK_M2) argument
4005 #define PIPE_LINK_N2(tran) _MMIO_TRANS2(tran, _PIPEA_LINK_N2) argument
5621 #define TRANS_DDI_FUNC_CTL(tran) _MMIO_TRANS2(tran, _TRANS_DDI_FUNC_CTL_A) argument
5676 #define TRANS_DDI_FUNC_CTL2(tran) _MMIO_TRANS2(tran, _TRANS_DDI_FUNC_CTL2_A) argument
[all …]
/openbmc/qemu/include/block/
H A Dblock-global-state.h140 bdrv_refresh_limits(BlockDriverState *bs, Transaction *tran, Error **errp);
272 GHashTable *visited, Transaction *tran,
H A Dblock_int-common.h990 GHashTable *visited, Transaction *tran,
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_pf.c884 static int qlcnic_sriov_pf_create_rx_ctx_cmd(struct qlcnic_bc_trans *tran, in qlcnic_sriov_pf_create_rx_ctx_cmd() argument
887 struct qlcnic_vf_info *vf = tran->vf; in qlcnic_sriov_pf_create_rx_ctx_cmd()
1237 static int qlcnic_sriov_pf_cfg_intrcoal_cmd(struct qlcnic_bc_trans *tran, in qlcnic_sriov_pf_cfg_intrcoal_cmd() argument
1240 struct qlcnic_vf_info *vf = tran->vf; in qlcnic_sriov_pf_cfg_intrcoal_cmd()
1431 static int qlcnic_sriov_pf_cfg_guest_vlan_cmd(struct qlcnic_bc_trans *tran, in qlcnic_sriov_pf_cfg_guest_vlan_cmd() argument
1434 struct qlcnic_vf_info *vf = tran->vf; in qlcnic_sriov_pf_cfg_guest_vlan_cmd()
/openbmc/qemu/pc-bios/
H A Dpetalogix-ml605.dts159 xlnx,rxvlan-tran = < 0x00 >;
165 xlnx,txvlan-tran = < 0x00 >;
/openbmc/linux/drivers/tty/serial/
H A Dmax3100.c199 struct spi_transfer tran = { in max3100_sr() local
207 spi_message_add_tail(&tran, &message); in max3100_sr()
/openbmc/qemu/block/
H A Dblock-backend.c140 GHashTable *visited, Transaction *tran,
2429 GHashTable *visited, Transaction *tran, in blk_root_change_aio_ctx() argument
2454 tran_add(tran, &set_blk_root_context, s); in blk_root_change_aio_ctx()
H A Dio.c169 void bdrv_refresh_limits(BlockDriverState *bs, Transaction *tran, Error **errp) in bdrv_refresh_limits() argument
178 if (tran) { in bdrv_refresh_limits()
184 tran_add(tran, &bdrv_refresh_limits_drv, s); in bdrv_refresh_limits()