Lines Matching defs:copy
94 * To work around it, copy the data elsewhere and make
237 * This will copy the SNAP as well which will be considered
1238 int copy = IWL_FIRST_TB_SIZE - copy_size;
1240 if (copy > cmdlen[i])
1241 copy = cmdlen[i];
1242 cmdlen[i] -= copy;
1243 cmddata[i] += copy;
1244 copy_size += copy;
1330 /* and copy the data that needs to be copied */
1332 int copy;
1337 /* copy everything if not nocopy/dup */
1340 copy = cmd->len[i];
1342 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy);
1343 cmd_pos += copy;
1344 copy_size += copy;
1350 * in total (for bi-directional DMA), but copy up to what
1353 copy = min_t(int, TFD_MAX_PAYLOAD_SIZE - cmd_pos, cmd->len[i]);
1355 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy);
1356 cmd_pos += copy;
1360 copy = IWL_FIRST_TB_SIZE - copy_size;
1362 if (copy > cmd->len[i])
1363 copy = cmd->len[i];
1364 copy_size += copy;
1374 /* start the TFD with the minimum copy bytes */