/drivers/staging/rts5139/ |
D | rts51x_scsi.c | 806 u16 sec_cnt; in read_write() local 847 sec_cnt = ((u16) (srb->cmnd[7]) << 8) | srb->cmnd[8]; in read_write() 851 sec_cnt = srb->cmnd[4]; in read_write() 860 sec_cnt = ((u16) (srb->cmnd[9]) << 8) | srb->cmnd[10]; in read_write() 867 ((start_sec + sec_cnt) > chip->capacity[lun])) { in read_write() 872 if (sec_cnt == 0) { in read_write() 884 retval = card_rw(srb, chip, start_sec, sec_cnt); in read_write()
|
D | ms.h | 259 u16 sec_cnt, u8 cfg, int mode_2k, int use_sg, void *buf,
|
D | rts51x_card.c | 666 u16 sec_cnt) in card_rw() argument 677 DMA_TO_DEVICE) ? "Write" : "Read", sec_addr, sec_cnt); in card_rw() 681 retval = chip->rw_card[lun] (srb, chip, sec_addr, sec_cnt); in card_rw()
|
D | ms.c | 119 u16 sec_cnt, u8 cfg, int mode_2k, int use_sg, void *buf, in ms_transfer_data() argument 149 (u8) (sec_cnt >> 8)); in ms_transfer_data() 151 (u8) sec_cnt); in ms_transfer_data() 163 trans_dma_enable(dir, chip, sec_cnt * 512, DMA_512); in ms_transfer_data() 2657 u16 sec_cnt, u8 cmd) argument 2663 data[1] = (u8) (sec_cnt >> 8); 2664 data[2] = (u8) sec_cnt; 3054 u8 page_cnt = end_page - start_page, page_addr, sec_cnt; local 3151 sec_cnt = chip->rsp_buf[0]; 3153 (int)page_cnt, (int)sec_cnt); [all …]
|
D | rts51x_card.h | 755 u16 sec_cnt);
|
D | rts51x_chip.h | 422 u32 sec_addr, u16 sec_cnt);
|
/drivers/staging/rts_pstor/ |
D | rtsx_scsi.c | 687 u16 sec_cnt; in read_write() local 730 sec_cnt = ((u16)(srb->cmnd[7]) << 8) | srb->cmnd[8]; in read_write() 734 sec_cnt = srb->cmnd[4]; in read_write() 739 sec_cnt = ((u16)(srb->cmnd[9]) << 8) | srb->cmnd[10]; in read_write() 750 ((start_sec + sec_cnt) > get_card_size(chip, lun))) { in read_write() 755 if (sec_cnt == 0) { in read_write() 785 retval = card_rw(srb, chip, start_sec, sec_cnt); in read_write() 2611 u16 sec_cnt; in led_shine() local 2614 sec_cnt = ((u16)(srb->cmnd[7]) << 8) | srb->cmnd[8]; in led_shine() 2616 sec_cnt = srb->cmnd[4]; in led_shine() [all …]
|
D | ms.c | 105 static int ms_transfer_data(struct rtsx_chip *chip, u8 trans_mode, u8 tpc, u16 sec_cnt, in ms_transfer_data() argument 130 MS_SECTOR_CNT_H, 0xFF, (u8)(sec_cnt >> 8)); in ms_transfer_data() 131 rtsx_add_cmd(chip, WRITE_REG_CMD, MS_SECTOR_CNT_L, 0xFF, (u8)sec_cnt); in ms_transfer_data() 141 trans_dma_enable(dir, chip, sec_cnt * 512, DMA_512); in ms_transfer_data() 2504 static int mspro_set_rw_cmd(struct rtsx_chip *chip, u32 start_sec, u16 sec_cnt, u8 cmd) in mspro_set_rw_cmd() argument 2510 data[1] = (u8)(sec_cnt >> 8); in mspro_set_rw_cmd() 2511 data[2] = (u8)sec_cnt; in mspro_set_rw_cmd()
|
D | rtsx_card.c | 1026 int card_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 sec_addr, u16 sec_cnt) in card_rw() argument 1039 retval = chip->rw_card[lun](srb, chip, sec_addr, sec_cnt); in card_rw()
|
D | rtsx_card.h | 1016 int card_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 sec_addr, u16 sec_cnt);
|
D | rtsx_chip.h | 347 …edef int (*card_rw_func)(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 sec_addr, u16 sec_cnt);
|