Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/bluetooth/
Dbtusb.c1626 static int btusb_switch_alt_setting(struct hci_dev *hdev, int new_alts) in btusb_switch_alt_setting() argument
1631 if (data->isoc_altsetting != new_alts) { in btusb_switch_alt_setting()
1651 err = __set_isoc_interface(hdev, new_alts); in btusb_switch_alt_setting()
1689 int new_alts = 0; in btusb_work() local
1708 new_alts = alts[data->sco_num - 1]; in btusb_work()
1710 new_alts = data->sco_num; in btusb_work()
1716 new_alts = 6; in btusb_work()
1718 new_alts = 1; in btusb_work()
1724 if (btusb_switch_alt_setting(hdev, new_alts) < 0) in btusb_work()
1725 bt_dev_err(hdev, "set USB alt:(%d) failed!", new_alts); in btusb_work()