Lines Matching defs:put
56 u32 put = 0, get = 0;
192 /* loop until put - get <= 24K */
195 if ((put - get) <=
201 if ((put - get) > (DOWNLOAD_FIFO_SIZE - DOWNLOAD_BLOCK_SIZE)) {
208 tx_size = block_size = min_t(size_t, firmware->size - put,
211 memcpy(buf, &firmware->data[put], block_size);
221 (put & (DOWNLOAD_FIFO_SIZE - 1))),
225 put & (DOWNLOAD_FIFO_SIZE - 1));
229 /* update the put register */
230 put += block_size;
231 APB_WRITE2(DOWNLOAD_PUT_REG, put);