Lines Matching defs:sce_in
2117 struct ugen_endpoint *sce_in, *sce_out;
2128 sce_in = &sc->sc_endpoints[UGENENDPOINT(dev)][IN];
2130 KASSERT(sce_in->edesc || sce_out->edesc);
2131 KASSERT(sce_in->pipeh || sce_out->pipeh);
2134 if (sce_in && sce_in->pipeh && (events & (POLLIN | POLLRDNORM)))
2135 switch (sce_in->edesc->bmAttributes & UE_XFERTYPE) {
2137 if (sce_in->q.c_cc > 0)
2140 selrecord(l, &sce_in->rsel);
2143 if (sce_in->cur != sce_in->fill)
2146 selrecord(l, &sce_in->rsel);
2149 if (sce_in->state & UGEN_BULK_RA) {
2150 if (sce_in->ra_wb_used > 0)
2154 selrecord(l, &sce_in->rsel);