Home
last modified time | relevance | path

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

123

/linux-6.6.21/fs/xfs/
Dxfs_attr_item.c57 struct xfs_attri_log_nameval *nv) in xfs_attri_log_nameval_get() argument
59 if (!refcount_inc_not_zero(&nv->refcount)) in xfs_attri_log_nameval_get()
61 return nv; in xfs_attri_log_nameval_get()
66 struct xfs_attri_log_nameval *nv) in xfs_attri_log_nameval_put() argument
68 if (!nv) in xfs_attri_log_nameval_put()
70 if (refcount_dec_and_test(&nv->refcount)) in xfs_attri_log_nameval_put()
71 kvfree(nv); in xfs_attri_log_nameval_put()
81 struct xfs_attri_log_nameval *nv; in xfs_attri_log_nameval_alloc() local
87 nv = xlog_kvmalloc(sizeof(struct xfs_attri_log_nameval) + in xfs_attri_log_nameval_alloc()
90 nv->name.i_addr = nv + 1; in xfs_attri_log_nameval_alloc()
[all …]
/linux-6.6.21/drivers/scsi/
Dqla1280.c575 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-6.6.21/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()
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_init.c4134 struct nvram_81xx *nv = ha->nvram; in qla24xx_detect_sfp() local
4144 (nv->enhanced_features & NEF_LR_DIST_ENABLE)) { in qla24xx_detect_sfp()
4148 (nv->enhanced_features >> LR_DIST_NV_POS) in qla24xx_detect_sfp()
5164 static void qla2xxx_nvram_wwn_from_ofw(scsi_qla_host_t *vha, nvram_t *nv) in qla2xxx_nvram_wwn_from_ofw() argument
5175 memcpy(nv->port_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw()
5179 memcpy(nv->node_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw()
5205 nvram_t *nv = ha->nvram; in qla2x00_nvram_config() local
5212 ha->nvram_size = sizeof(*nv); in qla2x00_nvram_config()
5226 nv, ha->nvram_size); in qla2x00_nvram_config()
5229 if (chksum || memcmp("ISP ", nv->id, sizeof(nv->id)) || in qla2x00_nvram_config()
[all …]
Dqla_target.c6875 qlt_24xx_config_nvram_stage1(struct scsi_qla_host *vha, struct nvram_24xx *nv) in qlt_24xx_config_nvram_stage1() argument
6886 ha->tgt.saved_exchange_count = nv->exchange_count; in qlt_24xx_config_nvram_stage1()
6888 nv->firmware_options_1; in qlt_24xx_config_nvram_stage1()
6890 nv->firmware_options_2; in qlt_24xx_config_nvram_stage1()
6892 nv->firmware_options_3; in qlt_24xx_config_nvram_stage1()
6897 nv->exchange_count = cpu_to_le16(0xFFFF); in qlt_24xx_config_nvram_stage1()
6899 nv->exchange_count = cpu_to_le16(vha->ql2xexchoffld); in qlt_24xx_config_nvram_stage1()
6902 nv->firmware_options_1 |= cpu_to_le32(BIT_4); in qlt_24xx_config_nvram_stage1()
6906 nv->firmware_options_1 |= cpu_to_le32(BIT_5); in qlt_24xx_config_nvram_stage1()
6909 nv->firmware_options_1 &= cpu_to_le32(~BIT_13); in qlt_24xx_config_nvram_stage1()
[all …]
/linux-6.6.21/lib/
Dgroup_cpus.c291 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-6.6.21/samples/bpf/
Dtcp_basertt_kern.c28 char nv[] = "nv"; in bpf_basertt() local
50 if (!n && !__builtin_memcmp(cong, nv, sizeof(nv))) { in bpf_basertt()
/linux-6.6.21/arch/x86/kvm/vmx/
Dposted_intr.c74 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()
166 new.nv = POSTED_INTR_WAKEUP_VECTOR; in pi_enable_wakeup_handler()
Dposted_intr.h22 u8 nv; member
/linux-6.6.21/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()
/linux-6.6.21/drivers/s390/char/
Draw3270.c897 struct raw3270_view *oldview = NULL, *nv; in __raw3270_activate_view() local
923 list_for_each_entry(nv, &rp->view_list, list) { in __raw3270_activate_view()
924 if (nv == view || nv == oldview) in __raw3270_activate_view()
926 rc = raw3270_assign_activate_view(rp, nv); in __raw3270_activate_view()
1059 struct raw3270_view *nv; in raw3270_del_view() local
1070 list_for_each_entry(nv, &rp->view_list, list) { in raw3270_del_view()
1071 if (nv->fn->activate(nv) == 0) { in raw3270_del_view()
1072 rp->view = nv; in raw3270_del_view()
/linux-6.6.21/drivers/mtd/devices/
DMakefile10 obj-$(CONFIG_MTD_MS02NV) += ms02-nv.o
/linux-6.6.21/drivers/media/tuners/
Dit913x.c33 static const u8 nv[] = {48, 32, 24, 16, 12, 8, 6, 4, 2}; in it913x_init() local
73 else if (utmp < ARRAY_SIZE(nv)) in it913x_init()
74 nv_val = nv[utmp]; in it913x_init()
/linux-6.6.21/drivers/media/pci/ddbridge/
Dddbridge-max.c238 u32 nv, ov = dev->link[port->lnr].lnb.voltages; in max_set_voltage() local
269 nv = dev->link[port->lnr].lnb.voltages; in max_set_voltage()
284 if (nv != ov) { in max_set_voltage()
285 if (nv) { in max_set_voltage()
/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/frame/interface/
Dia_css_frame_comm.h102 struct ia_css_frame_sp_nv_planes nv; member
/linux-6.6.21/arch/powerpc/perf/
Dcore-book3s.c973 unsigned long mask, value, nv; in power_check_constraints() local
999 nv = (value | cpuhw->avalues[i][0]) + in power_check_constraints()
1002 if (((((nv + tadd) ^ value) & mask) & (~grp_mask)) != 0) in power_check_constraints()
1005 if (((((nv + tadd) ^ cpuhw->avalues[i][0]) & cpuhw->amasks[i][0]) in power_check_constraints()
1009 value = nv; in power_check_constraints()
1036 value = mask = nv = 0; in power_check_constraints()
1049 nv = (value | cpuhw->avalues[i][j]) + in power_check_constraints()
1051 if ((((nv + tadd) ^ value) & mask) == 0 && in power_check_constraints()
1052 (((nv + tadd) ^ cpuhw->avalues[i][j]) in power_check_constraints()
1074 value = nv; in power_check_constraints()
/linux-6.6.21/arch/csky/include/asm/
Dfutex.h111 : [ov] "Jr" (oldval), [nv] "Jr" (newval), [e] "Jr" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
/linux-6.6.21/arch/riscv/include/asm/
Dfutex.h96 : [ov] "Jr" (oldval), [nv] "Jr" (newval) in futex_atomic_cmpxchg_inatomic()
/linux-6.6.21/drivers/net/
Dnet_failover.c162 u64 nv = new[i]; in net_failover_fold_stats() local
164 s64 delta = nv - ov; in net_failover_fold_stats()
167 if (((nv | ov) >> 32) == 0) in net_failover_fold_stats()
168 delta = (s64)(s32)((u32)nv - (u32)ov); in net_failover_fold_stats()
/linux-6.6.21/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…
/linux-6.6.21/drivers/staging/media/atomisp/pci/
Dia_css_frame_public.h191 struct ia_css_frame_nv_planes nv; member
/linux-6.6.21/Documentation/devicetree/bindings/arm/marvell/
Dmarvell,kirkwood.txt69 "netgear,readynas-nv+-v2"
/linux-6.6.21/Documentation/devicetree/bindings/pinctrl/
Dnvidia,tegra234-pinmux-common.yaml42 dmic3, led, vi0_alt, i2s5, nv, extperiph3, extperiph4, spi4,
/linux-6.6.21/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
701 nv = GET_VAL(NV, le64_to_cpu(raw_desc->m0)); in xgene_enet_rx_frame()
702 if (!nv) in xgene_enet_rx_frame()
726 if (!nv) in xgene_enet_rx_frame()
/linux-6.6.21/drivers/net/wireless/ath/wcn36xx/
Dwcn36xx.h212 const struct firmware *nv; member

123