Home
last modified time | relevance | path

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

/drivers/xen/xen-pciback/
A 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/gpio/
A Dgpio-mpsse.c291 irq, old_value[16], irq_type[16]; in gpio_mpsse_poll() local
296 old_value[offset] = -1; in gpio_mpsse_poll()
311 old_value[offset] = -1; in gpio_mpsse_poll()
324 if (old_value[offset] == -1) in gpio_mpsse_poll()
332 fire_irq = value > old_value[offset]; in gpio_mpsse_poll()
335 fire_irq = value < old_value[offset]; in gpio_mpsse_poll()
338 fire_irq = value != old_value[offset]; in gpio_mpsse_poll()
356 old_value[offset] = pin_states & BIT(offset); in gpio_mpsse_poll()
/drivers/mmc/host/
A Dsdhci-of-esdhc.c240 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/
A Dsh_cmt.c251 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/
A 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()
A 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()
A 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()
A 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()
/drivers/md/persistent-data/
A Ddm-array.c815 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/
A Di40e_ethtool.c4213 bool old_value, new_value; in i40e_print_input_set() local
4218 if (old_value != new_value) in i40e_print_input_set()
4220 old_value ? "ON" : "OFF", in i40e_print_input_set()
4225 if (old_value != new_value) in i40e_print_input_set()
4227 old_value ? "ON" : "OFF", in i40e_print_input_set()
4232 if (old_value != new_value) in i40e_print_input_set()
4234 old_value ? "ON" : "OFF", in i40e_print_input_set()
4239 if (old_value != new_value) in i40e_print_input_set()
4241 old_value ? "ON" : "OFF", in i40e_print_input_set()
4246 if (old_value != new_value) in i40e_print_input_set()
[all …]
/drivers/net/wan/
A Dwanxl.c493 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/
A Dps3-lpm.c366 u64 old_value; in ps3_write_pm07_control() local
375 &old_value); in ps3_write_pm07_control()
/drivers/nvme/host/
A Dpci.c404 u16 old_value, event_idx; in nvme_dbbuf_update_and_check_event() local
412 old_value = le32_to_cpu(*dbbuf_db); in nvme_dbbuf_update_and_check_event()
424 if (!nvme_dbbuf_need_event(event_idx, value, old_value)) in nvme_dbbuf_update_and_check_event()

Completed in 680 milliseconds