Lines Matching refs:wbuf
773 u8 wbuf[SLIM_MSGQ_BUF_LEN]; in qcom_slim_ngd_xfer_msg() local
821 wbuf[i++] = txn->la; in qcom_slim_ngd_xfer_msg()
823 wbuf[i++] = txn->msg->wbuf[0]; in qcom_slim_ngd_xfer_msg()
825 wbuf[i++] = txn->msg->wbuf[1]; in qcom_slim_ngd_xfer_msg()
834 wbuf[i++] = txn->tid; in qcom_slim_ngd_xfer_msg()
837 txn->msg->wbuf = wbuf; in qcom_slim_ngd_xfer_msg()
864 if (txn->msg && txn->msg->wbuf) in qcom_slim_ngd_xfer_msg()
865 memcpy(puc, txn->msg->wbuf, txn->msg->num_bytes); in qcom_slim_ngd_xfer_msg()
918 u8 wbuf[SLIM_MSGQ_BUF_LEN]; in qcom_slim_ngd_enable_stream() local
929 txn.msg->wbuf = wbuf; in qcom_slim_ngd_enable_stream()
939 wbuf[txn.msg->num_bytes++] = sdev->laddr; in qcom_slim_ngd_enable_stream()
940 wbuf[txn.msg->num_bytes] = rt->bps >> 2 | in qcom_slim_ngd_enable_stream()
946 wbuf[txn.msg->num_bytes] |= BIT(5); in qcom_slim_ngd_enable_stream()
949 wbuf[txn.msg->num_bytes++] = exp << 4 | rt->prot; in qcom_slim_ngd_enable_stream()
952 wbuf[txn.msg->num_bytes++] = in qcom_slim_ngd_enable_stream()
956 wbuf[txn.msg->num_bytes++] = port->ch.prrate; in qcom_slim_ngd_enable_stream()
963 wbuf[txn.msg->num_bytes++] = txn.tid; in qcom_slim_ngd_enable_stream()
965 wbuf[txn.msg->num_bytes++] = port->ch.id; in qcom_slim_ngd_enable_stream()
980 wbuf[1] = sdev->laddr; in qcom_slim_ngd_enable_stream()
989 wbuf[0] = txn.tid; in qcom_slim_ngd_enable_stream()
1006 u8 wbuf[10] = {0}; in qcom_slim_ngd_get_laddr() local
1019 txn.msg->wbuf = wbuf; in qcom_slim_ngd_get_laddr()
1026 wbuf[0] = (u8)txn.tid; in qcom_slim_ngd_get_laddr()
1027 memcpy(&wbuf[1], ea, sizeof(*ea)); in qcom_slim_ngd_get_laddr()
1155 u8 wbuf[8]; in qcom_slim_ngd_master_worker() local
1164 wbuf[0] = SAT_MAGIC_LSB; in qcom_slim_ngd_master_worker()
1165 wbuf[1] = SAT_MAGIC_MSB; in qcom_slim_ngd_master_worker()
1166 wbuf[2] = SAT_MSG_VER; in qcom_slim_ngd_master_worker()
1167 wbuf[3] = SAT_MSG_PROT; in qcom_slim_ngd_master_worker()
1169 txn.msg->wbuf = wbuf; in qcom_slim_ngd_master_worker()