/drivers/xen/xen-pciback/ |
D | conf_space_capability.c | 118 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/ |
D | sdhci-of-esdhc.c | 240 int spec_reg, u32 value, u32 old_value) in esdhc_writel_fixup() argument 258 int spec_reg, u16 value, u32 old_value) in esdhc_writew_fixup() argument 271 return old_value; in esdhc_writew_fixup() 277 ret = old_value & (~(0xffff << shift)); in esdhc_writew_fixup() 292 int spec_reg, u8 value, u32 old_value) in esdhc_writeb_fixup() argument 304 return old_value; in esdhc_writeb_fixup() 315 return old_value; in esdhc_writeb_fixup() 319 ret = (old_value & (~(SDHCI_CTRL_DMA_MASK << 5))) | dma_bits; in esdhc_writeb_fixup() 321 (old_value & SDHCI_CTRL_DMA_MASK); in esdhc_writeb_fixup() 329 ret = (old_value & (~(0xff << shift))) | (value << shift); in esdhc_writeb_fixup()
|
/drivers/clocksource/ |
D | sh_cmt.c | 251 u32 old_value = sh_cmt_read_cmstr(ch); in sh_cmt_write_cmstr() local 253 if (value != old_value) { in sh_cmt_write_cmstr() 271 u32 old_value = sh_cmt_read_cmcsr(ch); in sh_cmt_write_cmcsr() local 273 if (value != old_value) { in sh_cmt_write_cmcsr() 305 u32 old_value = ch->cmt->info->read_count(ch->ioctrl, CMCOR); in sh_cmt_write_cmcor() local 307 if (value != old_value) { in sh_cmt_write_cmcor()
|
/drivers/media/usb/gspca/m5602/ |
D | m5602_ov7660.c | 453 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()
|
D | m5602_po1030.c | 608 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()
|
D | m5602_s5k4aa.c | 740 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()
|
D | m5602_ov9650.c | 769 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/ |
D | dm-array.c | 815 void *old_value; in array_set_value() local 832 old_value = element_at(info, ab, entry); in array_set_value() 834 (!vt->equal || !vt->equal(vt->context, old_value, value))) { in array_set_value() 835 vt->dec(vt->context, old_value, 1); in array_set_value() 840 memcpy(old_value, value, info->value_type.size); in array_set_value()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 4204 bool old_value, new_value; in i40e_print_input_set() local 4207 old_value = !!(old & I40E_L3_SRC_MASK); in i40e_print_input_set() 4209 if (old_value != new_value) in i40e_print_input_set() 4211 old_value ? "ON" : "OFF", in i40e_print_input_set() 4214 old_value = !!(old & I40E_L3_DST_MASK); in i40e_print_input_set() 4216 if (old_value != new_value) in i40e_print_input_set() 4218 old_value ? "ON" : "OFF", in i40e_print_input_set() 4221 old_value = !!(old & I40E_L4_SRC_MASK); in i40e_print_input_set() 4223 if (old_value != new_value) in i40e_print_input_set() 4225 old_value ? "ON" : "OFF", in i40e_print_input_set() [all …]
|
/drivers/net/wan/ |
D | wanxl.c | 493 u32 old_value = readl(card->plx + PLX_CONTROL) & ~PLX_CTL_RESET; in wanxl_reset() local 496 writel(old_value | PLX_CTL_RESET, card->plx + PLX_CONTROL); in wanxl_reset() 499 writel(old_value, card->plx + PLX_CONTROL); in wanxl_reset()
|
/drivers/ps3/ |
D | ps3-lpm.c | 366 u64 old_value; in ps3_write_pm07_control() local 375 &old_value); in ps3_write_pm07_control()
|
/drivers/nvme/host/ |
D | pci.c | 356 u16 old_value, event_idx; in nvme_dbbuf_update_and_check_event() local 364 old_value = le32_to_cpu(*dbbuf_db); in nvme_dbbuf_update_and_check_event() 376 if (!nvme_dbbuf_need_event(event_idx, value, old_value)) in nvme_dbbuf_update_and_check_event()
|