Home
last modified time | relevance | path

Searched refs:op_flag (Results 1 – 7 of 7) sorted by relevance

/third_party/ltp/lib/
Dtst_cmd.c247 int op_flag = 0; in tst_check_cmd() local
263 op_flag = OP_GE; in tst_check_cmd()
265 op_flag = OP_GT; in tst_check_cmd()
267 op_flag = OP_LE; in tst_check_cmd()
269 op_flag = OP_LT; in tst_check_cmd()
271 op_flag = OP_EQ; in tst_check_cmd()
273 op_flag = OP_NE; in tst_check_cmd()
303 switch (op_flag) { in tst_check_cmd()
/third_party/alsa-lib/src/control/
Dcontrol_ext.c327 static int snd_ctl_ext_elem_tlv(snd_ctl_t *handle, int op_flag, in snd_ctl_ext_elem_tlv() argument
355 if ((op_flag == 0 && (access & SND_CTL_EXT_ACCESS_TLV_READ) == 0) || in snd_ctl_ext_elem_tlv()
356 (op_flag > 0 && (access & SND_CTL_EXT_ACCESS_TLV_WRITE) == 0) || in snd_ctl_ext_elem_tlv()
357 (op_flag < 0 && (access & SND_CTL_EXT_ACCESS_TLV_COMMAND) == 0)) in snd_ctl_ext_elem_tlv()
360 return ext->tlv.c(ext, key, op_flag, numid, tlv, tlv_size); in snd_ctl_ext_elem_tlv()
362 if (op_flag) in snd_ctl_ext_elem_tlv()
Dcontrol_hw.c220 static int snd_ctl_hw_elem_tlv(snd_ctl_t *handle, int op_flag, in snd_ctl_hw_elem_tlv() argument
232 switch (op_flag) { in snd_ctl_hw_elem_tlv()
248 if (op_flag == 0) { in snd_ctl_hw_elem_tlv()
Dcontrol_remap.c661 static int remap_map_elem_tlv(snd_ctl_remap_t *priv, int op_flag, unsigned int numid, in remap_map_elem_tlv() argument
673 if (op_flag != 0) /* read only */ in remap_map_elem_tlv()
681 err = priv->child->ops->element_tlv(priv->child, op_flag, mctl->id_child.numid, tlv, tlv_size); in remap_map_elem_tlv()
695 err = priv->child->ops->element_tlv(priv->child, op_flag, mctl->id_child.numid, tlv2, tlv_size); in remap_map_elem_tlv()
709 static int snd_ctl_remap_elem_tlv(snd_ctl_t *ctl, int op_flag, in snd_ctl_remap_elem_tlv() argument
717 debug("%s: numid = %d, op_flag = %d\n", __func__, numid, op_flag); in snd_ctl_remap_elem_tlv()
718 err = remap_map_elem_tlv(priv, op_flag, numid, tlv, tlv_size); in snd_ctl_remap_elem_tlv()
724 return priv->child->ops->element_tlv(priv->child, op_flag, map_numid->numid_child, tlv, tlv_size); in snd_ctl_remap_elem_tlv()
Dcontrol_local.h40 int (*element_tlv)(snd_ctl_t *handle, int op_flag, unsigned int numid,
Dcontrol.c1036 static int snd_ctl_tlv_do(snd_ctl_t *ctl, int op_flag, in snd_ctl_tlv_do() argument
1057 err = ctl->ops->element_tlv(ctl, op_flag, id->numid, tlv, tlv_size); in snd_ctl_tlv_do()
/third_party/alsa-lib/include/
Dcontrol_external.h69 typedef int (snd_ctl_ext_tlv_rw_t)(snd_ctl_ext_t *ext, snd_ctl_ext_key_t key, int op_flag, unsigned…