Lines Matching refs:fsg_buffhd

251 	struct fsg_buffhd	*next_buffhd_to_fill;
252 struct fsg_buffhd *next_buffhd_to_drain;
253 struct fsg_buffhd *buffhds;
333 struct fsg_buffhd *bh, unsigned int length) in set_bulk_out_req_length()
417 struct fsg_buffhd *bh = req->context; in bulk_in_complete()
433 struct fsg_buffhd *bh = req->context; in bulk_out_complete()
546 static bool start_in_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_in_transfer()
564 static bool start_out_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_out_transfer()
583 struct fsg_buffhd *bh) in sleep_thread()
610 struct fsg_buffhd *bh; in do_read()
741 struct fsg_buffhd *bh; in do_write()
957 struct fsg_buffhd *bh = common->next_buffhd_to_fill; in do_verify()
1053 static int do_inquiry(struct fsg_common *common, struct fsg_buffhd *bh) in do_inquiry()
1083 static int do_request_sense(struct fsg_common *common, struct fsg_buffhd *bh) in do_request_sense()
1136 static int do_read_capacity(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_capacity()
1159 static int do_read_capacity_16(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_capacity_16()
1181 static int do_read_header(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_header()
1203 static int do_read_toc(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_toc()
1277 static int do_mode_sense(struct fsg_common *common, struct fsg_buffhd *bh) in do_mode_sense()
1438 struct fsg_buffhd *bh) in do_read_format_capacities()
1454 static int do_mode_select(struct fsg_common *common, struct fsg_buffhd *bh) in do_mode_select()
1514 struct fsg_buffhd *bh, *bh2; in throw_away_data()
1563 struct fsg_buffhd *bh = common->next_buffhd_to_fill; in finish_reply()
1666 struct fsg_buffhd *bh; in send_status()
1864 struct fsg_buffhd *bh; in do_scsi_command()
2182 static int received_cbw(struct fsg_dev *fsg, struct fsg_buffhd *bh) in received_cbw()
2256 struct fsg_buffhd *bh; in get_next_command()
2316 struct fsg_buffhd *bh = &common->buffhds[i]; in do_set_interface()
2373 struct fsg_buffhd *bh = &common->buffhds[i]; in do_set_interface()
2429 struct fsg_buffhd *bh; in handle_exception()
2726 static void _fsg_common_free_buffers(struct fsg_buffhd *buffhds, unsigned n) in _fsg_common_free_buffers()
2729 struct fsg_buffhd *bh = buffhds; in _fsg_common_free_buffers()
2740 struct fsg_buffhd *bh, *buffhds; in fsg_common_set_num_buffers()