Lines Matching refs:fsg_buffhd
279 struct fsg_buffhd *next_buffhd_to_fill;
280 struct fsg_buffhd *next_buffhd_to_drain;
281 struct fsg_buffhd *buffhds;
363 struct fsg_buffhd *bh, unsigned int length) in set_bulk_out_req_length()
447 struct fsg_buffhd *bh = req->context; in bulk_in_complete()
463 struct fsg_buffhd *bh = req->context; in bulk_out_complete()
576 static bool start_in_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_in_transfer()
594 static bool start_out_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_out_transfer()
613 struct fsg_buffhd *bh) in sleep_thread()
640 struct fsg_buffhd *bh; in do_read()
768 struct fsg_buffhd *bh; in do_write()
981 struct fsg_buffhd *bh = common->next_buffhd_to_fill; in do_verify()
1077 static int do_inquiry(struct fsg_common *common, struct fsg_buffhd *bh) in do_inquiry()
1107 static int do_request_sense(struct fsg_common *common, struct fsg_buffhd *bh) in do_request_sense()
1160 static int do_read_capacity(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_capacity()
1179 static int do_read_header(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_header()
1201 static int do_read_toc(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_toc()
1275 static int do_mode_sense(struct fsg_common *common, struct fsg_buffhd *bh) in do_mode_sense()
1436 struct fsg_buffhd *bh) in do_read_format_capacities()
1452 static int do_mode_select(struct fsg_common *common, struct fsg_buffhd *bh) in do_mode_select()
1512 struct fsg_buffhd *bh, *bh2; in throw_away_data()
1561 struct fsg_buffhd *bh = common->next_buffhd_to_fill; in finish_reply()
1664 struct fsg_buffhd *bh; in send_status()
1862 struct fsg_buffhd *bh; in do_scsi_command()
2139 static int received_cbw(struct fsg_dev *fsg, struct fsg_buffhd *bh) in received_cbw()
2213 struct fsg_buffhd *bh; in get_next_command()
2273 struct fsg_buffhd *bh = &common->buffhds[i]; in do_set_interface()
2330 struct fsg_buffhd *bh = &common->buffhds[i]; in do_set_interface()
2386 struct fsg_buffhd *bh; in handle_exception()
2667 static void _fsg_common_free_buffers(struct fsg_buffhd *buffhds, unsigned n) in _fsg_common_free_buffers()
2670 struct fsg_buffhd *bh = buffhds; in _fsg_common_free_buffers()
2681 struct fsg_buffhd *bh, *buffhds; in fsg_common_set_num_buffers()