Lines Matching defs:slot

1873  *   The best Transaction Translation slot for an interrupt endpoint.
1887 /* find the last slot with lesser used bandwidth */
1898 /* check if the current multi-slot is more optimal */
1915 * having index "slot" by "len" bytes. "len" can be negative. If the
1916 * "slot" argument is greater or equal to "USB_HS_MICRO_FRAMES_MAX"
1917 * the "slot" argument will be replaced by the slot having least used
1918 * bandwidth. The "mask" argument is used for multi-slot allocations.
1921 * The slot in which the bandwidth update was done: 0..7
1925 uint8_t slot, uint8_t mask)
1950 if (slot >= USB_HS_MICRO_FRAMES_MAX) {
1951 slot = usb_intr_find_best_slot(hub->uframe_usage,
1954 for (x = slot; x < 8; x++) {
1955 if (mask & (1U << (x - slot))) {
1962 if (slot >= USB_HS_MICRO_FRAMES_MAX) {
1963 slot = usb_intr_find_best_slot(bus->uframe_usage, 0,
1966 for (x = slot; x < 8; x++) {
1967 if (mask & (1U << (x - slot))) {
1973 return (slot);
1985 uint8_t slot;
2002 /* allocate a microframe slot */
2005 slot = usb_hs_bandwidth_adjust(udev,
2008 xfer->endpoint->usb_uframe = slot;
2009 xfer->endpoint->usb_smask = mask << slot;
2015 xfer->endpoint->usb_cmask = (-(0x04 << slot)) & 0xFE;
2035 /* allocate a microframe multi-slot */
2037 slot = usb_hs_bandwidth_adjust(udev,
2040 xfer->endpoint->usb_uframe = slot;
2042 xfer->endpoint->usb_smask = mask << slot;
2052 DPRINTFN(11, "slot=%d, mask=0x%02x\n",
2066 uint8_t slot;
2082 slot = xfer->endpoint->usb_uframe;
2085 /* free microframe slot(s): */
2087 -xfer->max_frame_size, slot, mask >> slot);
2089 DPRINTFN(11, "slot=%d, mask=0x%02x\n",
2090 slot, mask >> slot);
2153 uint16_t slot;
2157 slot = 0;
2225 slot++;
2230 if (slot >= USB_FS_ISOC_UFRAME_MAX)
2233 retval = slot;
2249 slot++;
2254 if (slot >= USB_FS_ISOC_UFRAME_MAX)