Searched refs:sec_cnt (Results 1 - 7 of 7) sorted by relevance
/linux-4.4.14/drivers/memstick/host/ |
H A D | rtsx_pci_ms.c | 146 u16 sec_cnt = (u16)(length / 512); ms_transfer_data() local 168 0xFF, (u8)(sec_cnt >> 8)); ms_transfer_data() 170 0xFF, (u8)sec_cnt); ms_transfer_data()
|
H A D | rtsx_usb_ms.c | 248 u16 sec_cnt = (u16)(length / 512); ms_transfer_data() local 280 0xFF, (u8)(sec_cnt >> 8)); ms_transfer_data() 282 0xFF, (u8)sec_cnt); ms_transfer_data()
|
/linux-4.4.14/drivers/staging/rts5208/ |
H A D | rtsx_scsi.c | 865 u16 sec_cnt; read_write() local 913 sec_cnt = ((u16)(srb->cmnd[7]) << 8) | srb->cmnd[8]; read_write() 917 sec_cnt = srb->cmnd[4]; read_write() 918 if (sec_cnt == 0) read_write() 919 sec_cnt = 256; read_write() 926 sec_cnt = ((u16)(srb->cmnd[9]) << 8) | srb->cmnd[10]; read_write() 934 * In this situation, start_sec + sec_cnt will overflow, so we read_write() 938 ((start_sec + sec_cnt) > get_card_size(chip, lun))) { read_write() 944 if (sec_cnt == 0) { read_write() 971 retval = card_rw(srb, chip, start_sec, sec_cnt); read_write() 2905 u16 sec_cnt; led_shine() local 2908 sec_cnt = ((u16)(srb->cmnd[7]) << 8) | srb->cmnd[8]; led_shine() 2910 sec_cnt = srb->cmnd[4]; led_shine() 2911 if (sec_cnt == 0) led_shine() 2912 sec_cnt = 256; led_shine() 2920 chip->rw_cap[lun] += sec_cnt; led_shine()
|
H A D | ms.c | 112 u8 tpc, u16 sec_cnt, u8 cfg, bool mode_2k, ms_transfer_data() 139 MS_SECTOR_CNT_H, 0xFF, (u8)(sec_cnt >> 8)); ms_transfer_data() 140 rtsx_add_cmd(chip, WRITE_REG_CMD, MS_SECTOR_CNT_L, 0xFF, (u8)sec_cnt); ms_transfer_data() 150 trans_dma_enable(dir, chip, sec_cnt * 512, DMA_512); ms_transfer_data() 2877 u32 start_sec, u16 sec_cnt, u8 cmd) mspro_set_rw_cmd() 2883 data[1] = (u8)(sec_cnt >> 8); mspro_set_rw_cmd() 2884 data[2] = (u8)sec_cnt; mspro_set_rw_cmd() 111 ms_transfer_data(struct rtsx_chip *chip, u8 trans_mode, u8 tpc, u16 sec_cnt, u8 cfg, bool mode_2k, int use_sg, void *buf, int buf_len) ms_transfer_data() argument 2876 mspro_set_rw_cmd(struct rtsx_chip *chip, u32 start_sec, u16 sec_cnt, u8 cmd) mspro_set_rw_cmd() argument
|
H A D | rtsx_card.c | 986 u32 sec_addr, u16 sec_cnt) card_rw() 1000 retval = chip->rw_card[lun](srb, chip, sec_addr, sec_cnt); card_rw() 985 card_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 sec_addr, u16 sec_cnt) card_rw() argument
|
H A D | rtsx_card.h | 1014 u32 sec_addr, u16 sec_cnt);
|
H A D | rtsx_chip.h | 353 u32 sec_addr, u16 sec_cnt);
|
Completed in 178 milliseconds