Home
last modified time | relevance | path

Searched +full:mips +full:- +full:cdmm (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/bus/
Dmti,mips-cdmm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/bus/mti,mips-cdmm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MIPS Common Device Memory Map
10 Defines a location of the MIPS Common Device Memory Map registers.
13 - James Hogan <jhogan@kernel.org>
17 const: mti,mips-cdmm
22 used to map the MIPS CDMM registers block.
26 - compatible
[all …]
/kernel/linux/linux-4.19/drivers/bus/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
25 depends on ARM || ARM64 || MIPS
28 Driver for the Broadcom Set Top Box System-on-a-chip internal bus
49 bool "MIPS Common Device Memory Map (CDMM) Driver"
52 Driver needed for the MIPS Common Device Memory Map bus in MIPS
53 cores. This bus is for per-CPU tightly coupled devices such as the
56 For this to work, either your bootloader needs to enable the CDMM
59 asm/cdmm.h).
95 tristate "Simple Power-Managed Bus Driver"
156 with the peripherals in the FPGA of the TS-4600 SoM.
[all …]
Dmips_cdmm.c2 * Bus driver for MIPS Common Device Memory Map (CDMM).
4 * Copyright (C) 2014-2015 Imagination Technologies Ltd.
19 #include <asm/cdmm.h>
51 for (; table->type; ++table) { in mips_cdmm_lookup()
52 ret = (dev->type == table->type); in mips_cdmm_lookup()
65 return mips_cdmm_lookup(cdrv->id_table, cdev) != NULL; in mips_cdmm_match()
73 retval = add_uevent_var(env, "CDMM_CPU=%u", cdev->cpu); in mips_cdmm_uevent()
77 retval = add_uevent_var(env, "CDMM_TYPE=0x%02x", cdev->type); in mips_cdmm_uevent()
81 retval = add_uevent_var(env, "CDMM_REV=%u", cdev->rev); in mips_cdmm_uevent()
85 retval = add_uevent_var(env, "MODALIAS=mipscdmm:t%02X", cdev->type); in mips_cdmm_uevent()
[all …]
/kernel/linux/linux-5.10/drivers/bus/
Dmips_cdmm.c2 * Bus driver for MIPS Common Device Memory Map (CDMM).
4 * Copyright (C) 2014-2015 Imagination Technologies Ltd.
21 #include <asm/cdmm.h>
53 for (; table->type; ++table) { in mips_cdmm_lookup()
54 ret = (dev->type == table->type); in mips_cdmm_lookup()
67 return mips_cdmm_lookup(cdrv->id_table, cdev) != NULL; in mips_cdmm_match()
75 retval = add_uevent_var(env, "CDMM_CPU=%u", cdev->cpu); in mips_cdmm_uevent()
79 retval = add_uevent_var(env, "CDMM_TYPE=0x%02x", cdev->type); in mips_cdmm_uevent()
83 retval = add_uevent_var(env, "CDMM_REV=%u", cdev->rev); in mips_cdmm_uevent()
87 retval = add_uevent_var(env, "MODALIAS=mipscdmm:t%02X", cdev->type); in mips_cdmm_uevent()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0
34 depends on ARM || ARM64 || MIPS
37 Driver for the Broadcom Set Top Box System-on-a-chip internal bus
42 bool "Baikal-T1 APB-bus driver"
46 Baikal-T1 AXI-APB bridge is used to access the SoC subsystem CSRs.
53 errors counter. The counter and the APB-bus operations timeout can be
57 bool "Baikal-T1 AXI-bus driver"
61 AXI3-bus is the main communication bus connecting all high-speed
62 peripheral IP-cores with RAM controller and with MIPS P5600 cores on
63 Baikal-T1 SoC. Traffic arbitration is done by means of DW AMBA 3 AXI
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/dts/img/
Dboston.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/clock/boston-clock.h>
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/interrupt-controller/mips-gic.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
15 stdout-path = "uart0:115200";
23 #address-cells = <1>;
[all …]
/kernel/linux/linux-4.19/arch/mips/boot/dts/img/
Dboston.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/clock/boston-clock.h>
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/interrupt-controller/mips-gic.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
15 stdout-path = "uart0:115200";
23 #address-cells = <1>;
[all …]
/kernel/linux/linux-5.10/arch/mips/kernel/
Dsetup.c27 #include <linux/dma-map-ops.h>
37 #include <asm/cdmm.h>
40 #include <asm/dma-coherence.h>
43 #include <asm/smp-ops.h>
80 unsigned long mips_io_port_base = -1;
165 * 64-bits values if the kernel has been built in pure in init_initrd()
166 * 32-bit. We need also to switch from KSEG0 to XKPHYS in init_initrd()
212 unsigned long size = initrd_end - initrd_start; in finalize_initrd()
232 printk(KERN_CONT " - disabling initrd\n"); in finalize_initrd()
273 * for bootmem setup initially, rely on the end-of-kernel-code in bootmem_init()
[all …]
/kernel/linux/linux-4.19/arch/mips/kernel/
Dsetup.c28 #include <linux/dma-contiguous.h>
36 #include <asm/cdmm.h>
39 #include <asm/dma-coherence.h>
42 #include <asm/smp-ops.h>
79 unsigned long mips_io_port_base = -1;
102 if (start + size - 1 == PHYS_ADDR_MAX) in add_memory_region()
103 --size; in add_memory_region()
118 if (entry->type != type) in add_memory_region()
121 if (start + size < entry->addr) in add_memory_region()
124 if (entry->addr + entry->size < start) in add_memory_region()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dmod_devicetable.h1 /* SPDX-License-Identifier: GPL-2.0 */
20 * struct pci_device_id - PCI device ID structure
30 * @class_mask: Limit which sub-fields of the class field are compared.
41 __u32 class, class_mask; /* (class,subclass,prog-if) triplet */
62 * Device table entry for "new style" table-driven USB drivers.
70 * Terminate the driver's table with an all-zeroes entry.
75 * struct usb_device_id - identifies USB devices for probing and hotplugging
83 * @idProduct: Vendor-assigned product ID.
84 * @bcdDevice_lo: Low end of range of vendor-assigned product version numbers.
91 * or be vendor-specific. Device classes specify behavior of all
[all …]
/kernel/linux/linux-4.19/include/linux/
Dmod_devicetable.h1 /* SPDX-License-Identifier: GPL-2.0 */
22 __u32 class, class_mask; /* (class,subclass,prog-if) triplet */
43 * Device table entry for "new style" table-driven USB drivers.
51 * Terminate the driver's table with an all-zeroes entry.
56 * struct usb_device_id - identifies USB devices for probing and hotplugging
64 * @idProduct: Vendor-assigned product ID.
65 * @bcdDevice_lo: Low end of range of vendor-assigned product version numbers.
72 * or be vendor-specific. Device classes specify behavior of all
78 * or be vendor-specific. Interface classes specify behavior only
83 * fixed interface numbers to differentiate between vendor-specific
[all …]
/kernel/linux/linux-5.10/drivers/tty/
Dmips_ejtag_fdc.c1 // SPDX-License-Identifier: GPL-2.0
3 * TTY driver for MIPS EJTAG Fast Debug Channels.
5 * Copyright (C) 2007-2015 Imagination Technologies Ltd
31 #include <asm/cdmm.h>
87 * struct mips_ejtag_fdc_tty_port - Wrapper struct for FDC tty_port.
117 * struct mips_ejtag_fdc_tty - Driver data for FDC as a whole.
123 * @ports: Per-channel data.
174 __raw_writel(data, priv->reg + offs); in mips_ejtag_fdc_write()
180 return __raw_readl(priv->reg + offs); in mips_ejtag_fdc_read()
186 * struct fdc_word - FDC word encoding some number of bytes of data.
[all …]
/kernel/linux/linux-4.19/drivers/tty/
Dmips_ejtag_fdc.c1 // SPDX-License-Identifier: GPL-2.0
3 * TTY driver for MIPS EJTAG Fast Debug Channels.
5 * Copyright (C) 2007-2015 Imagination Technologies Ltd
31 #include <asm/cdmm.h>
87 * struct mips_ejtag_fdc_tty_port - Wrapper struct for FDC tty_port.
117 * struct mips_ejtag_fdc_tty - Driver data for FDC as a whole.
123 * @ports: Per-channel data.
174 __raw_writel(data, priv->reg + offs); in mips_ejtag_fdc_write()
180 return __raw_readl(priv->reg + offs); in mips_ejtag_fdc_read()
186 * struct fdc_word - FDC word encoding some number of bytes of data.
[all …]
/kernel/linux/linux-5.10/arch/mips/kvm/
Dvz.c6 * KVM/MIPS: Support for hardware virtualization extensions
8 * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved.
115 if (kvm_mips_guest_has_msa(&vcpu->arch)) in kvm_vz_config5_guest_wrmask()
122 if (kvm_mips_guest_has_fpu(&vcpu->arch)) { in kvm_vz_config5_guest_wrmask()
140 * Config1: M, [MMUSize-1, C2, MD, PC, WR, CA], FP
143 * VInt, SP, CDMM, MT, SM, TL]
158 if (kvm_mips_guest_can_have_fpu(&vcpu->arch)) in kvm_vz_config1_user_wrmask()
175 if (kvm_mips_guest_can_have_msa(&vcpu->arch)) in kvm_vz_config3_user_wrmask()
205 set_bit(priority, &vcpu->arch.pending_exceptions); in kvm_vz_queue_irq()
206 clear_bit(priority, &vcpu->arch.pending_exceptions_clr); in kvm_vz_queue_irq()
[all …]
/kernel/linux/linux-4.19/arch/mips/kvm/
Dvz.c6 * KVM/MIPS: Support for hardware virtualization extensions
8 * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved.
112 if (kvm_mips_guest_has_msa(&vcpu->arch)) in kvm_vz_config5_guest_wrmask()
119 if (kvm_mips_guest_has_fpu(&vcpu->arch)) { in kvm_vz_config5_guest_wrmask()
132 * Config1: M, [MMUSize-1, C2, MD, PC, WR, CA], FP
135 * VInt, SP, CDMM, MT, SM, TL]
150 if (kvm_mips_guest_can_have_fpu(&vcpu->arch)) in kvm_vz_config1_user_wrmask()
167 if (kvm_mips_guest_can_have_msa(&vcpu->arch)) in kvm_vz_config3_user_wrmask()
191 set_bit(priority, &vcpu->arch.pending_exceptions); in kvm_vz_queue_irq()
192 clear_bit(priority, &vcpu->arch.pending_exceptions_clr); in kvm_vz_queue_irq()
[all …]