Home
last modified time | relevance | path

Searched refs:piobuf (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/sfc/
Dtx.c136 static void efx_memcpy_toio_aligned(struct efx_nic *efx, u8 __iomem **piobuf, in efx_memcpy_toio_aligned() argument
142 __iowrite64_copy(*piobuf, data, block_len >> 3); in efx_memcpy_toio_aligned()
143 *piobuf += block_len; in efx_memcpy_toio_aligned()
158 static void efx_memcpy_toio_aligned_cb(struct efx_nic *efx, u8 __iomem **piobuf, in efx_memcpy_toio_aligned_cb() argument
174 __iowrite64_copy(*piobuf, copy_buf->buf, in efx_memcpy_toio_aligned_cb()
176 *piobuf += sizeof(copy_buf->buf); in efx_memcpy_toio_aligned_cb()
182 efx_memcpy_toio_aligned(efx, piobuf, data, len, copy_buf); in efx_memcpy_toio_aligned_cb()
185 static void efx_flush_copy_buffer(struct efx_nic *efx, u8 __iomem *piobuf, in efx_flush_copy_buffer() argument
190 __iowrite64_copy(piobuf, copy_buf->buf, in efx_flush_copy_buffer()
198 u8 __iomem **piobuf, in efx_skb_copy_bits_to_pio() argument
[all …]
Def10.c854 tx_queue->piobuf = NULL; in efx_ef10_link_piobufs()
856 tx_queue->piobuf = in efx_ef10_link_piobufs()
864 tx_queue->piobuf); in efx_ef10_link_piobufs()
894 tx_queue->piobuf = NULL; in efx_ef10_forget_old_piobufs()
Dnet_driver.h273 void __iomem *piobuf; member
/drivers/net/ethernet/amd/
Dsunlance.c642 static void lance_piocopy_to_skb(struct sk_buff *skb, void __iomem *piobuf, int len) in lance_piocopy_to_skb() argument
647 void __iomem *pbuf = piobuf; in lance_piocopy_to_skb()
1003 void __iomem *piobuf = dest; in lance_piocopy_from_skb() local
1012 sbus_writel(*p32, piobuf); in lance_piocopy_from_skb()
1014 piobuf += 4; in lance_piocopy_from_skb()
1029 sbus_writel(val, piobuf); in lance_piocopy_from_skb()
1031 piobuf += 4; in lance_piocopy_from_skb()
1040 sbus_writel(val, piobuf); in lance_piocopy_from_skb()
1042 piobuf += 4; in lance_piocopy_from_skb()
1050 sbus_writew(val, piobuf); in lance_piocopy_from_skb()
[all …]
/drivers/infiniband/hw/qib/
Dqib_verbs.c428 static void qib_copy_io(u32 __iomem *piobuf, struct rvt_sge_state *ss, in qib_copy_io() argument
458 __raw_writel(data, piobuf); in qib_copy_io()
459 piobuf++; in qib_copy_io()
482 __raw_writel(data, piobuf); in qib_copy_io()
484 piobuf++; in qib_copy_io()
501 __raw_writel(data, piobuf); in qib_copy_io()
502 piobuf++; in qib_copy_io()
526 qib_pio_copy(piobuf, ss->sge.vaddr, w - 1); in qib_copy_io()
527 piobuf += w - 1; in qib_copy_io()
533 qib_pio_copy(piobuf, ss->sge.vaddr, w); in qib_copy_io()
[all …]
Dqib_diag.c551 u32 __iomem *piobuf; in qib_diagpkt_write() local
628 piobuf = dd->f_getsendbuf(ppd, dp.pbc_wd, &pbufn); in qib_diagpkt_write()
629 if (!piobuf) { in qib_diagpkt_write()
639 writeq(dp.pbc_wd, piobuf); in qib_diagpkt_write()
647 qib_pio_copy(piobuf + 2, tmpbuf, plen - 1); in qib_diagpkt_write()
649 __raw_writel(tmpbuf[plen - 1], piobuf + plen + 1); in qib_diagpkt_write()
651 qib_pio_copy(piobuf + 2, tmpbuf, plen); in qib_diagpkt_write()
657 __raw_writel(0xaebecede, piobuf + spcl_off); in qib_diagpkt_write()
Dqib_rc.c608 u32 __iomem *piobuf; in qib_send_rc_ack() local
668 piobuf = dd->f_getsendbuf(ppd, pbc, &pbufn); in qib_send_rc_ack()
669 if (!piobuf) { in qib_send_rc_ack()
686 writeq(pbc, piobuf); in qib_send_rc_ack()
692 qib_pio_copy(piobuf + 2, hdrp, hwords - 1); in qib_send_rc_ack()
694 __raw_writel(hdrp[hwords - 1], piobuf + hwords + 1); in qib_send_rc_ack()
696 qib_pio_copy(piobuf + 2, (u32 *) &hdr, hwords); in qib_send_rc_ack()
702 __raw_writel(0xaebecede, piobuf + spcl_off); in qib_send_rc_ack()
Dqib_init.c966 u32 __iomem *piobuf; in qib_verify_pioperf() local
970 piobuf = dd->f_getsendbuf(dd->pport, 0ULL, &pbnum); in qib_verify_pioperf()
971 if (!piobuf) { in qib_verify_pioperf()
1001 writeq(0, piobuf); in qib_verify_pioperf()
1011 qib_pio_copy(piobuf + 64, addr, cnt >> 2); in qib_verify_pioperf()
Dqib_iba7322.c1397 u32 __iomem *piobuf; in flush_fifo() local
1422 piobuf = qib_7322_getsendbuf(ppd, pbc, &bufn); in flush_fifo()
1423 if (!piobuf) in flush_fifo()
1425 writeq(pbc, piobuf); in flush_fifo()
1429 qib_pio_copy(piobuf + 2, hdr, hdrwords - 1); in flush_fifo()
1431 __raw_writel(hdr[hdrwords - 1], piobuf + hdrwords + 1); in flush_fifo()
1434 qib_pio_copy(piobuf + 2, hdr, hdrwords); in flush_fifo()
5199 u32 __iomem *piobuf; in autoneg_7322_sendpkt() local
5207 while (!(piobuf = qib_7322_getsendbuf(ppd, pbc, &pnum))) { in autoneg_7322_sendpkt()
5214 writeq(pbc, piobuf); in autoneg_7322_sendpkt()
[all …]
Dqib_iba7220.c3376 u32 __iomem *piobuf; in autoneg_7220_sendpkt() local
3383 while (!(piobuf = get_7220_link_buf(ppd, &pnum))) { in autoneg_7220_sendpkt()
3389 writeq(pbc, piobuf); in autoneg_7220_sendpkt()
3391 qib_pio_copy(piobuf + 2, hdr, 7); in autoneg_7220_sendpkt()
3392 qib_pio_copy(piobuf + 9, data, dcnt); in autoneg_7220_sendpkt()
3397 __raw_writel(0xaebecede, piobuf + spcl_off); in autoneg_7220_sendpkt()
/drivers/net/ethernet/sfc/siena/
Dnet_driver.h271 void __iomem *piobuf; member