Home
last modified time | relevance | path

Searched refs:RIO_MAX_MSG_SIZE (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_rmu.c671 if ((len < 8) || (len > RIO_MAX_MSG_SIZE)) { in fsl_add_outb_message()
679 if (len < (RIO_MAX_MSG_SIZE - 4)) in fsl_add_outb_message()
681 + len, 0, RIO_MAX_MSG_SIZE - len); in fsl_add_outb_message()
873 rmu->msg_rx_ring.size * RIO_MAX_MSG_SIZE, in fsl_open_inb_mbox()
892 rmu->msg_rx_ring.size * RIO_MAX_MSG_SIZE, in fsl_open_inb_mbox()
933 dma_free_coherent(priv->dev, rmu->msg_rx_ring.size * RIO_MAX_MSG_SIZE, in fsl_close_inb_mbox()
997 buf_idx = (phys_buf - rmu->msg_rx_ring.phys) / RIO_MAX_MSG_SIZE; in fsl_get_inb_message()
1007 memcpy(buf, virt_buf, RIO_MAX_MSG_SIZE); in fsl_get_inb_message()
/openbmc/linux/drivers/net/
H A Drionet.c48 #define RIONET_MSG_SIZE RIO_MAX_MSG_SIZE
109 skb_put(rnet->rx_skb[i], RIO_MAX_MSG_SIZE); in rionet_rx_clean()
118 ndev->stats.rx_bytes += RIO_MAX_MSG_SIZE; in rionet_rx_clean()
133 rnet->rx_skb[i] = dev_alloc_skb(RIO_MAX_MSG_SIZE); in rionet_rx_fill()
/openbmc/linux/drivers/rapidio/devices/
H A Dtsi721.h327 #define TSI721_MSG_BUFFER_SIZE RIO_MAX_MSG_SIZE
328 #define TSI721_MSG_MAX_SIZE RIO_MAX_MSG_SIZE
H A Dtsi721.c2480 msg_size = RIO_MAX_MSG_SIZE; in tsi721_get_inb_message()
/openbmc/linux/include/linux/
H A Drio.h45 #define RIO_MAX_MSG_SIZE 0x1000 macro
/openbmc/linux/drivers/rapidio/
H A Drio_cm.c338 cm->rx_buf[i] = kmalloc(RIO_MAX_MSG_SIZE, GFP_KERNEL); in riocm_rx_fill()
787 if (buf == NULL || ch_id == 0 || len == 0 || len > RIO_MAX_MSG_SIZE) in riocm_ch_send()
1841 if (msg.size > RIO_MAX_MSG_SIZE) in cm_chan_msg_send()
1882 msg_size = min(msg.size, (u16)(RIO_MAX_MSG_SIZE)); in cm_chan_msg_rcv()