Searched refs:b_in (Results 1 – 3 of 3) sorted by relevance
217 st5481_in_mode(&bcs->b_in, mode); in st5481B_mode()313 bcs->b_in.bufsize = HSCX_BUFMAX; in st5481_setup_b()314 bcs->b_in.num_packets = NUM_ISO_PACKETS_B; in st5481_setup_b()315 bcs->b_in.packet_size = SIZE_ISO_PACKETS_B_IN; in st5481_setup_b()316 bcs->b_in.ep = (bcs->channel ? EP_B2_IN : EP_B1_IN) | USB_DIR_IN; in st5481_setup_b()317 bcs->b_in.counter = bcs->channel ? IN_B2_COUNTER : IN_B1_COUNTER; in st5481_setup_b()318 bcs->b_in.adapter = bcs->adapter; in st5481_setup_b()319 bcs->b_in.hisax_if = &bcs->b_if.ifc; in st5481_setup_b()320 retval = st5481_setup_in(&bcs->b_in); in st5481_setup_b()340 st5481_release_in(&bcs->b_in); in st5481_release_b()
373 struct st5481_in b_in; member
185 unsigned int b_in, b_out; /* Offsets into buffer - bytes */ member300 offset = rp->b_in; in mon_buff_area_alloc()302 if ((rp->b_in += size) >= rp->b_size) in mon_buff_area_alloc()303 rp->b_in -= rp->b_size; in mon_buff_area_alloc()326 if (rp->b_in + size > rp->b_size) { in mon_buff_area_alloc_contiguous()332 fill_size = rp->b_size - rp->b_in; in mon_buff_area_alloc_contiguous()335 mon_buff_area_fill(rp, rp->b_in, fill_size); in mon_buff_area_alloc_contiguous()338 rp->b_in = size; in mon_buff_area_alloc_contiguous()340 } else if (rp->b_in + size == rp->b_size) { in mon_buff_area_alloc_contiguous()341 offset = rp->b_in; in mon_buff_area_alloc_contiguous()[all …]