Lines Matching defs:data

97  * @src_addr:  Source address of the data.
98 * @src_len: Length of data to be fetched.
229 * ocs_hcu_get_intermediate_data() - Get intermediate data.
231 * @data: Where to store the intermediate.
237 * Note: once all data has been processed, the intermediate data actually
244 struct ocs_hcu_idata *data,
253 if (!data)
256 chain = (u32 *)data->digest;
264 * This loops is safe because data->digest is an array of
272 data->msg_len_lo = readl(hcu_dev->io_base + OCS_HCU_MSG_LEN_LO);
273 data->msg_len_hi = readl(hcu_dev->io_base + OCS_HCU_MSG_LEN_HI);
279 * ocs_hcu_set_intermediate_data() - Set intermediate data.
281 * @data: The intermediate data to be set.
287 const struct ocs_hcu_idata *data,
291 u32 *chain = (u32 *)data->digest;
295 * This loops is safe because data->digest is an array of
303 writel(data->msg_len_lo, hcu_dev->io_base + OCS_HCU_MSG_LEN_LO);
304 writel(data->msg_len_hi, hcu_dev->io_base + OCS_HCU_MSG_LEN_HI);
436 * @dma_list: The OCS DMA list mapping the data to hash.
438 * the final hash should be compute even if data is not
455 * data has been processed by the HCU; however, we cannot do so for
460 * triggers when DMA has finishing feeding all the input data to the
603 * @dma_list: The OCS DMA list mapping the input data to process.
621 /* If we already processed some data, idata needs to be set. */
638 * @dma_list: The OCS DMA list mapping the input data to process.
659 /* If we already processed some data, idata needs to be set. */
695 /* If we already processed some data, idata needs to be set. */
719 * @data: The input data to process.
720 * @data_len: The length of @data.
727 void *data, size_t data_len, u8 *dgst, size_t dgst_len)
739 dma_handle = dma_map_single(dev, data, data_len, DMA_TO_DEVICE);
770 * @dma_list: The OCS DMA list mapping the input data to process.