Searched refs:hw_link (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/crypto/
H A Dsahara.c228 struct sahara_hw_link *hw_link[SAHARA_MAX_HW_LINK]; member in struct:sahara_dev
468 dev_dbg(dev->device, "\tlen = %u\n", dev->hw_link[i]->len); sahara_dump_links()
469 dev_dbg(dev->device, "\tp = 0x%08x\n", dev->hw_link[i]->p); sahara_dump_links()
471 dev->hw_link[i]->next); sahara_dump_links()
530 dev->hw_link[i]->len = sg->length; sahara_hw_descriptor_create()
531 dev->hw_link[i]->p = sg->dma_address; sahara_hw_descriptor_create()
533 dev->hw_link[i]->next = 0; sahara_hw_descriptor_create()
535 dev->hw_link[i]->next = dev->hw_phys_link[i + 1]; sahara_hw_descriptor_create()
544 dev->hw_link[j]->len = sg->length; sahara_hw_descriptor_create()
545 dev->hw_link[j]->p = sg->dma_address; sahara_hw_descriptor_create()
547 dev->hw_link[j]->next = 0; sahara_hw_descriptor_create()
549 dev->hw_link[j]->next = dev->hw_phys_link[j + 1]; sahara_hw_descriptor_create()
837 dev->hw_link[i]->len = sg->length; sahara_sha_hw_links_create()
838 dev->hw_link[i]->p = sg->dma_address; sahara_sha_hw_links_create()
839 dev->hw_link[i]->next = dev->hw_phys_link[i + 1]; sahara_sha_hw_links_create()
843 dev->hw_link[i-1]->next = 0; sahara_sha_hw_links_create()
852 dev->hw_link[i]->len = sg->length; sahara_sha_hw_links_create()
853 dev->hw_link[i]->p = sg->dma_address; sahara_sha_hw_links_create()
855 dev->hw_link[i]->next = 0; sahara_sha_hw_links_create()
857 dev->hw_link[i]->next = dev->hw_phys_link[i + 1]; sahara_sha_hw_links_create()
900 dev->hw_link[i]->p = dev->context_phys_base; sahara_sha_hw_data_descriptor_create()
902 dev->hw_link[i]->len = result_len; sahara_sha_hw_data_descriptor_create()
905 dev->hw_link[i]->next = 0; sahara_sha_hw_data_descriptor_create()
931 dev->hw_link[index]->len = rctx->context_size; sahara_sha_hw_context_descriptor_create()
932 dev->hw_link[index]->p = dev->context_phys_base; sahara_sha_hw_context_descriptor_create()
933 dev->hw_link[index]->next = 0; sahara_sha_hw_context_descriptor_create()
1552 dev->hw_link[0] = dma_alloc_coherent(&pdev->dev, sahara_probe()
1555 if (!dev->hw_link[0]) { sahara_probe()
1563 dev->hw_link[i] = dev->hw_link[i - 1] + 1; sahara_probe()
1621 dev->hw_link[0], dev->hw_phys_link[0]); sahara_probe()
1647 dev->hw_link[0], dev->hw_phys_link[0]); sahara_remove()

Completed in 110 milliseconds