• Home
  • Raw
  • Download

Lines Matching refs:selem

78 	sm_selem_t selem;  member
299 if ((s->selem.caps & (SM_CAP_CENUM | SM_CAP_PENUM)) == in elem_read_enum()
302 else if (s->selem.caps & SM_CAP_PENUM) in elem_read_enum()
304 else if (s->selem.caps & SM_CAP_CENUM) in elem_read_enum()
371 if ((s->selem.caps & (SM_CAP_GSWITCH|SM_CAP_PSWITCH)) == 0) { in selem_read()
413 if ((s->selem.caps & (SM_CAP_GSWITCH|SM_CAP_CSWITCH)) == 0) { in selem_read()
541 if ((s->selem.caps & (SM_CAP_CENUM | SM_CAP_PENUM)) == in elem_write_enum()
544 else if (s->selem.caps & SM_CAP_PENUM) in elem_write_enum()
546 else if (s->selem.caps & SM_CAP_CENUM) in elem_write_enum()
664 if (simple->selem.id) in selem_free()
665 snd_mixer_selem_id_free(simple->selem.id); in selem_free()
875 simple->selem.caps = caps; in simple_update()
969 if (s->selem.caps & SM_CAP_GVOLUME) in _snd_mixer_selem_set_volume()
975 if (s->selem.caps & in _snd_mixer_selem_set_volume()
990 if (s->selem.caps & in _snd_mixer_selem_set_switch()
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()
1051 } else if (s->selem.caps & SM_CAP_CENUM ) { in is_ops()
1089 if (s->selem.caps & SM_CAP_GVOLUME) in get_volume_ops()
1184 if (s->selem.caps & SM_CAP_GVOLUME) in get_dB_range_ops()
1227 if (s->selem.caps & SM_CAP_GVOLUME) in get_dB_ops()
1246 if (s->selem.caps & SM_CAP_GSWITCH) in get_switch_ops()
1272 if (s->selem.caps & SM_CAP_GVOLUME) in ask_dB_vol_ops()
1289 if (s->selem.caps & SM_CAP_GVOLUME) in set_dB_ops()
1305 if (s->selem.caps & SM_CAP_GSWITCH) in set_switch_ops()
1308 if (! (s->selem.caps & (SM_CAP_GSWITCH|SM_CAP_PSWITCH))) in set_switch_ops()
1311 if (! (s->selem.caps & (SM_CAP_GSWITCH|SM_CAP_CSWITCH))) in set_switch_ops()
1537 simple->selem.id = id; in simple_add1()
1538 simple->selem.ops = &simple_none_ops; in simple_add1()
1541 snd_mixer_selem_id_get_name(simple->selem.id), in simple_add1()
1542 snd_mixer_selem_id_get_index(simple->selem.id)), in simple_add1()