Lines Matching refs:tpc
129 u8 tpc, u8 cfg, struct scatterlist *sg) in ms_transfer_data() argument
140 __func__, tpc, (data_dir == READ) ? "READ" : "WRITE", in ms_transfer_data()
153 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); in ms_transfer_data()
199 static int ms_write_bytes(struct realtek_pci_ms *host, u8 tpc, in ms_write_bytes() argument
205 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc); in ms_write_bytes()
219 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); in ms_write_bytes()
246 if (!(tpc & 0x08)) { in ms_write_bytes()
267 static int ms_read_bytes(struct realtek_pci_ms *host, u8 tpc, in ms_read_bytes() argument
274 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc); in ms_read_bytes()
281 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); in ms_read_bytes()
315 if (!(tpc & 0x08)) { in ms_read_bytes()
353 req->tpc, cfg, &(req->sg)); in rtsx_pci_ms_issue_cmd()
356 err = ms_read_bytes(host, req->tpc, cfg, in rtsx_pci_ms_issue_cmd()
359 err = ms_write_bytes(host, req->tpc, cfg, in rtsx_pci_ms_issue_cmd()