Lines Matching refs:data

210 	u32			*data;
518 * The CTR transfer works in fragments of data of maximum 1 MByte
605 atmel_aes_read_block(dd, AES_ODATAR(0), dd->data);
606 dd->data += 4;
612 atmel_aes_write_block(dd, AES_IDATAR(0), dd->data);
649 dd->data = (u32 *)dd->buf;
650 atmel_aes_write_block(dd, AES_IDATAR(0), dd->data);
657 static void atmel_aes_dma_callback(void *data);
917 static void atmel_aes_dma_callback(void *data)
919 struct atmel_aes_dev *dd = data;
1013 /* Compute data length. */
1081 req->base.complete, req->base.data);
1426 const u32 *data, size_t datalen,
1447 const u32 *data, size_t datalen,
1453 dd->data = (u32 *)data;
1467 /* Set the data length. */
1483 /* Write data into the Input Data Registers. */
1485 atmel_aes_write_block(dd, AES_IDATAR(0), dd->data);
1486 dd->data += 4;
1513 u8 *data = dd->buf;
1533 memcpy(data, iv, ivsize);
1534 memset(data + ivsize, 0, padlen + sizeof(u64));
1535 ((__be64 *)(data + datalen))[-1] = cpu_to_be64(ivsize * 8);
1537 return atmel_aes_gcm_ghash(dd, (const u32 *)data, datalen,
1555 * fails when both the message and its associated data are empty.
1587 /* Copy assoc data and add padding. */
1593 /* Write assoc data into the Input Data register. */
1594 dd->data = (u32 *)dd->buf;
1609 atmel_aes_write_block(dd, AES_IDATAR(0), dd->data);
1610 dd->data += 4;
1651 __be64 *data = dd->buf;
1666 data[0] = cpu_to_be64(req->assoclen * 8);
1667 data[1] = cpu_to_be64(ctx->textlen * 8);
1669 return atmel_aes_gcm_ghash(dd, (const u32 *)data, AES_BLOCK_SIZE,
1857 /* Process the data. */
2039 * 'true' even if the data transfer is actually performed by the CPU (so
2050 /* Transfer data. */
2361 static void atmel_aes_queue_task(unsigned long data)
2363 struct atmel_aes_dev *dd = (struct atmel_aes_dev *)data;
2368 static void atmel_aes_done_task(unsigned long data)
2370 struct atmel_aes_dev *dd = (struct atmel_aes_dev *)data;