Lines Matching refs:dev_index
1056 int list_size, index, dev_index, uc_index, ret = 0; in set_controls_of_usecase_for_device() local
1067 dev_index = get_use_case_index(uc_mgr, device, CTRL_LIST_DEVICE); in set_controls_of_usecase_for_device()
1068 capability = dev_list[dev_index].capability; in set_controls_of_usecase_for_device()
1072 enable, CTRL_LIST_DEVICE, dev_index); in set_controls_of_usecase_for_device()
1116 int verb_index, uc_index, dev_index, capability = 0; in set_controls_of_device_for_all_usecases() local
1124 dev_index = get_use_case_index(uc_mgr, device, CTRL_LIST_DEVICE); in set_controls_of_device_for_all_usecases()
1125 if (dev_index >= 0) in set_controls_of_device_for_all_usecases()
1126 capability = dev_list[dev_index].capability; in set_controls_of_device_for_all_usecases()
1146 enable, CTRL_LIST_DEVICE, dev_index); in set_controls_of_device_for_all_usecases()
1167 device, enable, CTRL_LIST_DEVICE, dev_index); in set_controls_of_device_for_all_usecases()
1218 dev_index); in set_controls_of_device_for_all_usecases()
1239 device, enable, CTRL_LIST_DEVICE, dev_index); in set_controls_of_device_for_all_usecases()
1269 CTRL_LIST_DEVICE, dev_index); in set_controls_of_device_for_all_usecases()
1313 int ret = -ENODEV, uc_index, dev_index; in set_controls_of_device_for_usecase() local
1321 dev_index = get_use_case_index(uc_mgr, device, CTRL_LIST_DEVICE); in set_controls_of_device_for_usecase()
1322 capability = dev_list[dev_index].capability; in set_controls_of_device_for_usecase()
1334 enable, CTRL_LIST_DEVICE, dev_index); in set_controls_of_device_for_usecase()
1354 CTRL_LIST_DEVICE, dev_index); in set_controls_of_device_for_usecase()
1364 CTRL_LIST_DEVICE, dev_index); in set_controls_of_device_for_usecase()