Searched refs:sha_dd (Results 1 – 1 of 1) sorted by relevance
1366 struct atmel_sha_dev *sha_dd = dev_id; in atmel_sha_irq() local1369 reg = atmel_sha_read(sha_dd, SHA_ISR); in atmel_sha_irq()1370 if (reg & atmel_sha_read(sha_dd, SHA_IMR)) { in atmel_sha_irq()1371 atmel_sha_write(sha_dd, SHA_IDR, reg); in atmel_sha_irq()1372 if (SHA_FLAGS_BUSY & sha_dd->flags) { in atmel_sha_irq()1373 sha_dd->flags |= SHA_FLAGS_OUTPUT_READY; in atmel_sha_irq()1374 if (!(SHA_FLAGS_CPU & sha_dd->flags)) in atmel_sha_irq()1375 sha_dd->flags |= SHA_FLAGS_DMA_READY; in atmel_sha_irq()1376 tasklet_schedule(&sha_dd->done_task); in atmel_sha_irq()1378 dev_warn(sha_dd->dev, "SHA interrupt when no active requests.\n"); in atmel_sha_irq()[all …]