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