Lines Matching refs:tpc
231 u8 tpc, u8 cfg, struct scatterlist *sg)
241 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x, data_dir = %s, length = %d\n",
242 __func__, tpc, (data_dir == READ) ? "READ" : "WRITE",
265 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc);
316 static int ms_write_bytes(struct rtsx_usb_ms *host, u8 tpc,
322 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc);
334 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc);
364 if (!(tpc & 0x08)) {
383 static int ms_read_bytes(struct rtsx_usb_ms *host, u8 tpc,
390 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc);
394 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc);
432 if (!(tpc & 0x08)) {
471 req->tpc, cfg, &(req->sg));
474 err = ms_read_bytes(host, req->tpc, cfg,
477 err = ms_write_bytes(host, req->tpc, cfg,