Home
last modified time | relevance | path

Searched refs:out_ix (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/staging/ozwpan/
Dozhcd.c88 int out_ix; member
396 data_len = ep->buffer[ep->out_ix]; in oz_complete_buffered_urb()
402 if (++ep->out_ix == ep->buffer_size) in oz_complete_buffered_urb()
403 ep->out_ix = 0; in oz_complete_buffered_urb()
404 copy_len = ep->buffer_size - ep->out_ix; in oz_complete_buffered_urb()
407 memcpy(urb->transfer_buffer, &ep->buffer[ep->out_ix], copy_len); in oz_complete_buffered_urb()
412 ep->out_ix = available_space - copy_len; in oz_complete_buffered_urb()
414 ep->out_ix += copy_len; in oz_complete_buffered_urb()
417 if (ep->out_ix == ep->buffer_size) in oz_complete_buffered_urb()
418 ep->out_ix = 0; in oz_complete_buffered_urb()
[all …]
/linux-4.1.27/arch/cris/arch-v32/drivers/
Dcryptocop.c535 size_t out_ix = 0; in create_input_descriptors() local
549 …while ((outiov_ix < operation->tfrm_op.outcount) && ((out_ix + operation->tfrm_op.outdata[outiov_i… in create_input_descriptors()
550 out_ix += operation->tfrm_op.outdata[outiov_ix].iov_len; in create_input_descriptors()
557 iov_offset = tc->tcfg->inject_ix - out_ix; in create_input_descriptors()