Lines Matching refs:tpc
243 u8 tpc, u8 cfg, struct scatterlist *sg) in ms_transfer_data() argument
254 __func__, tpc, (data_dir == READ) ? "READ" : "WRITE", in ms_transfer_data()
277 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); in ms_transfer_data()
328 static int ms_write_bytes(struct rtsx_usb_ms *host, u8 tpc, in ms_write_bytes() argument
334 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc); in ms_write_bytes()
346 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); in ms_write_bytes()
376 if (!(tpc & 0x08)) { in ms_write_bytes()
395 static int ms_read_bytes(struct rtsx_usb_ms *host, u8 tpc, in ms_read_bytes() argument
402 dev_dbg(ms_dev(host), "%s: tpc = 0x%02x\n", __func__, tpc); in ms_read_bytes()
406 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, MS_TPC, 0xFF, tpc); in ms_read_bytes()
444 if (!(tpc & 0x08)) { in ms_read_bytes()
483 req->tpc, cfg, &(req->sg)); in rtsx_usb_ms_issue_cmd()
486 err = ms_read_bytes(host, req->tpc, cfg, in rtsx_usb_ms_issue_cmd()
489 err = ms_write_bytes(host, req->tpc, cfg, in rtsx_usb_ms_issue_cmd()