is_rx
if (!vioch->is_rx && vioch->deferred_tx_wq)
if (vioch->is_rx)
bool is_rx;
channels[VIRTIO_SCMI_VQ_RX].is_rx = true;
if (!channels[i].is_rx)
channels[i].is_rx ? "rx" : "tx",
static void omap_i2c_resize_fifo(struct omap_i2c_dev *omap, u8 size, bool is_rx)
if (is_rx) {
static int qup_i2c_conf_xfer_v1(struct qup_i2c_dev *qup, bool is_rx)
if (is_rx)
qup_i2c_conf_xfer_v2(struct qup_i2c_dev *qup, bool is_rx, bool is_first,
if (is_rx)
static int qup_i2c_xfer_v2_msg(struct qup_i2c_dev *qup, int msg_id, bool is_rx)
qup->blk_xfer_limit = is_rx ? RECV_MAX_DATA_LEN : QUP_READ_LIMIT;
if (is_rx) {
ret = qup_i2c_conf_xfer_v2(qup, is_rx, !msg_id && !i,
bool is_rx = vdev->vfl_dir != VFL_DIR_TX;
if ((is_rx && (ops->vidioc_enum_fmt_vid_cap ||
if ((is_rx && (ops->vidioc_g_fmt_vid_cap ||
if ((is_rx && (ops->vidioc_s_fmt_vid_cap ||
if ((is_rx && (ops->vidioc_try_fmt_vid_cap ||
if (is_meta && is_rx) {
if ((is_rx && (ops->vidioc_g_fmt_vbi_cap ||
if ((is_rx && (ops->vidioc_s_fmt_vbi_cap ||
if ((is_rx && (ops->vidioc_try_fmt_vbi_cap ||
} else if (is_sdr && is_rx) {
if (is_rx) {
if (is_rx && !is_tch) {
if (is_rx) {
bool is_rx = vfd->vfl_dir != VFL_DIR_TX;
if ((is_vid || is_tch) && is_rx &&
if ((is_vid || is_tch) && is_rx && ops->vidioc_g_fmt_vid_cap_mplane)
if (is_vid && is_rx && ops->vidioc_g_fmt_vid_overlay)
if (is_vbi && is_rx && ops->vidioc_g_fmt_vbi_cap)
if (is_vbi && is_rx && ops->vidioc_g_fmt_sliced_vbi_cap)
if (is_sdr && is_rx && ops->vidioc_g_fmt_sdr_cap)
if (is_meta && is_rx && ops->vidioc_g_fmt_meta_cap)
bool is_rx, const u64 rule_id, u8 format_ver)
mem_rec_type = is_rx ? DR_DUMP_REC_TYPE_RULE_RX_ENTRY_V0 :
mem_rec_type = is_rx ? DR_DUMP_REC_TYPE_RULE_RX_ENTRY_V1 :
bool is_rx, const u64 rule_id, u8 format_ver)
ret = dr_dump_rule_mem(file, buff, ste_arr[i], is_rx, rule_id,
u32 index, bool is_rx, const u64 matcher_id)
is_rx, builder->lu_type);
dr_dump_matcher_rx_tx(struct seq_file *file, char *buff, bool is_rx,
rec_type = is_rx ? DR_DUMP_REC_TYPE_MATCHER_RX :
i, is_rx, matcher_id);
dr_dump_table_rx_tx(struct seq_file *file, char *buff, bool is_rx,
rec_type = is_rx ? DR_DUMP_REC_TYPE_TABLE_RX :
bool is_rx = nic_type == DR_DOMAIN_NIC_TYPE_RX;
ste_ctx->ste_init(formatted_ste, htbl->lu_type, is_rx, gvmi);
bool is_rx = nic_dmn->type == DR_DOMAIN_NIC_TYPE_RX;
is_rx,
bool is_rx, u16 gvmi);
bool is_rx, u16 gvmi)
entry_type = is_rx ? DR_STE_TYPE_RX : DR_STE_TYPE_TX;
void dr_ste_v1_init(u8 *hw_ste_p, u16 lu_type, bool is_rx, u16 gvmi)
void dr_ste_v1_init(u8 *hw_ste_p, u16 lu_type, bool is_rx, u16 gvmi);
b_is_rx = req->is_rx ? true : false;
req->is_rx = p_cid->b_is_rx ? 1 : 0;
u8 is_rx;
int size, bool is_rx)
if (is_rx) {
tx = !sring->is_rx;
sring->is_rx ? "RX" : "TX", sring_idx);
if (ring->is_rx) {
if (wil->use_enhanced_dma_hw && ring->is_rx)
int ring_id = ring->is_rx ?
vring->is_rx = true;
vring->is_rx = false;
vring->is_rx = false;
if (!vring->is_rx) {
if (!vring->is_rx) {
sring->is_rx = false;
ring->is_rx = false;
sring->is_rx = true;
if (ring->is_rx) {
ring->is_rx ? "RX" : "TX",
if (ring->is_rx) {
ring->is_rx = true;
bool is_rx;
bool is_rx;
struct vring_desc *desc, bool is_rx)
mlxbf_tmfifo_get_next_pkt(struct mlxbf_tmfifo_vring *vring, bool is_rx)
if (desc && is_rx && vring->vdev_id == VIRTIO_ID_NET)
mlxbf_tmfifo_init_net_desc(vring, desc, is_rx);
bool is_rx, int len)
if (is_rx)
if (is_rx) {
if (is_rx) {
if (!is_rx)
bool is_rx, bool *vring_change)
if (is_rx) {
fifo->vring[is_rx] = vring;
bool is_rx, int *avail)
desc = mlxbf_tmfifo_get_next_pkt(vring, is_rx);
if (is_rx) {
mlxbf_tmfifo_rxtx_header(vring, &desc, is_rx, &vring_change);
mlxbf_tmfifo_rxtx_word(vring, desc, is_rx, len);
fifo->vring[is_rx] = NULL;
spin_lock_irqsave(&fifo->spin_lock[is_rx], flags);
spin_unlock_irqrestore(&fifo->spin_lock[is_rx], flags);
static void mlxbf_tmfifo_rxtx(struct mlxbf_tmfifo_vring *vring, bool is_rx)
if (fifo->vring[is_rx] && fifo->vring[is_rx] != vring)
if (is_rx)
if (!is_rx) {
if (!is_rx && devid == VIRTIO_ID_CONSOLE) {
more = mlxbf_tmfifo_rxtx_one_desc(vring, is_rx, &avail);
if (avail <= 0 && !is_rx)
int irq_id, bool is_rx)
mlxbf_tmfifo_rxtx(vring, is_rx);
u32 tdms, u32 tdm_id, bool is_rx)
if (is_rx) {
if (is_rx) {
if (is_rx) {
u32 tdms, u32 tdm_id, bool is_rx)
if (is_rx) {
u32 tdms, u32 tdm_id, bool is_rx)
tsa_qe_init_entries_area(tsa, area, tdms, tdm_id, is_rx);
tsa_cpm1_init_entries_area(tsa, area, tdms, tdm_id, is_rx);
u32 tdms, u32 tdm_id, bool is_rx)
route_name = is_rx ? "fsl,rx-ts-routes" : "fsl,tx-ts-routes";
tsa_init_entries_area(tsa, &area, tdms, tdm_id, is_rx);
if (is_rx) {
static int atcspi_dma_config(struct atcspi_dev *spi, bool is_rx)
if (is_rx) {
int size, bool is_rx);
#define SMC_STAT_BUF_REUSE(smc, is_smcd, is_rx) \
SMC_STAT_RMB(smc, reuse, is_smcd, is_rx)
#define SMC_STAT_RMB_ALLOC(smc, is_smcd, is_rx) \
SMC_STAT_RMB(smc, alloc, is_smcd, is_rx)
#define SMC_STAT_RMB_DOWNGRADED(smc, is_smcd, is_rx) \
SMC_STAT_RMB(smc, dgrade, is_smcd, is_rx)
if (is_rx(c)) {
scnprintf(c->name, 48, "%s(%s)", (is_rx(c)) ? "RX" : "TX",
(is_rx(c)) ? tipc_node_get_id_str(c->node) :
if (is_rx(c))
if (is_rx(c))
if (is_rx(c))
int is_rx;
int num, bool is_rx)
if (is_rx)
bool is_rx)
if (is_rx) {
rockchip_sai_path_config(sai, num, is_rx);