Lines Matching +full:2 +full:ppm
1224 struct cxgbi_ppm *ppm = (struct cxgbi_ppm *)(*ppm_pp); in cxgbi_ddp_ppm_setup() local
1226 if (ppm->ppmax < 1024 || in cxgbi_ddp_ppm_setup()
1227 ppm->tformat.pgsz_idx_dflt >= DDP_PGIDX_MAX) in cxgbi_ddp_ppm_setup()
1266 struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev); in cxgbi_ddp_reserve() local
1279 if (!ppm || xferlen < DDP_THRESHOLD || !sgcnt || in cxgbi_ddp_reserve()
1280 ppm->tformat.pgsz_idx_dflt >= DDP_PGIDX_MAX) { in cxgbi_ddp_reserve()
1282 "ppm 0x%p, pgidx %u, xfer %u, sgcnt %u, NO ddp.\n", in cxgbi_ddp_reserve()
1283 ppm, ppm ? ppm->tformat.pgsz_idx_dflt : DDP_PGIDX_MAX, in cxgbi_ddp_reserve()
1297 * the itt generated by libiscsi is saved in the ppm and can be in cxgbi_ddp_reserve()
1300 err = cxgbi_ppm_ppods_reserve(ppm, ttinfo->nr_pages, 0, &ttinfo->idx, in cxgbi_ddp_reserve()
1310 err = dma_map_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); in cxgbi_ddp_reserve()
1326 cxgbi_ppm_make_ppod_hdr(ppm, ttinfo->tag, csk->tid, sgl->offset, in cxgbi_ddp_reserve()
1334 err = cdev->csk_ddp_set_map(ppm, csk, ttinfo); in cxgbi_ddp_reserve()
1342 cxgbi_ppm_ppod_release(ppm, ttinfo->idx); in cxgbi_ddp_reserve()
1346 dma_unmap_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); in cxgbi_ddp_reserve()
1357 struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev); in task_release_itt() local
1364 cxgbi_ppm_is_ddp_tag(ppm, tag)) { in task_release_itt()
1369 cdev->csk_ddp_clear_map(cdev, ppm, ttinfo); in task_release_itt()
1370 cxgbi_ppm_ppod_release(ppm, ttinfo->idx); in task_release_itt()
1371 dma_unmap_sg(&ppm->pdev->dev, ttinfo->sgl, ttinfo->nents, in task_release_itt()
1390 struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev); in task_reserve_itt() local
1412 err = cxgbi_ppm_make_non_ddp_tag(ppm, sw_tag, &tag); in task_reserve_itt()
1430 struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev); in cxgbi_parse_pdu_itt() local
1434 if (ppm) { in cxgbi_parse_pdu_itt()
1435 if (cxgbi_ppm_is_ddp_tag(ppm, tag)) in cxgbi_parse_pdu_itt()
1436 sw_bits = cxgbi_ppm_get_tag_caller_data(ppm, tag); in cxgbi_parse_pdu_itt()
1438 sw_bits = cxgbi_ppm_decode_non_ddp_tag(ppm, tag); in cxgbi_parse_pdu_itt()
2120 iso_info->burst_size = (burst_size + r2t_dlength) >> 2; in cxgbi_prep_iso_info()
2136 submode |= 2; in tx_skb_setmode()
2402 struct cxgbi_ppm *ppm = csk->cdev->cdev2ppm(csk->cdev); in cxgbi_conn_xmit_pdu() local
2405 if (csk->cdev->csk_ddp_set_map(ppm, csk, ttinfo) < 0) in cxgbi_conn_xmit_pdu()
2449 (csk->no_tx_credits++ >= 2)) { in cxgbi_conn_xmit_pdu()
2675 struct cxgbi_ppm *ppm; in cxgbi_bind_conn() local
2689 ppm = csk->cdev->cdev2ppm(csk->cdev); in cxgbi_bind_conn()
2691 ppm->tformat.pgsz_idx_dflt); in cxgbi_bind_conn()