Home
last modified time | relevance | path

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

/drivers/memstick/host/
Drtsx_pci_ms.c146 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()
Drtsx_usb_ms.c248 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()
/drivers/staging/rts5208/
Drtsx_scsi.c861 u16 sec_cnt; in read_write() local
906 sec_cnt = ((u16)(srb->cmnd[7]) << 8) | srb->cmnd[8]; in read_write()
910 sec_cnt = srb->cmnd[4]; in read_write()
917 sec_cnt = ((u16)(srb->cmnd[9]) << 8) | srb->cmnd[10]; in read_write()
928 ((start_sec + sec_cnt) > get_card_size(chip, lun))) { in read_write()
933 if (sec_cnt == 0) { in read_write()
958 retval = card_rw(srb, chip, start_sec, sec_cnt); in read_write()
2779 u16 sec_cnt; in led_shine() local
2782 sec_cnt = ((u16)(srb->cmnd[7]) << 8) | srb->cmnd[8]; in led_shine()
2784 sec_cnt = srb->cmnd[4]; in led_shine()
[all …]
Dms.c110 u8 tpc, u16 sec_cnt, u8 cfg, int mode_2k, in ms_transfer_data() argument
134 MS_SECTOR_CNT_H, 0xFF, (u8)(sec_cnt >> 8)); in ms_transfer_data()
135 rtsx_add_cmd(chip, WRITE_REG_CMD, MS_SECTOR_CNT_L, 0xFF, (u8)sec_cnt); in ms_transfer_data()
145 trans_dma_enable(dir, chip, sec_cnt * 512, DMA_512); in ms_transfer_data()
2453 u32 start_sec, u16 sec_cnt, u8 cmd) in mspro_set_rw_cmd() argument
2459 data[1] = (u8)(sec_cnt >> 8); in mspro_set_rw_cmd()
2460 data[2] = (u8)sec_cnt; in mspro_set_rw_cmd()
Drtsx_card.c929 u32 sec_addr, u16 sec_cnt) in card_rw() argument
941 retval = chip->rw_card[lun](srb, chip, sec_addr, sec_cnt); in card_rw()
Drtsx_card.h1014 u32 sec_addr, u16 sec_cnt);
Drtsx_chip.h353 u32 sec_addr, u16 sec_cnt);