Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/scsi/
Dqla1280.c619 struct nvram *nv; in qla1280_read_nvram() local
629 nv = &ha->nvram; in qla1280_read_nvram()
638 if (nv->id0 != 'I' || nv->id1 != 'S' || in qla1280_read_nvram()
639 nv->id2 != 'P' || nv->id3 != ' ' || nv->version < 1) { in qla1280_read_nvram()
652 " version %i\n", nv->id0, nv->id1, nv->id2, nv->id3, in qla1280_read_nvram()
653 nv->version); in qla1280_read_nvram()
681 nv->isp_parameter = cpu_to_le16(nv->isp_parameter); in qla1280_read_nvram()
682 nv->firmware_feature.w = cpu_to_le16(nv->firmware_feature.w); in qla1280_read_nvram()
684 nv->bus[i].selection_timeout = cpu_to_le16(nv->bus[i].selection_timeout); in qla1280_read_nvram()
685 nv->bus[i].max_queue_depth = cpu_to_le16(nv->bus[i].max_queue_depth); in qla1280_read_nvram()
[all …]
/linux-2.6.39/drivers/scsi/qla2xxx/
Dqla_init.c2163 static void qla2xxx_nvram_wwn_from_ofw(scsi_qla_host_t *vha, nvram_t *nv) in qla2xxx_nvram_wwn_from_ofw() argument
2174 memcpy(nv->port_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw()
2178 memcpy(nv->node_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw()
2204 nvram_t *nv = ha->nvram; in qla2x00_nvram_config() local
2223 DEBUG5(qla2x00_dump_buffer((uint8_t *)nv, ha->nvram_size)); in qla2x00_nvram_config()
2226 if (chksum || nv->id[0] != 'I' || nv->id[1] != 'S' || in qla2x00_nvram_config()
2227 nv->id[2] != 'P' || nv->id[3] != ' ' || nv->nvram_version < 1) { in qla2x00_nvram_config()
2230 "checksum=0x%x id=%c version=0x%x.\n", chksum, nv->id[0], in qla2x00_nvram_config()
2231 nv->nvram_version); in qla2x00_nvram_config()
2238 memset(nv, 0, ha->nvram_size); in qla2x00_nvram_config()
[all …]
Dqla_mbx.c443 struct nvram_81xx *nv = ha->nvram; in qla2x00_execute_fw() local
444 mcp->mb[4] = (nv->enhanced_features & in qla2x00_execute_fw()
/linux-2.6.39/net/netfilter/
Dxt_DSCP.c79 u_int8_t orig, nv; in tos_tg() local
82 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg()
84 if (orig != nv) { in tos_tg()
88 ipv4_change_dsfield(iph, 0, nv); in tos_tg()
99 u_int8_t orig, nv; in tos_tg6() local
102 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg6()
104 if (orig != nv) { in tos_tg6()
108 ipv6_change_dsfield(iph, 0, nv); in tos_tg6()
/linux-2.6.39/drivers/input/mouse/
Dsentelic.c193 int v, nv; in fsp_reg_write_enable() local
199 nv = v | FSP_BIT_EN_REG_CLK; in fsp_reg_write_enable()
201 nv = v & ~FSP_BIT_EN_REG_CLK; in fsp_reg_write_enable()
204 if (nv != v) in fsp_reg_write_enable()
205 if (fsp_reg_write(psmouse, FSP_REG_SYSCTL1, nv) == -1) in fsp_reg_write_enable()
323 int v, nv; in fsp_opc_tag_enable() local
332 nv = v | FSP_BIT_EN_OPC_TAG; in fsp_opc_tag_enable()
334 nv = v & ~FSP_BIT_EN_OPC_TAG; in fsp_opc_tag_enable()
337 if (nv != v) { in fsp_opc_tag_enable()
339 res = fsp_reg_write(psmouse, FSP_REG_OPC_QDOWN, nv); in fsp_opc_tag_enable()
/linux-2.6.39/drivers/s390/char/
Draw3270.c890 struct raw3270_view *oldview, *nv; in raw3270_activate_view() local
917 list_for_each_entry(nv, &rp->view_list, list) in raw3270_activate_view()
918 if (nv != view && nv != oldview) { in raw3270_activate_view()
919 rp->view = nv; in raw3270_activate_view()
920 if (nv->fn->activate(nv) == 0) in raw3270_activate_view()
1042 struct raw3270_view *nv; in raw3270_del_view() local
1054 list_for_each_entry(nv, &rp->view_list, list) { in raw3270_del_view()
1055 if (nv->fn->activate(nv) == 0) { in raw3270_del_view()
1056 rp->view = nv; in raw3270_del_view()
/linux-2.6.39/tools/perf/util/
Devsel.c110 size_t nv = scale ? 3 : 1; in __perf_evsel__read_on_cpu() local
118 if (readn(FD(evsel, cpu, thread), &count, nv * sizeof(u64)) < 0) in __perf_evsel__read_on_cpu()
136 size_t nv = scale ? 3 : 1; in __perf_evsel__read() local
148 &count, nv * sizeof(u64)) < 0) in __perf_evsel__read()
/linux-2.6.39/arch/powerpc/kernel/
Dperf_event.c255 unsigned long mask, value, nv; in power_check_constraints() local
279 nv = (value | cpuhw->avalues[i][0]) + in power_check_constraints()
281 if ((((nv + tadd) ^ value) & mask) != 0 || in power_check_constraints()
282 (((nv + tadd) ^ cpuhw->avalues[i][0]) & in power_check_constraints()
285 value = nv; in power_check_constraints()
307 value = mask = nv = 0; in power_check_constraints()
320 nv = (value | cpuhw->avalues[i][j]) + in power_check_constraints()
322 if ((((nv + tadd) ^ value) & mask) == 0 && in power_check_constraints()
323 (((nv + tadd) ^ cpuhw->avalues[i][j]) in power_check_constraints()
345 value = nv; in power_check_constraints()
/linux-2.6.39/drivers/mtd/devices/
DMakefile13 obj-$(CONFIG_MTD_MS02NV) += ms02-nv.o
DKconfig50 The module will be called ms02-nv.
/linux-2.6.39/arch/unicore32/include/asm/
Dassembler.h79 .else; .ifc \cond, nv
/linux-2.6.39/Documentation/power/
Dvideo.txt127 HP Pavilion ZD7000 vbetool post needed, need open-source nv driver for X
156 Sony Vaio PCG-GRT995MP none (1), works with 'nv' X driver
/linux-2.6.39/fs/nilfs2/
Dsegment.c720 unsigned nv = 0; in nilfs_dispose_list() local
737 ivec[nv++] = ii; in nilfs_dispose_list()
738 if (nv == SC_N_INODEVEC) in nilfs_dispose_list()
743 for (pii = ivec; nv > 0; pii++, nv--) in nilfs_dispose_list()
/linux-2.6.39/drivers/media/video/pvrusb2/
Dpvrusb2-hdw.c5232 unsigned int nv,m,idx; in pvr2_hdw_set_input_allowed() local
5235 nv = hdw->input_allowed_mask & ~change_mask; in pvr2_hdw_set_input_allowed()
5236 nv |= (change_val & change_mask); in pvr2_hdw_set_input_allowed()
5237 nv &= hdw->input_avail_mask; in pvr2_hdw_set_input_allowed()
5238 if (!nv) { in pvr2_hdw_set_input_allowed()
5243 hdw->input_allowed_mask = nv; in pvr2_hdw_set_input_allowed()
/linux-2.6.39/Documentation/sound/alsa/
DALSA-Configuration.txt1962 "lspci -nv").