Home
last modified time | relevance | path

Searched full:mmio (Results 1 – 25 of 518) sorted by relevance

12345678910>>...21

/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmmio.c15 val = readl(dev->mmio.regs + offset); in mt76_mmio_rr()
17 val = readl((u8 *)dev->mmio.regs + offset); in mt76_mmio_rr()
28 writel(val, dev->mmio.regs + offset); in mt76_mmio_wr()
30 writel(val, (u8 *)dev->mmio.regs + offset); in mt76_mmio_wr()
49 dev->mmio.regs + offset + i); in mt76_mmio_write_copy()
52 (u8 *)dev->mmio.regs + offset + i); in mt76_mmio_write_copy()
63 put_unaligned_le32(readl(dev->mmio.regs + offset + i), in mt76_mmio_read_copy()
66 put_unaligned_le32(readl((u8 *)dev->mmio.regs + offset + i), in mt76_mmio_read_copy()
100 spin_lock_irqsave(&dev->mmio.irq_lock, flags); in mt76_set_irq_mask()
101 dev->mmio.irqmask &= ~clear; in mt76_set_irq_mask()
[all …]
H A Dwed.c179 complete(&dev->mmio.wed_reset_complete); in mt76_wed_reset_complete()
188 struct mtk_wed_device *wed = &phy->dev->mmio.wed; in mt76_wed_net_setup_tc()
199 struct mt76_mmio *mmio = &dev->mmio; in mt76_wed_dma_reset() local
204 complete(&mmio->wed_reset); in mt76_wed_dma_reset()
206 if (!wait_for_completion_timeout(&mmio->wed_reset_complete, 3 * HZ)) in mt76_wed_dma_reset()
/freebsd/sys/contrib/device-tree/Bindings/misc/
H A Dpvpanic-mmio.txt1 * QEMU PVPANIC MMIO Configuration bindings
4 MMIO Configuration interface on the "virt" machine.
13 - compatible: "qemu,pvpanic-mmio".
14 - reg: the MMIO region used by the device.
24 pvpanic-mmio@9060000 {
25 compatible = "qemu,pvpanic-mmio";
/freebsd/sys/contrib/device-tree/src/arm64/arm/
H A Dzena-css-fvp.dts29 compatible = "virtio,mmio";
35 compatible = "virtio,mmio";
41 compatible = "virtio,mmio";
47 compatible = "virtio,mmio";
53 compatible = "virtio,mmio";
59 compatible = "virtio,mmio";
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Ddma.c23 if (wed == &dev->mt76.mmio.wed_hif2) in mt7996_init_tx_queues()
299 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_dma_start()
482 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_dma_enable()
509 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt7996_dma_rro_init()
510 mdev->q_rx[MT_RXQ_RRO_RXDMAD_C].wed = &mdev->mmio.wed; in mt7996_dma_rro_init()
521 if (!mtk_wed_device_active(&mdev->mmio.wed)) { in mt7996_dma_rro_init()
535 if (mtk_wed_device_active(&mdev->mmio.wed) && in mt7996_dma_rro_init()
536 mtk_wed_get_rx_capa(&mdev->mmio.wed)) in mt7996_dma_rro_init()
537 mdev->q_rx[MT_RXQ_RRO_IND].wed = &mdev->mmio.wed; in mt7996_dma_rro_init()
548 if (mtk_wed_device_active(&mdev->mmio.wed) && in mt7996_dma_rro_init()
[all …]
H A Dmmio.c378 memcpy_fromio(buf, dev->mt76.mmio.regs + addr, len); in mt7996_memcpy_fromio()
380 memcpy_fromio(buf, (u8 *)dev->mt76.mmio.regs + addr, len); in mt7996_memcpy_fromio()
387 memcpy_fromio(buf, dev->mt76.mmio.regs + in mt7996_memcpy_fromio()
389 memcpy_fromio(buf, (u8 *)dev->mt76.mmio.regs + in mt7996_memcpy_fromio()
443 struct mt76_dev *mdev = container_of(wed, struct mt76_dev, mmio.wed); in mt7996_mmio_wed_reset()
459 if (!wait_for_completion_timeout(&mdev->mmio.wed_reset, 20 * HZ)) { in mt7996_mmio_wed_reset()
475 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_mmio_wed_init()
488 wed = &dev->mt76.mmio.wed_hif2; in mt7996_mmio_wed_init()
700 spin_lock_irqsave(&mdev->mmio.irq_lock, flags); in mt7996_dual_hif_set_irq_mask()
702 mdev->mmio.irqmask &= ~clear; in mt7996_dual_hif_set_irq_mask()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/security/tpm/
H A Dtpm_tis_mmio.txt1 Trusted Computing Group MMIO Trusted Platform Module
4 is the standard protocol defined to access the TPM via MMIO. Typically
13 "tcg,tpm-tis-mmio". Valid chip strings are:
15 - reg: The location of the MMIO registers, should be at least 0x5000 bytes
21 compatible = "atmel,at97sc3204", "tcg,tpm-tis-mmio";
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen5/
H A Dload-store.json114 "BriefDescription": "Demand data cache fills from either DRAM or MMIO in the same NUMA node.",
132 …"BriefDescription": "Demand data cache fills from either DRAM or MMIO in a different NUMA node (sa…
138 …"BriefDescription": "Demand data cache fills from either DRAM or MMIO in the same or a different N…
144 …"BriefDescription": "Demand data cache fills from either cache of another CCX, DRAM or MMIO when t…
186 "BriefDescription": "Any data cache fills from either DRAM or MMIO in the same NUMA node.",
204 …"BriefDescription": "Any data cache fills from either DRAM or MMIO in a different NUMA node (same …
210 …"BriefDescription": "Any data cache fills from either DRAM or MMIO in any NUMA node (same or diffe…
216 …"BriefDescription": "Any data cache fills from either cache of another CCX, DRAM or MMIO when the …
378 …"BriefDescription": "Software prefetch data cache fills from either DRAM or MMIO in the same NUMA …
396 …"BriefDescription": "Software prefetch data cache fills from either DRAM or MMIO in a different NU…
[all …]
/freebsd/sys/contrib/device-tree/Bindings/sram/
H A Dsram.yaml30 - mmio-sram
168 compatible = "mmio-sram";
195 // Therefore reserved section sub-nodes have to be added to the mmio-sram
199 compatible = "mmio-sram";
221 // Therefore a reserved section sub-node has to be added to the mmio-sram
224 compatible = "mmio-sram";
238 compatible = "mmio-sram";
252 compatible = "mmio-sram";
270 compatible = "rockchip,rk3288-pmu-sram", "mmio-sram";
284 compatible = "mmio-sram";
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Ddma.c14 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7915_init_tx_queues()
21 wed = &dev->mt76.mmio.wed; in mt7915_init_tx_queues()
87 if (is_mt7916(&dev->mt76) && mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7915_dma_config()
309 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && wed_reset) { in mt7915_dma_start()
323 mtk_wed_device_start(&dev->mt76.mmio.wed, wed_irq_mask); in mt7915_dma_start()
424 if (mtk_wed_device_active(&mdev->mmio.wed)) { in mt7915_dma_init()
494 if (mtk_wed_device_active(&mdev->mmio.wed) && is_mt7915(mdev)) { in mt7915_dma_init()
498 mdev->q_rx[MT_RXQ_MCU_WA].wed = &mdev->mmio.wed; in mt7915_dma_init()
511 if (mtk_wed_device_active(&mdev->mmio.wed) && in mt7915_dma_init()
512 mtk_wed_get_rx_capa(&mdev->mmio.wed)) { in mt7915_dma_init()
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen6/
H A Dload-store.json120 …"BriefDescription": "Demand data cache fills where data is returned from either DRAM or MMIO in th…
138 …"BriefDescription": "Demand data cache fills where data is returned from either DRAM or MMIO in a …
144 …"BriefDescription": "Demand data cache fills where data is returned from either DRAM or MMIO in th…
150 …he fills where data is returned from either cache of another CCX, DRAM or MMIO in a different NUMA…
192 …"BriefDescription": "Any data cache fills where data is returned from either DRAM or MMIO in the s…
210 …"BriefDescription": "Any data cache fills where data is returned from either DRAM or MMIO in a dif…
216 …"BriefDescription": "Any data cache fills where data is returned from either DRAM or MMIO in the s…
222 …he fills where data is returned from either cache of another CCX, DRAM or MMIO when the address wa…
384 …ware prefetch data cache fills where data is returned from either DRAM or MMIO in the same NUMA no…
402 …ware prefetch data cache fills where data is returned from either DRAM or MMIO in a different NUMA…
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_pci.c369 * cleaned up before we get here; see irqents and mmio below. in lkpi_pci_dev_release()
405 if (!TAILQ_EMPTY(&pdev->mmio)) { in lkpi_pci_dev_release()
407 "leaking mmio resources\n", __func__); in lkpi_pci_dev_release()
478 TAILQ_INIT(&pdev->mmio); in lkpifill_pci_dev()
947 struct pci_mmio_region *mmio, *p; in _lkpi_pci_iomap() local
964 TAILQ_FOREACH_SAFE(mmio, &pdev->mmio, next, p) { in _lkpi_pci_iomap()
965 if (mmio->type == type && mmio->rid == PCIR_BAR(bar)) { in _lkpi_pci_iomap()
966 return (mmio->res); in _lkpi_pci_iomap()
970 mmio = malloc(sizeof(*mmio), M_DEVBUF, M_WAITOK | M_ZERO); in _lkpi_pci_iomap()
971 mmio->rid = PCIR_BAR(bar); in _lkpi_pci_iomap()
[all …]
/freebsd/contrib/ofed/include/
H A Dudma_barrier.h48 cached/uncached/non-temporal CPU DRAM, uncached MMIO space in another
66 This should be placed before any MMIO store that could trigger the device
117 from the device - eg by reading a MMIO register or seeing that CPU memory is
174 /* Promptly flush writes to MMIO Write Cominbing memory.
181 If done while holding a lock then the ordering of MMIO writes across CPUs
223 /* Prevent WC writes from being re-ordered relative to other MMIO
240 /* Keep MMIO writes in order.
241 Currently we lack writel macros that universally guarantee MMIO
243 providers haphazardly open code writes to MMIO memory omitting even
247 is a stand in to indicate places where MMIO writes should be switched
/freebsd/sys/contrib/device-tree/src/arc/
H A Dhaps_hs.dts70 compatible = "virtio,mmio";
76 compatible = "virtio,mmio";
82 compatible = "virtio,mmio";
88 compatible = "virtio,mmio";
94 compatible = "virtio,mmio";
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_plat_services.h156 * Read MMIO 8 bits register
164 * Read MMIO 16 bits register
172 * Read MMIO 32 bits register
180 * Read MMIO 64 bits register
188 * Relaxed read MMIO 32 bits register
203 * Relaxed read MMIO 32 bits register
218 * Relaxed write to MMIO 32 bits register
232 * Write to MMIO 8 bits register
243 * Write to MMIO 16 bits register
254 * Write to MMIO 32 bits register
[all …]
/freebsd/sys/dev/asmc/
H A Dasmcmmio.c8 * MMIO backend for Apple SMC (T2 and later Macs).
32 * Wait for MMIO status register bit 5 (ready) with exponential backoff.
191 * GETINFO response layout (MMIO): in asmc_mmio_key_getinfo()
251 * Validate MMIO and detect T2.
264 device_printf(dev, "MMIO region too small (%jd < %d)\n", in asmc_mmio_probe()
272 device_printf(dev, "MMIO status register reads 0xFF\n"); in asmc_mmio_probe()
283 /* Read LDKN (firmware version) -- must be >= 2 for MMIO */ in asmc_mmio_probe()
286 device_printf(dev, "MMIO: failed to read LDKN key\n"); in asmc_mmio_probe()
291 device_printf(dev, "MMIO: LDKN=%d (need >= 2)\n", ldkn); in asmc_mmio_probe()
295 device_printf(dev, "MMIO: LDKN=%d, MMIO-capable SMC detected\n", ldkn); in asmc_mmio_probe()
/freebsd/sys/contrib/device-tree/Bindings/virtio/
H A Dmmio.txt7 - compatible: "virtio,mmio" compatibility string
23 does not access memory through an IOMMU, the "virtio,mmio"
30 compatible = "virtio,mmio";
39 compatible = "virtio,mmio";
H A Dmmio.yaml4 $id: http://devicetree.org/schemas/virtio/mmio.yaml#
18 const: virtio,mmio
51 compatible = "virtio,mmio";
60 compatible = "virtio,mmio";
/freebsd/sys/contrib/device-tree/Bindings/gpio/
H A Dgpio-mmio.yaml4 $id: http://devicetree.org/schemas/gpio/gpio-mmio.yaml#
7 title: Generic MMIO GPIO
23 - intel,ixp4xx-expansion-bus-mmio-gpio
85 to the first 0 .. ngpios lines. This is useful when the GPIO MMIO register
98 const: intel,ixp4xx-expansion-bus-mmio-gpio
155 compatible = "intel,ixp4xx-expansion-bus-mmio-gpio";
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dmediatek,mt8196-sys-clock.yaml66 - Manually enable parent clocks via direct MMIO writes to clock controllers
67 - Enable the FENC after the clock has been ungated via direct MMIO
74 direct access to the controller's own MMIO register space, in
75 addition to writing to the HWV's MMIO region.
78 access the HWV MMIO region in a syscon-like fashion, due to how the
H A Dmediatek,mt8196-clock.yaml71 - Manually enable parent clocks via direct MMIO writes to clock controllers
72 - Enable the FENC after the clock has been ungated via direct MMIO
79 direct access to the controller's own MMIO register space, in
80 addition to writing to the HWV's MMIO region.
83 access the HWV MMIO region in a syscon-like fashion, due to how the
/freebsd/sys/contrib/device-tree/Bindings/mtd/
H A Dti,am654-hbmc.txt8 MMIO access to attached flash devices
9 - ranges : Address translation from offset within CS to allocated MMIO
17 for mmio-mux binding details
29 compatible = "mmio-mux";
/freebsd/lib/libpmc/pmu-events/arch/x86/cascadelakex/
H A Duncore-other.json30 "BriefDescription": "MMIO reads. Derived from unc_cha_tor_inserts.ia_miss",
40 "BriefDescription": "MMIO reads",
50 "BriefDescription": "MMIO writes. Derived from unc_cha_tor_inserts.ia_miss",
60 "BriefDescription": "MMIO writes",
776 …y a unit on the main die (generally a core) or by another IIO unit to the MMIO space of a card on …
788 …y a unit on the main die (generally a core) or by another IIO unit to the MMIO space of a card on …
800 …y a unit on the main die (generally a core) or by another IIO unit to the MMIO space of a card on …
812 …y a unit on the main die (generally a core) or by another IIO unit to the MMIO space of a card on …
824 …"PublicDescription": "Counts every write request of 4 bytes of data made to the MMIO space of a ca…
836 …"PublicDescription": "Counts every write request of 4 bytes of data made to the MMIO space of a ca…
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/tremontx/
H A Duncore-other.json35 "BriefDescription": "MMIO reads. Derived from unc_cha_tor_inserts.ia_miss",
47 "BriefDescription": "MMIO reads",
59 "BriefDescription": "MMIO writes. Derived from unc_cha_tor_inserts.ia_miss",
71 "BriefDescription": "MMIO writes",
1375 "BriefDescription": "Data requested by the CPU : Core writing to Card's MMIO space",
1383 …"PublicDescription": "Data requested by the CPU : Core writing to Card's MMIO space : Number of DW…
1388 "BriefDescription": "Data requested by the CPU : Core writing to Card's MMIO space",
1396 …"PublicDescription": "Data requested by the CPU : Core writing to Card's MMIO space : Number of DW…
1401 "BriefDescription": "Data requested by the CPU : Core writing to Card's MMIO space",
1409 …"PublicDescription": "Data requested by the CPU : Core writing to Card's MMIO space : Number of DW…
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/skylakex/
H A Duncore-other.json30 "BriefDescription": "MMIO reads. Derived from unc_cha_tor_inserts.ia_miss",
40 "BriefDescription": "MMIO reads",
50 "BriefDescription": "MMIO writes. Derived from unc_cha_tor_inserts.ia_miss",
60 "BriefDescription": "MMIO writes",
755 …y a unit on the main die (generally a core) or by another IIO unit to the MMIO space of a card on …
767 …y a unit on the main die (generally a core) or by another IIO unit to the MMIO space of a card on …
779 …y a unit on the main die (generally a core) or by another IIO unit to the MMIO space of a card on …
791 …y a unit on the main die (generally a core) or by another IIO unit to the MMIO space of a card on …
803 …"PublicDescription": "Counts every write request of 4 bytes of data made to the MMIO space of a ca…
815 …"PublicDescription": "Counts every write request of 4 bytes of data made to the MMIO space of a ca…
[all …]

12345678910>>...21