• Home
  • Raw
  • Download

Lines Matching refs:SM_CAPT

334 	memcpy(cvol, s->str[SM_CAPT].vol, sizeof(cvol));  in selem_read()
335 memset(&s->str[SM_CAPT].vol, 0, sizeof(s->str[SM_CAPT].vol)); in selem_read()
336 csw = s->str[SM_CAPT].sw; in selem_read()
337 s->str[SM_CAPT].sw = ~0U; in selem_read()
404 err = elem_read_volume(s, SM_CAPT, CTL_CAPTURE_VOLUME); in selem_read()
406 err = elem_read_volume(s, SM_CAPT, CTL_GLOBAL_VOLUME); in selem_read()
409 err = elem_read_volume(s, SM_CAPT, CTL_SINGLE); in selem_read()
414 s->str[SM_CAPT].sw = 0; in selem_read()
418 err = elem_read_switch(s, SM_CAPT, CTL_CAPTURE_SWITCH); in selem_read()
423 err = elem_read_switch(s, SM_CAPT, CTL_GLOBAL_SWITCH); in selem_read()
429 err = elem_read_switch(s, SM_CAPT, CTL_SINGLE); in selem_read()
434 err = elem_read_route(s, SM_CAPT, CTL_CAPTURE_ROUTE); in selem_read()
439 err = elem_read_route(s, SM_CAPT, CTL_GLOBAL_ROUTE); in selem_read()
449 for (idx = 0; idx < s->str[SM_CAPT].channels; idx++) { in selem_read()
455 s->str[SM_CAPT].sw &= ~(1 << idx); in selem_read()
462 memcmp(cvol, s->str[SM_CAPT].vol, sizeof(cvol)) || in selem_read()
463 csw != s->str[SM_CAPT].sw) in selem_read()
616 err = elem_write_volume(s, SM_CAPT, CTL_CAPTURE_VOLUME); in selem_write_main()
621 err = elem_write_switch(s, SM_CAPT, CTL_CAPTURE_SWITCH); in selem_write_main()
626 err = elem_write_route(s, SM_CAPT, CTL_CAPTURE_ROUTE); in selem_write_main()
636 if (s->str[SM_CAPT].sw & (1 << idx)) in selem_write_main()
881 simple->str[SM_CAPT].channels = cchannels; in simple_update()
882 if (!simple->str[SM_CAPT].range) { in simple_update()
883 simple->str[SM_CAPT].min = cmin != LONG_MAX ? cmin : 0; in simple_update()
884 simple->str[SM_CAPT].max = cmax != LONG_MIN ? cmax : 0; in simple_update()
1031 if (dir == SM_CAPT && (s->selem.caps & SM_CAP_CENUM) && !(s->selem.caps & SM_CAP_PENUM) ) in is_ops()
1155 else if (dir == SM_CAPT) in get_selem_ctl()