Searched refs:fw_len (Results 1 – 1 of 1) sorted by relevance
579 ssize_t pos = 0, fw_len; in usb_get_fw_dev_path() local582 fw_len = 32 + strlen(dev->port->path) * 6; in usb_get_fw_dev_path()583 fw_path = g_malloc(fw_len); in usb_get_fw_dev_path()585 while (fw_len - pos > 0) { in usb_get_fw_dev_path()589 pos += snprintf(fw_path + pos, fw_len - pos, "hub@%lx/", nr); in usb_get_fw_dev_path()593 snprintf(fw_path + pos, fw_len - pos, "%s@%lx", in usb_get_fw_dev_path()