Home
last modified time | relevance | path

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

/drivers/peripheral/usb/ddk/device/src/
Dusbfn_uevent_handle.c87 const char *msgTmp = msg; in UsbFnHandleUevent() local
88 while (*msgTmp && (msgTmp - msg < rcvLen)) { in UsbFnHandleUevent()
89 if (strncmp(msgTmp, "DEVPATH=", strlen("DEVPATH=")) == 0) { in UsbFnHandleUevent()
90 msgTmp += strlen("DEVPATH="); in UsbFnHandleUevent()
91 info.devPath = msgTmp; in UsbFnHandleUevent()
92 } else if (strncmp(msgTmp, "SUBSYSTEM=", strlen("SUBSYSTEM=")) == 0 && in UsbFnHandleUevent()
94 msgTmp += strlen("SUBSYSTEM="); in UsbFnHandleUevent()
95 info.subSystem = msgTmp; in UsbFnHandleUevent()
96 } else if (strncmp(msgTmp, "USB_STATE=", strlen("USB_STATE=")) == 0) { in UsbFnHandleUevent()
97 msgTmp += strlen("USB_STATE="); in UsbFnHandleUevent()
[all …]
/drivers/peripheral/usb/ddk/host/src/
Dddk_uevent_handle.c152 const char *msgTmp = msg; in DdkHandleUevent() local
153 while (*msgTmp != '\0') { in DdkHandleUevent()
154 if (strncmp(msgTmp, "ACTION=", strlen("ACTION=")) == 0) { in DdkHandleUevent()
155 msgTmp += strlen("ACTION="); in DdkHandleUevent()
156 info.action = msgTmp; in DdkHandleUevent()
157 } else if (strncmp(msgTmp, "DEVPATH=", strlen("DEVPATH=")) == 0) { in DdkHandleUevent()
158 msgTmp += strlen("DEVPATH="); in DdkHandleUevent()
159 info.devPath = msgTmp; in DdkHandleUevent()
160 } else if (strncmp(msgTmp, "SUBSYSTEM=", strlen("SUBSYSTEM=")) == 0 && in DdkHandleUevent()
162 msgTmp += strlen("SUBSYSTEM="); in DdkHandleUevent()
[all …]
/drivers/peripheral/audio/hal/hdi_binder/server/src/
Dhdf_audio_pnp_uevent.c570 for (const char *msgTmp = msg; msgTmp < (msg + strLength);) { in AudioPnpUeventParse() local
571 if (*msgTmp == '\0') { in AudioPnpUeventParse()
572 msgTmp++; in AudioPnpUeventParse()
585 if (strncmp(msgTmp, arrStrTmp[i], strlen(arrStrTmp[i])) == 0) { in AudioPnpUeventParse()
586 msgTmp += strlen(arrStrTmp[i]); in AudioPnpUeventParse()
587 *arrVarTmp[i] = msgTmp; in AudioPnpUeventParse()
591 msgTmp += strlen(msgTmp) + 1; in AudioPnpUeventParse()