Lines Matching refs:command

133 	usb_raw_command command;
134 command.generic_etc.descriptor = descriptor;
135 command.generic_etc.config_index = fConfiguration->Index();
136 command.generic_etc.interface_index = fIndex;
137 command.generic_etc.alternate_index = fAlternate;
138 command.generic_etc.generic_index = index;
139 command.generic_etc.length = length;
140 if (ioctl(fRawFD, B_USB_RAW_COMMAND_GET_GENERIC_DESCRIPTOR_ETC, &command,
141 sizeof(command)) || command.generic.status != B_USB_RAW_STATUS_SUCCESS)
168 usb_raw_command command;
169 command.alternate.config_index = fConfiguration->Index();
170 command.alternate.interface_index = fIndex;
171 if (ioctl(fRawFD, B_USB_RAW_COMMAND_GET_ALT_INTERFACE_COUNT, &command,
172 sizeof(command)) || command.alternate.status != B_USB_RAW_STATUS_SUCCESS)
175 return command.alternate.alternate_info;
210 usb_raw_command command;
211 command.alternate.config_index = fConfiguration->Index();
212 command.alternate.interface_index = fIndex;
213 if (ioctl(fRawFD, B_USB_RAW_COMMAND_GET_ACTIVE_ALT_INTERFACE_INDEX, &command,
214 sizeof(command)) || command.alternate.status != B_USB_RAW_STATUS_SUCCESS)
217 return command.alternate.alternate_info;
224 usb_raw_command command;
225 command.alternate.alternate_info = alternateIndex;
226 command.alternate.config_index = fConfiguration->Index();
227 command.alternate.interface_index = fIndex;
228 if (ioctl(fRawFD, B_USB_RAW_COMMAND_SET_ALT_INTERFACE, &command,
229 sizeof(command)) || command.alternate.status != B_USB_RAW_STATUS_SUCCESS)
240 usb_raw_command command;
241 command.interface_etc.descriptor = &fDescriptor;
242 command.interface_etc.config_index = fConfiguration->Index();
243 command.interface_etc.interface_index = fIndex;
244 command.interface_etc.alternate_index = fAlternate;
245 if (ioctl(fRawFD, B_USB_RAW_COMMAND_GET_INTERFACE_DESCRIPTOR_ETC, &command,
246 sizeof(command)) || command.interface.status != B_USB_RAW_STATUS_SUCCESS)