Lines Matching refs:next_sb_desc
2513 USB_SB_Desc_t *prev_sb_desc, *next_sb_desc, *temp_sb_desc; in etrax_usb_add_to_isoc_sb_list() local
2517 prev_sb_desc = next_sb_desc = temp_sb_desc = NULL; in etrax_usb_add_to_isoc_sb_list()
2534 next_sb_desc = (USB_SB_Desc_t*)kmem_cache_alloc(usb_desc_cache, SLAB_FLAG); in etrax_usb_add_to_isoc_sb_list()
2535 assert(next_sb_desc != NULL); in etrax_usb_add_to_isoc_sb_list()
2537 next_sb_desc->command = (IO_STATE(USB_SB_command, tt, out) | in etrax_usb_add_to_isoc_sb_list()
2540 next_sb_desc->sw_len = urb->iso_frame_desc[i].length; in etrax_usb_add_to_isoc_sb_list()
2541 next_sb_desc->buf = virt_to_phys(urb->transfer_buffer + urb->iso_frame_desc[i].offset); in etrax_usb_add_to_isoc_sb_list()
2545 urb_priv->first_sb = next_sb_desc; in etrax_usb_add_to_isoc_sb_list()
2547 prev_sb_desc->next = virt_to_phys(next_sb_desc); in etrax_usb_add_to_isoc_sb_list()
2549 prev_sb_desc = next_sb_desc; in etrax_usb_add_to_isoc_sb_list()
2554 next_sb_desc->command |= IO_STATE(USB_SB_command, full, yes); in etrax_usb_add_to_isoc_sb_list()
2557 next_sb_desc->command |= IO_STATE(USB_SB_command, eol, yes); in etrax_usb_add_to_isoc_sb_list()
2558 next_sb_desc->next = 0; in etrax_usb_add_to_isoc_sb_list()
2559 urb_priv->last_sb = next_sb_desc; in etrax_usb_add_to_isoc_sb_list()
2573 next_sb_desc = (USB_SB_Desc_t*)kmem_cache_alloc(usb_desc_cache, SLAB_FLAG); in etrax_usb_add_to_isoc_sb_list()
2574 assert(next_sb_desc != NULL); in etrax_usb_add_to_isoc_sb_list()
2576 next_sb_desc->command = (IO_STATE(USB_SB_command, tt, in) | in etrax_usb_add_to_isoc_sb_list()
2580 next_sb_desc->sw_len = urb->number_of_packets; in etrax_usb_add_to_isoc_sb_list()
2581 next_sb_desc->buf = 0; in etrax_usb_add_to_isoc_sb_list()
2586 urb_priv->first_sb = next_sb_desc; in etrax_usb_add_to_isoc_sb_list()
2587 urb_priv->last_sb = next_sb_desc; in etrax_usb_add_to_isoc_sb_list()