Lines Matching refs:dev
196 struct device *dev; member
355 dev_vdbg(dd->dev, "read 0x%08x from %s\n", value, in atmel_aes_read()
370 dev_vdbg(dd->dev, "write 0x%08x into %s\n", value, in atmel_aes_write()
464 dev_info(dd->dev, "version: 0x%x\n", dd->hw_version); in atmel_aes_hw_version_init()
751 dd->src.sg_len = dma_map_sg(dd->dev, dd->src.sg, dd->src.nents, in atmel_aes_map()
757 dd->src.sg_len = dma_map_sg(dd->dev, dd->src.sg, dd->src.nents, in atmel_aes_map()
762 dd->dst.sg_len = dma_map_sg(dd->dev, dd->dst.sg, dd->dst.nents, in atmel_aes_map()
765 dma_unmap_sg(dd->dev, dd->src.sg, dd->src.nents, in atmel_aes_map()
777 dma_unmap_sg(dd->dev, dd->src.sg, dd->src.nents, in atmel_aes_unmap()
783 dma_unmap_sg(dd->dev, dd->dst.sg, dd->dst.nents, in atmel_aes_unmap()
789 dma_unmap_sg(dd->dev, dd->src.sg, dd->src.nents, in atmel_aes_unmap()
2317 dev_err(dd->dev, "unable to alloc pages.\n"); in atmel_aes_buff_init()
2334 dd->src.chan = dma_request_chan(dd->dev, "tx"); in atmel_aes_dma_init()
2340 dd->dst.chan = dma_request_chan(dd->dev, "rx"); in atmel_aes_dma_init()
2351 dev_err(dd->dev, "no DMA channel available\n"); in atmel_aes_dma_init()
2387 dev_warn(aes_dd->dev, "AES interrupt when no active requests.\n"); in atmel_aes_irq()
2530 dev_warn(dd->dev, in atmel_aes_get_cap()
2545 struct device *dev = &pdev->dev; in atmel_aes_probe() local
2549 aes_dd = devm_kzalloc(&pdev->dev, sizeof(*aes_dd), GFP_KERNEL); in atmel_aes_probe()
2553 aes_dd->dev = dev; in atmel_aes_probe()
2581 err = devm_request_irq(&pdev->dev, aes_dd->irq, atmel_aes_irq, in atmel_aes_probe()
2584 dev_err(dev, "unable to request aes irq.\n"); in atmel_aes_probe()
2589 aes_dd->iclk = devm_clk_get(&pdev->dev, "aes_clk"); in atmel_aes_probe()
2591 dev_err(dev, "clock initialization failed.\n"); in atmel_aes_probe()
2629 dev_info(dev, "Atmel AES - Using %s, %s for DMA transfers\n", in atmel_aes_probe()