Home
last modified time | relevance | path

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

/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Dmain.c122 const char *qmichannel = (const char *)argv[1]; in is_same_linkfile() local
133 if (strcmp(filename, qmichannel)) in is_same_linkfile()
192 static int kill_brothers(const char *qmichannel) in kill_brothers() argument
196 void *argv[2] = {myself, (void *)qmichannel}; in kill_brothers()
304 kill_brothers(profile->qmichannel); in qmi_main()
782 if (!(profile.qmichannel[0]) || !(profile.usbnet_adapter[0])) { in main()
783 char qmichannel[32+1] = {'\0'}; in main() local
789 if (qmidevice_detect(qmichannel, usbnet_adapter, sizeof(qmichannel), &profile)) { in main()
792 else if (mhidevice_detect(qmichannel, usbnet_adapter, &profile)) { in main()
800 strncpy(profile.qmichannel, qmichannel, sizeof(profile.qmichannel)); in main()
[all …]
H A Ddevice.c260 BOOL qmidevice_detect(char *qmichannel, char *usbnet_adapter, unsigned bufsize, PROFILE_T *profile)… in qmidevice_detect() argument
315 snprintf(qmichannel, bufsize, "/dev/%s", c); in qmidevice_detect()
365 snprintf(qmichannel, bufsize, "%s", devname); in qmidevice_detect()
367 snprintf(qmichannel, bufsize, "/dev/%s", devname); in qmidevice_detect()
369 dbg_time("Auto find qmichannel = %s", qmichannel); in qmidevice_detect()
376 if (qmichannel[0] == '\0' || usbnet_adapter[0] == '\0') { in qmidevice_detect()
377 dbg_time("network interface '%s' or qmidev '%s' is not exist", usbnet_adapter, qmichannel); in qmidevice_detect()
387 int mhidevice_detect(char *qmichannel, char *usbnet_adapter, PROFILE_T *profile) { in mhidevice_detect() argument
398 strcpy(qmichannel, "/dev/mhi_MBIM"); in mhidevice_detect()
402 strcpy(qmichannel, "/dev/mhi_QMI0"); in mhidevice_detect()
H A DQMIThread.h176 char qmichannel[32]; member
302 extern BOOL qmidevice_detect(char *qmichannel, char *usbnet_adapter, unsigned bufsize, PROFILE_T *p…
303 int mhidevice_detect(char *qmichannel, char *usbnet_adapter, PROFILE_T *profile);
H A Dqmap_bridge_mode.c110 if (!qmidev_is_qmiwwan(profile->qmichannel)) in ql_enable_qmi_wwan_rawip_mode()
141 if (qmidev_is_gobinet(profile->qmichannel)) { in ql_driver_type_detect()
238 else if (qmidev_is_qmiwwan(profile->qmichannel)) { in ql_qmi_qmap_mode_detect()
H A DQmiWwanCM.c206 ret = libqmi_proxy_open(profile->qmichannel); in QmiWwanInit()
316 const char *cdc_wdm = (const char *)profile->qmichannel; in QmiWwanThread()
H A DGobiNetCM.c108 const char *qcqmi = (const char *)profile->qmichannel; in GobiNetThread()
H A Datc.c102 const char *cdc_wdm = (const char *)profile->qmichannel; in atc_read_thread()
H A DQMIThread.c690 if (qmidev_is_pciemhi(profile->qmichannel)) { //SDX20_PCIE in requestSetEthMode()
717 if (qmidev_is_gobinet(profile->qmichannel)) { in requestSetEthMode()
H A Dmbim-cm.c1433 const char *cdc_wdm = (const char *)profile->qmichannel; in mbim_read_thread()
2084 retval = mbim_proxy_configure(profile->qmichannel); in mbim_init()