bool fjes_hw_epbuf_rx_is_empty(struct epbuf_handler *epbh) { union ep_buffer_info *info = epbh->info; if (info->v1i.count_max == 0) return true; return EP_RING_EMPTY(info->v1i.head, info->v1i.tail, info->v1i.count_max); }
bool fjes_hw_epbuf_rx_is_empty(struct epbuf_handler *epbh) { union ep_buffer_info *info = epbh->info; if (!(info->v1i.rx_status & FJES_RX_MTU_CHANGING_DONE)) return true; if (info->v1i.count_max == 0) return true; return EP_RING_EMPTY(info->v1i.head, info->v1i.tail, info->v1i.count_max); }