Lines Matching refs:fsg_buffhd
301 struct fsg_buffhd *next_buffhd_to_fill;
302 struct fsg_buffhd *next_buffhd_to_drain;
303 struct fsg_buffhd buffhds[FSG_NUM_BUFFERS];
418 struct fsg_buffhd *bh, unsigned int length) in set_bulk_out_req_length()
495 struct fsg_buffhd *bh = req->context; in bulk_in_complete()
512 struct fsg_buffhd *bh = req->context; in bulk_out_complete()
696 struct fsg_buffhd *bh; in do_read()
823 struct fsg_buffhd *bh; in do_write()
1011 struct fsg_buffhd *bh = common->next_buffhd_to_fill; in do_verify()
1094 static int do_inquiry(struct fsg_common *common, struct fsg_buffhd *bh) in do_inquiry()
1122 static int do_request_sense(struct fsg_common *common, struct fsg_buffhd *bh) in do_request_sense()
1173 static int do_read_capacity(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_capacity()
1192 static int do_read_header(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_header()
1215 static int do_read_toc(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_toc()
1243 static int do_mode_sense(struct fsg_common *common, struct fsg_buffhd *bh) in do_mode_sense()
1362 struct fsg_buffhd *bh) in do_read_format_capacities()
1379 static int do_mode_select(struct fsg_common *common, struct fsg_buffhd *bh) in do_mode_select()
1431 struct fsg_buffhd *bh = fsg->common->next_buffhd_to_fill; in pad_with_zeros()
1463 struct fsg_buffhd *bh; in throw_away_data()
1519 struct fsg_buffhd *bh = common->next_buffhd_to_fill; in finish_reply()
1616 struct fsg_buffhd *bh; in send_status()
1792 struct fsg_buffhd *bh; in do_scsi_command()
2082 static int received_cbw(struct fsg_dev *fsg, struct fsg_buffhd *bh) in received_cbw()
2148 struct fsg_buffhd *bh; in get_next_command()
2225 struct fsg_buffhd *bh = &common->buffhds[i]; in do_set_interface()
2282 struct fsg_buffhd *bh = &common->buffhds[i]; in do_set_interface()
2325 struct fsg_buffhd *bh; in handle_exception()
2480 struct fsg_buffhd *bh; in fsg_common_init()
2615 struct fsg_buffhd *bh = common->buffhds; in fsg_common_release()