Searched refs:epts (Results 1 - 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dusb_scsi.c238 size_t epts[epCount] = { -1, -1, -1 };
246 epts[epIn] = ep;
248 epts[epOut] = ep;
252 epts[epIntr] = ep;
258 if(epts[epIntr] == -1)
259 epts[epIntr] = 0; /* not required for this transports - set it to default*/
265 if(epts[idx] == -1 && PROTO(udi->properties) != PROTO_VENDOR){
273 udi->pipe_in = uii->endpoint[epts[epIn]].handle;
274 udi->pipe_out = uii->endpoint[epts[epOut]].handle;
275 udi->pipe_intr = uii->endpoint[epts[epInt
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/pegasus/
H A Ddriver.c271 ssize_t epts[3] = { -1, -1, -1 }; local
280 epts[0] = ep;
282 epts[1] = ep;
285 epts[2] = ep;
289 dev->pipe_in = uii->endpoint[epts[0]].handle;
290 dev->pipe_out = uii->endpoint[epts[1]].handle;
291 dev->pipe_intr = uii->endpoint[epts[2]].handle;
294 return ((epts[0] > -1) && (epts[1] > -1) && (epts[
[all...]

Completed in 43 milliseconds