Searched refs:msgs_offset (Results 1 – 2 of 2) sorted by relevance
19 static const u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN);189 memcpy(hw_mbase + mbox->tx_start + msgs_offset, in otx2_mbox_msg_send()190 mdev->mbase + mbox->tx_start + msgs_offset, in otx2_mbox_msg_send()234 if ((mdev->msg_size + size) > mbox->tx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp()236 if ((mdev->rsp_size + size_rsp) > mbox->rx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp()243 msghdr = mdev->mbase + mbox->tx_start + msgs_offset + mdev->msg_size; in otx2_mbox_alloc_msg_rsp()251 msghdr->next_msgoff = mdev->msg_size + msgs_offset; in otx2_mbox_alloc_msg_rsp()262 unsigned long imsg = mbox->tx_start + msgs_offset; in otx2_mbox_get_rsp()263 unsigned long irsp = mbox->rx_start + msgs_offset; in otx2_mbox_get_rsp()295 unsigned long ireq = mbox->tx_start + msgs_offset; in otx2_mbox_check_rsp_msgs()[all …]
382 u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); in otx2_sync_mbox_bbuf() local394 if (msg_size > mbox->rx_size - msgs_offset) in otx2_sync_mbox_bbuf()395 msg_size = mbox->rx_size - msgs_offset; in otx2_sync_mbox_bbuf()399 hw_mbase + mbox->rx_start, msg_size + msgs_offset); in otx2_sync_mbox_bbuf()