Lines Matching refs:SM_CAP_PENUM
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()
302 else if (s->selem.caps & SM_CAP_PENUM) 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()
544 else if (s->selem.caps & SM_CAP_PENUM) in elem_write_enum()
791 caps |= SM_CAP_PENUM | SM_CAP_CENUM; in simple_update()
797 caps |= SM_CAP_PENUM; 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()
1046 } else if (s->selem.caps & SM_CAP_PENUM ) { in is_ops()