/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_txrx.c | 315 static void fbnic_clean_twq0(struct fbnic_napi_vector *nv, int napi_budget, in fbnic_clean_twq0() argument 344 fbnic_unmap_single_twd(nv->dev, &ring->desc[head]); in fbnic_clean_twq0() 350 fbnic_unmap_page_twd(nv->dev, &ring->desc[head]); in fbnic_clean_twq0() 366 txq = txring_txq(nv->napi.dev, ring); in fbnic_clean_twq0() 408 struct fbnic_napi_vector *nv, int budget) in fbnic_page_pool_drain() argument 414 page_pool_put_unrefed_page(nv->page_pool, page, -1, !!budget); in fbnic_page_pool_drain() 419 static void fbnic_clean_twq(struct fbnic_napi_vector *nv, int napi_budget, in fbnic_clean_twq() argument 423 fbnic_clean_twq0(nv, napi_budget, &qt->sub0, false, head0); in fbnic_clean_twq() 427 fbnic_clean_tcq(struct fbnic_napi_vector *nv, struct fbnic_q_triad *qt, in fbnic_clean_tcq() argument 475 fbnic_clean_twq(nv, napi_budget, qt, head0); in fbnic_clean_tcq() [all …]
|
/linux/fs/xfs/ |
H A D | xfs_attr_item.c | 56 struct xfs_attri_log_nameval *nv) in xfs_attri_log_nameval_get() argument 58 if (!refcount_inc_not_zero(&nv->refcount)) in xfs_attri_log_nameval_get() 60 return nv; in xfs_attri_log_nameval_get() 65 struct xfs_attri_log_nameval *nv) in xfs_attri_log_nameval_put() argument 67 if (!nv) in xfs_attri_log_nameval_put() 69 if (refcount_dec_and_test(&nv->refcount)) in xfs_attri_log_nameval_put() 70 kvfree(nv); in xfs_attri_log_nameval_put() 84 struct xfs_attri_log_nameval *nv; in xfs_attri_log_nameval_alloc() local 90 nv = xlog_kvmalloc(sizeof(struct xfs_attri_log_nameval) + in xfs_attri_log_nameval_alloc() 94 nv->name.i_addr = nv + 1; in xfs_attri_log_nameval_alloc() [all …]
|
/linux/drivers/mtd/devices/ |
H A D | ms02-nv.h | 5 * DEC MS02-NV (54-20948-01) battery backed-up NVRAM module for 36 * operating system, a magic ID to distinguish a MS02-NV board from 42 * The firmware only handles the MS02-NV board if installed in the 47 * The MS02-NV board is ECC-protected, like other MS02 memory boards. 59 /* MS02-NV iomem register offsets. */ 62 /* MS02-NV CSR status bits. */ 67 /* MS02-NV memory offsets. */ 69 #define MS02NV_MAGIC 0x0003fc /* MS02-NV magic ID */ 73 /* MS02-NV diagnostic status bits. */ 81 /* MS02-NV general constants. */ [all …]
|
H A D | ms02-nv.c | 22 #include "ms02-nv.h" 26 "ms02-nv.c: v.1.0.0 13 Aug 2001 Maciej W. Rozycki.\n"; 29 MODULE_DESCRIPTION("DEC MS02-NV NVRAM module driver"); 34 * Addresses we probe for an MS02-NV at. Modules may be located 45 static const char ms02nv_name[] = "DEC MS02-NV NVRAM"; 213 "ms02-nv: Unable to register MTD device, aborting!\n"); in ms02nv_init_one()
|
H A D | Kconfig | 41 tristate "DEC MS02-NV NVRAM module support" 44 This is an MTD driver for the DEC's MS02-NV (54-20948-01) battery 52 The module will be called ms02-nv.
|
/linux/drivers/scsi/ |
H A D | qla1280.c | 575 struct nvram *nv; in qla1280_read_nvram() local 585 nv = &ha->nvram; in qla1280_read_nvram() 594 if (nv->id0 != 'I' || nv->id1 != 'S' || in qla1280_read_nvram() 595 nv->id2 != 'P' || nv->id3 != ' ' || nv->version < 1) { in qla1280_read_nvram() 608 " version %i\n", nv->id0, nv->id1, nv->id2, nv->id3, in qla1280_read_nvram() 609 nv->version); in qla1280_read_nvram() 637 nv->isp_parameter = cpu_to_le16(nv->isp_parameter); in qla1280_read_nvram() 638 nv->firmware_feature.w = cpu_to_le16(nv->firmware_feature.w); in qla1280_read_nvram() 640 nv->bus[i].selection_timeout = cpu_to_le16(nv->bus[i].selection_timeout); in qla1280_read_nvram() 641 nv->bus[i].max_queue_depth = cpu_to_le16(nv->bus[i].max_queue_depth); in qla1280_read_nvram() [all …]
|
/linux/net/netfilter/ |
H A D | xt_DSCP.c | 76 u_int8_t orig, nv; in tos_tg() local 79 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg() 81 if (orig != nv) { in tos_tg() 85 ipv4_change_dsfield(iph, 0, nv); in tos_tg() 96 u_int8_t orig, nv; in tos_tg6() local 99 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg6() 101 if (orig != nv) { in tos_tg6() 105 ipv6_change_dsfield(iph, 0, nv); in tos_tg6()
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_init.c | 4158 struct nvram_81xx *nv = ha->nvram; in qla24xx_detect_sfp() local 4168 (nv->enhanced_features & NEF_LR_DIST_ENABLE)) { in qla24xx_detect_sfp() 4172 (nv->enhanced_features >> LR_DIST_NV_POS) in qla24xx_detect_sfp() 5185 static void qla2xxx_nvram_wwn_from_ofw(scsi_qla_host_t *vha, nvram_t *nv) in qla2xxx_nvram_wwn_from_ofw() argument 5196 memcpy(nv->port_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw() 5200 memcpy(nv->node_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw() 5226 nvram_t *nv = ha->nvram; in qla2x00_nvram_config() local 5233 ha->nvram_size = sizeof(*nv); in qla2x00_nvram_config() 5247 nv, ha->nvram_size); in qla2x00_nvram_config() 5250 if (chksum || memcmp("ISP ", nv->id, sizeof(nv->id)) || in qla2x00_nvram_config() [all …]
|
/linux/net/ipv4/ |
H A D | tcp_nv.c | 3 * TCP NV: TCP with Congestion Avoidance 5 * TCP-NV is a successor of TCP-Vegas that has been developed to 7 * Like TCP-Vegas, TCP-NV supports true congestion avoidance, 9 * When congestion (queue buildup) starts to occur, TCP-NV 14 * NV is only recommeneded for traffic within a data center, and when 15 * all the flows are NV (at least those within the data center). This 20 * Note: High NIC coalescence values may lower the performance of NV 33 /* TCP NV parameters 78 MODULE_PARM_DESC(nv_min_cwnd, "NV will not decrease cwnd below this value" 81 /* TCP NV Parameters */ [all …]
|
/linux/samples/bpf/ |
H A D | tcp_basertt_kern.c | 7 * BPF program to set base_rtt to 80us when host is running TCP-NV and 28 char nv[] = "nv"; in bpf_basertt() local 50 if (!n && !__builtin_memcmp(cong, nv, sizeof(nv))) { in bpf_basertt()
|
/linux/drivers/iio/potentiometer/ |
H A D | max5487.c | 17 /* copy both wiper regs to NV regs */ 19 /* copy both NV regs to wiper regs */ 107 /* restore both wiper regs from NV regs */ in max5487_spi_probe() 122 /* save both wiper regs to NV regs */ in max5487_spi_remove() 125 dev_warn(&spi->dev, "Failed to save wiper regs to NV regs\n"); in max5487_spi_remove()
|
H A D | max5481.c | 19 /* copy wiper reg to NV reg */ 21 /* copy NV reg to wiper reg */ 160 /* restore wiper from NV */ in max5481_probe()
|
/linux/lib/ |
H A D | group_cpus.c | 291 struct node_groups *nv = &node_groups[i]; in __group_cpus_evenly() local 293 if (nv->ngroups == UINT_MAX) in __group_cpus_evenly() 297 cpumask_and(nmsk, cpu_mask, node_to_cpumask[nv->id]); in __group_cpus_evenly() 302 WARN_ON_ONCE(nv->ngroups > ncpus); in __group_cpus_evenly() 305 extra_grps = ncpus - nv->ngroups * (ncpus / nv->ngroups); in __group_cpus_evenly() 308 for (v = 0; v < nv->ngroups; v++, curgrp++) { in __group_cpus_evenly() 309 cpus_per_grp = ncpus / nv->ngroups; in __group_cpus_evenly() 326 done += nv->ngroups; in __group_cpus_evenly()
|
/linux/arch/x86/kvm/vmx/ |
H A D | posted_intr.c | 74 if (pi_desc->nv != POSTED_INTR_WAKEUP_VECTOR && vcpu->cpu == cpu) { in vmx_vcpu_pi_load() 91 if (pi_desc->nv == POSTED_INTR_WAKEUP_VECTOR) { in vmx_vcpu_pi_load() 116 new.nv = POSTED_INTR_VECTOR; in vmx_vcpu_pi_load() 164 /* set 'NV' to 'wakeup vector' */ in pi_enable_wakeup_handler() 166 new.nv = POSTED_INTR_WAKEUP_VECTOR; in pi_enable_wakeup_handler() 252 * PI.NV to the wakeup vector, i.e. the assigned device
|
/linux/arch/arm/kernel/ |
H A D | opcodes.c | 15 * index into the table is test code: EQ, NE, ... LT, GT, AL, NV 35 0 /* NV */ 42 * ARM_OPCODE_CONDTEST_UNCOND - if NV condition, or separate unconditional
|
/linux/include/linux/rtc/ |
H A D | ds1685.h | 8 * include larger, battery-backed NV-SRAM, burst-mode access, and an RTC 200 * access to the extended NV-SRAM by automatically incrementing the address 253 * DS1685/DS1687 - Extended NV-SRAM address (LSB only). 255 * DS17x85/DS17x87 - Extended NV-SRAM addresses (MSB & LSB) & Write counter. 258 #define RTC_BANK1_RAM_ADDR 0x50 /* NV-SRAM Addr */ 268 #define RTC_BANK1_RAM_ADDR_LSB 0x50 /* NV-SRAM Addr (LSB) */ 269 #define RTC_BANK1_RAM_ADDR_MSB 0x51 /* NV-SRAM Addr (MSB) */ 335 * Extended, battery-backed NV-SRAM:
|
/linux/drivers/soc/qcom/ |
H A D | wcnss_ctrl.c | 33 * @probe_work: worker for uploading nv binary 194 * wcnss_download_nv() - send nv binary to WCNSS 220 dev_err(dev, "Failed to load nv file %s: %d\n", nvbin, ret); in wcnss_download_nv() 258 dev_err(dev, "timeout waiting for nv upload ack\n"); in wcnss_download_nv() 305 /* Wait for pending cold boot completion if indicated by the nv downloader */ in wcnss_async_probe()
|
/linux/drivers/input/mouse/ |
H A D | sentelic.c | 183 int v, nv; in fsp_reg_write_enable() local 189 nv = v | FSP_BIT_EN_REG_CLK; in fsp_reg_write_enable() 191 nv = v & ~FSP_BIT_EN_REG_CLK; in fsp_reg_write_enable() 194 if (nv != v) in fsp_reg_write_enable() 195 if (fsp_reg_write(psmouse, FSP_REG_SYSCTL1, nv) == -1) in fsp_reg_write_enable() 334 int v, nv; in fsp_opc_tag_enable() local 343 nv = v | FSP_BIT_EN_OPC_TAG; in fsp_opc_tag_enable() 345 nv = v & ~FSP_BIT_EN_OPC_TAG; in fsp_opc_tag_enable() 348 if (nv != v) { in fsp_opc_tag_enable() 350 res = fsp_reg_write(psmouse, FSP_REG_OPC_QDOWN, nv); in fsp_opc_tag_enable()
|
/linux/Documentation/devicetree/bindings/iio/temperature/ |
H A D | ti,tmp117.yaml | 7 title: TI TMP117 - Digital temperature sensor with integrated NV memory 10 TI TMP116/117 - Digital temperature sensor with integrated NV memory that
|
/linux/drivers/comedi/drivers/ |
H A D | mpc624.c | 37 * 6 55Hz 510nV 23.4 38 * 7 27.5Hz 375nV 24 39 * 8 13.75Hz 250nV 24.4 40 * 9 6.875Hz 200nV 24.6
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-netgear_readynas_nv+_v2.dts | 3 * Device Tree file for NETGEAR ReadyNAS NV+ v2 14 model = "NETGEAR ReadyNAS NV+ v2"; 15 …compatible = "netgear,readynas-nv+-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,k…
|
/linux/Documentation/firmware-guide/acpi/ |
H A D | chromeos-acpi-device.rst | 270 NV Storage Block Offset //DWORD 271 NV Storage Block Size //DWORD 282 * - NV Storage Block Offset 288 * - NV Storage Block Size
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | firmware.h | 53 snprintf(_option, sizeof(_option), "Nv%sFw", _opts); \ 64 snprintf(_option, sizeof(_option), "Nv%sFwVer", _opts); \
|
/linux/arch/riscv/include/asm/ |
H A D | futex.h | 90 "2: sc.w.aqrl %[t],%z[nv],%[u] \n" in futex_atomic_cmpxchg_inatomic() 96 : [ov] "Jr" (oldval), [nv] "Jr" (newval) in futex_atomic_cmpxchg_inatomic()
|
/linux/tools/testing/selftests/powerpc/include/ |
H A D | gpr_asm.h | 54 /* 18 NV FPU REGS */ 61 /* 18 NV FPU REGS */
|