Home
last modified time | relevance | path

Searched refs:value2 (Results 1 – 18 of 18) sorted by relevance

/drivers/clocksource/
Dacpi_pm.c153 cycle_t value1, value2; in verify_pmtmr_rate() local
159 value2 = clocksource_acpi_pm.read(&clocksource_acpi_pm); in verify_pmtmr_rate()
160 delta = (value2 - value1) & ACPI_PM_MASK; in verify_pmtmr_rate()
184 cycle_t value1, value2; in init_acpi_pm_clocksource() local
195 value2 = clocksource_acpi_pm.read(&clocksource_acpi_pm); in init_acpi_pm_clocksource()
196 if (value2 == value1) in init_acpi_pm_clocksource()
198 if (value2 > value1) in init_acpi_pm_clocksource()
200 if ((value2 < value1) && ((value2) < 0xFFF)) in init_acpi_pm_clocksource()
204 value1, value2); in init_acpi_pm_clocksource()
/drivers/char/tpm/
Dtpm.h484 __be16 value2 = cpu_to_be16(value); in tpm_buf_append_u16() local
486 tpm_buf_append(buf, (u8 *) &value2, 2); in tpm_buf_append_u16()
491 __be32 value2 = cpu_to_be32(value); in tpm_buf_append_u32() local
493 tpm_buf_append(buf, (u8 *) &value2, 4); in tpm_buf_append_u32()
/drivers/net/wireless/ath/ath9k/
Dar9003_phy.c1097 s32 value, value2; in ar9003_hw_ani_control() local
1216 value2 = firstep_table[level] - in ar9003_hw_ani_control()
1219 if (value2 < ATH9K_SIG_FIRSTEP_SETTING_MIN) in ar9003_hw_ani_control()
1220 value2 = ATH9K_SIG_FIRSTEP_SETTING_MIN; in ar9003_hw_ani_control()
1221 if (value2 > ATH9K_SIG_FIRSTEP_SETTING_MAX) in ar9003_hw_ani_control()
1222 value2 = ATH9K_SIG_FIRSTEP_SETTING_MAX; in ar9003_hw_ani_control()
1225 AR_PHY_FIND_SIG_LOW_FIRSTEP_LOW, value2); in ar9003_hw_ani_control()
1242 value2, in ar9003_hw_ani_control()
1281 value2 = cycpwrThr1_table[level] - in ar9003_hw_ani_control()
1284 if (value2 < ATH9K_SIG_SPUR_IMM_SETTING_MIN) in ar9003_hw_ani_control()
[all …]
/drivers/media/usb/gspca/
Dsn9c20x.c1380 u16 value2; in set_hvflip() local
1417 i2c_r2(gspca_dev, 0x20, &value2); in set_hvflip()
1418 value2 &= ~0xc0a0; in set_hvflip()
1420 value2 |= 0x8080; in set_hvflip()
1422 value2 |= 0x4020; in set_hvflip()
1423 i2c_w2(gspca_dev, 0x20, value2); in set_hvflip()
1428 i2c_r2(gspca_dev, 0x20, &value2); in set_hvflip()
1429 value2 &= ~0x0003; in set_hvflip()
1431 value2 |= 0x0002; in set_hvflip()
1433 value2 |= 0x0001; in set_hvflip()
[all …]
/drivers/ata/
Dpata_pdc2027x.c86 u8 value0, value1, value2; member
104 u8 value0, value1, value2; member
321 ctcr1 |= (pdc2027x_pio_timing_tbl[pio].value2 << 24); in pdc2027x_set_piomode()
365 (pdc2027x_udma_timing_tbl[udma_mode].value2 << 16); in pdc2027x_set_dmamode()
Dpata_macio.c444 unsigned int value, value2 = 0; in pata_macio_default_timings() local
449 value2 = 0x00033031; in pata_macio_default_timings()
454 value2 = 0x00002921; in pata_macio_default_timings()
469 priv->treg[0][1] = priv->treg[1][1] = value2; in pata_macio_default_timings()
/drivers/acpi/
Dacpi_processor.c45 u8 value2 = 0; in acpi_processor_errata_piix4() local
124 pci_read_config_byte(dev, 0x77, &value2); in acpi_processor_errata_piix4()
125 if ((value1 & 0x80) || (value2 & 0x80)) in acpi_processor_errata_piix4()
/drivers/md/persistent-data/
Ddm-btree.h75 int (*equal)(void *context, const void *value1, const void *value2);
Ddm-array.c610 static int block_equal(void *context, const void *value1, const void *value2) in block_equal() argument
612 return !memcmp(value1, value2, sizeof(__le64)); in block_equal()
/drivers/ide/
Dpmac.c823 unsigned int value, value2 = 0; in sanitize_timings() local
828 value2 = 0x00033031; in sanitize_timings()
833 value2 = 0x00002921; in sanitize_timings()
848 pmif->timings[2] = pmif->timings[3] = value2; in sanitize_timings()
/drivers/video/fbdev/
Dffb.c333 u32 value2; member
447 upa_writel(0, &dac->value2); in ffb_switch_from_graph()
450 FFB_DAC_CUR_CTRL_P1), &dac->value2); in ffb_switch_from_graph()
/drivers/net/ethernet/sfc/
Dbitfield.h280 field2, value2, \ argument
290 EFX_INSERT_FIELD_NATIVE((min), (max), field2, (value2)) | \
/drivers/scsi/qla2xxx/
Dqla_nx2.c3088 uint32_t addr1, addr2, value1, value2, data, selVal; in qla8044_minidump_process_rdmdio() local
3107 value2 = rdmdio->value_2; in qla8044_minidump_process_rdmdio()
3119 value2); in qla8044_minidump_process_rdmdio()
3145 selVal = (value2 << 18) | (value1 << 2) | 2; in qla8044_minidump_process_rdmdio()
3164 uint32_t addr1, addr2, value1, value2, poll, r_value; in qla8044_minidump_process_pollwr() local
3172 value2 = pollwr_hdr->value_2; in qla8044_minidump_process_pollwr()
3189 qla8044_wr_reg_indirect(vha, addr2, value2); in qla8044_minidump_process_pollwr()
/drivers/net/ethernet/cavium/liquidio/
Dliquidio_common.h627 u64 value2; member
Dlio_ethtool.c306 mdio_cmd->value2 = lio->linfo.ifidx; in octnet_mdio45_access()
/drivers/scsi/qla4xxx/
Dql4_nx.c2739 uint32_t addr1, addr2, value1, value2, data, selval; in qla4_84xx_minidump_process_rdmdio() local
2757 value2 = le32_to_cpu(rdmdio->value_2); in qla4_84xx_minidump_process_rdmdio()
2769 value2); in qla4_84xx_minidump_process_rdmdio()
2796 selval = (value2 << 18) | (value1 << 2) | 2; in qla4_84xx_minidump_process_rdmdio()
2814 uint32_t addr1, addr2, value1, value2, poll, mask, r_value; in qla4_84xx_minidump_process_pollwr() local
2823 value2 = le32_to_cpu(pollwr_hdr->value_2); in qla4_84xx_minidump_process_pollwr()
2843 ha->isp_ops->wr_reg_indirect(ha, addr2, value2); in qla4_84xx_minidump_process_pollwr()
/drivers/md/
Ddm-era-target.c390 static int ws_eq(void *context, const void *value1, const void *value2) in ws_eq() argument
392 return !memcmp(value1, value2, sizeof(struct writeset_disk)); in ws_eq()
/drivers/staging/slicoss/
Dslicoss.c617 u32 value2; in slic_mac_address_config() local
624 value2 = (u32)((adapter->currmacaddr[0] << 8 | in slic_mac_address_config()
627 slic_reg32_write(&slic_regs->slic_wraddrah, value2, FLUSH); in slic_mac_address_config()
628 slic_reg32_write(&slic_regs->slic_wraddrbh, value2, FLUSH); in slic_mac_address_config()