Home
last modified time | relevance | path

Searched refs:lun (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_msc.c253 struct scsi_ctx *lun = &ctx->luns[ctx->cbw.bCBWLUN]; in msc_process_read() local
262 ctx->scsi_bytes = scsi_read_data(lun, ctx->scsi_buf); in msc_process_read()
295 ctx->scsi_bytes = scsi_read_data(lun, ctx->scsi_buf); in msc_process_read()
312 struct scsi_ctx *lun = &ctx->luns[ctx->cbw.bCBWLUN]; in msc_process_cbw() local
318 data_len = scsi_cmd(lun, ctx->cbw.CBWCB, cb_len, ctx->scsi_buf); in msc_process_cbw()
321 cmd_is_data_read = scsi_cmd_is_data_read(lun); in msc_process_cbw()
322 cmd_is_data_write = scsi_cmd_is_data_write(lun); in msc_process_cbw()
323 data_len += scsi_cmd_remaining_data_len(lun); in msc_process_cbw()
332 if (scsi_cmd_get_status(lun) == GOOD) { in msc_process_cbw()
358 if (scsi_cmd_get_status(lun) == GOOD) { in msc_process_cbw()
[all …]