Searched refs:tmpstr (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/arm/nvidia/ |
| H A D | tegra_usbphy.c | 586 char *tmpstr; in usb_get_ifc_mode() local 590 rv = OF_getprop_alloc(node, name, (void **)&tmpstr); in usb_get_ifc_mode() 595 if (strcmp(tmpstr, "utmi") == 0) in usb_get_ifc_mode() 597 else if (strcmp(tmpstr, "ulpi") == 0) in usb_get_ifc_mode() 601 OF_prop_free(tmpstr); in usb_get_ifc_mode() 608 char *tmpstr; in usb_get_dr_mode() local 612 rv = OF_getprop_alloc(node, name, (void **)&tmpstr); in usb_get_dr_mode() 617 if (strcmp(tmpstr, "device") == 0) in usb_get_dr_mode() 619 else if (strcmp(tmpstr, "host") == 0) in usb_get_dr_mode() 621 else if (strcmp(tmpstr, "otg") == 0) in usb_get_dr_mode() [all …]
|
| H A D | tegra_pcie.c | 926 char tmpstr[6]; in tegra_pcib_parse_port() local 931 rv = OF_getprop(node, "status", tmpstr, sizeof(tmpstr)); in tegra_pcib_parse_port() 932 if (rv <= 0 || strcmp(tmpstr, "okay") == 0 || in tegra_pcib_parse_port() 933 strcmp(tmpstr, "ok") == 0) in tegra_pcib_parse_port()
|