Home
last modified time | relevance | path

Searched refs:value2 (Results 1 – 14 of 14) 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/
Dar5008_phy.c935 s32 value, value2; in ar5008_hw_ani_control_new() local
1048 value2 = firstep_table[level] - in ar5008_hw_ani_control_new()
1051 if (value2 < ATH9K_SIG_FIRSTEP_SETTING_MIN) in ar5008_hw_ani_control_new()
1052 value2 = ATH9K_SIG_FIRSTEP_SETTING_MIN; in ar5008_hw_ani_control_new()
1053 if (value2 > ATH9K_SIG_FIRSTEP_SETTING_MAX) in ar5008_hw_ani_control_new()
1054 value2 = ATH9K_SIG_FIRSTEP_SETTING_MAX; in ar5008_hw_ani_control_new()
1057 AR_PHY_FIND_SIG_FIRSTEP_LOW, value2); in ar5008_hw_ani_control_new()
1074 value2, in ar5008_hw_ani_control_new()
1113 value2 = cycpwrThr1_table[level] - in ar5008_hw_ani_control_new()
1116 if (value2 < ATH9K_SIG_SPUR_IMM_SETTING_MIN) in ar5008_hw_ani_control_new()
[all …]
Dar9003_phy.c909 s32 value, value2; in ar9003_hw_ani_control() local
973 value2 = firstep_table[level] - in ar9003_hw_ani_control()
976 if (value2 < ATH9K_SIG_FIRSTEP_SETTING_MIN) in ar9003_hw_ani_control()
977 value2 = ATH9K_SIG_FIRSTEP_SETTING_MIN; in ar9003_hw_ani_control()
978 if (value2 > ATH9K_SIG_FIRSTEP_SETTING_MAX) in ar9003_hw_ani_control()
979 value2 = ATH9K_SIG_FIRSTEP_SETTING_MAX; in ar9003_hw_ani_control()
982 AR_PHY_FIND_SIG_LOW_FIRSTEP_LOW, value2); in ar9003_hw_ani_control()
999 value2, in ar9003_hw_ani_control()
1038 value2 = cycpwrThr1_table[level] - in ar9003_hw_ani_control()
1041 if (value2 < ATH9K_SIG_SPUR_IMM_SETTING_MIN) in ar9003_hw_ani_control()
[all …]
/drivers/media/usb/gspca/
Dsn9c20x.c1385 u16 value2; in set_hvflip() local
1422 i2c_r2(gspca_dev, 0x20, &value2); in set_hvflip()
1423 value2 &= ~0xc0a0; in set_hvflip()
1425 value2 |= 0x8080; in set_hvflip()
1427 value2 |= 0x4020; in set_hvflip()
1428 i2c_w2(gspca_dev, 0x20, value2); in set_hvflip()
1433 i2c_r2(gspca_dev, 0x20, &value2); in set_hvflip()
1434 value2 &= ~0x0003; in set_hvflip()
1436 value2 |= 0x0002; in set_hvflip()
1438 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/platform/x86/
Dtoshiba_acpi.c397 u32 value, value2; in hci_get_bt_present() local
400 value2 = 0; in hci_get_bt_present()
401 hci_read2(dev, HCI_WIRELESS, &value, &value2, &hci_result); in hci_get_bt_present()
411 u32 value, value2; in hci_get_radio_state() local
414 value2 = 0x0001; in hci_get_radio_state()
415 hci_read2(dev, HCI_WIRELESS, &value, &value2, &hci_result); in hci_get_radio_state()
/drivers/md/persistent-data/
Ddm-btree.h75 int (*equal)(void *context, const void *value1, const void *value2);
Ddm-array.c599 static int block_equal(void *context, const void *value1, const void *value2) in block_equal() argument
601 return !memcmp(value1, value2, sizeof(__le64)); in block_equal()
/drivers/acpi/
Dprocessor_driver.c124 u8 value2 = 0; in acpi_processor_errata_piix4() local
203 pci_read_config_byte(dev, 0x77, &value2); in acpi_processor_errata_piix4()
204 if ((value1 & 0x80) || (value2 & 0x80)) in acpi_processor_errata_piix4()
/drivers/ide/
Dpmac.c828 unsigned int value, value2 = 0; in sanitize_timings() local
833 value2 = 0x00033031; in sanitize_timings()
838 value2 = 0x00002921; in sanitize_timings()
853 pmif->timings[2] = pmif->timings[3] = value2; in sanitize_timings()
/drivers/video/
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.h276 field2, value2, \ argument
286 EFX_INSERT_FIELD_NATIVE((min), (max), field2, (value2)) | \
/drivers/staging/slicoss/
Dslicoss.c630 u32 value2; in slic_mac_address_config() local
638 value2 = (u32) ((adapter->currmacaddr[0] << 8 | in slic_mac_address_config()
641 slic_reg32_write(&slic_regs->slic_wraddrah, value2, FLUSH); in slic_mac_address_config()
642 slic_reg32_write(&slic_regs->slic_wraddrbh, value2, FLUSH); in slic_mac_address_config()