Lines Matching refs:cmd_buf
89 ucr->cmd_buf[PACKET_TYPE] = seq_type; in rtsx_usb_seq_cmd_hdr()
90 ucr->cmd_buf[5] = (u8)(len >> 8); in rtsx_usb_seq_cmd_hdr()
91 ucr->cmd_buf[6] = (u8)len; in rtsx_usb_seq_cmd_hdr()
92 ucr->cmd_buf[8] = (u8)(addr >> 8); in rtsx_usb_seq_cmd_hdr()
93 ucr->cmd_buf[9] = (u8)addr; in rtsx_usb_seq_cmd_hdr()
96 ucr->cmd_buf[STAGE_FLAG] = 0; in rtsx_usb_seq_cmd_hdr()
98 ucr->cmd_buf[STAGE_FLAG] = STAGE_R; in rtsx_usb_seq_cmd_hdr()
113 memcpy(ucr->cmd_buf + SEQ_WRITE_DATA_OFFSET, data, len); in rtsx_usb_seq_write_register()
117 ucr->cmd_buf, cmd_len, 0, NULL, 100); in rtsx_usb_seq_write_register()
135 ucr->cmd_buf, 12, 0, NULL, 100); in rtsx_usb_seq_read_register()
220 ucr->cmd_buf[i++] = ((cmd_type & 0x03) << 6) | in rtsx_usb_add_cmd()
222 ucr->cmd_buf[i++] = (u8)reg_addr; in rtsx_usb_add_cmd()
223 ucr->cmd_buf[i++] = mask; in rtsx_usb_add_cmd()
224 ucr->cmd_buf[i++] = data; in rtsx_usb_add_cmd()
235 ucr->cmd_buf[CNT_H] = (u8)(ucr->cmd_idx >> 8); in rtsx_usb_send_cmd()
236 ucr->cmd_buf[CNT_L] = (u8)(ucr->cmd_idx); in rtsx_usb_send_cmd()
237 ucr->cmd_buf[STAGE_FLAG] = flag; in rtsx_usb_send_cmd()
241 ucr->cmd_buf, ucr->cmd_idx * 4 + CMD_OFFSET, in rtsx_usb_send_cmd()
643 ucr->cmd_buf = ucr->rsp_buf = ucr->iobuf; in rtsx_usb_probe()