dwc2_hsotg_tx_fifo_total_depth
int dwc2_hsotg_tx_fifo_total_depth(struct dwc2_hsotg *hsotg);
tx_fifo_depth = dwc2_hsotg_tx_fifo_total_depth(hsotg);
if (total > dwc2_hsotg_tx_fifo_total_depth(hsotg) || !total) {