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