Lines Matching defs:bh
331 struct fsg_buffhd *bh, unsigned int length) in set_bulk_out_req_length()
415 struct fsg_buffhd *bh = req->context; in bulk_in_complete() local
431 struct fsg_buffhd *bh = req->context; in bulk_out_complete() local
544 static bool start_in_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_in_transfer()
554 static bool start_out_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_out_transfer()
565 struct fsg_buffhd *bh) in sleep_thread()
592 struct fsg_buffhd *bh; in do_read() local
723 struct fsg_buffhd *bh; in do_write() local
939 struct fsg_buffhd *bh = common->next_buffhd_to_fill; in do_verify() local
1035 static int do_inquiry(struct fsg_common *common, struct fsg_buffhd *bh) in do_inquiry()
1065 static int do_request_sense(struct fsg_common *common, struct fsg_buffhd *bh) in do_request_sense()
1118 static int do_read_capacity(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_capacity()
1141 static int do_read_capacity_16(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_capacity_16()
1163 static int do_read_header(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_header()
1185 static int do_read_toc(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_toc()
1212 static int do_mode_sense(struct fsg_common *common, struct fsg_buffhd *bh) in do_mode_sense()
1373 struct fsg_buffhd *bh) in do_read_format_capacities()
1389 static int do_mode_select(struct fsg_common *common, struct fsg_buffhd *bh) in do_mode_select()
1449 struct fsg_buffhd *bh, *bh2; in throw_away_data() local
1498 struct fsg_buffhd *bh = common->next_buffhd_to_fill; in finish_reply() local
1601 struct fsg_buffhd *bh; in send_status() local
1799 struct fsg_buffhd *bh; in do_scsi_command() local
2117 static int received_cbw(struct fsg_dev *fsg, struct fsg_buffhd *bh) in received_cbw()
2191 struct fsg_buffhd *bh; in get_next_command() local
2251 struct fsg_buffhd *bh = &common->buffhds[i]; in do_set_interface() local
2308 struct fsg_buffhd *bh = &common->buffhds[i]; in do_set_interface() local
2364 struct fsg_buffhd *bh; in handle_exception() local
2648 struct fsg_buffhd *bh = buffhds; in _fsg_common_free_buffers() local
2659 struct fsg_buffhd *bh, *buffhds; in fsg_common_set_num_buffers() local