Home
last modified time | relevance | path

Searched refs:value2 (Results 1 – 16 of 16) 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/net/wireless/ath/ath9k/
Dar9003_phy.c992 s32 value, value2; in ar9003_hw_ani_control() local
1111 value2 = firstep_table[level] - in ar9003_hw_ani_control()
1114 if (value2 < ATH9K_SIG_FIRSTEP_SETTING_MIN) in ar9003_hw_ani_control()
1115 value2 = ATH9K_SIG_FIRSTEP_SETTING_MIN; in ar9003_hw_ani_control()
1116 if (value2 > ATH9K_SIG_FIRSTEP_SETTING_MAX) in ar9003_hw_ani_control()
1117 value2 = ATH9K_SIG_FIRSTEP_SETTING_MAX; in ar9003_hw_ani_control()
1120 AR_PHY_FIND_SIG_LOW_FIRSTEP_LOW, value2); in ar9003_hw_ani_control()
1137 value2, in ar9003_hw_ani_control()
1176 value2 = cycpwrThr1_table[level] - in ar9003_hw_ani_control()
1179 if (value2 < ATH9K_SIG_SPUR_IMM_SETTING_MIN) in ar9003_hw_ani_control()
[all …]
/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/media/usb/gspca/
Dsn9c20x.c1368 u16 value2; in set_hvflip() local
1405 i2c_r2(gspca_dev, 0x20, &value2); in set_hvflip()
1406 value2 &= ~0xc0a0; in set_hvflip()
1408 value2 |= 0x8080; in set_hvflip()
1410 value2 |= 0x4020; in set_hvflip()
1411 i2c_w2(gspca_dev, 0x20, value2); in set_hvflip()
1416 i2c_r2(gspca_dev, 0x20, &value2); in set_hvflip()
1417 value2 &= ~0x0003; in set_hvflip()
1419 value2 |= 0x0002; in set_hvflip()
1421 value2 |= 0x0001; in set_hvflip()
[all …]
/drivers/ata/
Dpata_pdc2027x.c85 u8 value0, value1, value2; member
103 u8 value0, value1, value2; member
320 ctcr1 |= (pdc2027x_pio_timing_tbl[pio].value2 << 24); in pdc2027x_set_piomode()
364 (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/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/platform/x86/
Dtoshiba_acpi.c767 u32 value, value2; in hci_get_bt_present() local
770 value2 = 0; in hci_get_bt_present()
771 hci_result = hci_read2(dev, HCI_WIRELESS, &value, &value2); in hci_get_bt_present()
781 u32 value, value2; in hci_get_radio_state() local
784 value2 = 0x0001; in hci_get_radio_state()
785 hci_result = hci_read2(dev, HCI_WIRELESS, &value, &value2); in hci_get_radio_state()
/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.c3090 uint32_t addr1, addr2, value1, value2, data, selVal; in qla8044_minidump_process_rdmdio() local
3110 value2 = rdmdio->value_2; in qla8044_minidump_process_rdmdio()
3122 value2); in qla8044_minidump_process_rdmdio()
3149 selVal = (value2 << 18) | (value1 << 2) | 2; in qla8044_minidump_process_rdmdio()
3168 uint32_t addr1, addr2, value1, value2, poll, mask, r_value; in qla8044_minidump_process_pollwr() local
3176 value2 = pollwr_hdr->value_2; in qla8044_minidump_process_pollwr()
3194 qla8044_wr_reg_indirect(vha, addr2, value2); in qla8044_minidump_process_pollwr()
/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.c387 static int ws_eq(void *context, const void *value1, const void *value2) in ws_eq() argument
389 return !memcmp(value1, value2, sizeof(struct writeset_metadata)); in ws_eq()
/drivers/staging/slicoss/
Dslicoss.c596 u32 value2; in slic_mac_address_config() local
604 value2 = (u32) ((adapter->currmacaddr[0] << 8 | in slic_mac_address_config()
607 slic_reg32_write(&slic_regs->slic_wraddrah, value2, FLUSH); in slic_mac_address_config()
608 slic_reg32_write(&slic_regs->slic_wraddrbh, value2, FLUSH); in slic_mac_address_config()