Lines Matching defs:pos
406 unsigned int pos, count;
435 pos = 2;
444 copy[pos].from_buf = NULL;
445 copy[pos].from_rid = efx->pci_dev->devfn;
446 copy[pos].from_addr = epp->addr;
447 copy[pos].to_rid = vf->pci_rid;
448 copy[pos].to_addr = vf->peer_page_addrs[count];
449 copy[pos].length = EFX_PAGE_SIZE;
451 if (++pos == ARRAY_SIZE(copy)) {
453 pos = 0;
459 copy[pos].from_buf = &status->generation_end;
460 copy[pos].to_rid = vf->pci_rid;
461 copy[pos].to_addr = vf->status_addr + offsetof(struct vfdi_status,
463 copy[pos].length = sizeof(status->generation_end);
464 efx_siena_sriov_memcpy(efx, copy, pos + 1);
481 unsigned pos;
483 for (pos = 0; pos < count; ++pos) {
487 addr ? addr[pos] >> 12 : 0,
490 &buf, offset + pos);
946 unsigned int pos, count, k, buftbl, abs_evq;
963 for (pos = 0; pos < EFX_PAGE_SIZE; pos += sizeof(event))
964 memcpy(buffer->addr + pos, &event, sizeof(event));
966 for (pos = 0; pos < vf->evq0_count; pos += count) {
967 count = min_t(unsigned, vf->evq0_count - pos,
974 copy_req[k].to_addr = vf->evq0_addrs[pos + k];
1090 unsigned int pos;
1104 for (pos = 0; pos < efx->vf_count; ++pos) {
1105 vf = nic_data->vf + pos;
1160 for (pos = 0; pos < efx->vf_count; ++pos) {
1161 vf = nic_data->vf + pos;
1226 unsigned int pos;
1228 for (pos = 0; pos < efx->vf_count; ++pos) {
1229 vf = nic_data->vf + pos;
1371 unsigned int pos;
1385 for (pos = 0; pos < efx->vf_count; ++pos) {
1386 vf = nic_data->vf + pos;