Lines Matching defs:bh
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() local
433 struct fsg_buffhd *bh = req->context; in bulk_out_complete() local
546 static bool start_in_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_in_transfer()
556 static bool start_out_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_out_transfer()
567 struct fsg_buffhd *bh) in sleep_thread()
594 struct fsg_buffhd *bh; in do_read() local
725 struct fsg_buffhd *bh; in do_write() local
941 struct fsg_buffhd *bh = common->next_buffhd_to_fill; in do_verify() local
1037 static int do_inquiry(struct fsg_common *common, struct fsg_buffhd *bh) in do_inquiry()
1067 static int do_request_sense(struct fsg_common *common, struct fsg_buffhd *bh) in do_request_sense()
1120 static int do_read_capacity(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_capacity()
1143 static int do_read_capacity_16(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_capacity_16()
1165 static int do_read_header(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_header()
1187 static int do_read_toc(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_toc()
1261 static int do_mode_sense(struct fsg_common *common, struct fsg_buffhd *bh) in do_mode_sense()
1422 struct fsg_buffhd *bh) in do_read_format_capacities()
1438 static int do_mode_select(struct fsg_common *common, struct fsg_buffhd *bh) in do_mode_select()
1498 struct fsg_buffhd *bh, *bh2; in throw_away_data() local
1547 struct fsg_buffhd *bh = common->next_buffhd_to_fill; in finish_reply() local
1650 struct fsg_buffhd *bh; in send_status() local
1848 struct fsg_buffhd *bh; in do_scsi_command() local
2166 static int received_cbw(struct fsg_dev *fsg, struct fsg_buffhd *bh) in received_cbw()
2240 struct fsg_buffhd *bh; in get_next_command() local
2300 struct fsg_buffhd *bh = &common->buffhds[i]; in do_set_interface() local
2357 struct fsg_buffhd *bh = &common->buffhds[i]; in do_set_interface() local
2413 struct fsg_buffhd *bh; in handle_exception() local
2713 struct fsg_buffhd *bh = buffhds; in _fsg_common_free_buffers() local
2724 struct fsg_buffhd *bh, *buffhds; in fsg_common_set_num_buffers() local