Lines Matching refs:interface
181 struct UsbFnInterface *interface, uint32_t eventMask, UsbFnEventCallback callback, void *context)
183 if (interface == NULL || eventMask == 0 || callback == NULL) {
187 return UsbFnMgrStartRecvEvent(interface, eventMask, callback, context);
190 int32_t UsbFnStopRecvInterfaceEvent(struct UsbFnInterface *interface)
192 if (interface == NULL) {
196 return UsbFnStopRecvEvent(interface);
199 UsbFnInterfaceHandle UsbFnOpenInterface(struct UsbFnInterface *interface)
201 if (interface == NULL) {
205 return (UsbFnInterfaceHandle)UsbFnIoMgrInterfaceOpen(interface);
217 int32_t UsbFnGetInterfacePipeInfo(struct UsbFnInterface *interface, uint8_t pipeId, struct UsbFnPipeInfo *info)
219 if (info == NULL || interface == NULL) {
223 return UsbFnIoMgrInterfaceGetPipeInfo(interface, pipeId, info);
226 int32_t UsbFnRegistInterfaceProp(const struct UsbFnInterface *interface, const struct UsbFnRegistInfo *registInfo)
228 if (registInfo == NULL || interface == NULL) {
232 return UsbFnCfgMgrRegisterProp(interface, registInfo);
235 int32_t UsbFnGetInterfaceProp(const struct UsbFnInterface *interface, const char *name, char *value)
237 if (name == NULL || interface == NULL || value == NULL) {
241 return UsbFnCfgMgrGetProp(interface, name, value);
244 int32_t UsbFnSetInterfaceProp(const struct UsbFnInterface *interface, const char *name, const char *value)
246 if (name == NULL || interface == NULL) {
250 return UsbFnCfgMgrSetProp(interface, name, value);