Lines Matching refs:tpc
141 u8 tpc, u8 cfg, struct scatterlist *sg) in ms_transfer_data() argument
152 __func__, tpc, (data_dir == READ) ? "READ" : "WRITE", in ms_transfer_data()
165 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); in ms_transfer_data()
211 static int ms_write_bytes(struct realtek_pci_ms *host, u8 tpc, in ms_write_bytes() argument
217 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc); in ms_write_bytes()
231 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); in ms_write_bytes()
258 if (!(tpc & 0x08)) { in ms_write_bytes()
279 static int ms_read_bytes(struct realtek_pci_ms *host, u8 tpc, in ms_read_bytes() argument
286 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc); in ms_read_bytes()
293 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); in ms_read_bytes()
327 if (!(tpc & 0x08)) { in ms_read_bytes()
365 req->tpc, cfg, &(req->sg)); in rtsx_pci_ms_issue_cmd()
368 err = ms_read_bytes(host, req->tpc, cfg, in rtsx_pci_ms_issue_cmd()
371 err = ms_write_bytes(host, req->tpc, cfg, in rtsx_pci_ms_issue_cmd()