Lines Matching refs:value
115 static void omap_gpmc_dma_update(struct omap_gpmc_s *s, int value) in omap_gpmc_dma_update() argument
118 qemu_set_irq(s->drq, value); in omap_gpmc_dma_update()
161 static void omap_nand_setio(DeviceState *dev, uint64_t value, in omap_nand_setio() argument
171 nand_setio(dev, value & 0xff); in omap_nand_setio()
174 nand_setio(dev, value & 0xff); in omap_nand_setio()
175 nand_setio(dev, (value >> 8) & 0xff); in omap_nand_setio()
179 nand_setio(dev, value & 0xff); in omap_nand_setio()
180 nand_setio(dev, (value >> 8) & 0xff); in omap_nand_setio()
181 nand_setio(dev, (value >> 16) & 0xff); in omap_nand_setio()
182 nand_setio(dev, (value >> 24) & 0xff); in omap_nand_setio()
193 nand_setio(dev, value & 0xffff); in omap_nand_setio()
197 nand_setio(dev, value & 0xffff); in omap_nand_setio()
198 nand_setio(dev, (value >> 16) & 0xffff); in omap_nand_setio()
206 uint64_t value, unsigned size) in omap_nand_write() argument
210 omap_nand_setio(f->dev, value, omap_gpmc_devsize(f), size); in omap_nand_write()
321 uint64_t value, unsigned size) in omap_gpmc_prefetch_write() argument
349 s->prefetch.fifo[0] = value; in omap_gpmc_prefetch_write()
352 value = (value << 8) | s->prefetch.fifo[0]; in omap_gpmc_prefetch_write()
353 omap_nand_write(&s->cs_file[cs], 0, value, 2); in omap_gpmc_prefetch_write()
359 omap_nand_write(&s->cs_file[cs], 0, value, 1); in omap_gpmc_prefetch_write()
622 uint64_t value, unsigned size) in omap_gpmc_write() argument
629 omap_badwidth_write32(opaque, addr, value); in omap_gpmc_write()
645 if ((value >> 3) == 0x3) in omap_gpmc_write()
647 __func__, value >> 3); in omap_gpmc_write()
648 if (value & 2) in omap_gpmc_write()
650 s->sysconfig = value & 0x19; in omap_gpmc_write()
654 s->irqst &= ~value; in omap_gpmc_write()
659 s->irqen = value & 0xf03; in omap_gpmc_write()
664 s->timeout = value & 0x1ff1; in omap_gpmc_write()
672 s->config = value & 0xf13; in omap_gpmc_write()
681 f->config[0] = value & 0xffef3e13; in omap_gpmc_write()
684 f->config[1] = value & 0x001f1f8f; in omap_gpmc_write()
687 f->config[2] = value & 0x001f1f8f; in omap_gpmc_write()
690 f->config[3] = value & 0x1f8f1f8f; in omap_gpmc_write()
693 f->config[4] = value & 0x0f1f1f1f; in omap_gpmc_write()
696 f->config[5] = value & 0x00000fcf; in omap_gpmc_write()
699 if ((f->config[6] ^ value) & 0xf7f) { in omap_gpmc_write()
701 f->config[6] = value & 0x00000f7f; in omap_gpmc_write()
708 omap_nand_setio(f->dev, value, omap_gpmc_devsize(f), size); in omap_gpmc_write()
714 omap_nand_setio(f->dev, value, omap_gpmc_devsize(f), size); in omap_gpmc_write()
719 omap_nand_write(f, 0, value, size); in omap_gpmc_write()
729 uint32_t newconfig1 = value & 0x7f8f7fbf; in omap_gpmc_write()
760 s->prefetch.transfercount = value & 0x3fff; in omap_gpmc_write()
765 if (s->prefetch.startengine != (value & 1)) { in omap_gpmc_write()
766 s->prefetch.startengine = value & 1; in omap_gpmc_write()
796 if (value & (1 << 8)) in omap_gpmc_write()
799 s->ecc_ptr = value & 0xf; in omap_gpmc_write()
806 s->ecc_cfg = value & 0x3fcff1ff; in omap_gpmc_write()
809 if (value & 7) in omap_gpmc_write()