Lines Matching defs:map
73 const struct usbmix_name_map *map;
1596 const struct usbmix_name_map *map;
1604 map = find_map(imap, unitid, control);
1605 if (check_ignored_ctl(map))
1655 len = check_mapped_name(map, kctl->id.name, sizeof(kctl->id.name));
1724 check_mapped_dB(map, cval);
1765 __build_feature_ctl(state->mixer, state->map, ctl_mask, control,
1804 const struct usbmix_name_map *map;
1806 map = find_map(imap, term->id, 0);
1807 if (check_ignored_ctl(map))
1840 if (check_mapped_name(map, kctl->id.name, sizeof(kctl->id.name)))
2078 const struct usbmix_name_map *map;
2080 map = find_map(state->map, unitid, 0);
2081 if (check_ignored_ctl(map))
2111 len = check_mapped_name(map, kctl->id.name, sizeof(kctl->id.name));
2149 build_connector_control(state->mixer, state->map, &iterm, true);
2388 const struct usbmix_name_map *map;
2426 map = find_map(state->map, unitid, valinfo->control);
2427 if (check_ignored_ctl(map))
2501 if (check_mapped_name(map, kctl->id.name, sizeof(kctl->id.name))) {
2657 const struct usbmix_name_map *map;
2669 map = find_map(state->map, unitid, 0);
2670 if (check_ignored_ctl(map))
2732 len = check_mapped_name(map, kctl->id.name, sizeof(kctl->id.name));
2983 const struct usbmix_ctl_map *map;
3060 for (map = uac3_badd_usbmix_ctl_maps; map->id; map++) {
3061 if (map->id == badd_profile)
3065 if (!map->id)
3082 UAC3_BADD_FU_ID2, map->map);
3085 UAC3_BADD_FU_ID2, map->map);
3092 UAC3_BADD_FU_ID5, map->map);
3095 UAC3_BADD_FU_ID5, map->map);
3102 UAC3_BADD_FU_ID7, map->map);
3105 UAC3_BADD_FU_ID7, map->map);
3116 build_connector_control(mixer, map->map, &iterm, true);
3122 build_connector_control(mixer, map->map, &oterm, false);
3137 const struct usbmix_ctl_map *map;
3147 for (map = usbmix_ctl_maps; map->id; map++) {
3148 if (map->id == state.chip->usb_id) {
3149 state.map = map->map;
3150 state.selector_map = map->selector_map;
3151 mixer->connector_map = map->connector_map;
3152 mixer->ignore_ctl_error |= map->ignore_ctl_error;
3198 build_connector_control(state.mixer, state.map,
3224 build_connector_control(state.mixer, state.map,
3236 const struct usbmix_connector_map *map = mixer->connector_map;
3238 if (!map)
3241 for (; map->id; map++) {
3242 if (map->id == unitid) {
3243 if (control && map->control)
3244 *control = map->control;
3245 if (channel && map->channel)
3246 *channel = map->channel;
3247 return map->delegated_id;