Lines Matching defs:data

94  * buffer_icap_get_bram - Reads data from the storage buffer bram.
96 * @offset: The word offset from which the data should be read.
98 * A bram is used as a configuration memory cache. One frame of data can
124 * @data: The size in bytes.
130 u32 data)
132 out_be32(base_address + XHI_SIZE_REG_OFFSET, data);
138 * @data: is the value to be written to the data register.
141 * data from during configuration or write data to during readback.
144 u32 data)
146 out_be32(base_address + XHI_BRAM_OFFSET_REG_OFFSET, data);
152 * @data: is the value to be written to the data register.
154 * The RNC register determines the direction of the data transfer. It
160 u32 data)
162 out_be32(base_address + XHI_RNC_REG_OFFSET, data);
166 * buffer_icap_set_bram - Write data to the storage buffer bram.
168 * @offset: The word offset at which the data should be written.
169 * @data: The value to be written to the bram offset.
171 * A bram is used as a configuration memory cache. One frame of data can
175 u32 offset, u32 data)
177 out_be32(base_address + (offset << 2), data);
264 * @data: Kernel address of the partial bitstream.
267 int buffer_icap_set_configuration(struct hwicap_drvdata *drvdata, u32 *data,
276 /* Loop through all the data */
279 /* Copy data to bram */
280 buffer_icap_set_bram(base_address, buffer_count, data[i]);
288 /* Write data to ICAP */
303 /* Write unwritten data to ICAP */
305 /* Write data to ICAP */
319 * buffer_icap_get_configuration - Read configuration data from the device.
321 * @data: Address of the data representing the partial bitstream
324 int buffer_icap_get_configuration(struct hwicap_drvdata *drvdata, u32 *data,
332 /* Loop through all the data */
341 /* Read data from ICAP */
355 /* Copy data from bram */
356 data[i] = buffer_icap_get_bram(base_address, buffer_count);