Searched refs:masterIndex (Results 1 - 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DACM.cpp25 uint8 masterIndex = 0; local
60 masterIndex = unionDesc ? unionDesc->master_interface : i;
66 masterIndex, slaveIndex);
71 if (masterIndex == slaveIndex) {
74 masterIndex = 0;
82 if (status == B_OK && masterIndex < config->interface_count) {
84 usb_interface_info *interface = config->interface[masterIndex].active;
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DAudioControlInterface.cpp1321 uint32 masterIndex = CTL_ID(id, channel, unit->ID(), fInterface); local
1322 Controls[index].id = masterIndex;
1337 Controls[index].master = masterIndex;
1410 int32 masterIndex = 0; // in case master channel has no volume local
1420 if (masterIndex == 0) {
1429 groupIndex = masterIndex;
1430 masterIndex = 0;
1440 masterIndex = (i == 0) ? groupIndex : 0 ;
1442 channel, masterIndex);
1455 masterIndex
[all...]

Completed in 91 milliseconds