Searched refs:mdevname (Results 1 – 2 of 2) sorted by relevance
291 const char *mdevname; in dpaa2_mc_fdt_find_dpaa2_mac_dev() local299 mdevname = device_get_name(mdev); in dpaa2_mc_fdt_find_dpaa2_mac_dev()300 if (mdevname == NULL) in dpaa2_mc_fdt_find_dpaa2_mac_dev()302 len = strlen(mdevname); in dpaa2_mc_fdt_find_dpaa2_mac_dev()303 if (strncmp("dpaa2_mac_fdt", mdevname, len) != 0) in dpaa2_mc_fdt_find_dpaa2_mac_dev()
279 const char *mdevname; in dpaa2_mc_acpi_find_dpaa2_mac_dev() local287 mdevname = device_get_name(mdev); in dpaa2_mc_acpi_find_dpaa2_mac_dev()288 if (mdevname != NULL) { in dpaa2_mc_acpi_find_dpaa2_mac_dev()289 len = strlen(mdevname); in dpaa2_mc_acpi_find_dpaa2_mac_dev()290 if (strncmp("dpaa2_mac_dev", mdevname, len) != 0) in dpaa2_mc_acpi_find_dpaa2_mac_dev()