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