Home
last modified time | relevance | path

Searched refs:trans_mode (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/drivers/staging/rts5139/
Dsd.h299 extern int sd_read_data(struct rts51x_chip *chip, u8 trans_mode, u8 *cmd,
Dms.h258 int ms_transfer_data(struct rts51x_chip *chip, u8 trans_mode, u8 tpc,
Dms.c59 static int ms_transfer_tpc(struct rts51x_chip *chip, u8 trans_mode, u8 tpc, in ms_transfer_tpc() argument
76 MS_TRANSFER_START | trans_mode); in ms_transfer_tpc()
118 int ms_transfer_data(struct rts51x_chip *chip, u8 trans_mode, u8 tpc, in ms_transfer_data() argument
131 if (trans_mode == MS_TM_AUTO_READ) { in ms_transfer_data()
136 } else if (trans_mode == MS_TM_AUTO_WRITE) { in ms_transfer_data()
166 MS_TRANSFER_START | trans_mode); in ms_transfer_data()
2732 u8 val, trans_mode, rw_tpc, rw_cmd; local
2772 trans_mode = MS_TM_AUTO_READ;
2774 trans_mode = MS_TM_AUTO_WRITE;
2825 ms_transfer_data(chip, trans_mode, rw_tpc, sector_cnt, WAIT_INT,
Dsd.c295 int sd_read_data(struct rts51x_chip *chip, u8 trans_mode, u8 *cmd, int cmd_len, argument
333 if (trans_mode != SD_TM_AUTO_TUNING) {
338 trans_mode | SD_TRANSFER_START);
367 static int sd_write_data(struct rts51x_chip *chip, u8 trans_mode, argument
421 trans_mode | SD_TRANSFER_START);
/linux-3.4.99/drivers/usb/host/
Dfhci-tds.c386 enum fhci_tf_mode trans_mode, in fhci_host_transaction() argument
423 if (trans_mode == FHCI_TF_ISO) in fhci_host_transaction()
Dfhci.h563 u8 dest_ep, enum fhci_tf_mode trans_mode,
/linux-3.4.99/drivers/scsi/
Dnsp32.c55 static int trans_mode = 0; /* default: BIOS */ variable
56 module_param (trans_mode, int, 0);
57 MODULE_PARM_DESC(trans_mode, "transfer mode (0: BIOS(default) 1: Async 2: Ultra20M");
993 if (trans_mode != ASYNC_MODE) { in nsp32_queuecommand_lck()
3083 if (trans_mode == ULTRA20M_MODE) { in nsp32_getprom_at24()
3166 if (entry < 0 || trans_mode == ULTRA20M_MODE) { in nsp32_getprom_c16()
/linux-3.4.99/drivers/staging/rts_pstor/
Dms.c53 static int ms_transfer_tpc(struct rtsx_chip *chip, u8 trans_mode, u8 tpc, u8 cnt, u8 cfg) in ms_transfer_tpc() argument
68 rtsx_add_cmd(chip, WRITE_REG_CMD, MS_TRANSFER, 0xFF, MS_TRANSFER_START | trans_mode); in ms_transfer_tpc()
105 static int ms_transfer_data(struct rtsx_chip *chip, u8 trans_mode, u8 tpc, u16 sec_cnt, in ms_transfer_data() argument
116 if (trans_mode == MS_TM_AUTO_READ) { in ms_transfer_data()
119 } else if (trans_mode == MS_TM_AUTO_WRITE) { in ms_transfer_data()
144 MS_TRANSFER, 0xFF, MS_TRANSFER_START | trans_mode); in ms_transfer_data()
2583 u8 val, trans_mode, rw_tpc, rw_cmd; in mspro_rw_multi_sector() local
2624 trans_mode = MS_TM_AUTO_READ; in mspro_rw_multi_sector()
2626 trans_mode = MS_TM_AUTO_WRITE; in mspro_rw_multi_sector()
2676 retval = ms_transfer_data(chip, trans_mode, rw_tpc, sector_cnt, WAIT_INT, mode_2k, in mspro_rw_multi_sector()
Dsd.c313 u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, in sd_read_data() argument
348 if (trans_mode != SD_TM_AUTO_TUNING) { in sd_read_data()
351 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_TRANSFER, 0xFF, trans_mode | SD_TRANSFER_START); in sd_read_data()
374 static int sd_write_data(struct rtsx_chip *chip, u8 trans_mode, in sd_write_data() argument
419 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_TRANSFER, 0xFF, trans_mode | SD_TRANSFER_START); in sd_write_data()