Lines Matching refs:SM_CAP_CENUM
299 if ((s->selem.caps & (SM_CAP_CENUM | SM_CAP_PENUM)) == in elem_read_enum()
300 (SM_CAP_CENUM | SM_CAP_PENUM)) in elem_read_enum()
304 else if (s->selem.caps & SM_CAP_CENUM) in elem_read_enum()
541 if ((s->selem.caps & (SM_CAP_CENUM | SM_CAP_PENUM)) == in elem_write_enum()
542 (SM_CAP_CENUM | SM_CAP_PENUM)) in elem_write_enum()
546 else if (s->selem.caps & SM_CAP_CENUM) in elem_write_enum()
791 caps |= SM_CAP_PENUM | SM_CAP_CENUM; in simple_update()
803 caps |= SM_CAP_CENUM; in simple_update()
1029 if (dir == SM_PLAY && (s->selem.caps & SM_CAP_PENUM) && !(s->selem.caps & SM_CAP_CENUM) ) in is_ops()
1031 if (dir == SM_CAPT && (s->selem.caps & SM_CAP_CENUM) && !(s->selem.caps & SM_CAP_PENUM) ) in is_ops()
1035 if (s->selem.caps & (SM_CAP_CENUM | SM_CAP_PENUM) ) in is_ops()
1041 if ( (s->selem.caps & (SM_CAP_CENUM | SM_CAP_PENUM)) == (SM_CAP_CENUM | SM_CAP_PENUM) ) { in is_ops()
1051 } else if (s->selem.caps & SM_CAP_CENUM ) { in is_ops()