val64 613 arch/arm/net/bpf_jit_32.c u64 val64 = val; val64 616 arch/arm/net/bpf_jit_32.c val64 |= 0xffffffff00000000ULL; val64 617 arch/arm/net/bpf_jit_32.c emit_a32_mov_i64(dst, val64, ctx); val64 25 arch/mips/include/asm/mips-cps.h uint64_t val64; \ val64 35 arch/mips/include/asm/mips-cps.h val64 = __raw_readl(addr_##unit##_##name() + 4); \ val64 36 arch/mips/include/asm/mips-cps.h val64 <<= 32; \ val64 37 arch/mips/include/asm/mips-cps.h val64 |= __raw_readl(addr_##unit##_##name()); \ val64 38 arch/mips/include/asm/mips-cps.h return val64; \ val64 96 arch/mips/include/asm/processor.h __u64 val64[FPU_REG_WIDTH / 64]; val64 836 arch/mips/math-emu/cp1emu.c for (i = 1; i < ARRAY_SIZE(ctx->fpr[x].val64); i++) \ val64 257 arch/x86/include/asm/kvm_emulate.h u64 val64; val64 567 arch/x86/kernel/pci-calgary_64.c u64 val64; val64 589 arch/x86/kernel/pci-calgary_64.c val64 = readq(target); val64 591 arch/x86/kernel/pci-calgary_64.c } while ((val64 & 0xff) != 0xff && i < 100); val64 737 arch/x86/kernel/pci-calgary_64.c u64 val64; val64 767 arch/x86/kernel/pci-calgary_64.c val64 = be64_to_cpu(readq(target)); val64 770 arch/x86/kernel/pci-calgary_64.c val64 &= ~TAR_SW_BITS; val64 773 arch/x86/kernel/pci-calgary_64.c val64 |= table_phys; val64 776 arch/x86/kernel/pci-calgary_64.c val64 |= (u64) specified_table_size; val64 778 arch/x86/kernel/pci-calgary_64.c tbl->tar_val = cpu_to_be64(val64); val64 788 arch/x86/kernel/pci-calgary_64.c u64 val64; val64 794 arch/x86/kernel/pci-calgary_64.c val64 = be64_to_cpu(readq(target)); val64 795 arch/x86/kernel/pci-calgary_64.c val64 &= ~TAR_SW_BITS; val64 796 arch/x86/kernel/pci-calgary_64.c writeq(cpu_to_be64(val64), target); val64 907 arch/x86/kernel/pci-calgary_64.c u64 val64; val64 926 arch/x86/kernel/pci-calgary_64.c val64 = be64_to_cpu(readq(target)); val64 930 arch/x86/kernel/pci-calgary_64.c val64 &= mask; val64 931 arch/x86/kernel/pci-calgary_64.c val64 |= (timeout << phb_shift); val64 932 arch/x86/kernel/pci-calgary_64.c writeq(cpu_to_be64(val64), target); val64 504 arch/x86/kvm/emulate.c .src_val = ctxt->src.val64, val64 505 arch/x86/kvm/emulate.c .dst_val = ctxt->dst.val64, val64 2277 arch/x86/kvm/emulate.c ctxt->dst.val64 = ((u64)reg_read(ctxt, VCPU_REGS_RCX) << 32) | val64 4232 arch/x86/kvm/emulate.c u64 new_val = ctxt->src.val64; val64 4341 arch/x86/kvm/emulate.c u64 new_val = ctxt->src.val64; val64 5659 arch/x86/kvm/emulate.c ctxt->src.orig_val64 = ctxt->src.val64; val64 5686 arch/x86/kvm/emulate.c ctxt->dst.orig_val64 = ctxt->dst.val64; val64 686 drivers/gpu/drm/amd/amdgpu/atom.c uint64_t val64; val64 694 drivers/gpu/drm/amd/amdgpu/atom.c val64 = dst; val64 695 drivers/gpu/drm/amd/amdgpu/atom.c val64 |= ((uint64_t)ctx->ctx->divmul[1]) << 32; val64 696 drivers/gpu/drm/amd/amdgpu/atom.c do_div(val64, src); val64 697 drivers/gpu/drm/amd/amdgpu/atom.c ctx->ctx->divmul[0] = lower_32_bits(val64); val64 698 drivers/gpu/drm/amd/amdgpu/atom.c ctx->ctx->divmul[1] = upper_32_bits(val64); val64 810 drivers/gpu/drm/amd/amdgpu/atom.c uint64_t val64; val64 817 drivers/gpu/drm/amd/amdgpu/atom.c val64 = (uint64_t)dst * (uint64_t)src; val64 818 drivers/gpu/drm/amd/amdgpu/atom.c ctx->ctx->divmul[0] = lower_32_bits(val64); val64 819 drivers/gpu/drm/amd/amdgpu/atom.c ctx->ctx->divmul[1] = upper_32_bits(val64); val64 150 drivers/gpu/drm/i915/gvt/gtt.c memcpy(&(e)->val64, &v, sizeof(v)); \ val64 314 drivers/gpu/drm/i915/gvt/gtt.c &e->val64, 8); val64 318 drivers/gpu/drm/i915/gvt/gtt.c e->val64 = read_pte64(vgpu->gvt->dev_priv, index); val64 320 drivers/gpu/drm/i915/gvt/gtt.c e->val64 = *((u64 *)pt + index); val64 339 drivers/gpu/drm/i915/gvt/gtt.c &e->val64, 8); val64 343 drivers/gpu/drm/i915/gvt/gtt.c write_pte64(vgpu->gvt->dev_priv, index, e->val64); val64 345 drivers/gpu/drm/i915/gvt/gtt.c *((u64 *)pt + index) = e->val64; val64 367 drivers/gpu/drm/i915/gvt/gtt.c pfn = (e->val64 & ADDR_1G_MASK) >> PAGE_SHIFT; val64 369 drivers/gpu/drm/i915/gvt/gtt.c pfn = (e->val64 & ADDR_2M_MASK) >> PAGE_SHIFT; val64 371 drivers/gpu/drm/i915/gvt/gtt.c pfn = (e->val64 & ADDR_64K_MASK) >> PAGE_SHIFT; val64 373 drivers/gpu/drm/i915/gvt/gtt.c pfn = (e->val64 & ADDR_4K_MASK) >> PAGE_SHIFT; val64 380 drivers/gpu/drm/i915/gvt/gtt.c e->val64 &= ~ADDR_1G_MASK; val64 383 drivers/gpu/drm/i915/gvt/gtt.c e->val64 &= ~ADDR_2M_MASK; val64 386 drivers/gpu/drm/i915/gvt/gtt.c e->val64 &= ~ADDR_64K_MASK; val64 389 drivers/gpu/drm/i915/gvt/gtt.c e->val64 &= ~ADDR_4K_MASK; val64 393 drivers/gpu/drm/i915/gvt/gtt.c e->val64 |= (pfn << PAGE_SHIFT); val64 398 drivers/gpu/drm/i915/gvt/gtt.c return !!(e->val64 & _PAGE_PSE); val64 406 drivers/gpu/drm/i915/gvt/gtt.c e->val64 &= ~_PAGE_PSE; val64 411 drivers/gpu/drm/i915/gvt/gtt.c e->val64 &= ~_PAGE_PSE; val64 424 drivers/gpu/drm/i915/gvt/gtt.c return !!(e->val64 & GEN8_PDE_IPS_64K); val64 432 drivers/gpu/drm/i915/gvt/gtt.c e->val64 &= ~GEN8_PDE_IPS_64K; val64 444 drivers/gpu/drm/i915/gvt/gtt.c return (e->val64 != 0); val64 446 drivers/gpu/drm/i915/gvt/gtt.c return (e->val64 & _PAGE_PRESENT); val64 451 drivers/gpu/drm/i915/gvt/gtt.c e->val64 &= ~_PAGE_PRESENT; val64 456 drivers/gpu/drm/i915/gvt/gtt.c e->val64 |= _PAGE_PRESENT; val64 461 drivers/gpu/drm/i915/gvt/gtt.c return !!(e->val64 & GTT_SPTE_FLAG_64K_SPLITED); val64 466 drivers/gpu/drm/i915/gvt/gtt.c e->val64 |= GTT_SPTE_FLAG_64K_SPLITED; val64 471 drivers/gpu/drm/i915/gvt/gtt.c e->val64 &= ~GTT_SPTE_FLAG_64K_SPLITED; val64 670 drivers/gpu/drm/i915/gvt/gtt.c type, e->type, index, e->val64); val64 687 drivers/gpu/drm/i915/gvt/gtt.c type, e->type, index, e->val64); val64 1041 drivers/gpu/drm/i915/gvt/gtt.c spt, e.val64, e.type); val64 1123 drivers/gpu/drm/i915/gvt/gtt.c spt, we->val64, we->type); val64 1133 drivers/gpu/drm/i915/gvt/gtt.c se->val64 = ge->val64; val64 1193 drivers/gpu/drm/i915/gvt/gtt.c sub_se.val64 = se->val64; val64 1196 drivers/gpu/drm/i915/gvt/gtt.c sub_se.val64 &= ~_PAGE_PAT; val64 1197 drivers/gpu/drm/i915/gvt/gtt.c sub_se.val64 |= (se->val64 & _PAGE_PAT_LARGE) >> 5; val64 1204 drivers/gpu/drm/i915/gvt/gtt.c se->val64 &= ~_PAGE_DIRTY; val64 1337 drivers/gpu/drm/i915/gvt/gtt.c spt, ge.val64, ge.type); val64 1349 drivers/gpu/drm/i915/gvt/gtt.c spt->shadow_page.type, se->val64, index); val64 1352 drivers/gpu/drm/i915/gvt/gtt.c se->type, index, se->val64); val64 1382 drivers/gpu/drm/i915/gvt/gtt.c spt, se->val64, se->type); val64 1395 drivers/gpu/drm/i915/gvt/gtt.c we->val64, index); val64 1398 drivers/gpu/drm/i915/gvt/gtt.c we->type, index, we->val64); val64 1417 drivers/gpu/drm/i915/gvt/gtt.c spt, we->val64, we->type); val64 1436 drivers/gpu/drm/i915/gvt/gtt.c old.val64 = new.val64 = 0; val64 1444 drivers/gpu/drm/i915/gvt/gtt.c if (old.val64 == new.val64 val64 1450 drivers/gpu/drm/i915/gvt/gtt.c new.val64, index); val64 1648 drivers/gpu/drm/i915/gvt/gtt.c spt, we->val64, we->type); val64 1793 drivers/gpu/drm/i915/gvt/gtt.c se.val64 = 0; val64 1797 drivers/gpu/drm/i915/gvt/gtt.c NULL, se.type, se.val64, index); val64 1826 drivers/gpu/drm/i915/gvt/gtt.c ge.type, ge.val64, index); val64 1838 drivers/gpu/drm/i915/gvt/gtt.c NULL, se.type, se.val64, index); val64 2163 drivers/gpu/drm/i915/gvt/gtt.c memcpy(p_data, (void *)&e.val64 + (off & (info->gtt_entry_size - 1)), val64 2215 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry e = {.val64 = 0, .type = GTT_TYPE_GGTT_PTE}; val64 2216 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry m = {.val64 = 0, .type = GTT_TYPE_GGTT_PTE}; val64 2232 drivers/gpu/drm/i915/gvt/gtt.c memcpy((void *)&e.val64 + (off & (info->gtt_entry_size - 1)), p_data, val64 2251 drivers/gpu/drm/i915/gvt/gtt.c memcpy((void *)&e.val64 + last_off, val64 2262 drivers/gpu/drm/i915/gvt/gtt.c pos->data = e.val64; val64 2274 drivers/gpu/drm/i915/gvt/gtt.c partial_pte->data = e.val64; val64 2283 drivers/gpu/drm/i915/gvt/gtt.c m.val64 = e.val64; val64 2399 drivers/gpu/drm/i915/gvt/gtt.c se.val64 |= _PAGE_PRESENT | _PAGE_RW; val64 2401 drivers/gpu/drm/i915/gvt/gtt.c se.val64 |= PPAT_CACHED; val64 44 drivers/gpu/drm/i915/gvt/gtt.h u64 val64; val64 125 drivers/gpu/drm/ttm/ttm_memory.c uint64_t val64; val64 131 drivers/gpu/drm/ttm/ttm_memory.c val64 = val; val64 132 drivers/gpu/drm/ttm/ttm_memory.c val64 <<= 10; val64 135 drivers/gpu/drm/ttm/ttm_memory.c if (val64 > zone->zone_mem) val64 136 drivers/gpu/drm/ttm/ttm_memory.c val64 = zone->zone_mem; val64 138 drivers/gpu/drm/ttm/ttm_memory.c zone->emer_mem = val64; val64 139 drivers/gpu/drm/ttm/ttm_memory.c if (zone->max_mem > val64) val64 140 drivers/gpu/drm/ttm/ttm_memory.c zone->max_mem = val64; val64 142 drivers/gpu/drm/ttm/ttm_memory.c zone->max_mem = val64; val64 143 drivers/gpu/drm/ttm/ttm_memory.c if (zone->emer_mem < val64) val64 144 drivers/gpu/drm/ttm/ttm_memory.c zone->emer_mem = val64; val64 146 drivers/gpu/drm/ttm/ttm_memory.c zone->swap_limit = val64; val64 202 drivers/gpu/drm/ttm/ttm_memory.c uint64_t val64; val64 211 drivers/gpu/drm/ttm/ttm_memory.c val64 = val; val64 213 drivers/gpu/drm/ttm/ttm_memory.c val64 >>= (PAGE_SHIFT - 10); val64 216 drivers/gpu/drm/ttm/ttm_memory.c glob->lower_mem_limit = val64; val64 380 drivers/hv/hv_kvp.c __u64 val64; val64 448 drivers/hv/hv_kvp.c val64 = in_msg->body.kvp_set.data.value_u64; val64 451 drivers/hv/hv_kvp.c "%llu", val64) + 1; val64 813 drivers/hwmon/pmbus/pmbus_core.c s64 b, val64 = val; val64 831 drivers/hwmon/pmbus/pmbus_core.c val64 = val64 * m + b; val64 834 drivers/hwmon/pmbus/pmbus_core.c val64 *= 10; val64 838 drivers/hwmon/pmbus/pmbus_core.c val64 = div_s64(val64 + 5LL, 10L); /* round closest */ val64 842 drivers/hwmon/pmbus/pmbus_core.c return (u16)clamp_val(val64, S16_MIN, S16_MAX); val64 42 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c s64 val64; val64 105 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c val64 = st->core.resp->sensor_range.ret; val64 112 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c *val = div_s64(val64 * 980665, 10); val64 123 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c *val2 = div_s64(val64 * 3141592653ULL, val64 132 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c *val = val64; val64 255 drivers/iio/dac/ad5791.c u64 val64; val64 271 drivers/iio/dac/ad5791.c val64 = (((u64)st->vref_neg_mv) << chan->scan_type.realbits); val64 272 drivers/iio/dac/ad5791.c do_div(val64, st->vref_mv); val64 273 drivers/iio/dac/ad5791.c *val = -val64; val64 45 drivers/iio/light/cros_ec_light_prox.c s64 val64; val64 109 drivers/iio/light/cros_ec_light_prox.c val64 = st->core.resp->sensor_range.ret; val64 110 drivers/iio/light/cros_ec_light_prox.c *val = val64 >> 16; val64 111 drivers/iio/light/cros_ec_light_prox.c *val2 = (val64 & 0xffff) * 100; val64 756 drivers/infiniband/core/sa_query.c u64 val64; val64 776 drivers/infiniband/core/sa_query.c val64 = be64_to_cpu(sa_rec->service_id); val64 778 drivers/infiniband/core/sa_query.c sizeof(val64), &val64); val64 1534 drivers/infiniband/hw/hfi1/pio.c pbuf->carry.val64 = 0; val64 74 drivers/infiniband/hw/hfi1/pio.h u64 val64; val64 149 drivers/infiniband/hw/hfi1/pio_copy.c val.val64 = 0; val64 151 drivers/infiniband/hw/hfi1/pio_copy.c writeq(val.val64, dest); val64 228 drivers/infiniband/hw/hfi1/pio_copy.c pbuf->carry.val64 = 0; val64 265 drivers/infiniband/hw/hfi1/pio_copy.c temp = pbuf->carry.val64 | (new << mshift(pbuf->carry_bytes)); val64 267 drivers/infiniband/hw/hfi1/pio_copy.c pbuf->carry.val64 = new >> zshift(pbuf->carry_bytes); val64 275 drivers/infiniband/hw/hfi1/pio_copy.c writeq(carry.val64, dest); val64 287 drivers/infiniband/hw/hfi1/pio_copy.c writeq(pbuf->carry.val64, dest); val64 2752 drivers/infiniband/hw/qib/qib_iba6120.c u64 val64; val64 2765 drivers/infiniband/hw/qib/qib_iba6120.c val64 = SYM_FIELD(dd->cspec->ibcctrl, IBCCtrl, val64 2767 drivers/infiniband/hw/qib/qib_iba6120.c if (val64 != val) { val64 2778 drivers/infiniband/hw/qib/qib_iba6120.c val64 = SYM_FIELD(dd->cspec->ibcctrl, IBCCtrl, val64 2780 drivers/infiniband/hw/qib/qib_iba6120.c if (val64 != val) { val64 2791 drivers/infiniband/hw/qib/qib_iba6120.c val64 = (u64) ppd->pkeys[0] | ((u64) ppd->pkeys[1] << 16) | val64 2794 drivers/infiniband/hw/qib/qib_iba6120.c qib_write_kreg(dd, kr_partitionkey, val64); val64 236 drivers/input/touchscreen/tsc2007_core.c u64 val64; val64 257 drivers/input/touchscreen/tsc2007_core.c if (!of_property_read_u64(np, "ti,poll-period", &val64)) val64 258 drivers/input/touchscreen/tsc2007_core.c ts->poll_period = msecs_to_jiffies(val64); val64 1018 drivers/misc/genwqe/card_ddcb.c u64 val64; val64 1072 drivers/misc/genwqe/card_ddcb.c val64 = ((u64)(queue->ddcb_max - 1) << 8); /* lastptr */ val64 1076 drivers/misc/genwqe/card_ddcb.c __genwqe_writeq(cd, queue->IO_QUEUE_WRAP, val64); val64 1076 drivers/misc/genwqe/card_dev.c put_user(val, &io->val64); val64 1095 drivers/misc/genwqe/card_dev.c if (get_user(val, &io->val64)) val64 1112 drivers/misc/genwqe/card_dev.c put_user(val, &io->val64); val64 1131 drivers/misc/genwqe/card_dev.c if (get_user(val, &io->val64)) val64 1859 drivers/net/ethernet/broadcom/bnxt/bnxt.h #define writeq(val64, db) \ val64 1862 drivers/net/ethernet/broadcom/bnxt/bnxt.h writel((val64) & 0xffffffff, db); \ val64 1863 drivers/net/ethernet/broadcom/bnxt/bnxt.h writel((val64) >> 32, (db) + 4); \ val64 15995 drivers/net/ethernet/broadcom/tg3.c u64 val64 = (u64) val << 32 | val2; val64 16000 drivers/net/ethernet/broadcom/tg3.c if ((val64 & 0xff) == 0) val64 16002 drivers/net/ethernet/broadcom/tg3.c ver = val64 & 0xff; val64 16003 drivers/net/ethernet/broadcom/tg3.c val64 >>= 8; val64 683 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c u64 mbox_int_val, val64; val64 694 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c val64 = readq(oct->mbox[q_no]->mbox_write_reg); val64 696 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c if (val64 && (val64 != OCTEON_PFVFACK)) { val64 1328 drivers/net/ethernet/cavium/liquidio/octeon_device.c u64 val64; val64 1350 drivers/net/ethernet/cavium/liquidio/octeon_device.c val64 = readq(oct->reg_list.pci_win_rd_data); val64 1354 drivers/net/ethernet/cavium/liquidio/octeon_device.c return val64; val64 755 drivers/net/ethernet/cavium/liquidio/octeon_device.h #define octeon_write_csr64(oct_dev, reg_off, val64) \ val64 756 drivers/net/ethernet/cavium/liquidio/octeon_device.h writeq(val64, (oct_dev)->mmio[0].hw_addr + (reg_off)) val64 160 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c u64 val64 = 0; val64 177 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c val64 = t3_read_reg(adap, val64 180 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c val64 |= (u64) val << 32; val64 184 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c val64 |= (u64) val << (step[mc7->width] * i); val64 188 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c *buf++ = val64; val64 120 drivers/net/ethernet/neterion/s2io.c #define LINK_IS_UP(val64) (!(val64 & (ADAPTER_STATUS_RMAC_REMOTE_FAULT | \ val64 1010 drivers/net/ethernet/neterion/s2io.c register u64 val64 = 0; val64 1013 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pci_mode); val64 1014 drivers/net/ethernet/neterion/s2io.c mode = (u8)GET_PCI_MODE(val64); val64 1016 drivers/net/ethernet/neterion/s2io.c if (val64 & PCI_MODE_UNKNOWN_MODE) val64 1044 drivers/net/ethernet/neterion/s2io.c register u64 val64 = 0; val64 1049 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pci_mode); val64 1050 drivers/net/ethernet/neterion/s2io.c mode = (u8)GET_PCI_MODE(val64); val64 1052 drivers/net/ethernet/neterion/s2io.c if (val64 & PCI_MODE_UNKNOWN_MODE) val64 1094 drivers/net/ethernet/neterion/s2io.c nic->dev->name, val64 & PCI_MODE_32_BITS ? 32 : 64, pcimode); val64 1112 drivers/net/ethernet/neterion/s2io.c register u64 val64 = 0; val64 1124 drivers/net/ethernet/neterion/s2io.c val64 = TTI_DATA1_MEM_TX_TIMER_VAL(count); val64 1126 drivers/net/ethernet/neterion/s2io.c val64 = TTI_DATA1_MEM_TX_TIMER_VAL(0x2078); val64 1128 drivers/net/ethernet/neterion/s2io.c val64 |= TTI_DATA1_MEM_TX_URNG_A(0xA) | val64 1134 drivers/net/ethernet/neterion/s2io.c val64 |= TTI_DATA1_MEM_TX_TIMER_CI_EN; val64 1135 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tti_data1_mem); val64 1138 drivers/net/ethernet/neterion/s2io.c val64 = TTI_DATA2_MEM_TX_UFC_A(0x10) | val64 1149 drivers/net/ethernet/neterion/s2io.c val64 = TTI_DATA2_MEM_TX_UFC_A(0x50) | val64 1154 drivers/net/ethernet/neterion/s2io.c val64 = TTI_DATA2_MEM_TX_UFC_A(0x10) | val64 1160 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tti_data2_mem); val64 1162 drivers/net/ethernet/neterion/s2io.c val64 = TTI_CMD_MEM_WE | val64 1165 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tti_command_mem); val64 1189 drivers/net/ethernet/neterion/s2io.c register u64 val64 = 0; val64 1209 drivers/net/ethernet/neterion/s2io.c val64 = 0xA500000000ULL; val64 1210 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->sw_reset); val64 1212 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->sw_reset); val64 1216 drivers/net/ethernet/neterion/s2io.c val64 = 0; val64 1217 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->sw_reset); val64 1219 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->sw_reset); val64 1226 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); val64 1227 drivers/net/ethernet/neterion/s2io.c if (!(val64 & ADAPTER_STATUS_RIC_RUNNING)) val64 1237 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); val64 1238 drivers/net/ethernet/neterion/s2io.c val64 |= MAC_RMAC_BCAST_ENABLE; val64 1240 drivers/net/ethernet/neterion/s2io.c writel((u32)val64, add); val64 1242 drivers/net/ethernet/neterion/s2io.c writel((u32) (val64 >> 32), (add + 4)); val64 1245 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_int_mask); val64 1246 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_int_mask); val64 1247 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xgxs_int_mask); val64 1250 drivers/net/ethernet/neterion/s2io.c val64 = dev->mtu; val64 1251 drivers/net/ethernet/neterion/s2io.c writeq(vBIT(val64, 2, 14), &bar0->rmac_max_pyld_len); val64 1265 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->dtx_control); val64 1271 drivers/net/ethernet/neterion/s2io.c val64 = 0; val64 1272 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_0); val64 1273 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_1); val64 1274 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_2); val64 1275 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_3); val64 1280 drivers/net/ethernet/neterion/s2io.c val64 |= vBIT(tx_cfg->fifo_len - 1, ((j * 32) + 19), 13) | val64 1290 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_0); val64 1291 drivers/net/ethernet/neterion/s2io.c val64 = 0; val64 1295 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_1); val64 1296 drivers/net/ethernet/neterion/s2io.c val64 = 0; val64 1300 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_2); val64 1301 drivers/net/ethernet/neterion/s2io.c val64 = 0; val64 1305 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_3); val64 1306 drivers/net/ethernet/neterion/s2io.c val64 = 0; val64 1322 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->tx_fifo_partition_0); val64 1324 drivers/net/ethernet/neterion/s2io.c &bar0->tx_fifo_partition_0, (unsigned long long)val64); val64 1330 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->tx_pa_cfg); val64 1331 drivers/net/ethernet/neterion/s2io.c val64 |= TX_PA_CFG_IGNORE_FRM_ERR | val64 1335 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_pa_cfg); val64 1338 drivers/net/ethernet/neterion/s2io.c val64 = 0; val64 1342 drivers/net/ethernet/neterion/s2io.c val64 |= vBIT(rx_cfg->ring_priority, (5 + (i * 8)), 3); val64 1344 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_queue_priority); val64 1350 drivers/net/ethernet/neterion/s2io.c val64 = 0; val64 1361 drivers/net/ethernet/neterion/s2io.c val64 |= RX_QUEUE_CFG_Q0_SZ(mem_share); val64 1365 drivers/net/ethernet/neterion/s2io.c val64 |= RX_QUEUE_CFG_Q1_SZ(mem_share); val64 1369 drivers/net/ethernet/neterion/s2io.c val64 |= RX_QUEUE_CFG_Q2_SZ(mem_share); val64 1373 drivers/net/ethernet/neterion/s2io.c val64 |= RX_QUEUE_CFG_Q3_SZ(mem_share); val64 1377 drivers/net/ethernet/neterion/s2io.c val64 |= RX_QUEUE_CFG_Q4_SZ(mem_share); val64 1381 drivers/net/ethernet/neterion/s2io.c val64 |= RX_QUEUE_CFG_Q5_SZ(mem_share); val64 1385 drivers/net/ethernet/neterion/s2io.c val64 |= RX_QUEUE_CFG_Q6_SZ(mem_share); val64 1389 drivers/net/ethernet/neterion/s2io.c val64 |= RX_QUEUE_CFG_Q7_SZ(mem_share); val64 1393 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_queue_cfg); val64 1401 drivers/net/ethernet/neterion/s2io.c val64 = 0x0; val64 1402 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); val64 1403 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); val64 1404 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); val64 1405 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); val64 1406 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); val64 1409 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001000100010001ULL; val64 1410 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); val64 1411 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); val64 1412 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); val64 1413 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); val64 1414 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001000100000000ULL; val64 1415 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); val64 1418 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020001020001ULL; val64 1419 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); val64 1420 drivers/net/ethernet/neterion/s2io.c val64 = 0x0200010200010200ULL; val64 1421 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); val64 1422 drivers/net/ethernet/neterion/s2io.c val64 = 0x0102000102000102ULL; val64 1423 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); val64 1424 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020001020001ULL; val64 1425 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); val64 1426 drivers/net/ethernet/neterion/s2io.c val64 = 0x0200010200000000ULL; val64 1427 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); val64 1430 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020300010203ULL; val64 1431 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); val64 1432 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); val64 1433 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); val64 1434 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); val64 1435 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020300000000ULL; val64 1436 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); val64 1439 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020304000102ULL; val64 1440 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); val64 1441 drivers/net/ethernet/neterion/s2io.c val64 = 0x0304000102030400ULL; val64 1442 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); val64 1443 drivers/net/ethernet/neterion/s2io.c val64 = 0x0102030400010203ULL; val64 1444 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); val64 1445 drivers/net/ethernet/neterion/s2io.c val64 = 0x0400010203040001ULL; val64 1446 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); val64 1447 drivers/net/ethernet/neterion/s2io.c val64 = 0x0203040000000000ULL; val64 1448 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); val64 1451 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020304050001ULL; val64 1452 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); val64 1453 drivers/net/ethernet/neterion/s2io.c val64 = 0x0203040500010203ULL; val64 1454 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); val64 1455 drivers/net/ethernet/neterion/s2io.c val64 = 0x0405000102030405ULL; val64 1456 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); val64 1457 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020304050001ULL; val64 1458 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); val64 1459 drivers/net/ethernet/neterion/s2io.c val64 = 0x0203040500000000ULL; val64 1460 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); val64 1463 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020304050600ULL; val64 1464 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); val64 1465 drivers/net/ethernet/neterion/s2io.c val64 = 0x0102030405060001ULL; val64 1466 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); val64 1467 drivers/net/ethernet/neterion/s2io.c val64 = 0x0203040506000102ULL; val64 1468 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); val64 1469 drivers/net/ethernet/neterion/s2io.c val64 = 0x0304050600010203ULL; val64 1470 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); val64 1471 drivers/net/ethernet/neterion/s2io.c val64 = 0x0405060000000000ULL; val64 1472 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); val64 1475 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020304050607ULL; val64 1476 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_0); val64 1477 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_1); val64 1478 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_2); val64 1479 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_3); val64 1480 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020300000000ULL; val64 1481 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_w_round_robin_4); val64 1486 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->tx_fifo_partition_0); val64 1487 drivers/net/ethernet/neterion/s2io.c val64 |= (TX_FIFO_PARTITION_EN); val64 1488 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_fifo_partition_0); val64 1496 drivers/net/ethernet/neterion/s2io.c val64 = 0x0; val64 1497 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); val64 1498 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); val64 1499 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); val64 1500 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); val64 1501 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); val64 1503 drivers/net/ethernet/neterion/s2io.c val64 = 0x8080808080808080ULL; val64 1504 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); val64 1507 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001000100010001ULL; val64 1508 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); val64 1509 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); val64 1510 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); val64 1511 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); val64 1512 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001000100000000ULL; val64 1513 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); val64 1515 drivers/net/ethernet/neterion/s2io.c val64 = 0x8080808040404040ULL; val64 1516 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); val64 1519 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020001020001ULL; val64 1520 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); val64 1521 drivers/net/ethernet/neterion/s2io.c val64 = 0x0200010200010200ULL; val64 1522 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); val64 1523 drivers/net/ethernet/neterion/s2io.c val64 = 0x0102000102000102ULL; val64 1524 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); val64 1525 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020001020001ULL; val64 1526 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); val64 1527 drivers/net/ethernet/neterion/s2io.c val64 = 0x0200010200000000ULL; val64 1528 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); val64 1530 drivers/net/ethernet/neterion/s2io.c val64 = 0x8080804040402020ULL; val64 1531 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); val64 1534 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020300010203ULL; val64 1535 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); val64 1536 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); val64 1537 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); val64 1538 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); val64 1539 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020300000000ULL; val64 1540 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); val64 1542 drivers/net/ethernet/neterion/s2io.c val64 = 0x8080404020201010ULL; val64 1543 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); val64 1546 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020304000102ULL; val64 1547 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); val64 1548 drivers/net/ethernet/neterion/s2io.c val64 = 0x0304000102030400ULL; val64 1549 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); val64 1550 drivers/net/ethernet/neterion/s2io.c val64 = 0x0102030400010203ULL; val64 1551 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); val64 1552 drivers/net/ethernet/neterion/s2io.c val64 = 0x0400010203040001ULL; val64 1553 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); val64 1554 drivers/net/ethernet/neterion/s2io.c val64 = 0x0203040000000000ULL; val64 1555 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); val64 1557 drivers/net/ethernet/neterion/s2io.c val64 = 0x8080404020201008ULL; val64 1558 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); val64 1561 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020304050001ULL; val64 1562 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); val64 1563 drivers/net/ethernet/neterion/s2io.c val64 = 0x0203040500010203ULL; val64 1564 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); val64 1565 drivers/net/ethernet/neterion/s2io.c val64 = 0x0405000102030405ULL; val64 1566 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); val64 1567 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020304050001ULL; val64 1568 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); val64 1569 drivers/net/ethernet/neterion/s2io.c val64 = 0x0203040500000000ULL; val64 1570 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); val64 1572 drivers/net/ethernet/neterion/s2io.c val64 = 0x8080404020100804ULL; val64 1573 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); val64 1576 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020304050600ULL; val64 1577 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); val64 1578 drivers/net/ethernet/neterion/s2io.c val64 = 0x0102030405060001ULL; val64 1579 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); val64 1580 drivers/net/ethernet/neterion/s2io.c val64 = 0x0203040506000102ULL; val64 1581 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); val64 1582 drivers/net/ethernet/neterion/s2io.c val64 = 0x0304050600010203ULL; val64 1583 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); val64 1584 drivers/net/ethernet/neterion/s2io.c val64 = 0x0405060000000000ULL; val64 1585 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); val64 1587 drivers/net/ethernet/neterion/s2io.c val64 = 0x8080402010080402ULL; val64 1588 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); val64 1591 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020304050607ULL; val64 1592 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_0); val64 1593 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_1); val64 1594 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_2); val64 1595 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_3); val64 1596 drivers/net/ethernet/neterion/s2io.c val64 = 0x0001020300000000ULL; val64 1597 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_w_round_robin_4); val64 1599 drivers/net/ethernet/neterion/s2io.c val64 = 0x8040201008040201ULL; val64 1600 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_qos_steering); val64 1605 drivers/net/ethernet/neterion/s2io.c val64 = 0; val64 1607 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_frm_len_n[i]); val64 1610 drivers/net/ethernet/neterion/s2io.c val64 = MAC_RTS_FRM_LEN_SET(dev->mtu+22); val64 1612 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_frm_len_n[i]); val64 1644 drivers/net/ethernet/neterion/s2io.c val64 = STAT_BC(0x320); val64 1645 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->stat_byte_cnt); val64 1652 drivers/net/ethernet/neterion/s2io.c val64 = MAC_TX_LINK_UTIL_VAL(tmac_util_period) | val64 1654 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mac_link_util); val64 1672 drivers/net/ethernet/neterion/s2io.c val64 = RTI_DATA1_MEM_RX_TIMER_VAL(count); val64 1674 drivers/net/ethernet/neterion/s2io.c val64 = RTI_DATA1_MEM_RX_TIMER_VAL(0xFFF); val64 1675 drivers/net/ethernet/neterion/s2io.c val64 |= RTI_DATA1_MEM_RX_URNG_A(0xA) | val64 1680 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rti_data1_mem); val64 1682 drivers/net/ethernet/neterion/s2io.c val64 = RTI_DATA2_MEM_RX_UFC_A(0x1) | val64 1685 drivers/net/ethernet/neterion/s2io.c val64 |= (RTI_DATA2_MEM_RX_UFC_C(0x20) | val64 1688 drivers/net/ethernet/neterion/s2io.c val64 |= (RTI_DATA2_MEM_RX_UFC_C(0x40) | val64 1690 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rti_data2_mem); val64 1693 drivers/net/ethernet/neterion/s2io.c val64 = RTI_CMD_MEM_WE | val64 1696 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rti_command_mem); val64 1707 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rti_command_mem); val64 1708 drivers/net/ethernet/neterion/s2io.c if (!(val64 & RTI_CMD_MEM_STROBE_NEW_CMD)) val64 1730 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); val64 1731 drivers/net/ethernet/neterion/s2io.c val64 &= ~(MAC_CFG_RMAC_STRIP_PAD); val64 1733 drivers/net/ethernet/neterion/s2io.c writel((u32) (val64), add); val64 1735 drivers/net/ethernet/neterion/s2io.c writel((u32) (val64 >> 32), (add + 4)); val64 1736 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); val64 1740 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); val64 1741 drivers/net/ethernet/neterion/s2io.c val64 |= MAC_CFG_RMAC_STRIP_FCS; val64 1743 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mac_cfg); val64 1746 drivers/net/ethernet/neterion/s2io.c writel((u32) (val64), add); val64 1748 drivers/net/ethernet/neterion/s2io.c writel((u32) (val64 >> 32), (add + 4)); val64 1755 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rmac_pause_cfg); val64 1756 drivers/net/ethernet/neterion/s2io.c val64 &= ~(RMAC_PAUSE_HG_PTIME(0xffff)); val64 1757 drivers/net/ethernet/neterion/s2io.c val64 |= RMAC_PAUSE_HG_PTIME(nic->mac_control.rmac_pause_time); val64 1758 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_pause_cfg); val64 1766 drivers/net/ethernet/neterion/s2io.c val64 = 0; val64 1768 drivers/net/ethernet/neterion/s2io.c val64 |= (((u64)0xFF00 | val64 1772 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_pause_thresh_q0q3); val64 1774 drivers/net/ethernet/neterion/s2io.c val64 = 0; val64 1776 drivers/net/ethernet/neterion/s2io.c val64 |= (((u64)0xFF00 | val64 1780 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_pause_thresh_q4q7); val64 1786 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pic_control); val64 1787 drivers/net/ethernet/neterion/s2io.c val64 |= PIC_CNTL_SHARED_SPLITS(shared_splits); val64 1788 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->pic_control); val64 1801 drivers/net/ethernet/neterion/s2io.c val64 = FAULT_BEHAVIOUR | EXT_REQ_EN | val64 1803 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->misc_control); val64 1804 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pic_control2); val64 1805 drivers/net/ethernet/neterion/s2io.c val64 &= ~(s2BIT(13)|s2BIT(14)|s2BIT(15)); val64 1806 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->pic_control2); val64 1809 drivers/net/ethernet/neterion/s2io.c val64 = TMAC_AVG_IPG(0x17); val64 1810 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tmac_avg_ipg); val64 2074 drivers/net/ethernet/neterion/s2io.c u64 val64 = readq(&bar0->adapter_status); val64 2080 drivers/net/ethernet/neterion/s2io.c if (!(val64 & ADAPTER_STATUS_RMAC_PCC_IDLE)) val64 2083 drivers/net/ethernet/neterion/s2io.c if (!(val64 & ADAPTER_STATUS_RMAC_PCC_FOUR_IDLE)) val64 2088 drivers/net/ethernet/neterion/s2io.c if (((val64 & ADAPTER_STATUS_RMAC_PCC_IDLE) == val64 2092 drivers/net/ethernet/neterion/s2io.c if (((val64 & ADAPTER_STATUS_RMAC_PCC_FOUR_IDLE) == val64 2114 drivers/net/ethernet/neterion/s2io.c u64 val64 = readq(&bar0->adapter_status); val64 2117 drivers/net/ethernet/neterion/s2io.c if (!(val64 & ADAPTER_STATUS_TDMA_READY)) { val64 2121 drivers/net/ethernet/neterion/s2io.c if (!(val64 & ADAPTER_STATUS_RDMA_READY)) { val64 2125 drivers/net/ethernet/neterion/s2io.c if (!(val64 & ADAPTER_STATUS_PFC_READY)) { val64 2129 drivers/net/ethernet/neterion/s2io.c if (!(val64 & ADAPTER_STATUS_TMAC_BUF_EMPTY)) { val64 2133 drivers/net/ethernet/neterion/s2io.c if (!(val64 & ADAPTER_STATUS_PIC_QUIESCENT)) { val64 2137 drivers/net/ethernet/neterion/s2io.c if (!(val64 & ADAPTER_STATUS_MC_DRAM_READY)) { val64 2141 drivers/net/ethernet/neterion/s2io.c if (!(val64 & ADAPTER_STATUS_MC_QUEUES_READY)) { val64 2145 drivers/net/ethernet/neterion/s2io.c if (!(val64 & ADAPTER_STATUS_M_PLL_LOCK)) { val64 2155 drivers/net/ethernet/neterion/s2io.c if (!(val64 & ADAPTER_STATUS_P_PLL_LOCK) && val64 2161 drivers/net/ethernet/neterion/s2io.c if (!((val64 & ADAPTER_STATUS_RC_PRC_QUIESCENT) == val64 2206 drivers/net/ethernet/neterion/s2io.c register u64 val64 = 0; val64 2218 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->prc_ctrl_n[i]); val64 2220 drivers/net/ethernet/neterion/s2io.c val64 |= PRC_CTRL_RC_ENABLED; val64 2222 drivers/net/ethernet/neterion/s2io.c val64 |= PRC_CTRL_RC_ENABLED | PRC_CTRL_RING_MODE_3; val64 2224 drivers/net/ethernet/neterion/s2io.c val64 |= PRC_CTRL_GROUP_READS; val64 2225 drivers/net/ethernet/neterion/s2io.c val64 &= ~PRC_CTRL_RXD_BACKOFF_INTERVAL(0xFFFFFF); val64 2226 drivers/net/ethernet/neterion/s2io.c val64 |= PRC_CTRL_RXD_BACKOFF_INTERVAL(0x1000); val64 2227 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->prc_ctrl_n[i]); val64 2232 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rx_pa_cfg); val64 2233 drivers/net/ethernet/neterion/s2io.c val64 |= RX_PA_CFG_IGNORE_L2_ERR; val64 2234 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_pa_cfg); val64 2238 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rx_pa_cfg); val64 2239 drivers/net/ethernet/neterion/s2io.c val64 &= ~RX_PA_CFG_STRIP_VLAN_TAG; val64 2240 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_pa_cfg); val64 2249 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_mrs); val64 2250 drivers/net/ethernet/neterion/s2io.c val64 |= MC_RLDRAM_QUEUE_SIZE_ENABLE | MC_RLDRAM_MRS_ENABLE; val64 2251 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->mc_rldram_mrs, UF); val64 2252 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_mrs); val64 2257 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); val64 2258 drivers/net/ethernet/neterion/s2io.c val64 &= ~ADAPTER_ECC_EN; val64 2259 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); val64 2265 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); val64 2269 drivers/net/ethernet/neterion/s2io.c dev->name, (unsigned long long)val64); val64 2282 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); val64 2283 drivers/net/ethernet/neterion/s2io.c val64 |= ADAPTER_EOI_TX_ON; val64 2284 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); val64 2297 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); val64 2298 drivers/net/ethernet/neterion/s2io.c val64 |= 0x0000800000000000ULL; val64 2299 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_control); val64 2300 drivers/net/ethernet/neterion/s2io.c val64 = 0x0411040400000000ULL; val64 2301 drivers/net/ethernet/neterion/s2io.c writeq(val64, (void __iomem *)bar0 + 0x2700); val64 2404 drivers/net/ethernet/neterion/s2io.c register u64 val64 = 0; val64 2414 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); val64 2415 drivers/net/ethernet/neterion/s2io.c val64 &= ~(ADAPTER_CNTL_EN); val64 2416 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); val64 2829 drivers/net/ethernet/neterion/s2io.c u64 val64 = 0xFFFFFFFFFFFFFFFFULL; val64 2839 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_traffic_int); val64 2840 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->tx_traffic_int); val64 3084 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 3089 drivers/net/ethernet/neterion/s2io.c val64 = MDIO_MMD_INDX_ADDR(addr) | val64 3092 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); val64 3093 drivers/net/ethernet/neterion/s2io.c val64 = val64 | MDIO_CTRL_START_TRANS(0xE); val64 3094 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); val64 3098 drivers/net/ethernet/neterion/s2io.c val64 = MDIO_MMD_INDX_ADDR(addr) | val64 3103 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); val64 3104 drivers/net/ethernet/neterion/s2io.c val64 = val64 | MDIO_CTRL_START_TRANS(0xE); val64 3105 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); val64 3108 drivers/net/ethernet/neterion/s2io.c val64 = MDIO_MMD_INDX_ADDR(addr) | val64 3112 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); val64 3113 drivers/net/ethernet/neterion/s2io.c val64 = val64 | MDIO_CTRL_START_TRANS(0xE); val64 3114 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); val64 3129 drivers/net/ethernet/neterion/s2io.c u64 val64 = 0x0; val64 3135 drivers/net/ethernet/neterion/s2io.c val64 = val64 | (MDIO_MMD_INDX_ADDR(addr) val64 3138 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); val64 3139 drivers/net/ethernet/neterion/s2io.c val64 = val64 | MDIO_CTRL_START_TRANS(0xE); val64 3140 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); val64 3144 drivers/net/ethernet/neterion/s2io.c val64 = MDIO_MMD_INDX_ADDR(addr) | val64 3148 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); val64 3149 drivers/net/ethernet/neterion/s2io.c val64 = val64 | MDIO_CTRL_START_TRANS(0xE); val64 3150 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mdio_control); val64 3174 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 3181 drivers/net/ethernet/neterion/s2io.c val64 = *regs_stat & mask; val64 3182 drivers/net/ethernet/neterion/s2io.c val64 = val64 >> (index * 0x2); val64 3183 drivers/net/ethernet/neterion/s2io.c val64 = val64 + 1; val64 3184 drivers/net/ethernet/neterion/s2io.c if (val64 == 3) { val64 3208 drivers/net/ethernet/neterion/s2io.c val64 = 0x0; val64 3210 drivers/net/ethernet/neterion/s2io.c val64 = val64 << (index * 0x2); val64 3211 drivers/net/ethernet/neterion/s2io.c *regs_stat = (*regs_stat & (~mask)) | (val64); val64 3230 drivers/net/ethernet/neterion/s2io.c u64 val64 = 0x0; val64 3239 drivers/net/ethernet/neterion/s2io.c val64 = 0x0; val64 3240 drivers/net/ethernet/neterion/s2io.c val64 = s2io_mdio_read(MDIO_MMD_PMAPMD, addr, dev); val64 3241 drivers/net/ethernet/neterion/s2io.c if ((val64 == 0xFFFF) || (val64 == 0x0000)) { val64 3244 drivers/net/ethernet/neterion/s2io.c (unsigned long long)val64); val64 3249 drivers/net/ethernet/neterion/s2io.c if (val64 != MDIO_CTRL1_SPEED10G) { val64 3252 drivers/net/ethernet/neterion/s2io.c (unsigned long long)val64, MDIO_CTRL1_SPEED10G); val64 3259 drivers/net/ethernet/neterion/s2io.c val64 = s2io_mdio_read(MDIO_MMD_PMAPMD, addr, dev); val64 3263 drivers/net/ethernet/neterion/s2io.c val64 = 0x0; val64 3264 drivers/net/ethernet/neterion/s2io.c val64 = s2io_mdio_read(MDIO_MMD_PMAPMD, addr, dev); val64 3266 drivers/net/ethernet/neterion/s2io.c flag = CHECKBIT(val64, 0x7); val64 3272 drivers/net/ethernet/neterion/s2io.c if (CHECKBIT(val64, 0x6)) val64 3275 drivers/net/ethernet/neterion/s2io.c flag = CHECKBIT(val64, 0x3); val64 3281 drivers/net/ethernet/neterion/s2io.c if (CHECKBIT(val64, 0x2)) val64 3284 drivers/net/ethernet/neterion/s2io.c flag = CHECKBIT(val64, 0x1); val64 3290 drivers/net/ethernet/neterion/s2io.c if (CHECKBIT(val64, 0x0)) val64 3295 drivers/net/ethernet/neterion/s2io.c val64 = 0x0; val64 3296 drivers/net/ethernet/neterion/s2io.c val64 = s2io_mdio_read(MDIO_MMD_PMAPMD, addr, dev); val64 3298 drivers/net/ethernet/neterion/s2io.c if (CHECKBIT(val64, 0x7)) val64 3301 drivers/net/ethernet/neterion/s2io.c if (CHECKBIT(val64, 0x6)) val64 3304 drivers/net/ethernet/neterion/s2io.c if (CHECKBIT(val64, 0x3)) val64 3307 drivers/net/ethernet/neterion/s2io.c if (CHECKBIT(val64, 0x2)) val64 3310 drivers/net/ethernet/neterion/s2io.c if (CHECKBIT(val64, 0x1)) val64 3313 drivers/net/ethernet/neterion/s2io.c if (CHECKBIT(val64, 0x0)) val64 3332 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 3338 drivers/net/ethernet/neterion/s2io.c val64 = readq(addr); val64 3340 drivers/net/ethernet/neterion/s2io.c if (!(val64 & busy_bit)) { val64 3345 drivers/net/ethernet/neterion/s2io.c if (val64 & busy_bit) { val64 3394 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 3409 drivers/net/ethernet/neterion/s2io.c val64 = SW_RESET_ALL; val64 3410 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->sw_reset); val64 3485 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); val64 3486 drivers/net/ethernet/neterion/s2io.c val64 |= 0x0000800000000000ULL; val64 3487 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_control); val64 3488 drivers/net/ethernet/neterion/s2io.c val64 = 0x0411040400000000ULL; val64 3489 drivers/net/ethernet/neterion/s2io.c writeq(val64, (void __iomem *)bar0 + 0x2700); val64 3497 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pcc_err_reg); val64 3498 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->pcc_err_reg); val64 3518 drivers/net/ethernet/neterion/s2io.c u64 val64, valt, valr; val64 3525 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pif_rd_swapper_fb); val64 3526 drivers/net/ethernet/neterion/s2io.c if (val64 != 0x0123456789ABCDEFULL) { val64 3537 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pif_rd_swapper_fb); val64 3538 drivers/net/ethernet/neterion/s2io.c if (val64 == 0x0123456789ABCDEFULL) val64 3545 drivers/net/ethernet/neterion/s2io.c dev->name, (unsigned long long)val64); val64 3555 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xmsi_address); val64 3557 drivers/net/ethernet/neterion/s2io.c if (val64 != valt) { val64 3569 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xmsi_address); val64 3570 drivers/net/ethernet/neterion/s2io.c if (val64 == valt) val64 3575 drivers/net/ethernet/neterion/s2io.c unsigned long long x = val64; val64 3581 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->swapper_ctrl); val64 3582 drivers/net/ethernet/neterion/s2io.c val64 &= 0xFFFF000000000000ULL; val64 3589 drivers/net/ethernet/neterion/s2io.c val64 |= (SWAPPER_CTRL_TXP_FE | val64 3601 drivers/net/ethernet/neterion/s2io.c val64 |= SWAPPER_CTRL_XMSI_SE; val64 3602 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->swapper_ctrl); val64 3609 drivers/net/ethernet/neterion/s2io.c val64 |= (SWAPPER_CTRL_TXP_FE | val64 3625 drivers/net/ethernet/neterion/s2io.c val64 |= SWAPPER_CTRL_XMSI_SE; val64 3626 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->swapper_ctrl); val64 3628 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->swapper_ctrl); val64 3634 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pif_rd_swapper_fb); val64 3635 drivers/net/ethernet/neterion/s2io.c if (val64 != 0x0123456789ABCDEFULL) { val64 3639 drivers/net/ethernet/neterion/s2io.c dev->name, (unsigned long long)val64); val64 3649 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 3653 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xmsi_access); val64 3654 drivers/net/ethernet/neterion/s2io.c if (!(val64 & s2BIT(15))) val64 3670 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 3680 drivers/net/ethernet/neterion/s2io.c val64 = (s2BIT(7) | s2BIT(15) | vBIT(msix_index, 26, 6)); val64 3681 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->xmsi_access); val64 3691 drivers/net/ethernet/neterion/s2io.c u64 val64, addr, data; val64 3700 drivers/net/ethernet/neterion/s2io.c val64 = (s2BIT(15) | vBIT(msix_index, 26, 6)); val64 3701 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->xmsi_access); val64 3817 drivers/net/ethernet/neterion/s2io.c u64 val64, saved64; val64 3830 drivers/net/ethernet/neterion/s2io.c saved64 = val64 = readq(&bar0->scheduled_int_ctrl); val64 3831 drivers/net/ethernet/neterion/s2io.c val64 |= SCHED_INT_CTRL_ONE_SHOT; val64 3832 drivers/net/ethernet/neterion/s2io.c val64 |= SCHED_INT_CTRL_TIMER_EN; val64 3833 drivers/net/ethernet/neterion/s2io.c val64 |= SCHED_INT_CTRL_INT2MSI(1); val64 3834 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->scheduled_int_ctrl); val64 4002 drivers/net/ethernet/neterion/s2io.c register u64 val64; val64 4145 drivers/net/ethernet/neterion/s2io.c val64 = fifo->list_info[put_off].list_phy_addr; val64 4146 drivers/net/ethernet/neterion/s2io.c writeq(val64, &tx_fifo->TxDL_Pointer); val64 4148 drivers/net/ethernet/neterion/s2io.c val64 = (TX_FIFO_LAST_TXD_NUM(frg_cnt) | TX_FIFO_FIRST_LIST | val64 4151 drivers/net/ethernet/neterion/s2io.c val64 |= TX_FIFO_SPECIAL_FUNC; val64 4153 drivers/net/ethernet/neterion/s2io.c writeq(val64, &tx_fifo->List_Control); val64 4262 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 4264 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pic_int_status); val64 4265 drivers/net/ethernet/neterion/s2io.c if (val64 & PIC_INT_GPIO) { val64 4266 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_int_reg); val64 4267 drivers/net/ethernet/neterion/s2io.c if ((val64 & GPIO_INT_REG_LINK_DOWN) && val64 4268 drivers/net/ethernet/neterion/s2io.c (val64 & GPIO_INT_REG_LINK_UP)) { val64 4273 drivers/net/ethernet/neterion/s2io.c val64 |= GPIO_INT_REG_LINK_DOWN; val64 4274 drivers/net/ethernet/neterion/s2io.c val64 |= GPIO_INT_REG_LINK_UP; val64 4275 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_int_reg); val64 4276 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_int_mask); val64 4277 drivers/net/ethernet/neterion/s2io.c val64 &= ~(GPIO_INT_MASK_LINK_UP | val64 4279 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_int_mask); val64 4280 drivers/net/ethernet/neterion/s2io.c } else if (val64 & GPIO_INT_REG_LINK_UP) { val64 4281 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); val64 4283 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); val64 4284 drivers/net/ethernet/neterion/s2io.c val64 |= ADAPTER_CNTL_EN; val64 4285 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); val64 4286 drivers/net/ethernet/neterion/s2io.c val64 |= ADAPTER_LED_ON; val64 4287 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); val64 4296 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_int_mask); val64 4297 drivers/net/ethernet/neterion/s2io.c val64 &= ~GPIO_INT_MASK_LINK_DOWN; val64 4298 drivers/net/ethernet/neterion/s2io.c val64 |= GPIO_INT_MASK_LINK_UP; val64 4299 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_int_mask); val64 4301 drivers/net/ethernet/neterion/s2io.c } else if (val64 & GPIO_INT_REG_LINK_DOWN) { val64 4302 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); val64 4305 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_int_mask); val64 4306 drivers/net/ethernet/neterion/s2io.c val64 &= ~GPIO_INT_MASK_LINK_UP; val64 4307 drivers/net/ethernet/neterion/s2io.c val64 |= GPIO_INT_MASK_LINK_DOWN; val64 4308 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_int_mask); val64 4311 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); val64 4312 drivers/net/ethernet/neterion/s2io.c val64 = val64 & (~ADAPTER_LED_ON); val64 4313 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); val64 4316 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_int_mask); val64 4332 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 4333 drivers/net/ethernet/neterion/s2io.c val64 = readq(addr); val64 4334 drivers/net/ethernet/neterion/s2io.c if (val64 & value) { val64 4335 drivers/net/ethernet/neterion/s2io.c writeq(val64, addr); val64 4356 drivers/net/ethernet/neterion/s2io.c u64 temp64 = 0, val64 = 0; val64 4383 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_rmac_err_reg); val64 4384 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mac_rmac_err_reg); val64 4385 drivers/net/ethernet/neterion/s2io.c if (val64 & RMAC_LINK_STATE_CHANGE_INT) val64 4401 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->ring_bump_counter1); val64 4403 drivers/net/ethernet/neterion/s2io.c temp64 = (val64 & vBIT(0xFFFF, (i*16), 16)); val64 4408 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->ring_bump_counter2); val64 4410 drivers/net/ethernet/neterion/s2io.c temp64 = (val64 & vBIT(0xFFFF, (i*16), 16)); val64 4416 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->txdma_int_status); val64 4418 drivers/net/ethernet/neterion/s2io.c if (val64 & TXDMA_PFC_INT) { val64 4431 drivers/net/ethernet/neterion/s2io.c if (val64 & TXDMA_TDA_INT) { val64 4443 drivers/net/ethernet/neterion/s2io.c if (val64 & TXDMA_PCC_INT) { val64 4458 drivers/net/ethernet/neterion/s2io.c if (val64 & TXDMA_TTI_INT) { val64 4469 drivers/net/ethernet/neterion/s2io.c if (val64 & TXDMA_LSO_INT) { val64 4481 drivers/net/ethernet/neterion/s2io.c if (val64 & TXDMA_TPA_INT) { val64 4492 drivers/net/ethernet/neterion/s2io.c if (val64 & TXDMA_SM_INT) { val64 4499 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_int_status); val64 4500 drivers/net/ethernet/neterion/s2io.c if (val64 & MAC_INT_STATUS_TMAC_INT) { val64 4512 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xgxs_int_status); val64 4513 drivers/net/ethernet/neterion/s2io.c if (val64 & XGXS_INT_STATUS_TXGXS) { val64 4523 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rxdma_int_status); val64 4524 drivers/net/ethernet/neterion/s2io.c if (val64 & RXDMA_INT_RC_INT_M) { val64 4549 drivers/net/ethernet/neterion/s2io.c if (val64 & RXDMA_INT_RPA_INT_M) { val64 4559 drivers/net/ethernet/neterion/s2io.c if (val64 & RXDMA_INT_RDA_INT_M) { val64 4576 drivers/net/ethernet/neterion/s2io.c if (val64 & RXDMA_INT_RTI_INT_M) { val64 4586 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_int_status); val64 4587 drivers/net/ethernet/neterion/s2io.c if (val64 & MAC_INT_STATUS_RMAC_INT) { val64 4599 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xgxs_int_status); val64 4600 drivers/net/ethernet/neterion/s2io.c if (val64 & XGXS_INT_STATUS_RXGXS) { val64 4607 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_int_status); val64 4608 drivers/net/ethernet/neterion/s2io.c if (val64 & MC_INT_STATUS_MC_INT) { val64 4615 drivers/net/ethernet/neterion/s2io.c if (val64 & (MC_ERR_REG_ECC_ALL_SNG | MC_ERR_REG_ECC_ALL_DBL)) { val64 4616 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_err_reg); val64 4617 drivers/net/ethernet/neterion/s2io.c if (val64 & MC_ERR_REG_ECC_ALL_DBL) { val64 4623 drivers/net/ethernet/neterion/s2io.c if (val64 & val64 4755 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 4760 drivers/net/ethernet/neterion/s2io.c val64 = SET_UPDT_CLICKS(10) | val64 4762 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->stat_cfg); val64 4765 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->stat_cfg); val64 4766 drivers/net/ethernet/neterion/s2io.c if (!(val64 & s2BIT(0))) val64 4882 drivers/net/ethernet/neterion/s2io.c u64 val64 = 0, multi_mac = 0x010203040506ULL, mask = val64 4894 drivers/net/ethernet/neterion/s2io.c val64 = RMAC_ADDR_CMD_MEM_WE | val64 4897 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); val64 4911 drivers/net/ethernet/neterion/s2io.c val64 = RMAC_ADDR_CMD_MEM_WE | val64 4914 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); val64 4927 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); val64 4928 drivers/net/ethernet/neterion/s2io.c val64 |= MAC_CFG_RMAC_PROM_ENABLE; val64 4931 drivers/net/ethernet/neterion/s2io.c writel((u32)val64, add); val64 4933 drivers/net/ethernet/neterion/s2io.c writel((u32) (val64 >> 32), (add + 4)); val64 4936 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rx_pa_cfg); val64 4937 drivers/net/ethernet/neterion/s2io.c val64 &= ~RX_PA_CFG_STRIP_VLAN_TAG; val64 4938 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_pa_cfg); val64 4942 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); val64 4949 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); val64 4950 drivers/net/ethernet/neterion/s2io.c val64 &= ~MAC_CFG_RMAC_PROM_ENABLE; val64 4953 drivers/net/ethernet/neterion/s2io.c writel((u32)val64, add); val64 4955 drivers/net/ethernet/neterion/s2io.c writel((u32) (val64 >> 32), (add + 4)); val64 4958 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rx_pa_cfg); val64 4959 drivers/net/ethernet/neterion/s2io.c val64 |= RX_PA_CFG_STRIP_VLAN_TAG; val64 4960 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rx_pa_cfg); val64 4964 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); val64 4989 drivers/net/ethernet/neterion/s2io.c val64 = RMAC_ADDR_CMD_MEM_WE | val64 4993 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); val64 5019 drivers/net/ethernet/neterion/s2io.c val64 = RMAC_ADDR_CMD_MEM_WE | val64 5023 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); val64 5112 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 5118 drivers/net/ethernet/neterion/s2io.c val64 = RMAC_ADDR_CMD_MEM_WE | RMAC_ADDR_CMD_MEM_STROBE_NEW_CMD | val64 5120 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); val64 5158 drivers/net/ethernet/neterion/s2io.c u64 tmp64 = 0xffffffffffff0000ULL, val64; val64 5162 drivers/net/ethernet/neterion/s2io.c val64 = RMAC_ADDR_CMD_MEM_RD | RMAC_ADDR_CMD_MEM_STROBE_NEW_CMD | val64 5164 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); val64 5381 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 5385 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); val64 5387 drivers/net/ethernet/neterion/s2io.c val64 |= GPIO_CTRL_GPIO_0; val64 5389 drivers/net/ethernet/neterion/s2io.c val64 &= ~GPIO_CTRL_GPIO_0; val64 5391 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_control); val64 5393 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); val64 5395 drivers/net/ethernet/neterion/s2io.c val64 |= ADAPTER_LED_ON; val64 5397 drivers/net/ethernet/neterion/s2io.c val64 &= ~ADAPTER_LED_ON; val64 5399 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); val64 5424 drivers/net/ethernet/neterion/s2io.c u64 val64 = readq(&bar0->adapter_control); val64 5425 drivers/net/ethernet/neterion/s2io.c if (!(val64 & ADAPTER_CNTL_EN)) { val64 5492 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 5496 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rmac_pause_cfg); val64 5497 drivers/net/ethernet/neterion/s2io.c if (val64 & RMAC_PAUSE_GEN_ENABLE) val64 5499 drivers/net/ethernet/neterion/s2io.c if (val64 & RMAC_PAUSE_RX_ENABLE) val64 5519 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 5523 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rmac_pause_cfg); val64 5525 drivers/net/ethernet/neterion/s2io.c val64 |= RMAC_PAUSE_GEN_ENABLE; val64 5527 drivers/net/ethernet/neterion/s2io.c val64 &= ~RMAC_PAUSE_GEN_ENABLE; val64 5529 drivers/net/ethernet/neterion/s2io.c val64 |= RMAC_PAUSE_RX_ENABLE; val64 5531 drivers/net/ethernet/neterion/s2io.c val64 &= ~RMAC_PAUSE_RX_ENABLE; val64 5532 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_pause_cfg); val64 5557 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 5561 drivers/net/ethernet/neterion/s2io.c val64 = I2C_CONTROL_DEV_ID(S2IO_DEV_ID) | val64 5566 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->i2c_control, LF); val64 5569 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->i2c_control); val64 5570 drivers/net/ethernet/neterion/s2io.c if (I2C_CONTROL_CNTL_END(val64)) { val64 5571 drivers/net/ethernet/neterion/s2io.c *data = I2C_CONTROL_GET_DATA(val64); val64 5581 drivers/net/ethernet/neterion/s2io.c val64 = SPI_CONTROL_KEY(0x9) | SPI_CONTROL_SEL1 | val64 5584 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->spi_control, LF); val64 5585 drivers/net/ethernet/neterion/s2io.c val64 |= SPI_CONTROL_REQ; val64 5586 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->spi_control, LF); val64 5588 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->spi_control); val64 5589 drivers/net/ethernet/neterion/s2io.c if (val64 & SPI_CONTROL_NACK) { val64 5592 drivers/net/ethernet/neterion/s2io.c } else if (val64 & SPI_CONTROL_DONE) { val64 5623 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 5627 drivers/net/ethernet/neterion/s2io.c val64 = I2C_CONTROL_DEV_ID(S2IO_DEV_ID) | val64 5632 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->i2c_control, LF); val64 5635 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->i2c_control); val64 5636 drivers/net/ethernet/neterion/s2io.c if (I2C_CONTROL_CNTL_END(val64)) { val64 5637 drivers/net/ethernet/neterion/s2io.c if (!(val64 & I2C_CONTROL_NACK)) val64 5650 drivers/net/ethernet/neterion/s2io.c val64 = SPI_CONTROL_KEY(0x9) | SPI_CONTROL_SEL1 | val64 5653 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->spi_control, LF); val64 5654 drivers/net/ethernet/neterion/s2io.c val64 |= SPI_CONTROL_REQ; val64 5655 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->spi_control, LF); val64 5657 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->spi_control); val64 5658 drivers/net/ethernet/neterion/s2io.c if (val64 & SPI_CONTROL_NACK) { val64 5661 drivers/net/ethernet/neterion/s2io.c } else if (val64 & SPI_CONTROL_DONE) { val64 5846 drivers/net/ethernet/neterion/s2io.c u64 val64 = 0, exp_val; val64 5849 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->pif_rd_swapper_fb); val64 5850 drivers/net/ethernet/neterion/s2io.c if (val64 != 0x123456789abcdefULL) { val64 5855 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rmac_pause_cfg); val64 5856 drivers/net/ethernet/neterion/s2io.c if (val64 != 0xc000ffff00000000ULL) { val64 5861 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->rx_queue_cfg); val64 5866 drivers/net/ethernet/neterion/s2io.c if (val64 != exp_val) { val64 5871 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xgxs_efifo_cfg); val64 5872 drivers/net/ethernet/neterion/s2io.c if (val64 != 0x000000001923141EULL) { val64 5877 drivers/net/ethernet/neterion/s2io.c val64 = 0x5A5A5A5A5A5A5A5AULL; val64 5878 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->xmsi_data); val64 5879 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xmsi_data); val64 5880 drivers/net/ethernet/neterion/s2io.c if (val64 != 0x5A5A5A5A5A5A5A5AULL) { val64 5885 drivers/net/ethernet/neterion/s2io.c val64 = 0xA5A5A5A5A5A5A5A5ULL; val64 5886 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->xmsi_data); val64 5887 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->xmsi_data); val64 5888 drivers/net/ethernet/neterion/s2io.c if (val64 != 0xA5A5A5A5A5A5A5A5ULL) { val64 6051 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 6053 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); val64 6054 drivers/net/ethernet/neterion/s2io.c if (!(LINK_IS_UP(val64))) val64 6078 drivers/net/ethernet/neterion/s2io.c u64 val64; val64 6081 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); val64 6082 drivers/net/ethernet/neterion/s2io.c val64 &= ~ADAPTER_ECC_EN; val64 6083 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); val64 6085 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_test_ctrl); val64 6086 drivers/net/ethernet/neterion/s2io.c val64 |= MC_RLDRAM_TEST_MODE; val64 6087 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->mc_rldram_test_ctrl, LF); val64 6089 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_mrs); val64 6090 drivers/net/ethernet/neterion/s2io.c val64 |= MC_RLDRAM_QUEUE_SIZE_ENABLE; val64 6091 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->mc_rldram_mrs, UF); val64 6093 drivers/net/ethernet/neterion/s2io.c val64 |= MC_RLDRAM_MRS_ENABLE; val64 6094 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->mc_rldram_mrs, UF); val64 6097 drivers/net/ethernet/neterion/s2io.c val64 = 0x55555555aaaa0000ULL; val64 6099 drivers/net/ethernet/neterion/s2io.c val64 ^= 0xFFFFFFFFFFFF0000ULL; val64 6100 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_rldram_test_d0); val64 6102 drivers/net/ethernet/neterion/s2io.c val64 = 0xaaaa5a5555550000ULL; val64 6104 drivers/net/ethernet/neterion/s2io.c val64 ^= 0xFFFFFFFFFFFF0000ULL; val64 6105 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_rldram_test_d1); val64 6107 drivers/net/ethernet/neterion/s2io.c val64 = 0x55aaaaaaaa5a0000ULL; val64 6109 drivers/net/ethernet/neterion/s2io.c val64 ^= 0xFFFFFFFFFFFF0000ULL; val64 6110 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_rldram_test_d2); val64 6112 drivers/net/ethernet/neterion/s2io.c val64 = (u64) (0x0000003ffffe0100ULL); val64 6113 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mc_rldram_test_add); val64 6115 drivers/net/ethernet/neterion/s2io.c val64 = MC_RLDRAM_TEST_MODE | val64 6118 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->mc_rldram_test_ctrl, LF); val64 6121 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_test_ctrl); val64 6122 drivers/net/ethernet/neterion/s2io.c if (val64 & MC_RLDRAM_TEST_DONE) val64 6130 drivers/net/ethernet/neterion/s2io.c val64 = MC_RLDRAM_TEST_MODE | MC_RLDRAM_TEST_GO; val64 6131 drivers/net/ethernet/neterion/s2io.c SPECIAL_REG_WRITE(val64, &bar0->mc_rldram_test_ctrl, LF); val64 6134 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_test_ctrl); val64 6135 drivers/net/ethernet/neterion/s2io.c if (val64 & MC_RLDRAM_TEST_DONE) val64 6143 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mc_rldram_test_ctrl); val64 6144 drivers/net/ethernet/neterion/s2io.c if (!(val64 & MC_RLDRAM_TEST_PASS)) val64 6650 drivers/net/ethernet/neterion/s2io.c u64 val64 = new_mtu; val64 6652 drivers/net/ethernet/neterion/s2io.c writeq(vBIT(val64, 2, 14), &bar0->rmac_max_pyld_len); val64 6670 drivers/net/ethernet/neterion/s2io.c register u64 val64; val64 6692 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); val64 6693 drivers/net/ethernet/neterion/s2io.c if (LINK_IS_UP(val64)) { val64 6696 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); val64 6697 drivers/net/ethernet/neterion/s2io.c val64 |= ADAPTER_CNTL_EN; val64 6698 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); val64 6701 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); val64 6702 drivers/net/ethernet/neterion/s2io.c val64 |= GPIO_CTRL_GPIO_0; val64 6703 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_control); val64 6704 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); val64 6706 drivers/net/ethernet/neterion/s2io.c val64 |= ADAPTER_LED_ON; val64 6707 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); val64 6717 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); val64 6718 drivers/net/ethernet/neterion/s2io.c val64 |= ADAPTER_LED_ON; val64 6719 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); val64 6724 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); val64 6725 drivers/net/ethernet/neterion/s2io.c val64 &= ~GPIO_CTRL_GPIO_0; val64 6726 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_control); val64 6727 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); val64 6730 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_control); val64 6731 drivers/net/ethernet/neterion/s2io.c val64 = val64 & (~ADAPTER_LED_ON); val64 6732 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->adapter_control); val64 7015 drivers/net/ethernet/neterion/s2io.c register u64 val64 = 0; val64 7059 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->adapter_status); val64 7070 drivers/net/ethernet/neterion/s2io.c (unsigned long long)val64); val64 7600 drivers/net/ethernet/neterion/s2io.c register u64 val64 = 0; val64 7605 drivers/net/ethernet/neterion/s2io.c val64 = RTS_DS_MEM_DATA(ring); val64 7606 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_ds_mem_data); val64 7608 drivers/net/ethernet/neterion/s2io.c val64 = RTS_DS_MEM_CTRL_WE | val64 7612 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rts_ds_mem_ctrl); val64 7658 drivers/net/ethernet/neterion/s2io.c u64 val64 = 0, tmp64 = 0; val64 7937 drivers/net/ethernet/neterion/s2io.c val64 = RMAC_ADDR_CMD_MEM_RD | RMAC_ADDR_CMD_MEM_STROBE_NEW_CMD | val64 7939 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->rmac_addr_cmd_mem); val64 8005 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); val64 8006 drivers/net/ethernet/neterion/s2io.c val64 |= 0x0000800000000000ULL; val64 8007 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->gpio_control); val64 8008 drivers/net/ethernet/neterion/s2io.c val64 = 0x0411040400000000ULL; val64 8009 drivers/net/ethernet/neterion/s2io.c writeq(val64, (void __iomem *)bar0 + 0x2700); val64 8010 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->gpio_control); val64 28 drivers/net/ethernet/neterion/vxge/vxge-config.c &val64); \ val64 36 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 38 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->rxmac_vcfg0); val64 39 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_RXMAC_VCFG0_RTS_MAX_FRM_LEN(0x3fff); val64 40 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->rxmac_vcfg0); val64 41 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->rxmac_vcfg0); val64 51 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64, rxd_count, rxd_spat; val64 64 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->prc_cfg6); val64 65 drivers/net/ethernet/neterion/vxge/vxge-config.c rxd_spat = VXGE_HW_PRC_CFG6_GET_RXD_SPAT(val64) + 1; val64 79 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->frm_in_progress_cnt); val64 80 drivers/net/ethernet/neterion/vxge/vxge-config.c if ((rxd_count <= rxd_spat) || (val64 > 0)) val64 121 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 127 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(reg); val64 128 drivers/net/ethernet/neterion/vxge/vxge-config.c if (!(val64 & mask)) val64 135 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(reg); val64 136 drivers/net/ethernet/neterion/vxge/vxge-config.c if (!(val64 & mask)) val64 145 drivers/net/ethernet/neterion/vxge/vxge-config.c __vxge_hw_pio_mem_write64(u64 val64, void __iomem *addr, val64 148 drivers/net/ethernet/neterion/vxge/vxge-config.c __vxge_hw_pio_mem_write32_lower((u32)vxge_bVALn(val64, 32, 32), addr); val64 150 drivers/net/ethernet/neterion/vxge/vxge-config.c __vxge_hw_pio_mem_write32_upper((u32)vxge_bVALn(val64, 0, 32), addr); val64 163 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 176 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION(action) | val64 182 drivers/net/ethernet/neterion/vxge/vxge-config.c status = __vxge_hw_pio_mem_write64(val64, val64 207 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->rts_access_steer_ctrl); val64 208 drivers/net/ethernet/neterion/vxge/vxge-config.c if (val64 & VXGE_HW_RTS_ACCESS_STEER_CTRL_RMACJ_STATUS) { val64 211 drivers/net/ethernet/neterion/vxge/vxge-config.c *steer_ctrl = val64; val64 517 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 520 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&legacy_reg->toc_swapper_fb); val64 524 drivers/net/ethernet/neterion/vxge/vxge-config.c switch (val64) { val64 556 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&legacy_reg->toc_swapper_fb); val64 558 drivers/net/ethernet/neterion/vxge/vxge-config.c if (val64 != VXGE_HW_SWAPPER_INITIAL_VALUE) val64 572 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 583 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&legacy_reg->toc_first_pointer); val64 584 drivers/net/ethernet/neterion/vxge/vxge-config.c toc = bar0 + val64; val64 598 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 610 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&hldev->toc_reg->toc_common_pointer); val64 611 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->common_reg = hldev->bar0 + val64; val64 613 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&hldev->toc_reg->toc_mrpcim_pointer); val64 614 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->mrpcim_reg = hldev->bar0 + val64; val64 617 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&hldev->toc_reg->toc_srpcim_pointer[i]); val64 618 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->srpcim_reg[i] = hldev->bar0 + val64; val64 622 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&hldev->toc_reg->toc_vpmgmt_pointer[i]); val64 623 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->vpmgmt_reg[i] = hldev->bar0 + val64; val64 627 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&hldev->toc_reg->toc_vpath_pointer[i]); val64 628 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->vpath_reg[i] = hldev->bar0 + val64; val64 631 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&hldev->toc_reg->toc_kdfc); val64 633 drivers/net/ethernet/neterion/vxge/vxge-config.c switch (VXGE_HW_TOC_GET_KDFC_INITIAL_BIR(val64)) { val64 635 drivers/net/ethernet/neterion/vxge/vxge-config.c hldev->kdfc = hldev->bar0 + VXGE_HW_TOC_GET_KDFC_INITIAL_OFFSET(val64) ; val64 706 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 708 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vpmgmt_reg->vpath_to_func_map_cfg1); val64 711 drivers/net/ethernet/neterion/vxge/vxge-config.c (u32)VXGE_HW_VPATH_TO_FUNC_MAP_CFG1_GET_VPATH_TO_FUNC_MAP_CFG1(val64); val64 720 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 723 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&hldev->common_reg->host_type_assignments); val64 726 drivers/net/ethernet/neterion/vxge/vxge-config.c (u32)VXGE_HW_HOST_TYPE_ASSIGNMENTS_GET_HOST_TYPE_ASSIGNMENTS(val64); val64 1000 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 1016 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&toc->toc_common_pointer); val64 1017 drivers/net/ethernet/neterion/vxge/vxge-config.c common_reg = bar0 + val64; val64 1026 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&common_reg->host_type_assignments); val64 1029 drivers/net/ethernet/neterion/vxge/vxge-config.c (u32)VXGE_HW_HOST_TYPE_ASSIGNMENTS_GET_HOST_TYPE_ASSIGNMENTS(val64); val64 1035 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&toc->toc_vpmgmt_pointer[i]); val64 1037 drivers/net/ethernet/neterion/vxge/vxge-config.c vpmgmt_reg = bar0 + val64; val64 1044 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&toc->toc_mrpcim_pointer); val64 1046 drivers/net/ethernet/neterion/vxge/vxge-config.c mrpcim_reg = bar0 + val64; val64 1052 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&toc->toc_vpath_pointer[i]); val64 1055 drivers/net/ethernet/neterion/vxge/vxge-config.c vpath.vp_reg = bar0 + val64; val64 1077 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&toc->toc_vpath_pointer[i]); val64 1078 drivers/net/ethernet/neterion/vxge/vxge-config.c vpath.vp_reg = bar0 + val64; val64 1412 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 1423 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = VXGE_HW_XMAC_STATS_ACCESS_CMD_OP(operation) | val64 1427 drivers/net/ethernet/neterion/vxge/vxge-config.c status = __vxge_hw_pio_mem_write64(val64, val64 1447 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 *val64; val64 1452 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = (u64 *)vpath_tx_stats; val64 1462 drivers/net/ethernet/neterion/vxge/vxge-config.c offset, val64); val64 1466 drivers/net/ethernet/neterion/vxge/vxge-config.c val64++; val64 1479 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 *val64; val64 1483 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = (u64 *) vpath_rx_stats; val64 1492 drivers/net/ethernet/neterion/vxge/vxge-config.c offset >> 3, val64); val64 1497 drivers/net/ethernet/neterion/vxge/vxge-config.c val64++; val64 1510 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 1520 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->vpath_debug_stats0); val64 1522 drivers/net/ethernet/neterion/vxge/vxge-config.c (u32)VXGE_HW_VPATH_DEBUG_STATS0_GET_INI_NUM_MWR_SENT(val64); val64 1524 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->vpath_debug_stats1); val64 1526 drivers/net/ethernet/neterion/vxge/vxge-config.c (u32)VXGE_HW_VPATH_DEBUG_STATS1_GET_INI_NUM_MRD_SENT(val64); val64 1528 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->vpath_debug_stats2); val64 1530 drivers/net/ethernet/neterion/vxge/vxge-config.c (u32)VXGE_HW_VPATH_DEBUG_STATS2_GET_INI_NUM_CPL_RCVD(val64); val64 1532 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->vpath_debug_stats3); val64 1534 drivers/net/ethernet/neterion/vxge/vxge-config.c VXGE_HW_VPATH_DEBUG_STATS3_GET_INI_NUM_MWR_BYTE_SENT(val64); val64 1536 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->vpath_debug_stats4); val64 1538 drivers/net/ethernet/neterion/vxge/vxge-config.c VXGE_HW_VPATH_DEBUG_STATS4_GET_INI_NUM_CPL_BYTE_RCVD(val64); val64 1540 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->vpath_debug_stats5); val64 1542 drivers/net/ethernet/neterion/vxge/vxge-config.c (u32)VXGE_HW_VPATH_DEBUG_STATS5_GET_WRCRDTARB_XOFF(val64); val64 1544 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->vpath_debug_stats6); val64 1546 drivers/net/ethernet/neterion/vxge/vxge-config.c (u32)VXGE_HW_VPATH_DEBUG_STATS6_GET_RDCRDTARB_XOFF(val64); val64 1548 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->vpath_genstats_count01); val64 1551 drivers/net/ethernet/neterion/vxge/vxge-config.c val64); val64 1553 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->vpath_genstats_count01); val64 1556 drivers/net/ethernet/neterion/vxge/vxge-config.c val64); val64 1558 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->vpath_genstats_count23); val64 1561 drivers/net/ethernet/neterion/vxge/vxge-config.c val64); val64 1563 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->vpath_genstats_count01); val64 1566 drivers/net/ethernet/neterion/vxge/vxge-config.c val64); val64 1568 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->vpath_genstats_count4); val64 1571 drivers/net/ethernet/neterion/vxge/vxge-config.c val64); val64 1573 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->vpath_genstats_count5); val64 1576 drivers/net/ethernet/neterion/vxge/vxge-config.c val64); val64 1590 drivers/net/ethernet/neterion/vxge/vxge-config.c (u32)VXGE_HW_STATS_GET_VPATH_PROG_EVENT_VNUM0(val64); val64 1593 drivers/net/ethernet/neterion/vxge/vxge-config.c (u32)VXGE_HW_STATS_GET_VPATH_PROG_EVENT_VNUM1(val64); val64 1599 drivers/net/ethernet/neterion/vxge/vxge-config.c (u32)VXGE_HW_STATS_GET_VPATH_PROG_EVENT_VNUM2(val64); val64 1602 drivers/net/ethernet/neterion/vxge/vxge-config.c (u32)VXGE_HW_STATS_GET_VPATH_PROG_EVENT_VNUM3(val64); val64 1604 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->rx_multi_cast_stats); val64 1606 drivers/net/ethernet/neterion/vxge/vxge-config.c (u16)VXGE_HW_RX_MULTI_CAST_STATS_GET_FRAME_DISCARD(val64); val64 1608 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->rx_frm_transferred); val64 1610 drivers/net/ethernet/neterion/vxge/vxge-config.c (u32)VXGE_HW_RX_FRM_TRANSFERRED_GET_RX_FRM_TRANSFERRED(val64); val64 1612 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->rxd_returned); val64 1614 drivers/net/ethernet/neterion/vxge/vxge-config.c (u16)VXGE_HW_RXD_RETURNED_GET_RXD_RETURNED(val64); val64 1616 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->dbg_stats_rx_mpa); val64 1618 drivers/net/ethernet/neterion/vxge/vxge-config.c (u16)VXGE_HW_DBG_STATS_GET_RX_MPA_LEN_FAIL_FRMS(val64); val64 1620 drivers/net/ethernet/neterion/vxge/vxge-config.c (u16)VXGE_HW_DBG_STATS_GET_RX_MPA_MRK_FAIL_FRMS(val64); val64 1622 drivers/net/ethernet/neterion/vxge/vxge-config.c (u16)VXGE_HW_DBG_STATS_GET_RX_MPA_CRC_FAIL_FRMS(val64); val64 1624 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->dbg_stats_rx_fau); val64 1626 drivers/net/ethernet/neterion/vxge/vxge-config.c (u16)VXGE_HW_DBG_STATS_GET_RX_FAU_RX_PERMITTED_FRMS(val64); val64 1628 drivers/net/ethernet/neterion/vxge/vxge-config.c (u16)VXGE_HW_DBG_STATS_GET_RX_FAU_RX_VP_RESET_DISCARDED_FRMS(val64); val64 1630 drivers/net/ethernet/neterion/vxge/vxge-config.c (u16)VXGE_HW_DBG_STATS_GET_RX_FAU_RX_WOL_FRMS(val64); val64 1632 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->tx_vp_reset_discarded_frms); val64 1635 drivers/net/ethernet/neterion/vxge/vxge-config.c val64); val64 1695 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 1703 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = VXGE_HW_XMAC_STATS_SYS_CMD_OP(operation) | val64 1708 drivers/net/ethernet/neterion/vxge/vxge-config.c status = __vxge_hw_pio_mem_write64(val64, val64 1729 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 *val64; val64 1734 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = (u64 *)aggr_stats; val64 1745 drivers/net/ethernet/neterion/vxge/vxge-config.c ((offset + (104 * port)) >> 3), val64); val64 1750 drivers/net/ethernet/neterion/vxge/vxge-config.c val64++; val64 1764 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 *val64; val64 1768 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = (u64 *) port_stats; val64 1779 drivers/net/ethernet/neterion/vxge/vxge-config.c ((offset + (608 * port)) >> 3), val64); val64 1784 drivers/net/ethernet/neterion/vxge/vxge-config.c val64++; val64 1905 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 1923 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&hldev->mrpcim_reg->rxmac_pause_cfg_port[port]); val64 1924 drivers/net/ethernet/neterion/vxge/vxge-config.c if (val64 & VXGE_HW_RXMAC_PAUSE_CFG_PORT_GEN_EN) val64 1926 drivers/net/ethernet/neterion/vxge/vxge-config.c if (val64 & VXGE_HW_RXMAC_PAUSE_CFG_PORT_RCV_EN) val64 1940 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 1958 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&hldev->mrpcim_reg->rxmac_pause_cfg_port[port]); val64 1960 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_RXMAC_PAUSE_CFG_PORT_GEN_EN; val64 1962 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_RXMAC_PAUSE_CFG_PORT_GEN_EN; val64 1964 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_RXMAC_PAUSE_CFG_PORT_RCV_EN; val64 1966 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_RXMAC_PAUSE_CFG_PORT_RCV_EN; val64 1968 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &hldev->mrpcim_reg->rxmac_pause_cfg_port[port]); val64 3065 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 3067 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vpath_reg->vpath_general_cfg1); val64 3069 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_VPATH_GENERAL_CFG1_CTL_BYTE_SWAPEN; val64 3070 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vpath_reg->vpath_general_cfg1); val64 3084 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 3086 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&legacy_reg->pifm_wr_swap_en); val64 3088 drivers/net/ethernet/neterion/vxge/vxge-config.c if (val64 == VXGE_HW_SWAPPER_WRITE_BYTE_SWAP_ENABLE) { val64 3089 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vpath_reg->kdfcctl_cfg0); val64 3092 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_KDFCCTL_CFG0_BYTE_SWAPEN_FIFO0 | val64 3096 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vpath_reg->kdfcctl_cfg0); val64 3568 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 3572 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = VXGE_HW_PCI_CONFIG_ACCESS_CFG1_ADDRESS(offset); val64 3575 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_PCI_CONFIG_ACCESS_CFG1_SEL_FUNC0; val64 3577 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->pci_config_access_cfg1); val64 3590 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->pci_config_access_status); val64 3592 drivers/net/ethernet/neterion/vxge/vxge-config.c if (val64 & VXGE_HW_PCI_CONFIG_ACCESS_STATUS_ACCESS_ERR) { val64 3596 drivers/net/ethernet/neterion/vxge/vxge-config.c *val = (u32)vxge_bVALn(val64, 32, 32); val64 3967 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 3971 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vpath->vpmgmt_reg-> val64 3976 drivers/net/ethernet/neterion/vxge/vxge-config.c (val64); val64 3983 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vpath->vpmgmt_reg->xmac_vsport_choices_vp); val64 3986 drivers/net/ethernet/neterion/vxge/vxge-config.c if (val64 & vxge_mBIT(i)) val64 3990 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vpath->vpmgmt_reg->xgmac_gen_status_vpmgmt_clone); val64 3992 drivers/net/ethernet/neterion/vxge/vxge-config.c if (val64 & VXGE_HW_XGMAC_GEN_STATUS_VPMGMT_CLONE_XMACJ_NTWK_OK) val64 4026 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 4028 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = VXGE_HW_CMN_RSTHDLR_CFG0_SW_RESET_VPATH(1 << (16 - vp_id)); val64 4030 drivers/net/ethernet/neterion/vxge/vxge-config.c __vxge_hw_pio_mem_write32_upper((u32)vxge_bVALn(val64, 0, 32), val64 4068 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 4080 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->prc_cfg1); val64 4081 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_PRC_CFG1_RTI_TINT_DISABLE; val64 4082 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->prc_cfg1); val64 4084 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vpath->vp_reg->prc_cfg6); val64 4085 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_PRC_CFG6_DOORBELL_MODE_EN; val64 4086 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vpath->vp_reg->prc_cfg6); val64 4088 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->prc_cfg7); val64 4093 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_PRC_CFG7_SCATTER_MODE(0x3); val64 4097 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_PRC_CFG7_SCATTER_MODE( val64 4101 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_PRC_CFG7_SCATTER_MODE( val64 4105 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_PRC_CFG7_SCATTER_MODE( val64 4111 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->prc_cfg7); val64 4117 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->prc_cfg4); val64 4118 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_PRC_CFG4_IN_SVC; val64 4119 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_PRC_CFG4_RING_MODE(0x3); val64 4121 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_PRC_CFG4_RING_MODE( val64 4125 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_PRC_CFG4_RTH_DISABLE; val64 4127 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_PRC_CFG4_RTH_DISABLE; val64 4129 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->prc_cfg4); val64 4140 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 4153 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->kdfc_drbl_triplet_total); val64 4157 drivers/net/ethernet/neterion/vxge/vxge-config.c val64+1)/2; val64 4171 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = VXGE_HW_KDFC_FIFO_TRPL_PARTITION_LENGTH_0( val64 4175 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->kdfc_fifo_trpl_partition); val64 4180 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->kdfc_trpl_fifo_0_ctrl); val64 4182 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~(VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_MODE(0x3) | val64 4185 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_KDFC_TRPL_FIFO_0_CTRL_MODE( val64 4192 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->kdfc_trpl_fifo_0_ctrl); val64 4213 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 4227 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->xmac_rpa_vcfg); val64 4232 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_XMAC_RPA_VCFG_STRIP_VLAN_TAG; val64 4234 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_XMAC_RPA_VCFG_STRIP_VLAN_TAG; val64 4237 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->xmac_rpa_vcfg); val64 4238 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->rxmac_vcfg0); val64 4242 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_RXMAC_VCFG0_RTS_MAX_FRM_LEN(0x3fff); val64 4245 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_RXMAC_VCFG0_RTS_MAX_FRM_LEN( val64 4249 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_RXMAC_VCFG0_RTS_MAX_FRM_LEN( val64 4253 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->rxmac_vcfg0); val64 4255 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->rxmac_vcfg1); val64 4257 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~(VXGE_HW_RXMAC_VCFG1_RTS_RTH_MULTI_IT_BD_MODE(0x3) | val64 4262 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_RXMAC_VCFG1_RTS_RTH_MULTI_IT_BD_MODE( val64 4267 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->rxmac_vcfg1); val64 4280 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 4299 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->tim_pci_cfg); val64 4300 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_PCI_CFG_ADD_PAD; val64 4301 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_pci_cfg); val64 4305 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->tim_cfg1_int_num[VXGE_HW_VPATH_INTR_TX]); val64 4308 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_BTIMER_VAL( val64 4310 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_BTIMER_VAL( val64 4314 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_BITMP_EN; val64 4318 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_TIMER_AC; val64 4320 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_TIMER_AC; val64 4325 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_TIMER_CI; val64 4327 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_TIMER_CI; val64 4331 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_URNG_A(0x3f); val64 4332 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_URNG_A( val64 4337 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_URNG_B(0x3f); val64 4338 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_URNG_B( val64 4343 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_URNG_C(0x3f); val64 4344 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_URNG_C( val64 4348 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_cfg1_int_num[VXGE_HW_VPATH_INTR_TX]); val64 4349 drivers/net/ethernet/neterion/vxge/vxge-config.c vpath->tim_tti_cfg1_saved = val64; val64 4351 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->tim_cfg2_int_num[VXGE_HW_VPATH_INTR_TX]); val64 4354 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG2_INT_NUM_UEC_A(0xffff); val64 4355 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG2_INT_NUM_UEC_A( val64 4360 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG2_INT_NUM_UEC_B(0xffff); val64 4361 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG2_INT_NUM_UEC_B( val64 4366 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG2_INT_NUM_UEC_C(0xffff); val64 4367 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG2_INT_NUM_UEC_C( val64 4372 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG2_INT_NUM_UEC_D(0xffff); val64 4373 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG2_INT_NUM_UEC_D( val64 4377 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_cfg2_int_num[VXGE_HW_VPATH_INTR_TX]); val64 4378 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->tim_cfg3_int_num[VXGE_HW_VPATH_INTR_TX]); val64 4382 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG3_INT_NUM_TIMER_RI; val64 4384 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG3_INT_NUM_TIMER_RI; val64 4388 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG3_INT_NUM_RTIMER_VAL( val64 4390 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG3_INT_NUM_RTIMER_VAL( val64 4395 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG3_INT_NUM_UTIL_SEL(0x3f); val64 4396 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG3_INT_NUM_UTIL_SEL(vp_id); val64 4400 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG3_INT_NUM_LTIMER_VAL( val64 4402 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG3_INT_NUM_LTIMER_VAL( val64 4406 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_cfg3_int_num[VXGE_HW_VPATH_INTR_TX]); val64 4407 drivers/net/ethernet/neterion/vxge/vxge-config.c vpath->tim_tti_cfg3_saved = val64; val64 4412 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->tim_cfg1_int_num[VXGE_HW_VPATH_INTR_RX]); val64 4415 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_BTIMER_VAL( val64 4417 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_BTIMER_VAL( val64 4421 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_BITMP_EN; val64 4425 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_TIMER_AC; val64 4427 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_TIMER_AC; val64 4432 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_TIMER_CI; val64 4434 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_TIMER_CI; val64 4438 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_URNG_A(0x3f); val64 4439 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_URNG_A( val64 4444 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_URNG_B(0x3f); val64 4445 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_URNG_B( val64 4450 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG1_INT_NUM_URNG_C(0x3f); val64 4451 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_URNG_C( val64 4455 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_cfg1_int_num[VXGE_HW_VPATH_INTR_RX]); val64 4456 drivers/net/ethernet/neterion/vxge/vxge-config.c vpath->tim_rti_cfg1_saved = val64; val64 4458 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->tim_cfg2_int_num[VXGE_HW_VPATH_INTR_RX]); val64 4461 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG2_INT_NUM_UEC_A(0xffff); val64 4462 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG2_INT_NUM_UEC_A( val64 4467 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG2_INT_NUM_UEC_B(0xffff); val64 4468 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG2_INT_NUM_UEC_B( val64 4473 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG2_INT_NUM_UEC_C(0xffff); val64 4474 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG2_INT_NUM_UEC_C( val64 4479 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG2_INT_NUM_UEC_D(0xffff); val64 4480 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG2_INT_NUM_UEC_D( val64 4484 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_cfg2_int_num[VXGE_HW_VPATH_INTR_RX]); val64 4485 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->tim_cfg3_int_num[VXGE_HW_VPATH_INTR_RX]); val64 4489 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG3_INT_NUM_TIMER_RI; val64 4491 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG3_INT_NUM_TIMER_RI; val64 4495 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG3_INT_NUM_RTIMER_VAL( val64 4497 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG3_INT_NUM_RTIMER_VAL( val64 4502 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG3_INT_NUM_UTIL_SEL(0x3f); val64 4503 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG3_INT_NUM_UTIL_SEL(vp_id); val64 4507 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_TIM_CFG3_INT_NUM_LTIMER_VAL( val64 4509 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_CFG3_INT_NUM_LTIMER_VAL( val64 4513 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_cfg3_int_num[VXGE_HW_VPATH_INTR_RX]); val64 4514 drivers/net/ethernet/neterion/vxge/vxge-config.c vpath->tim_rti_cfg3_saved = val64; val64 4517 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = 0; val64 4518 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_cfg1_int_num[VXGE_HW_VPATH_INTR_EINTA]); val64 4519 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_cfg2_int_num[VXGE_HW_VPATH_INTR_EINTA]); val64 4520 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_cfg3_int_num[VXGE_HW_VPATH_INTR_EINTA]); val64 4521 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_cfg1_int_num[VXGE_HW_VPATH_INTR_BMAP]); val64 4522 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_cfg2_int_num[VXGE_HW_VPATH_INTR_BMAP]); val64 4523 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_cfg3_int_num[VXGE_HW_VPATH_INTR_BMAP]); val64 4525 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = VXGE_HW_TIM_WRKLD_CLC_WRKLD_EVAL_PRD(150); val64 4526 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_WRKLD_CLC_WRKLD_EVAL_DIV(0); val64 4527 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_TIM_WRKLD_CLC_CNT_RX_TX(3); val64 4528 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->tim_wrkld_clc); val64 4541 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 4571 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vp_reg->rtdma_rd_optimization_ctrl); val64 4577 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= val64 4579 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= val64 4582 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_FB_WAIT_FOR_SPACE; val64 4585 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~(VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_FB_ADDR_BDRY(7)); val64 4586 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= val64 4590 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_RTDMA_RD_OPTIMIZATION_CTRL_FB_ADDR_BDRY_EN; val64 4591 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vp_reg->rtdma_rd_optimization_ctrl); val64 4702 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 4717 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vpath->vp_reg->rxmac_vcfg0); val64 4719 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= ~VXGE_HW_RXMAC_VCFG0_RTS_MAX_FRM_LEN(0x3fff); val64 4720 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 |= VXGE_HW_RXMAC_VCFG0_RTS_MAX_FRM_LEN(new_mtu); val64 4722 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(val64, &vpath->vp_reg->rxmac_vcfg0); val64 4905 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 new_count, val64, val164; val64 4920 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = readq(&vpath->vp_reg->prc_cfg6); val64 4921 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = VXGE_HW_PRC_CFG6_RXD_SPAT(val64); val64 4922 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 &= 0x1ff; val64 4927 drivers/net/ethernet/neterion/vxge/vxge-config.c new_count -= (val64 + 1); val64 4928 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = min(val164, new_count) / 4; val64 4930 drivers/net/ethernet/neterion/vxge/vxge-config.c ring->rxds_limit = min(ring->rxds_limit, val64); val64 5095 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 val64; val64 5099 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = VXGE_HW_CMN_RSTHDLR_CFG1_CLR_VPATH_RESET( val64 5102 drivers/net/ethernet/neterion/vxge/vxge-config.c __vxge_hw_pio_mem_write32_upper((u32)vxge_bVALn(val64, 0, 32), val64 875 drivers/net/ethernet/neterion/vxge/vxge-config.h &val64); \ val64 2704 drivers/net/ethernet/neterion/vxge/vxge-main.c u64 val64; val64 2806 drivers/net/ethernet/neterion/vxge/vxge-main.c val64 = 0; val64 2808 drivers/net/ethernet/neterion/vxge/vxge-main.c val64 |= VXGE_HW_RXMAC_AUTHORIZE_ALL_ADDR_VP(i); val64 2815 drivers/net/ethernet/neterion/vxge/vxge-main.c val64); val64 2822 drivers/net/ethernet/neterion/vxge/vxge-main.c val64); val64 2936 drivers/net/ethernet/neterion/vxge/vxge-main.c u64 val64, vpath_vector; val64 2960 drivers/net/ethernet/neterion/vxge/vxge-main.c &val64); val64 2962 drivers/net/ethernet/neterion/vxge/vxge-main.c val64 &= ~vpath_vector; val64 2969 drivers/net/ethernet/neterion/vxge/vxge-main.c val64); val64 3145 drivers/net/ethernet/neterion/vxge/vxge-main.c u64 val64; val64 3152 drivers/net/ethernet/neterion/vxge/vxge-main.c val64 = VXGE_HW_XMAC_TIMESTAMP_EN | val64 3161 drivers/net/ethernet/neterion/vxge/vxge-main.c val64); val64 33 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 87 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&vp_reg->vpath_general_int_status); val64 160 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 182 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = VXGE_HW_TIM_CLR_INT_EN_VP(1 << (16 - vpath->vp_id)); val64 227 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 237 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&vp_reg->tim_cfg1_int_num[VXGE_HW_VPATH_INTR_TX]); val64 238 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_TIMER_CI; val64 239 drivers/net/ethernet/neterion/vxge/vxge-traffic.c fifo->tim_tti_cfg1_saved = val64; val64 240 drivers/net/ethernet/neterion/vxge/vxge-traffic.c writeq(val64, &vp_reg->tim_cfg1_int_num[VXGE_HW_VPATH_INTR_TX]); val64 246 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64 = ring->tim_rti_cfg1_saved; val64 248 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 |= VXGE_HW_TIM_CFG1_INT_NUM_TIMER_CI; val64 249 drivers/net/ethernet/neterion/vxge/vxge-traffic.c ring->tim_rti_cfg1_saved = val64; val64 250 drivers/net/ethernet/neterion/vxge/vxge-traffic.c writeq(val64, &ring->vp_reg->tim_cfg1_int_num[VXGE_HW_VPATH_INTR_RX]); val64 255 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64 = fifo->tim_tti_cfg3_saved; val64 258 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 &= ~VXGE_HW_TIM_CFG3_INT_NUM_RTIMER_VAL(0x3ffffff); val64 260 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 |= VXGE_HW_TIM_CFG3_INT_NUM_RTIMER_VAL(timer) | val64 263 drivers/net/ethernet/neterion/vxge/vxge-traffic.c writeq(val64, &fifo->vp_reg->tim_cfg3_int_num[VXGE_HW_VPATH_INTR_TX]); val64 271 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64 = ring->tim_rti_cfg3_saved; val64 274 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 &= ~VXGE_HW_TIM_CFG3_INT_NUM_RTIMER_VAL(0x3ffffff); val64 276 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 |= VXGE_HW_TIM_CFG3_INT_NUM_RTIMER_VAL(timer) | val64 279 drivers/net/ethernet/neterion/vxge/vxge-traffic.c writeq(val64, &ring->vp_reg->tim_cfg3_int_num[VXGE_HW_VPATH_INTR_RX]); val64 370 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 385 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = hldev->tim_int_mask0[VXGE_HW_VPATH_INTR_TX] | val64 388 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (val64 != 0) { val64 389 drivers/net/ethernet/neterion/vxge/vxge-traffic.c writeq(val64, &hldev->common_reg->tim_int_status0); val64 391 drivers/net/ethernet/neterion/vxge/vxge-traffic.c writeq(~val64, &hldev->common_reg->tim_int_mask0); val64 406 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&hldev->common_reg->titan_general_int_status); val64 452 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 454 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = VXGE_HW_TITAN_MASK_ALL_INT_ALARM | val64 457 drivers/net/ethernet/neterion/vxge/vxge-traffic.c __vxge_hw_pio_mem_write32_upper((u32)vxge_bVALn(val64, 0, 32), val64 471 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64 = 0; val64 474 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = VXGE_HW_TITAN_MASK_ALL_INT_TRAFFIC; val64 476 drivers/net/ethernet/neterion/vxge/vxge-traffic.c __vxge_hw_pio_mem_write32_upper((u32)vxge_bVALn(val64, 0, 32), val64 606 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 647 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&vp_reg->xgmac_vp_int_status); val64 649 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (val64 & val64 652 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&vp_reg->asic_ntwk_vp_err_reg); val64 654 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (((val64 & val64 656 drivers/net/ethernet/neterion/vxge/vxge-traffic.c (!(val64 & val64 658 drivers/net/ethernet/neterion/vxge/vxge-traffic.c ((val64 & val64 660 drivers/net/ethernet/neterion/vxge/vxge-traffic.c (!(val64 & val64 674 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (((val64 & val64 676 drivers/net/ethernet/neterion/vxge/vxge-traffic.c (!(val64 & val64 678 drivers/net/ethernet/neterion/vxge/vxge-traffic.c ((val64 & val64 680 drivers/net/ethernet/neterion/vxge/vxge-traffic.c (!(val64 & val64 713 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&vp_reg->general_errors_reg); val64 716 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if ((val64 & val64 725 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if ((val64 & val64 734 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if ((val64 & val64 739 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if ((val64 & val64 744 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if ((val64 & val64 761 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&vp_reg->kdfcctl_errors_reg); val64 764 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if ((val64 & val64 774 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if ((val64 & val64 784 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if ((val64 & val64 807 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&vp_reg->wrdma_alarm_status); val64 809 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (val64 & VXGE_HW_WRDMA_ALARM_STATUS_PRC_ALARM_PRC_INT) { val64 811 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&vp_reg->prc_alarm_reg); val64 814 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if ((val64 & VXGE_HW_PRC_ALARM_REG_PRC_RING_BUMP)& val64 818 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if ((val64 & VXGE_HW_PRC_ALARM_REG_PRC_RXDCM_SC_ERR) & val64 827 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if ((val64 & VXGE_HW_PRC_ALARM_REG_PRC_RXDCM_SC_ABORT) val64 836 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if ((val64 & VXGE_HW_PRC_ALARM_REG_PRC_QUANTA_SIZE_ERR) val64 895 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 900 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&hldev->common_reg->titan_general_int_status); val64 902 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (unlikely(!val64)) { val64 909 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (unlikely(val64 == VXGE_HW_ALL_FOXES)) { val64 925 drivers/net/ethernet/neterion/vxge/vxge-traffic.c *reason = val64; val64 930 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (val64 & val64 939 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (unlikely(val64 & val64 1985 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 2001 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&vpath->vp_reg->rxmac_vcfg0); val64 2003 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (!(val64 & VXGE_HW_RXMAC_VCFG0_UCAST_ALL_ADDR_EN)) { val64 2005 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 |= VXGE_HW_RXMAC_VCFG0_UCAST_ALL_ADDR_EN | val64 2010 drivers/net/ethernet/neterion/vxge/vxge-traffic.c writeq(val64, &vpath->vp_reg->rxmac_vcfg0); val64 2027 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 2038 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&vpath->vp_reg->rxmac_vcfg0); val64 2040 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (val64 & VXGE_HW_RXMAC_VCFG0_UCAST_ALL_ADDR_EN) { val64 2042 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 &= ~(VXGE_HW_RXMAC_VCFG0_UCAST_ALL_ADDR_EN | val64 2046 drivers/net/ethernet/neterion/vxge/vxge-traffic.c writeq(val64, &vpath->vp_reg->rxmac_vcfg0); val64 2061 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 2072 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&vpath->vp_reg->rxmac_vcfg0); val64 2074 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (!(val64 & VXGE_HW_RXMAC_VCFG0_BCAST_EN)) { val64 2075 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 |= VXGE_HW_RXMAC_VCFG0_BCAST_EN; val64 2076 drivers/net/ethernet/neterion/vxge/vxge-traffic.c writeq(val64, &vpath->vp_reg->rxmac_vcfg0); val64 2093 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 2104 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&vpath->vp_reg->rxmac_vcfg0); val64 2106 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (!(val64 & VXGE_HW_RXMAC_VCFG0_MCAST_ALL_ADDR_EN)) { val64 2107 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 |= VXGE_HW_RXMAC_VCFG0_MCAST_ALL_ADDR_EN; val64 2108 drivers/net/ethernet/neterion/vxge/vxge-traffic.c writeq(val64, &vpath->vp_reg->rxmac_vcfg0); val64 2126 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 2137 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&vpath->vp_reg->rxmac_vcfg0); val64 2139 drivers/net/ethernet/neterion/vxge/vxge-traffic.c if (val64 & VXGE_HW_RXMAC_VCFG0_MCAST_ALL_ADDR_EN) { val64 2140 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 &= ~VXGE_HW_RXMAC_VCFG0_MCAST_ALL_ADDR_EN; val64 2141 drivers/net/ethernet/neterion/vxge/vxge-traffic.c writeq(val64, &vpath->vp_reg->rxmac_vcfg0); val64 2187 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 2192 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = VXGE_HW_INTERRUPT_CFG0_GROUP0_MSIX_FOR_TXTI( val64 2197 drivers/net/ethernet/neterion/vxge/vxge-traffic.c writeq(val64, &vp_reg->interrupt_cfg0); val64 2297 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 2303 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&hldev->common_reg->tim_int_mask0); val64 2308 drivers/net/ethernet/neterion/vxge/vxge-traffic.c tim_int_mask0[VXGE_HW_VPATH_INTR_RX] | val64), val64 2312 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readl(&hldev->common_reg->tim_int_mask1); val64 2318 drivers/net/ethernet/neterion/vxge/vxge-traffic.c tim_int_mask1[VXGE_HW_VPATH_INTR_RX] | val64), val64 2335 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64; val64 2341 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = readq(&hldev->common_reg->tim_int_mask0); val64 2346 drivers/net/ethernet/neterion/vxge/vxge-traffic.c tim_int_mask0[VXGE_HW_VPATH_INTR_RX])) & val64, val64 2354 drivers/net/ethernet/neterion/vxge/vxge-traffic.c tim_int_mask1[VXGE_HW_VPATH_INTR_RX])) & val64, val64 2378 drivers/net/ethernet/neterion/vxge/vxge-traffic.c u64 val64 = 0; val64 2406 drivers/net/ethernet/neterion/vxge/vxge-traffic.c val64 = val64 12551 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct mcp_val64 val64; val64 1081 drivers/ntb/ntb_transport.c u64 val64; val64 1084 drivers/ntb/ntb_transport.c val64 = (u64)val << 32; val64 1087 drivers/ntb/ntb_transport.c val64 |= val; val64 1089 drivers/ntb/ntb_transport.c dev_dbg(&pdev->dev, "Remote MW%d size = %#llx\n", i, val64); val64 1091 drivers/ntb/ntb_transport.c rc = ntb_set_mw(nt, i, val64); val64 1186 drivers/powercap/intel_rapl_common.c u64 val64; val64 1190 drivers/powercap/intel_rapl_common.c if (!rapl_read_data_raw(rd, FW_LOCK, false, &val64)) { val64 1191 drivers/powercap/intel_rapl_common.c if (val64) { val64 1201 drivers/powercap/intel_rapl_common.c if (rapl_read_data_raw(rd, prim, false, &val64)) val64 333 drivers/thermal/intel/intel_powerclamp.c u64 val64; val64 343 drivers/thermal/intel/intel_powerclamp.c val64 = 100*(msr_now-msr_last); val64 344 drivers/thermal/intel/intel_powerclamp.c do_div(val64, (tsc_now-tsc_last)); val64 345 drivers/thermal/intel/intel_powerclamp.c current_ratio = val64; val64 453 drivers/thermal/intel/intel_powerclamp.c u64 val64; val64 463 drivers/thermal/intel/intel_powerclamp.c val64 = 100 * (msr_now - msr_last); val64 464 drivers/thermal/intel/intel_powerclamp.c do_div(val64, (tsc_now - tsc_last)); val64 465 drivers/thermal/intel/intel_powerclamp.c pkg_cstate_ratio_cur = val64; val64 40 drivers/usb/early/xhci-dbc.c u64 val64, sz64, mask64; val64 55 drivers/usb/early/xhci-dbc.c val64 = val & PCI_BASE_ADDRESS_MEM_MASK; val64 65 drivers/usb/early/xhci-dbc.c val64 |= (u64)val << 32; val64 86 drivers/usb/early/xhci-dbc.c xdbc.xhci_start = val64; val64 88 drivers/usb/early/xhci-dbc.c base = early_ioremap(val64, sz64); val64 252 include/uapi/linux/genwqe/genwqe_card.h __u64 val64; val64 93 lib/zstd/mem.h ZSTD_STATIC void ZSTD_writeLE64(void *memPtr, U64 val64) { put_unaligned_le64(val64, memPtr); } val64 119 lib/zstd/mem.h ZSTD_STATIC void ZSTD_writeBE64(void *memPtr, U64 val64) { put_unaligned_be64(val64, memPtr); } val64 1222 net/core/sock.c u64 val64; val64 1510 net/core/sock.c v.val64 = sock_gen_cookie(sk); val64 1861 tools/perf/util/evsel.c u.val64 = *array; val64 1864 tools/perf/util/evsel.c u.val64 = bswap_64(u.val64); val64 1888 tools/perf/util/evsel.c u.val64 = *array; val64 1891 tools/perf/util/evsel.c u.val64 = bswap_64(u.val64); val64 1980 tools/perf/util/evsel.c u.val64 = *array; val64 1983 tools/perf/util/evsel.c u.val64 = bswap_64(u.val64); val64 2015 tools/perf/util/evsel.c u.val64 = *array; val64 2018 tools/perf/util/evsel.c u.val64 = bswap_64(u.val64); val64 2088 tools/perf/util/evsel.c u.val64 = *array; val64 2097 tools/perf/util/evsel.c u.val64 = bswap_64(u.val64); val64 8 tools/perf/util/memswap.h u64 val64; val64 1260 tools/perf/util/synthetic-events.c *array = u.val64; val64 1287 tools/perf/util/synthetic-events.c *array = u.val64; val64 1333 tools/perf/util/synthetic-events.c *array = u.val64;