Searched refs:sec_cnt (Results 1 – 7 of 7) sorted by relevance
/drivers/staging/rts5208/ |
D | rtsx_scsi.c | 862 u16 sec_cnt; in read_write() local 910 sec_cnt = ((u16)(srb->cmnd[7]) << 8) | srb->cmnd[8]; in read_write() 914 sec_cnt = srb->cmnd[4]; in read_write() 915 if (sec_cnt == 0) in read_write() 916 sec_cnt = 256; in read_write() 923 sec_cnt = ((u16)(srb->cmnd[9]) << 8) | srb->cmnd[10]; in read_write() 935 ((start_sec + sec_cnt) > get_card_size(chip, lun))) { in read_write() 941 if (sec_cnt == 0) { in read_write() 968 retval = card_rw(srb, chip, start_sec, sec_cnt); in read_write() 2899 u16 sec_cnt; in led_shine() local [all …]
|
D | ms.c | 112 u8 tpc, u16 sec_cnt, u8 cfg, bool mode_2k, in ms_transfer_data() argument 139 MS_SECTOR_CNT_H, 0xFF, (u8)(sec_cnt >> 8)); in ms_transfer_data() 140 rtsx_add_cmd(chip, WRITE_REG_CMD, MS_SECTOR_CNT_L, 0xFF, (u8)sec_cnt); in ms_transfer_data() 150 trans_dma_enable(dir, chip, sec_cnt * 512, DMA_512); in ms_transfer_data() 2879 u32 start_sec, u16 sec_cnt, u8 cmd) argument 2885 data[1] = (u8)(sec_cnt >> 8); 2886 data[2] = (u8)sec_cnt;
|
D | rtsx_card.c | 983 u32 sec_addr, u16 sec_cnt) in card_rw() argument 997 retval = chip->rw_card[lun](srb, chip, sec_addr, sec_cnt); in card_rw()
|
D | rtsx_card.h | 1014 u32 sec_addr, u16 sec_cnt);
|
D | rtsx_chip.h | 353 u32 sec_addr, u16 sec_cnt);
|
/drivers/memstick/host/ |
D | rtsx_pci_ms.c | 146 u16 sec_cnt = (u16)(length / 512); in ms_transfer_data() local 168 0xFF, (u8)(sec_cnt >> 8)); in ms_transfer_data() 170 0xFF, (u8)sec_cnt); in ms_transfer_data()
|
D | rtsx_usb_ms.c | 248 u16 sec_cnt = (u16)(length / 512); in ms_transfer_data() local 280 0xFF, (u8)(sec_cnt >> 8)); in ms_transfer_data() 282 0xFF, (u8)sec_cnt); in ms_transfer_data()
|