Home
last modified time | relevance | path

Searched refs:srb (Results 1 - 25 of 143) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/staging/rts5208/
H A Drtsx_scsi.c24 struct scsi_cmnd *srb = chip->srb; in scsi_show_command() local
29 switch (srb->cmnd[0]) { in scsi_show_command()
303 if (srb->cmnd[0] != TEST_UNIT_READY) in scsi_show_command()
305 what, srb->cmd_len); in scsi_show_command()
308 len = min_t(unsigned short, srb->cmd_len, 16); in scsi_show_command()
309 dev_dbg(rtsx_dev(chip), "%*ph\n", len, srb->cmnd); in scsi_show_command()
411 static int test_unit_ready(struct scsi_cmnd *srb, struct rtsx_chip *chip) in test_unit_ready() argument
413 unsigned int lun = SCSI_LUN(srb); in test_unit_ready()
427 if (get_lun_card(chip, SCSI_LUN(srb)) in test_unit_ready()
463 inquiry(struct scsi_cmnd *srb, struct rtsx_chip *chip) inquiry() argument
548 start_stop_unit(struct scsi_cmnd *srb, struct rtsx_chip *chip) start_stop_unit() argument
581 allow_medium_removal(struct scsi_cmnd *srb, struct rtsx_chip *chip) allow_medium_removal() argument
598 request_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) request_sense() argument
736 mode_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) mode_sense() argument
833 read_write(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_write() argument
968 read_format_capacity(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_format_capacity() argument
1046 read_capacity(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_capacity() argument
1086 read_eeprom(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_eeprom() argument
1133 write_eeprom(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_eeprom() argument
1188 read_mem(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_mem() argument
1241 write_mem(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_mem() argument
1294 get_sd_csd(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_sd_csd() argument
1315 toggle_gpio_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) toggle_gpio_cmd() argument
1334 read_host_reg(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_host_reg() argument
1365 write_host_reg(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_host_reg() argument
1393 set_variable(struct scsi_cmnd *srb, struct rtsx_chip *chip) set_variable() argument
1455 get_variable(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_variable() argument
1497 dma_access_ring_buffer(struct scsi_cmnd *srb, struct rtsx_chip *chip) dma_access_ring_buffer() argument
1537 get_dev_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_dev_status() argument
1668 set_chip_mode(struct scsi_cmnd *srb, struct rtsx_chip *chip) set_chip_mode() argument
1719 rw_mem_cmd_buf(struct scsi_cmnd *srb, struct rtsx_chip *chip) rw_mem_cmd_buf() argument
1781 suit_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) suit_cmd() argument
1794 read_phy_register(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_phy_register() argument
1853 write_phy_register(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_phy_register() argument
1910 erase_eeprom2(struct scsi_cmnd *srb, struct rtsx_chip *chip) erase_eeprom2() argument
1956 read_eeprom2(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_eeprom2() argument
2004 write_eeprom2(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_eeprom2() argument
2051 read_efuse(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_efuse() argument
2099 write_efuse(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_efuse() argument
2210 read_cfg_byte(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_cfg_byte() argument
2265 write_cfg_byte(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_cfg_byte() argument
2319 app_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) app_cmd() argument
2407 read_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_status() argument
2536 get_card_bus_width(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_card_bus_width() argument
2560 spi_vendor_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_vendor_cmd() argument
2628 vendor_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) vendor_cmnd() argument
2683 led_shine(struct scsi_cmnd *srb, struct rtsx_chip *chip) led_shine() argument
2707 ms_format_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) ms_format_cmnd() argument
2771 get_ms_information(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_ms_information() argument
2865 ms_sp_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) ms_sp_cmnd() argument
2880 sd_extension_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) sd_extension_cmnd() argument
2939 mg_report_key(struct scsi_cmnd *srb, struct rtsx_chip *chip) mg_report_key() argument
3038 mg_send_key(struct scsi_cmnd *srb, struct rtsx_chip *chip) mg_send_key() argument
3157 rtsx_scsi_handler(struct scsi_cmnd *srb, struct rtsx_chip *chip) rtsx_scsi_handler() argument
[all...]
H A Dspi.c436 int spi_get_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_get_status() argument
443 min_t(int, scsi_bufflen(srb), 1), srb); in spi_get_status()
444 scsi_set_resid(srb, scsi_bufflen(srb) - 1); in spi_get_status()
449 int spi_set_parameter(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_set_parameter() argument
456 spi->spi_clock = ((u16)(srb->cmnd[8]) << 8) | srb->cmnd[9]; in spi_set_parameter()
458 spi->spi_clock = srb->cmnd[3]; in spi_set_parameter()
460 spi->clk_div = ((u16)(srb in spi_set_parameter()
471 spi_read_flash_id(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_read_flash_id() argument
554 spi_read_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_read_flash() argument
647 spi_write_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_write_flash() argument
822 spi_erase_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_erase_flash() argument
865 spi_write_flash_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_write_flash_status() argument
[all...]
H A Dspi.h44 int spi_get_status(struct scsi_cmnd *srb, struct rtsx_chip *chip);
45 int spi_set_parameter(struct scsi_cmnd *srb, struct rtsx_chip *chip);
46 int spi_read_flash_id(struct scsi_cmnd *srb, struct rtsx_chip *chip);
47 int spi_read_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip);
48 int spi_write_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip);
49 int spi_erase_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip);
50 int spi_write_flash_status(struct scsi_cmnd *srb, struct rtsx_chip *chip);
/kernel/linux/linux-6.6/drivers/staging/rts5208/
H A Drtsx_scsi.c24 struct scsi_cmnd *srb = chip->srb; in scsi_show_command() local
29 switch (srb->cmnd[0]) { in scsi_show_command()
303 if (srb->cmnd[0] != TEST_UNIT_READY) in scsi_show_command()
305 what, srb->cmd_len); in scsi_show_command()
308 len = min_t(unsigned short, srb->cmd_len, 16); in scsi_show_command()
309 dev_dbg(rtsx_dev(chip), "%*ph\n", len, srb->cmnd); in scsi_show_command()
411 static int test_unit_ready(struct scsi_cmnd *srb, struct rtsx_chip *chip) in test_unit_ready() argument
413 unsigned int lun = SCSI_LUN(srb); in test_unit_ready()
427 if (get_lun_card(chip, SCSI_LUN(srb)) in test_unit_ready()
463 inquiry(struct scsi_cmnd *srb, struct rtsx_chip *chip) inquiry() argument
548 start_stop_unit(struct scsi_cmnd *srb, struct rtsx_chip *chip) start_stop_unit() argument
581 allow_medium_removal(struct scsi_cmnd *srb, struct rtsx_chip *chip) allow_medium_removal() argument
598 request_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) request_sense() argument
736 mode_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) mode_sense() argument
833 read_write(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_write() argument
968 read_format_capacity(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_format_capacity() argument
1046 read_capacity(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_capacity() argument
1086 read_eeprom(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_eeprom() argument
1133 write_eeprom(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_eeprom() argument
1188 read_mem(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_mem() argument
1241 write_mem(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_mem() argument
1294 get_sd_csd(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_sd_csd() argument
1315 toggle_gpio_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) toggle_gpio_cmd() argument
1334 read_host_reg(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_host_reg() argument
1365 write_host_reg(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_host_reg() argument
1393 set_variable(struct scsi_cmnd *srb, struct rtsx_chip *chip) set_variable() argument
1455 get_variable(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_variable() argument
1497 dma_access_ring_buffer(struct scsi_cmnd *srb, struct rtsx_chip *chip) dma_access_ring_buffer() argument
1537 get_dev_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_dev_status() argument
1668 set_chip_mode(struct scsi_cmnd *srb, struct rtsx_chip *chip) set_chip_mode() argument
1719 rw_mem_cmd_buf(struct scsi_cmnd *srb, struct rtsx_chip *chip) rw_mem_cmd_buf() argument
1781 suit_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) suit_cmd() argument
1794 read_phy_register(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_phy_register() argument
1853 write_phy_register(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_phy_register() argument
1910 erase_eeprom2(struct scsi_cmnd *srb, struct rtsx_chip *chip) erase_eeprom2() argument
1956 read_eeprom2(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_eeprom2() argument
2004 write_eeprom2(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_eeprom2() argument
2051 read_efuse(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_efuse() argument
2099 write_efuse(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_efuse() argument
2210 read_cfg_byte(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_cfg_byte() argument
2265 write_cfg_byte(struct scsi_cmnd *srb, struct rtsx_chip *chip) write_cfg_byte() argument
2319 app_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) app_cmd() argument
2407 read_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) read_status() argument
2536 get_card_bus_width(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_card_bus_width() argument
2560 spi_vendor_cmd(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_vendor_cmd() argument
2628 vendor_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) vendor_cmnd() argument
2683 led_shine(struct scsi_cmnd *srb, struct rtsx_chip *chip) led_shine() argument
2707 ms_format_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) ms_format_cmnd() argument
2771 get_ms_information(struct scsi_cmnd *srb, struct rtsx_chip *chip) get_ms_information() argument
2865 ms_sp_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) ms_sp_cmnd() argument
2880 sd_extension_cmnd(struct scsi_cmnd *srb, struct rtsx_chip *chip) sd_extension_cmnd() argument
2939 mg_report_key(struct scsi_cmnd *srb, struct rtsx_chip *chip) mg_report_key() argument
3038 mg_send_key(struct scsi_cmnd *srb, struct rtsx_chip *chip) mg_send_key() argument
3157 rtsx_scsi_handler(struct scsi_cmnd *srb, struct rtsx_chip *chip) rtsx_scsi_handler() argument
[all...]
H A Dspi.c436 int spi_get_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_get_status() argument
443 min_t(int, scsi_bufflen(srb), 1), srb); in spi_get_status()
444 scsi_set_resid(srb, scsi_bufflen(srb) - 1); in spi_get_status()
449 int spi_set_parameter(struct scsi_cmnd *srb, struct rtsx_chip *chip) in spi_set_parameter() argument
456 spi->spi_clock = ((u16)(srb->cmnd[8]) << 8) | srb->cmnd[9]; in spi_set_parameter()
458 spi->spi_clock = srb->cmnd[3]; in spi_set_parameter()
460 spi->clk_div = ((u16)(srb in spi_set_parameter()
469 spi_read_flash_id(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_read_flash_id() argument
552 spi_read_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_read_flash() argument
645 spi_write_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_write_flash() argument
820 spi_erase_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_erase_flash() argument
863 spi_write_flash_status(struct scsi_cmnd *srb, struct rtsx_chip *chip) spi_write_flash_status() argument
[all...]
H A Dspi.h44 int spi_get_status(struct scsi_cmnd *srb, struct rtsx_chip *chip);
45 int spi_set_parameter(struct scsi_cmnd *srb, struct rtsx_chip *chip);
46 int spi_read_flash_id(struct scsi_cmnd *srb, struct rtsx_chip *chip);
47 int spi_read_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip);
48 int spi_write_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip);
49 int spi_erase_flash(struct scsi_cmnd *srb, struct rtsx_chip *chip);
50 int spi_write_flash_status(struct scsi_cmnd *srb, struct rtsx_chip *chip);
/kernel/linux/linux-5.10/drivers/usb/storage/
H A Dcypress_atacb.c73 static void cypress_atacb_passthrough(struct scsi_cmnd *srb, struct us_data *us) in cypress_atacb_passthrough() argument
77 if (likely(srb->cmnd[0] != ATA_16 && srb->cmnd[0] != ATA_12)) { in cypress_atacb_passthrough()
78 usb_stor_transparent_scsi_command(srb, us); in cypress_atacb_passthrough()
82 memcpy(save_cmnd, srb->cmnd, sizeof(save_cmnd)); in cypress_atacb_passthrough()
83 memset(srb->cmnd, 0, MAX_COMMAND_SIZE); in cypress_atacb_passthrough()
99 srb->cmd_len = 16; in cypress_atacb_passthrough()
101 srb->cmnd[0] = 0x24; /* in cypress_atacb_passthrough()
106 srb->cmnd[1] = 0x24; /* bVSCBSubCommand : 0x24 for ATACB */ in cypress_atacb_passthrough()
108 srb in cypress_atacb_passthrough()
[all...]
H A Dprotocol.c45 void usb_stor_pad12_command(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_pad12_command() argument
54 for (; srb->cmd_len < 12; srb->cmd_len++) in usb_stor_pad12_command()
55 srb->cmnd[srb->cmd_len] = 0; in usb_stor_pad12_command()
58 usb_stor_invoke_transport(srb, us); in usb_stor_pad12_command()
61 void usb_stor_ufi_command(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_ufi_command() argument
72 for (; srb->cmd_len < 12; srb->cmd_len++) in usb_stor_ufi_command()
73 srb in usb_stor_ufi_command()
104 usb_stor_transparent_scsi_command(struct scsi_cmnd *srb, struct us_data *us) usb_stor_transparent_scsi_command() argument
121 usb_stor_access_xfer_buf(unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr, unsigned int *offset, enum xfer_buf_dir dir) usb_stor_access_xfer_buf() argument
169 usb_stor_set_xfer_buf(unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb) usb_stor_set_xfer_buf() argument
[all...]
H A Dtransport.c462 struct scsi_cmnd* srb) in usb_stor_bulk_srb()
465 int result = usb_stor_bulk_transfer_sglist(us, pipe, scsi_sglist(srb), in usb_stor_bulk_srb()
466 scsi_sg_count(srb), scsi_bufflen(srb), in usb_stor_bulk_srb()
469 scsi_set_resid(srb, scsi_bufflen(srb) - partial); in usb_stor_bulk_srb()
519 static void last_sector_hacks(struct us_data *us, struct scsi_cmnd *srb) in last_sector_hacks() argument
543 if (srb->cmnd[0] != READ_10 && srb->cmnd[0] != WRITE_10) in last_sector_hacks()
547 sector = (srb in last_sector_hacks()
461 usb_stor_bulk_srb(struct us_data* us, unsigned int pipe, struct scsi_cmnd* srb) usb_stor_bulk_srb() argument
599 usb_stor_invoke_transport(struct scsi_cmnd *srb, struct us_data *us) usb_stor_invoke_transport() argument
952 usb_stor_CB_transport(struct scsi_cmnd *srb, struct us_data *us) usb_stor_CB_transport() argument
1110 usb_stor_Bulk_transport(struct scsi_cmnd *srb, struct us_data *us) usb_stor_Bulk_transport() argument
[all...]
H A Djumpshot.c214 usb_stor_access_xfer_buf(buffer, len, us->srb, in jumpshot_read_data()
270 usb_stor_access_xfer_buf(buffer, len, us->srb, in jumpshot_write_data()
367 struct scsi_cmnd * srb, in jumpshot_handle_mode_sense()
387 pc = srb->cmnd[2] >> 6; in jumpshot_handle_mode_sense()
388 page_code = srb->cmnd[2] & 0x3F; in jumpshot_handle_mode_sense()
458 usb_stor_set_xfer_buf(ptr, i, srb); in jumpshot_handle_mode_sense()
474 static int jumpshot_transport(struct scsi_cmnd *srb, struct us_data *us) in jumpshot_transport() argument
494 if (srb->cmnd[0] == INQUIRY) { in jumpshot_transport()
501 if (srb->cmnd[0] == READ_CAPACITY) { in jumpshot_transport()
519 usb_stor_set_xfer_buf(ptr, 8, srb); in jumpshot_transport()
366 jumpshot_handle_mode_sense(struct us_data *us, struct scsi_cmnd * srb, int sense_6) jumpshot_handle_mode_sense() argument
[all...]
H A Ddatafab.c202 usb_stor_access_xfer_buf(buffer, len, us->srb, in datafab_read_data()
265 usb_stor_access_xfer_buf(buffer, len, us->srb, in datafab_write_data()
438 struct scsi_cmnd * srb, in datafab_handle_mode_sense()
463 pc = srb->cmnd[2] >> 6; in datafab_handle_mode_sense()
464 page_code = srb->cmnd[2] & 0x3F; in datafab_handle_mode_sense()
534 usb_stor_set_xfer_buf(ptr, i, srb); in datafab_handle_mode_sense()
548 static int datafab_transport(struct scsi_cmnd *srb, struct us_data *us) in datafab_transport() argument
569 if (srb->cmnd[0] == INQUIRY) { in datafab_transport()
576 if (srb->cmnd[0] == READ_CAPACITY) { in datafab_transport()
589 usb_stor_set_xfer_buf(ptr, 8, srb); in datafab_transport()
437 datafab_handle_mode_sense(struct us_data *us, struct scsi_cmnd * srb, int sense_6) datafab_handle_mode_sense() argument
[all...]
H A Dshuttle_usbat.c149 static int usbat_flash_transport(struct scsi_cmnd * srb, struct us_data *us);
150 static int usbat_hp8200e_transport(struct scsi_cmnd *srb, struct us_data *us);
1180 usb_stor_access_xfer_buf(buffer, len, us->srb, in usbat_flash_read_data()
1256 usb_stor_access_xfer_buf(buffer, len, us->srb, in usbat_flash_write_data()
1291 struct scsi_cmnd *srb) in usbat_hp8200e_handle_read10()
1300 usb_stor_dbg(us, "transfersize %d\n", srb->transfersize); in usbat_hp8200e_handle_read10()
1302 if (scsi_bufflen(srb) < 0x10000) { in usbat_hp8200e_handle_read10()
1309 scsi_sglist(srb), in usbat_hp8200e_handle_read10()
1310 scsi_bufflen(srb), scsi_sg_count(srb), in usbat_hp8200e_handle_read10()
1288 usbat_hp8200e_handle_read10(struct us_data *us, unsigned char *registers, unsigned char *data, struct scsi_cmnd *srb) usbat_hp8200e_handle_read10() argument
1552 usbat_hp8200e_transport(struct scsi_cmnd *srb, struct us_data *us) usbat_hp8200e_transport() argument
1680 usbat_flash_transport(struct scsi_cmnd * srb, struct us_data *us) usbat_flash_transport() argument
[all...]
H A Disd200.c330 struct scsi_cmnd srb; member
399 static void isd200_build_sense(struct us_data *us, struct scsi_cmnd *srb) in isd200_build_sense() argument
402 struct sense_data *buf = (struct sense_data *) &srb->sense_buffer[0]; in isd200_build_sense()
452 struct scsi_cmnd *srb = &info->srb; in isd200_set_srb() local
457 srb->sc_data_direction = dir; in isd200_set_srb()
458 srb->sdb.table.sgl = buff ? &info->sg : NULL; in isd200_set_srb()
459 srb->sdb.length = bufflen; in isd200_set_srb()
460 srb->sdb.table.nents = buff ? 1 : 0; in isd200_set_srb()
463 static void isd200_srb_set_bufflen(struct scsi_cmnd *srb, unsigne argument
484 struct scsi_cmnd *srb = &info->srb; isd200_action() local
607 isd200_invoke_transport( struct us_data *us, struct scsi_cmnd *srb, union ata_cdb *ataCdb ) isd200_invoke_transport() argument
1219 isd200_scsi_to_ata(struct scsi_cmnd *srb, struct us_data *us, union ata_cdb * ataCdb) isd200_scsi_to_ata() argument
1513 isd200_ata_command(struct scsi_cmnd *srb, struct us_data *us) isd200_ata_command() argument
[all...]
H A Dscsiglue.c366 static int queuecommand_lck(struct scsi_cmnd *srb, in queuecommand_lck() argument
369 struct us_data *us = host_to_us(srb->device->host); in queuecommand_lck()
372 if (us->srb != NULL) { in queuecommand_lck()
374 "Error in %s: us->srb = %p\n", __func__, us->srb); in queuecommand_lck()
381 srb->result = DID_NO_CONNECT << 16; in queuecommand_lck()
382 done(srb); in queuecommand_lck()
387 (srb->cmnd[0] == ATA_12 || srb->cmnd[0] == ATA_16)) { in queuecommand_lck()
388 memcpy(srb in queuecommand_lck()
451 command_abort(struct scsi_cmnd *srb) command_abort() argument
463 device_reset(struct scsi_cmnd *srb) device_reset() argument
482 bus_reset(struct scsi_cmnd *srb) bus_reset() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/storage/
H A Dcypress_atacb.c73 static void cypress_atacb_passthrough(struct scsi_cmnd *srb, struct us_data *us) in cypress_atacb_passthrough() argument
77 if (likely(srb->cmnd[0] != ATA_16 && srb->cmnd[0] != ATA_12)) { in cypress_atacb_passthrough()
78 usb_stor_transparent_scsi_command(srb, us); in cypress_atacb_passthrough()
82 memcpy(save_cmnd, srb->cmnd, sizeof(save_cmnd)); in cypress_atacb_passthrough()
83 memset(srb->cmnd, 0, MAX_COMMAND_SIZE); in cypress_atacb_passthrough()
99 srb->cmd_len = 16; in cypress_atacb_passthrough()
101 srb->cmnd[0] = 0x24; /* in cypress_atacb_passthrough()
106 srb->cmnd[1] = 0x24; /* bVSCBSubCommand : 0x24 for ATACB */ in cypress_atacb_passthrough()
108 srb in cypress_atacb_passthrough()
[all...]
H A Dprotocol.c45 void usb_stor_pad12_command(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_pad12_command() argument
54 for (; srb->cmd_len < 12; srb->cmd_len++) in usb_stor_pad12_command()
55 srb->cmnd[srb->cmd_len] = 0; in usb_stor_pad12_command()
58 usb_stor_invoke_transport(srb, us); in usb_stor_pad12_command()
61 void usb_stor_ufi_command(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_ufi_command() argument
72 for (; srb->cmd_len < 12; srb->cmd_len++) in usb_stor_ufi_command()
73 srb in usb_stor_ufi_command()
104 usb_stor_transparent_scsi_command(struct scsi_cmnd *srb, struct us_data *us) usb_stor_transparent_scsi_command() argument
121 usb_stor_access_xfer_buf(unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr, unsigned int *offset, enum xfer_buf_dir dir) usb_stor_access_xfer_buf() argument
169 usb_stor_set_xfer_buf(unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb) usb_stor_set_xfer_buf() argument
[all...]
H A Dtransport.c467 struct scsi_cmnd* srb) in usb_stor_bulk_srb()
470 int result = usb_stor_bulk_transfer_sglist(us, pipe, scsi_sglist(srb), in usb_stor_bulk_srb()
471 scsi_sg_count(srb), scsi_bufflen(srb), in usb_stor_bulk_srb()
474 scsi_set_resid(srb, scsi_bufflen(srb) - partial); in usb_stor_bulk_srb()
524 static void last_sector_hacks(struct us_data *us, struct scsi_cmnd *srb) in last_sector_hacks() argument
548 if (srb->cmnd[0] != READ_10 && srb->cmnd[0] != WRITE_10) in last_sector_hacks()
552 sector = (srb in last_sector_hacks()
466 usb_stor_bulk_srb(struct us_data* us, unsigned int pipe, struct scsi_cmnd* srb) usb_stor_bulk_srb() argument
604 usb_stor_invoke_transport(struct scsi_cmnd *srb, struct us_data *us) usb_stor_invoke_transport() argument
957 usb_stor_CB_transport(struct scsi_cmnd *srb, struct us_data *us) usb_stor_CB_transport() argument
1115 usb_stor_Bulk_transport(struct scsi_cmnd *srb, struct us_data *us) usb_stor_Bulk_transport() argument
[all...]
H A Djumpshot.c214 usb_stor_access_xfer_buf(buffer, len, us->srb, in jumpshot_read_data()
270 usb_stor_access_xfer_buf(buffer, len, us->srb, in jumpshot_write_data()
367 struct scsi_cmnd * srb, in jumpshot_handle_mode_sense()
387 pc = srb->cmnd[2] >> 6; in jumpshot_handle_mode_sense()
388 page_code = srb->cmnd[2] & 0x3F; in jumpshot_handle_mode_sense()
458 usb_stor_set_xfer_buf(ptr, i, srb); in jumpshot_handle_mode_sense()
474 static int jumpshot_transport(struct scsi_cmnd *srb, struct us_data *us) in jumpshot_transport() argument
494 if (srb->cmnd[0] == INQUIRY) { in jumpshot_transport()
501 if (srb->cmnd[0] == READ_CAPACITY) { in jumpshot_transport()
519 usb_stor_set_xfer_buf(ptr, 8, srb); in jumpshot_transport()
366 jumpshot_handle_mode_sense(struct us_data *us, struct scsi_cmnd * srb, int sense_6) jumpshot_handle_mode_sense() argument
[all...]
H A Ddatafab.c202 usb_stor_access_xfer_buf(buffer, len, us->srb, in datafab_read_data()
265 usb_stor_access_xfer_buf(buffer, len, us->srb, in datafab_write_data()
437 struct scsi_cmnd * srb, in datafab_handle_mode_sense()
462 pc = srb->cmnd[2] >> 6; in datafab_handle_mode_sense()
463 page_code = srb->cmnd[2] & 0x3F; in datafab_handle_mode_sense()
533 usb_stor_set_xfer_buf(ptr, i, srb); in datafab_handle_mode_sense()
547 static int datafab_transport(struct scsi_cmnd *srb, struct us_data *us) in datafab_transport() argument
568 if (srb->cmnd[0] == INQUIRY) { in datafab_transport()
575 if (srb->cmnd[0] == READ_CAPACITY) { in datafab_transport()
588 usb_stor_set_xfer_buf(ptr, 8, srb); in datafab_transport()
436 datafab_handle_mode_sense(struct us_data *us, struct scsi_cmnd * srb, int sense_6) datafab_handle_mode_sense() argument
[all...]
H A Dshuttle_usbat.c149 static int usbat_flash_transport(struct scsi_cmnd * srb, struct us_data *us);
150 static int usbat_hp8200e_transport(struct scsi_cmnd *srb, struct us_data *us);
1180 usb_stor_access_xfer_buf(buffer, len, us->srb, in usbat_flash_read_data()
1256 usb_stor_access_xfer_buf(buffer, len, us->srb, in usbat_flash_write_data()
1291 struct scsi_cmnd *srb) in usbat_hp8200e_handle_read10()
1300 usb_stor_dbg(us, "transfersize %d\n", srb->transfersize); in usbat_hp8200e_handle_read10()
1302 if (scsi_bufflen(srb) < 0x10000) { in usbat_hp8200e_handle_read10()
1309 scsi_sglist(srb), in usbat_hp8200e_handle_read10()
1310 scsi_bufflen(srb), scsi_sg_count(srb), in usbat_hp8200e_handle_read10()
1288 usbat_hp8200e_handle_read10(struct us_data *us, unsigned char *registers, unsigned char *data, struct scsi_cmnd *srb) usbat_hp8200e_handle_read10() argument
1552 usbat_hp8200e_transport(struct scsi_cmnd *srb, struct us_data *us) usbat_hp8200e_transport() argument
1680 usbat_flash_transport(struct scsi_cmnd * srb, struct us_data *us) usbat_flash_transport() argument
[all...]
H A Disd200.c330 struct scsi_cmnd srb; member
399 static void isd200_build_sense(struct us_data *us, struct scsi_cmnd *srb) in isd200_build_sense() argument
402 struct sense_data *buf = (struct sense_data *) &srb->sense_buffer[0]; in isd200_build_sense()
452 struct scsi_cmnd *srb = &info->srb; in isd200_set_srb() local
457 srb->sc_data_direction = dir; in isd200_set_srb()
458 srb->sdb.table.sgl = buff ? &info->sg : NULL; in isd200_set_srb()
459 srb->sdb.length = bufflen; in isd200_set_srb()
460 srb->sdb.table.nents = buff ? 1 : 0; in isd200_set_srb()
463 static void isd200_srb_set_bufflen(struct scsi_cmnd *srb, unsigne argument
484 struct scsi_cmnd *srb = &info->srb; isd200_action() local
607 isd200_invoke_transport( struct us_data *us, struct scsi_cmnd *srb, union ata_cdb *ataCdb ) isd200_invoke_transport() argument
1219 isd200_scsi_to_ata(struct scsi_cmnd *srb, struct us_data *us, union ata_cdb * ataCdb) isd200_scsi_to_ata() argument
1513 isd200_ata_command(struct scsi_cmnd *srb, struct us_data *us) isd200_ata_command() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Ddc395x.c181 * srb->segement_x is the hw sg list. It is always allocated as a
228 struct list_head list; /* next/prev ptrs for srb lists */
244 * (srb->segment_x[DC395x_MAX_SG_LISTENTRY - 1] and the
271 struct list_head srb_going_list; /* head of going srb list */
272 struct list_head srb_waiting_list; /* head of waiting srb list */
305 struct list_head srb_free_list; /* head of free srb list */
334 struct ScsiReqBlk srb; member
343 static void data_out_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb,
345 static void data_in_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb,
347 static void command_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb,
735 free_tag(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) free_tag() argument
775 struct ScsiReqBlk *srb; waiting_process_next() local
856 send_srb(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) send_srb() argument
877 build_srb(struct scsi_cmnd *cmd, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) build_srb() argument
981 struct ScsiReqBlk *srb; dc395x_queue_command_lck() local
1055 dump_register_info(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) dump_register_info() argument
1234 struct ScsiReqBlk *srb; dc395x_eh_abort() local
1267 build_sdtr(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) build_sdtr() argument
1295 build_wdtr(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) build_wdtr() argument
1356 start_scsi(struct AdapterCtlBlk* acb, struct DeviceCtlBlk* dcb, struct ScsiReqBlk* srb) start_scsi() argument
1545 enable_msgout_abort(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) enable_msgout_abort() argument
1567 struct ScsiReqBlk *srb; dc395x_handle_interrupt() local
1706 msgout_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) msgout_phase0() argument
1718 msgout_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) msgout_phase1() argument
1751 command_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) command_phase0() argument
1759 command_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) command_phase1() argument
1797 sg_verify_length(struct ScsiReqBlk *srb) sg_verify_length() argument
1817 sg_update_list(struct ScsiReqBlk *srb, u32 left) sg_update_list() argument
1862 sg_subtract_one(struct ScsiReqBlk *srb) sg_subtract_one() argument
1876 cleanup_after_transfer(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) cleanup_after_transfer() argument
1902 data_out_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) data_out_phase0() argument
2035 data_out_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) data_out_phase1() argument
2045 data_in_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) data_in_phase0() argument
2258 data_in_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) data_in_phase1() argument
2267 data_io_transfer(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 io_dir) data_io_transfer() argument
2443 status_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) status_phase0() argument
2457 status_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) status_phase1() argument
2483 msgin_reject(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) msgin_reject() argument
2500 struct ScsiReqBlk *srb = NULL; msgin_qtag() local
2561 msgin_set_async(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) msgin_set_async() argument
2584 msgin_set_sync(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) msgin_set_sync() argument
2657 msgin_set_nowide(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) msgin_set_nowide() argument
2676 msgin_set_wide(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) msgin_set_wide() argument
2728 msgin_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) msgin_phase0() argument
2839 msgin_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) msgin_phase1() argument
2855 nop0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) nop0() argument
2861 nop1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) nop1() argument
2893 struct ScsiReqBlk *srb; disconnect() local
2989 struct ScsiReqBlk *srb = NULL; reselect() local
3133 pci_unmap_srb(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) pci_unmap_srb() argument
3153 pci_unmap_srb_sense(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) pci_unmap_srb_sense() argument
3176 srb_done(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) srb_done() argument
3388 struct ScsiReqBlk *srb; doing_srb_done() local
3533 request_sense(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) request_sense() argument
4559 struct ScsiReqBlk *srb; dc395x_show_info() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Ddc395x.c166 * srb->segement_x is the hw sg list. It is always allocated as a
213 struct list_head list; /* next/prev ptrs for srb lists */
229 * (srb->segment_x[DC395x_MAX_SG_LISTENTRY - 1] and the
256 struct list_head srb_going_list; /* head of going srb list */
257 struct list_head srb_waiting_list; /* head of waiting srb list */
290 struct list_head srb_free_list; /* head of free srb list */
319 struct ScsiReqBlk srb; member
328 static void data_out_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb,
330 static void data_in_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb,
332 static void command_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb,
720 free_tag(struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) free_tag() argument
760 struct ScsiReqBlk *srb; waiting_process_next() local
841 send_srb(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) send_srb() argument
862 build_srb(struct scsi_cmnd *cmd, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) build_srb() argument
966 struct ScsiReqBlk *srb; dc395x_queue_command_lck() local
1039 dump_register_info(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) dump_register_info() argument
1218 struct ScsiReqBlk *srb; dc395x_eh_abort() local
1251 build_sdtr(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) build_sdtr() argument
1275 build_wdtr(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) build_wdtr() argument
1332 start_scsi(struct AdapterCtlBlk* acb, struct DeviceCtlBlk* dcb, struct ScsiReqBlk* srb) start_scsi() argument
1521 enable_msgout_abort(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) enable_msgout_abort() argument
1543 struct ScsiReqBlk *srb; dc395x_handle_interrupt() local
1682 msgout_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) msgout_phase0() argument
1694 msgout_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) msgout_phase1() argument
1728 command_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) command_phase0() argument
1736 command_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) command_phase1() argument
1774 sg_verify_length(struct ScsiReqBlk *srb) sg_verify_length() argument
1794 sg_update_list(struct ScsiReqBlk *srb, u32 left) sg_update_list() argument
1839 sg_subtract_one(struct ScsiReqBlk *srb) sg_subtract_one() argument
1853 cleanup_after_transfer(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) cleanup_after_transfer() argument
1879 data_out_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) data_out_phase0() argument
2012 data_out_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) data_out_phase1() argument
2022 data_in_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) data_in_phase0() argument
2235 data_in_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) data_in_phase1() argument
2244 data_io_transfer(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 io_dir) data_io_transfer() argument
2419 status_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) status_phase0() argument
2433 status_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) status_phase1() argument
2459 msgin_reject(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) msgin_reject() argument
2476 struct ScsiReqBlk *srb = NULL; msgin_qtag() local
2537 msgin_set_async(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) msgin_set_async() argument
2560 msgin_set_sync(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) msgin_set_sync() argument
2633 msgin_set_nowide(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) msgin_set_nowide() argument
2652 msgin_set_wide(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) msgin_set_wide() argument
2704 msgin_phase0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) msgin_phase0() argument
2815 msgin_phase1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) msgin_phase1() argument
2831 nop0(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) nop0() argument
2837 nop1(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb, u16 *pscsi_status) nop1() argument
2869 struct ScsiReqBlk *srb; disconnect() local
2965 struct ScsiReqBlk *srb = NULL; reselect() local
3107 pci_unmap_srb(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) pci_unmap_srb() argument
3127 pci_unmap_srb_sense(struct AdapterCtlBlk *acb, struct ScsiReqBlk *srb) pci_unmap_srb_sense() argument
3150 srb_done(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) srb_done() argument
3347 struct ScsiReqBlk *srb; doing_srb_done() local
3487 request_sense(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, struct ScsiReqBlk *srb) request_sense() argument
4514 struct ScsiReqBlk *srb; dc395x_show_info() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/image/
H A Dmicrotek.c222 static inline void mts_show_command(struct scsi_cmnd *srb) in mts_show_command() argument
226 switch (srb->cmnd[0]) { in mts_show_command()
296 MTS_DEBUG( "Command %s (%d bytes)\n", what, srb->cmd_len); in mts_show_command()
299 MTS_DEBUG( " %10ph\n", srb->cmnd); in mts_show_command()
333 static int mts_scsi_abort(struct scsi_cmnd *srb) in mts_scsi_abort() argument
335 struct mts_desc* desc = (struct mts_desc*)(srb->device->host->hostdata[0]); in mts_scsi_abort()
344 static int mts_scsi_host_reset(struct scsi_cmnd *srb) in mts_scsi_host_reset() argument
346 struct mts_desc* desc = (struct mts_desc*)(srb->device->host->hostdata[0]); in mts_scsi_host_reset()
361 mts_scsi_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *srb);
392 set_host_byte(context->srb, DID_ERRO in mts_int_submit_urb()
524 mts_build_transfer_context(struct scsi_cmnd *srb, struct mts_desc* desc) mts_build_transfer_context() argument
566 mts_scsi_queuecommand_lck(struct scsi_cmnd *srb, mts_scsi_cmnd_callback callback) mts_scsi_queuecommand_lck() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/image/
H A Dmicrotek.c226 static inline void mts_show_command(struct scsi_cmnd *srb) in mts_show_command() argument
230 switch (srb->cmnd[0]) { in mts_show_command()
300 MTS_DEBUG( "Command %s (%d bytes)\n", what, srb->cmd_len); in mts_show_command()
303 MTS_DEBUG( " %10ph\n", srb->cmnd); in mts_show_command()
337 static int mts_scsi_abort(struct scsi_cmnd *srb) in mts_scsi_abort() argument
339 struct mts_desc* desc = (struct mts_desc*)(srb->device->host->hostdata[0]); in mts_scsi_abort()
348 static int mts_scsi_host_reset(struct scsi_cmnd *srb) in mts_scsi_host_reset() argument
350 struct mts_desc* desc = (struct mts_desc*)(srb->device->host->hostdata[0]); in mts_scsi_host_reset()
365 mts_scsi_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *srb);
396 set_host_byte(context->srb, DID_ERRO in mts_int_submit_urb()
528 mts_build_transfer_context(struct scsi_cmnd *srb, struct mts_desc* desc) mts_build_transfer_context() argument
568 mts_scsi_queuecommand_lck(struct scsi_cmnd *srb) mts_scsi_queuecommand_lck() argument
[all...]

Completed in 25 milliseconds

123456