Home
last modified time | relevance | path

Searched refs:baSourceID (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/include/uapi/linux/usb/
Daudio.h264 __u8 baSourceID[]; member
269 return desc->baSourceID[desc->bNrInPins]; in uac_mixer_unit_bNrChannels()
276 return (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_mixer_unit_wChannelConfig()
277 desc->baSourceID[desc->bNrInPins + 1]; in uac_mixer_unit_wChannelConfig()
279 return (desc->baSourceID[desc->bNrInPins + 4] << 24) | in uac_mixer_unit_wChannelConfig()
280 (desc->baSourceID[desc->bNrInPins + 3] << 16) | in uac_mixer_unit_wChannelConfig()
281 (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_mixer_unit_wChannelConfig()
282 (desc->baSourceID[desc->bNrInPins + 1]); in uac_mixer_unit_wChannelConfig()
289 desc->baSourceID[desc->bNrInPins + 3] : in uac_mixer_unit_iChannelNames()
290 desc->baSourceID[desc->bNrInPins + 5]; in uac_mixer_unit_iChannelNames()
[all …]
Dvideo.h304 __u8 baSourceID[0]; member
320 __u8 baSourceID[n]; \
349 __u8 baSourceID[0]; member
369 __u8 baSourceID[p]; \
Dmidi.h61 __u8 baSourceID; member
/linux-6.6.21/drivers/media/usb/uvc/
Duvc_driver.c155 if (entity->baSourceID[i] == id) in uvc_entity_by_reference()
818 entity->baSourceID = (u8 *)(&entity->pads[num_pads]); in uvc_alloc_entity()
903 memcpy(unit->baSourceID, &buffer[22], p); in uvc_parse_vendor_control()
1072 memcpy(term->baSourceID, &buffer[7], 1); in uvc_parse_standard_control()
1093 memcpy(unit->baSourceID, &buffer[5], p); in uvc_parse_standard_control()
1115 memcpy(unit->baSourceID, &buffer[4], 1); in uvc_parse_standard_control()
1146 memcpy(unit->baSourceID, &buffer[22], p); in uvc_parse_standard_control()
1470 entity->baSourceID[0]); in uvc_scan_chain_forward()
1478 forward->baSourceID[0] = source->id; in uvc_scan_chain_forward()
1532 id = entity->baSourceID[0]; in uvc_scan_chain_backward()
[all …]
Duvc_entity.c39 remote = uvc_entity_by_id(chain->dev, entity->baSourceID[i]); in uvc_mc_create_links()
Duvcvideo.h233 u8 *baSourceID; member
Duvc_v4l2.c946 if (it->id == selector->baSourceID[index]) { in uvc_ioctl_enum_input()
/linux-6.6.21/Documentation/usb/
Dgadget_uvc.rst219 echo 2 > baSourceID
224 cat bUnitID > ../../terminal/output/default/baSourceID
236 The bmControls attribute and the baSourceID attribute are multi-value attributes.
248 The multi-value nature of the baSourceID attribute belies the fact that XUs can
252 similarly bNrInPins reflects the size of the baSourceID attributes. Both
254 baSourceID. It is also possible to manually increase or decrease bControlSize
276 bNrInPins and baSourceID function in the same way.
/linux-6.6.21/drivers/usb/gadget/function/
Duvc_configfs.h157 u8 *baSourceID; member
Duvc_configfs.c878 tmp_buf = krealloc_array(xu->desc.baSourceID, num, sizeof(u8), in uvcg_extension_b_nr_in_pins_store()
885 xu->desc.baSourceID = tmp_buf; in uvcg_extension_b_nr_in_pins_store()
1023 ret += sprintf(pg, "%u\n", xu->desc.baSourceID[i]); in uvcg_extension_ba_source_id_show()
1069 kfree(xu->desc.baSourceID); in uvcg_extension_ba_source_id_store()
1070 xu->desc.baSourceID = source_ids; in uvcg_extension_ba_source_id_store()
1082 UVC_ATTR(uvcg_extension_, ba_source_id, baSourceID);
1259 kfree(xu->desc.baSourceID); in uvcg_extension_drop()
1283 xu->desc.baSourceID = NULL; in uvcg_extension_make()
Df_midi.c965 out_emb->pins[0].baSourceID = in_ext->bJackID; in f_midi_bind()
993 out_ext->pins[0].baSourceID = in_emb->bJackID; in f_midi_bind()
Df_uvc.c487 memcpy(mem, (desc)->baSourceID, (desc)->bNrInPins); \
Df_midi2.c1700 jack->pins[0].baSourceID = source; in append_midi1_out_jack()
/linux-6.6.21/sound/usb/
Dmixer.c873 err = __check_input_term(state, d->baSourceID[0], term); in parse_term_selector_unit()
893 err = __check_input_term(state, d->baSourceID[0], term); in parse_term_proc_unit()
2261 err = parse_audio_unit(state, desc->baSourceID[pin]); in parse_audio_mixer_unit()
2267 err = check_input_term(state, desc->baSourceID[pin], &iterm); in parse_audio_mixer_unit()
2483 err = parse_audio_unit(state, desc->baSourceID[i]); in build_audio_procunit()
2743 err = parse_audio_unit(state, desc->baSourceID[i]); in parse_audio_selector_unit()
2796 if (! len && check_input_term(state, desc->baSourceID[i], &iterm) >= 0) in parse_audio_selector_unit()
/linux-6.6.21/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uvc135 baSourceID list of the IDs of the units or terminals