Lines Matching refs:msgs_offset
16 static const u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); variable
231 memcpy(hw_mbase + mbox->tx_start + msgs_offset, in otx2_mbox_msg_send_data()
232 mdev->mbase + mbox->tx_start + msgs_offset, in otx2_mbox_msg_send_data()
314 if ((mdev->msg_size + size) > mbox->tx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp()
316 if ((mdev->rsp_size + size_rsp) > mbox->rx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp()
323 msghdr = mdev->mbase + mbox->tx_start + msgs_offset + mdev->msg_size; in otx2_mbox_alloc_msg_rsp()
331 msghdr->next_msgoff = mdev->msg_size + msgs_offset; in otx2_mbox_alloc_msg_rsp()
342 unsigned long imsg = mbox->tx_start + msgs_offset; in otx2_mbox_get_rsp()
343 unsigned long irsp = mbox->rx_start + msgs_offset; in otx2_mbox_get_rsp()
375 unsigned long ireq = mbox->tx_start + msgs_offset; in otx2_mbox_check_rsp_msgs()
376 unsigned long irsp = mbox->rx_start + msgs_offset; in otx2_mbox_check_rsp_msgs()