Home
last modified time | relevance | path

Searched refs:nv (Results 1 – 25 of 45) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/scsi/
Dqla1280.c583 struct nvram *nv; in qla1280_read_nvram() local
593 nv = &ha->nvram; in qla1280_read_nvram()
602 if (nv->id0 != 'I' || nv->id1 != 'S' || in qla1280_read_nvram()
603 nv->id2 != 'P' || nv->id3 != ' ' || nv->version < 1) { in qla1280_read_nvram()
616 " version %i\n", nv->id0, nv->id1, nv->id2, nv->id3, in qla1280_read_nvram()
617 nv->version); in qla1280_read_nvram()
645 nv->isp_parameter = cpu_to_le16(nv->isp_parameter); in qla1280_read_nvram()
646 nv->firmware_feature.w = cpu_to_le16(nv->firmware_feature.w); in qla1280_read_nvram()
648 nv->bus[i].selection_timeout = cpu_to_le16(nv->bus[i].selection_timeout); in qla1280_read_nvram()
649 nv->bus[i].max_queue_depth = cpu_to_le16(nv->bus[i].max_queue_depth); in qla1280_read_nvram()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dxt_DSCP.c76 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()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_init.c3661 struct nvram_81xx *nv = ha->nvram; in qla24xx_detect_sfp() local
3671 (nv->enhanced_features & NEF_LR_DIST_ENABLE)) { in qla24xx_detect_sfp()
3675 (nv->enhanced_features >> LR_DIST_NV_POS) in qla24xx_detect_sfp()
4631 static void qla2xxx_nvram_wwn_from_ofw(scsi_qla_host_t *vha, nvram_t *nv) in qla2xxx_nvram_wwn_from_ofw() argument
4642 memcpy(nv->port_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw()
4646 memcpy(nv->node_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw()
4672 nvram_t *nv = ha->nvram; in qla2x00_nvram_config() local
4679 ha->nvram_size = sizeof(*nv); in qla2x00_nvram_config()
4693 nv, ha->nvram_size); in qla2x00_nvram_config()
4696 if (chksum || memcmp("ISP ", nv->id, sizeof(nv->id)) || in qla2x00_nvram_config()
[all …]
Dqla_target.c6840 qlt_24xx_config_nvram_stage1(struct scsi_qla_host *vha, struct nvram_24xx *nv) in qlt_24xx_config_nvram_stage1() argument
6851 ha->tgt.saved_exchange_count = nv->exchange_count; in qlt_24xx_config_nvram_stage1()
6853 nv->firmware_options_1; in qlt_24xx_config_nvram_stage1()
6855 nv->firmware_options_2; in qlt_24xx_config_nvram_stage1()
6857 nv->firmware_options_3; in qlt_24xx_config_nvram_stage1()
6862 nv->exchange_count = cpu_to_le16(0xFFFF); in qlt_24xx_config_nvram_stage1()
6864 nv->exchange_count = cpu_to_le16(vha->ql2xexchoffld); in qlt_24xx_config_nvram_stage1()
6867 nv->firmware_options_1 |= cpu_to_le32(BIT_4); in qlt_24xx_config_nvram_stage1()
6871 nv->firmware_options_1 |= cpu_to_le32(BIT_5); in qlt_24xx_config_nvram_stage1()
6874 nv->firmware_options_1 &= cpu_to_le32(~BIT_13); in qlt_24xx_config_nvram_stage1()
[all …]
/kernel/linux/linux-5.10/kernel/irq/
Daffinity.c292 struct node_vectors *nv = &node_vectors[i]; in __irq_build_affinity_masks() local
294 if (nv->nvectors == UINT_MAX) in __irq_build_affinity_masks()
298 cpumask_and(nmsk, cpu_mask, node_to_cpumask[nv->id]); in __irq_build_affinity_masks()
303 WARN_ON_ONCE(nv->nvectors > ncpus); in __irq_build_affinity_masks()
306 extra_vecs = ncpus - nv->nvectors * (ncpus / nv->nvectors); in __irq_build_affinity_masks()
309 for (v = 0; v < nv->nvectors; v++, curvec++) { in __irq_build_affinity_masks()
310 cpus_per_vec = ncpus / nv->nvectors; in __irq_build_affinity_masks()
327 done += nv->nvectors; in __irq_build_affinity_masks()
/kernel/linux/linux-5.10/samples/bpf/
Dtcp_basertt_kern.c28 char nv[] = "nv"; in bpf_basertt() local
50 if (!n && !__builtin_memcmp(cong, nv, sizeof(nv)+1)) { in bpf_basertt()
/kernel/linux/linux-5.10/drivers/input/mouse/
Dsentelic.c183 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()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dposted_intr.c47 if (pi_desc->nv == POSTED_INTR_WAKEUP_VECTOR || vcpu->cpu == cpu) { in vmx_vcpu_pi_load()
108 WARN(old.nv != POSTED_INTR_WAKEUP_VECTOR, in __pi_post_block()
119 new.nv = POSTED_INTR_VECTOR; in __pi_post_block()
187 new.nv = POSTED_INTR_WAKEUP_VECTOR; in pi_pre_block()
Dposted_intr.h20 u8 nv; member
/kernel/linux/linux-5.10/drivers/s390/char/
Draw3270.c845 struct raw3270_view *oldview, *nv; in raw3270_activate_view() local
872 list_for_each_entry(nv, &rp->view_list, list) in raw3270_activate_view()
873 if (nv != view && nv != oldview) { in raw3270_activate_view()
874 rp->view = nv; in raw3270_activate_view()
875 if (nv->fn->activate(nv) == 0) in raw3270_activate_view()
993 struct raw3270_view *nv; in raw3270_del_view() local
1005 list_for_each_entry(nv, &rp->view_list, list) { in raw3270_del_view()
1006 if (nv->fn->activate(nv) == 0) { in raw3270_del_view()
1007 rp->view = nv; in raw3270_del_view()
/kernel/linux/linux-5.10/drivers/mtd/devices/
DMakefile10 obj-$(CONFIG_MTD_MS02NV) += ms02-nv.o
/kernel/linux/linux-5.10/drivers/media/tuners/
Dit913x.c33 static const u8 nv[] = {48, 32, 24, 16, 12, 8, 6, 4, 2}; in it913x_init() local
72 else if (utmp < ARRAY_SIZE(nv)) in it913x_init()
73 nv_val = nv[utmp]; in it913x_init()
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
Dddbridge-max.c247 u32 nv, ov = dev->link[port->lnr].lnb.voltages; in max_set_voltage() local
278 nv = dev->link[port->lnr].lnb.voltages; in max_set_voltage()
293 if (nv != ov) { in max_set_voltage()
294 if (nv) { in max_set_voltage()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/frame/interface/
Dia_css_frame_comm.h102 struct ia_css_frame_sp_nv_planes nv; member
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dcore-book3s.c892 unsigned long mask, value, nv; in power_check_constraints() local
918 nv = (value | cpuhw->avalues[i][0]) + in power_check_constraints()
921 if (((((nv + tadd) ^ value) & mask) & (~grp_mask)) != 0) in power_check_constraints()
924 if (((((nv + tadd) ^ cpuhw->avalues[i][0]) & cpuhw->amasks[i][0]) in power_check_constraints()
928 value = nv; in power_check_constraints()
954 value = mask = nv = 0; in power_check_constraints()
967 nv = (value | cpuhw->avalues[i][j]) + in power_check_constraints()
969 if ((((nv + tadd) ^ value) & mask) == 0 && in power_check_constraints()
970 (((nv + tadd) ^ cpuhw->avalues[i][j]) in power_check_constraints()
992 value = nv; in power_check_constraints()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dfutex.h112 : [ov] "Jr" (oldval), [nv] "Jr" (newval), [e] "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
/kernel/linux/linux-5.10/drivers/net/
Dnet_failover.c166 u64 nv = new[i]; in net_failover_fold_stats() local
168 s64 delta = nv - ov; in net_failover_fold_stats()
171 if (((nv | ov) >> 32) == 0) in net_failover_fold_stats()
172 delta = (s64)(s32)((u32)nv - (u32)ov); in net_failover_fold_stats()
/kernel/linux/linux-5.10/drivers/staging/nvec/
DREADME13 [1] e.g. https://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=tree;f=arch/arm/mach-tegra/nvec;hb=a…
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dia_css_frame_public.h180 struct ia_css_frame_nv_planes nv; member
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/marvell/
Dmarvell,kirkwood.txt69 "netgear,readynas-nv+-v2"
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wcn36xx/
Dwcn36xx.h187 const struct firmware *nv; member
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dcom.fuc89 // nv_rd32 - read 32-bit value from nv register
107 // nv_wr32 - write 32-bit value to nv register
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
DMakefile71 vega20_reg_init.o nbio_v7_4.o nbio_v2_3.o nv.o navi10_reg_init.o navi14_reg_init.o \
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c418 u8 ll = 0, nv = 0, idx = 0; in xgene_enet_setup_tx_desc() local
453 nv = 1; in xgene_enet_setup_tx_desc()
540 raw_desc->m0 = cpu_to_le64(SET_VAL(LL, ll) | SET_VAL(NV, nv) | in xgene_enet_setup_tx_desc()
684 bool nv; in xgene_enet_rx_frame() local
720 nv = GET_VAL(NV, le64_to_cpu(raw_desc->m0)); in xgene_enet_rx_frame()
721 if (!nv) { in xgene_enet_rx_frame()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dkirkwood-netgear_readynas_nv+_v2.dts15 …compatible = "netgear,readynas-nv+-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,k…

12