Searched refs:msgs_offset (Results 1 – 3 of 3) sorted by relevance
16 static const u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); variable231 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()[all …]
30 u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_cpt_sync_mbox_bbuf() local42 if (msg_size > mbox->rx_size - msgs_offset) in otx2_cpt_sync_mbox_bbuf()43 msg_size = mbox->rx_size - msgs_offset; in otx2_cpt_sync_mbox_bbuf()47 hw_mbase + mbox->rx_start, msg_size + msgs_offset); in otx2_cpt_sync_mbox_bbuf()
679 u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_sync_mbox_bbuf() local691 if (msg_size > mbox->rx_size - msgs_offset) in otx2_sync_mbox_bbuf()692 msg_size = mbox->rx_size - msgs_offset; in otx2_sync_mbox_bbuf()696 hw_mbase + mbox->rx_start, msg_size + msgs_offset); in otx2_sync_mbox_bbuf()