Lines Matching defs:ulpmc
549 mk_rx_data_ack_ulp(struct ulp_txpkt *ulpmc, struct toepcb *toep)
554 ulpmc->cmd_dest = htonl(V_ULPTX_CMD(ULP_TX_PKT) | V_ULP_TXPKT_DEST(0));
555 ulpmc->len = htobe32(howmany(LEN__RX_DATA_ACK_ULP, 16));
557 ulpsc = (struct ulptx_idata *)(ulpmc + 1);
581 struct ulp_txpkt *ulpmc;
603 ulpmc = (struct ulp_txpkt *)(wrh + 1);
606 ulpmc = mk_set_tcb_field_ulp(sc, ulpmc, toep->tid,
613 ulpmc = mk_set_tcb_field_ulp(sc, ulpmc, toep->tid,
620 ulpmc = mk_set_tcb_field_ulp(sc, ulpmc, toep->tid,
628 ulpmc = mk_set_tcb_field_ulp(sc, ulpmc, toep->tid, W_TCB_RX_DDP_FLAGS,
632 ulpmc = mk_rx_data_ack_ulp(ulpmc, toep);
1230 struct ulp_txpkt *ulpmc;
1261 ulpmc = (struct ulp_txpkt *)(wrh + 1);
1267 ulpmc = mk_set_tcb_field_ulp(sc, ulpmc, toep->tid, 26,
1271 ulpmc = mk_set_tcb_field_ulp(sc, ulpmc, toep->tid, 28,
1275 ulpmc = mk_set_tcb_field_ulp(sc, ulpmc, toep->tid, 30,
1280 ulpmc = mk_set_tcb_field_ulp(sc, ulpmc, toep->tid, W_TCB_ULP_TYPE,
1285 ulpmc = mk_set_tcb_field_ulp(sc, ulpmc, toep->tid, W_TCB_T_FLAGS,
1624 struct ulp_mem_io *ulpmc;
1649 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 16);
1654 ulpmc = wrtod(wr);
1656 INIT_ULPTX_WR(ulpmc, len, 0, 0);
1657 ulpmc->cmd = cmd;
1658 ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk / 32));
1659 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
1660 ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
1662 ulpsc = (struct ulptx_idata *)(ulpmc + 1);
1703 struct ulp_mem_io *ulpmc;
1731 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 16);
1736 ulpmc = wrtod(wr);
1738 INIT_ULPTX_WR(ulpmc, len, 0, 0);
1739 ulpmc->cmd = cmd;
1740 ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk / 32));
1741 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
1742 ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
1744 ulpsc = (struct ulptx_idata *)(ulpmc + 1);
1811 struct ulp_mem_io *ulpmc;
1836 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 16);
1842 ulpmc = mtod(m, struct ulp_mem_io *);
1843 INIT_ULPTX_WR(ulpmc, len, 0, toep->tid);
1844 ulpmc->cmd = cmd;
1845 ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk / 32));
1846 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
1847 ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
1849 ulpsc = (struct ulptx_idata *)(ulpmc + 1);
1889 struct ulp_mem_io *ulpmc;
1916 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 16);
1921 ulpmc = mtod(m, struct ulp_mem_io *);
1923 INIT_ULPTX_WR(ulpmc, len, 0, toep->tid);
1924 ulpmc->cmd = cmd;
1925 ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk / 32));
1926 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
1927 ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
1929 ulpsc = (struct ulptx_idata *)(ulpmc + 1);
1979 struct ulp_mem_io *ulpmc;
2007 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 16);
2012 ulpmc = mtod(m, struct ulp_mem_io *);
2014 INIT_ULPTX_WR(ulpmc, len, 0, toep->tid);
2015 ulpmc->cmd = cmd;
2016 ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk / 32));
2017 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
2018 ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
2020 ulpsc = (struct ulptx_idata *)(ulpmc + 1);