Home
last modified time | relevance | path

Searched refs:old_value (Results 1 – 12 of 12) sorted by relevance

/drivers/xen/xen-pciback/
Dconf_space_capability.c118 u16 old_value; in pm_ctrl_write() local
121 err = pci_read_config_word(dev, offset, &old_value); in pm_ctrl_write()
128 if ((old_value & PM_OK_BITS) != new_value) { in pm_ctrl_write()
129 new_value = (old_value & ~PM_OK_BITS) | new_value; in pm_ctrl_write()
220 u16 old_value; in msi_msix_flags_write() local
227 err = pci_read_config_word(dev, offset, &old_value); in msi_msix_flags_write()
231 if (new_value == old_value) in msi_msix_flags_write()
235 (new_value ^ old_value) & ~field_config->allowed_bits) in msi_msix_flags_write()
/drivers/mmc/host/
Dsdhci-of-esdhc.c233 int spec_reg, u32 value, u32 old_value) in esdhc_writel_fixup() argument
251 int spec_reg, u16 value, u32 old_value) in esdhc_writew_fixup() argument
264 return old_value; in esdhc_writew_fixup()
270 ret = old_value & (~(0xffff << shift)); in esdhc_writew_fixup()
285 int spec_reg, u8 value, u32 old_value) in esdhc_writeb_fixup() argument
297 return old_value; in esdhc_writeb_fixup()
308 return old_value; in esdhc_writeb_fixup()
312 ret = (old_value & (~(SDHCI_CTRL_DMA_MASK << 5))) | dma_bits; in esdhc_writeb_fixup()
314 (old_value & SDHCI_CTRL_DMA_MASK); in esdhc_writeb_fixup()
322 ret = (old_value & (~(0xff << shift))) | (value << shift); in esdhc_writeb_fixup()
/drivers/clocksource/
Dsh_cmt.c252 u32 old_value = sh_cmt_read_cmstr(ch); in sh_cmt_write_cmstr() local
254 if (value != old_value) { in sh_cmt_write_cmstr()
272 u32 old_value = sh_cmt_read_cmcsr(ch); in sh_cmt_write_cmcsr() local
274 if (value != old_value) { in sh_cmt_write_cmcsr()
306 u32 old_value = ch->cmt->info->read_count(ch->ioctrl, CMCOR); in sh_cmt_write_cmcor() local
308 if (value != old_value) { in sh_cmt_write_cmcor()
/drivers/media/usb/gspca/m5602/
Dm5602_ov7660.c453 u8 old_value, ctrl_value; in ov7660_dump_registers() local
456 m5602_read_sensor(sd, address, &old_value, 1); in ov7660_dump_registers()
466 m5602_write_sensor(sd, address, &old_value, 1); in ov7660_dump_registers()
Dm5602_po1030.c608 u8 old_value, ctrl_value; in po1030_dump_registers() local
611 m5602_read_sensor(sd, address, &old_value, 1); in po1030_dump_registers()
621 m5602_write_sensor(sd, address, &old_value, 1); in po1030_dump_registers()
Dm5602_s5k4aa.c740 u8 old_value, ctrl_value, test_value = 0xff; in s5k4aa_dump_registers() local
742 m5602_read_sensor(sd, address, &old_value, 1); in s5k4aa_dump_registers()
754 m5602_write_sensor(sd, address, &old_value, 1); in s5k4aa_dump_registers()
Dm5602_ov9650.c769 u8 old_value, ctrl_value; in ov9650_dump_registers() local
772 m5602_read_sensor(sd, address, &old_value, 1); in ov9650_dump_registers()
782 m5602_write_sensor(sd, address, &old_value, 1); in ov9650_dump_registers()
/drivers/md/persistent-data/
Ddm-array.c805 void *old_value; in array_set_value() local
822 old_value = element_at(info, ab, entry); in array_set_value()
824 (!vt->equal || !vt->equal(vt->context, old_value, value))) { in array_set_value()
825 vt->dec(vt->context, old_value); in array_set_value()
830 memcpy(old_value, value, info->value_type.size); in array_set_value()
/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c4040 bool old_value, new_value; in i40e_print_input_set() local
4043 old_value = !!(old & I40E_L3_SRC_MASK); in i40e_print_input_set()
4045 if (old_value != new_value) in i40e_print_input_set()
4047 old_value ? "ON" : "OFF", in i40e_print_input_set()
4050 old_value = !!(old & I40E_L3_DST_MASK); in i40e_print_input_set()
4052 if (old_value != new_value) in i40e_print_input_set()
4054 old_value ? "ON" : "OFF", in i40e_print_input_set()
4057 old_value = !!(old & I40E_L4_SRC_MASK); in i40e_print_input_set()
4059 if (old_value != new_value) in i40e_print_input_set()
4061 old_value ? "ON" : "OFF", in i40e_print_input_set()
[all …]
/drivers/net/wan/
Dwanxl.c498 u32 old_value = readl(card->plx + PLX_CONTROL) & ~PLX_CTL_RESET; in wanxl_reset() local
501 writel(old_value | PLX_CTL_RESET, card->plx + PLX_CONTROL); in wanxl_reset()
504 writel(old_value, card->plx + PLX_CONTROL); in wanxl_reset()
/drivers/ps3/
Dps3-lpm.c366 u64 old_value; in ps3_write_pm07_control() local
375 &old_value); in ps3_write_pm07_control()
/drivers/nvme/host/
Dpci.c341 u16 old_value, event_idx; in nvme_dbbuf_update_and_check_event() local
349 old_value = le32_to_cpu(*dbbuf_db); in nvme_dbbuf_update_and_check_event()
361 if (!nvme_dbbuf_need_event(event_idx, value, old_value)) in nvme_dbbuf_update_and_check_event()