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;
1659 ulpmc->dlen = htobe32(V_T7_ULP_MEMIO_DATA_LEN(chunk >> 5));
1661 ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk >> 5));
1662 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
1663 ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
1665 ulpsc = (struct ulptx_idata *)(ulpmc + 1);
1706 struct ulp_mem_io *ulpmc;
1734 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 16);
1739 ulpmc = wrtod(wr);
1741 INIT_ULPTX_WR(ulpmc, len, 0, 0);
1742 ulpmc->cmd = cmd;
1743 ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk / 32));
1744 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
1745 ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
1747 ulpsc = (struct ulptx_idata *)(ulpmc + 1);
1814 struct ulp_mem_io *ulpmc;
1839 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 16);
1845 ulpmc = mtod(m, struct ulp_mem_io *);
1846 INIT_ULPTX_WR(ulpmc, len, 0, toep->tid);
1847 ulpmc->cmd = cmd;
1849 ulpmc->dlen = htobe32(V_T7_ULP_MEMIO_DATA_LEN(chunk >> 5));
1851 ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk >> 5));
1852 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
1853 ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
1855 ulpsc = (struct ulptx_idata *)(ulpmc + 1);
1895 struct ulp_mem_io *ulpmc;
1922 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 16);
1927 ulpmc = mtod(m, struct ulp_mem_io *);
1929 INIT_ULPTX_WR(ulpmc, len, 0, toep->tid);
1930 ulpmc->cmd = cmd;
1932 ulpmc->dlen = htobe32(V_T7_ULP_MEMIO_DATA_LEN(chunk >> 5));
1934 ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk >> 5));
1935 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
1936 ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
1938 ulpsc = (struct ulptx_idata *)(ulpmc + 1);
1988 struct ulp_mem_io *ulpmc;
2016 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 16);
2021 ulpmc = mtod(m, struct ulp_mem_io *);
2023 INIT_ULPTX_WR(ulpmc, len, 0, toep->tid);
2024 ulpmc->cmd = cmd;
2026 ulpmc->dlen = htobe32(V_T7_ULP_MEMIO_DATA_LEN(chunk >> 5));
2028 ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk >> 5));
2029 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16));
2030 ulpmc->lock_addr = htobe32(V_ULP_MEMIO_ADDR(ppod_addr >> 5));
2032 ulpsc = (struct ulptx_idata *)(ulpmc + 1);