Searched refs:xtensa (Results 1 - 131 of 131) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/
H A Dxtensa.c22 #include <engine/xtensa.h>
30 struct nvkm_xtensa *xtensa = (void *)object; _nvkm_xtensa_rd32() local
31 return nv_rd32(xtensa, xtensa->addr + addr); _nvkm_xtensa_rd32()
37 struct nvkm_xtensa *xtensa = (void *)object; _nvkm_xtensa_wr32() local
38 nv_wr32(xtensa, xtensa->addr + addr, data); _nvkm_xtensa_wr32()
58 struct nvkm_xtensa *xtensa = (void *)subdev; _nvkm_xtensa_intr() local
59 u32 unk104 = nv_ro32(xtensa, 0xd04); _nvkm_xtensa_intr()
60 u32 intr = nv_ro32(xtensa, 0xc20); _nvkm_xtensa_intr()
61 u32 chan = nv_ro32(xtensa, 0xc28); _nvkm_xtensa_intr()
62 u32 unk10c = nv_ro32(xtensa, 0xd0c); _nvkm_xtensa_intr()
65 nv_warn(xtensa, "Watchdog interrupt, engine hung.\n"); _nvkm_xtensa_intr()
66 nv_wo32(xtensa, 0xc20, intr); _nvkm_xtensa_intr()
67 intr = nv_ro32(xtensa, 0xc20); _nvkm_xtensa_intr()
69 nv_debug(xtensa, "Enabling FIFO_CTRL\n"); _nvkm_xtensa_intr()
70 nv_mask(xtensa, xtensa->addr + 0xd94, 0, xtensa->fifo_val); _nvkm_xtensa_intr()
80 struct nvkm_xtensa *xtensa; nvkm_xtensa_create_() local
85 xtensa = *pobject; nvkm_xtensa_create_()
89 nv_subdev(xtensa)->intr = _nvkm_xtensa_intr; nvkm_xtensa_create_()
90 xtensa->addr = addr; nvkm_xtensa_create_()
98 struct nvkm_xtensa *xtensa = (void *)object; _nvkm_xtensa_init() local
104 ret = nvkm_engine_init(&xtensa->base); _nvkm_xtensa_init()
108 if (!xtensa->gpu_fw) { _nvkm_xtensa_init()
110 xtensa->addr >> 12); _nvkm_xtensa_init()
114 nv_warn(xtensa, "unable to load firmware %s\n", name); _nvkm_xtensa_init()
119 nv_warn(xtensa, "firmware %s too large\n", name); _nvkm_xtensa_init()
125 &xtensa->gpu_fw); _nvkm_xtensa_init()
131 nv_debug(xtensa, "Loading firmware to address: 0x%llx\n", _nvkm_xtensa_init()
132 xtensa->gpu_fw->addr); _nvkm_xtensa_init()
135 nv_wo32(xtensa->gpu_fw, i * 4, *((u32 *)fw->data + i)); _nvkm_xtensa_init()
139 nv_wo32(xtensa, 0xd10, 0x1fffffff); /* ?? */ _nvkm_xtensa_init()
140 nv_wo32(xtensa, 0xd08, 0x0fffffff); /* ?? */ _nvkm_xtensa_init()
142 nv_wo32(xtensa, 0xd28, xtensa->unkd28); /* ?? */ _nvkm_xtensa_init()
143 nv_wo32(xtensa, 0xc20, 0x3f); /* INTR */ _nvkm_xtensa_init()
144 nv_wo32(xtensa, 0xd84, 0x3f); /* INTR_EN */ _nvkm_xtensa_init()
146 nv_wo32(xtensa, 0xcc0, xtensa->gpu_fw->addr >> 8); /* XT_REGION_BASE */ _nvkm_xtensa_init()
147 nv_wo32(xtensa, 0xcc4, 0x1c); /* XT_REGION_SETUP */ _nvkm_xtensa_init()
148 nv_wo32(xtensa, 0xcc8, xtensa->gpu_fw->size >> 8); /* XT_REGION_LIMIT */ _nvkm_xtensa_init()
150 tmp = nv_rd32(xtensa, 0x0); _nvkm_xtensa_init()
151 nv_wo32(xtensa, 0xde0, tmp); /* SCRATCH_H2X */ _nvkm_xtensa_init()
153 nv_wo32(xtensa, 0xce8, 0xf); /* XT_REGION_SETUP */ _nvkm_xtensa_init()
155 nv_wo32(xtensa, 0xc20, 0x3f); /* INTR */ _nvkm_xtensa_init()
156 nv_wo32(xtensa, 0xd84, 0x3f); /* INTR_EN */ _nvkm_xtensa_init()
163 struct nvkm_xtensa *xtensa = (void *)object; _nvkm_xtensa_fini() local
165 nv_wo32(xtensa, 0xd84, 0); /* INTR_EN */ _nvkm_xtensa_fini()
166 nv_wo32(xtensa, 0xd94, 0); /* FIFO_CTRL */ _nvkm_xtensa_fini()
169 nvkm_gpuobj_ref(NULL, &xtensa->gpu_fw); _nvkm_xtensa_fini()
171 return nvkm_engine_fini(&xtensa->base, suspend); _nvkm_xtensa_fini()
/linux-4.1.27/arch/xtensa/
H A DMakefile27 ifneq ($(COMPILE_ARCH), xtensa)
61 vardirs := $(patsubst %,arch/xtensa/variants/%/,$(variant-y))
62 plfdirs := $(patsubst %,arch/xtensa/platforms/%/,$(platform-y))
74 buildvar := $(shell test -e $(srctree)/arch/xtensa/variants/$(VARIANT)/Makefile && echo arch/xtensa/variants/$(VARIANT)/)
75 buildplf := $(shell test -e $(srctree)/arch/xtensa/platforms/$(PLATFORM)/Makefile && echo arch/xtensa/platforms/$(PLATFORM)/)
81 head-y := arch/xtensa/kernel/head.o
82 core-y += arch/xtensa/kernel/ arch/xtensa/mm/
85 libs-y += arch/xtensa/lib/ $(LIBGCC)
86 drivers-$(CONFIG_OPROFILE) += arch/xtensa/oprofile/
89 core-$(CONFIG_OF) += arch/xtensa/boot/dts/
92 boot := arch/xtensa/boot
105 @echo '* zImage - Compressed kernel image (arch/xtensa/boot/images/zImage.*)'
/linux-4.1.27/arch/xtensa/include/asm/
H A Dmodule.h2 * include/asm-xtensa/module.h
16 #define MODULE_ARCH_VERMAGIC "xtensa-" __stringify(XCHAL_CORE_ID) " "
H A Dbugs.h2 * include/asm-xtensa/bugs.h
H A Dhw_irq.h2 * include/asm-xtensa/hw_irq.h
H A Dsegment.h2 * include/asm-xtensa/segment.h
H A Dserial.h2 * include/asm-xtensa/serial.h
H A Dsignal.h2 * include/asm-xtensa/signal.h
H A Dtypes.h2 * include/asm-xtensa/types.h
H A Ducontext.h2 * include/asm-xtensa/ucontext.h
H A Dvga.h2 * include/asm-xtensa/vga.h
H A Dcurrent.h2 * include/asm-xtensa/current.h
H A Dparam.h2 * include/asm-xtensa/param.h
H A Dshmparam.h2 * include/asm-xtensa/shmparam.h
H A Duser.h2 * include/asm-xtensa/user.h
H A Dcache.h2 * include/asm-xtensa/cache.h
H A Dftrace.h2 * arch/xtensa/include/asm/ftrace.h
H A Dstacktrace.h2 * arch/xtensa/include/asm/stacktrace.h
H A Dstring.h2 * include/asm-xtensa/string.h
13 /* We should optimize these. See arch/xtensa/lib/strncpy_user.S */
H A Dirq.h2 * include/asm-xtensa/irq.h
H A Dtlb.h2 * include/asm-xtensa/tlb.h
H A Dtraps.h2 * arch/xtensa/include/asm/traps.h
H A Dbootparam.h2 * include/asm-xtensa/bootparam.h
H A Ddelay.h2 * include/asm-xtensa/delay.h
H A Ddma.h2 * include/asm-xtensa/dma.h
H A Dhighmem.h2 * include/asm-xtensa/highmem.h
H A Dio.h2 * include/asm-xtensa/io.h
H A Dpci.h2 * linux/include/asm-xtensa/pci.h
H A Dpgalloc.h2 * include/asm-xtensa/pgalloc.h
H A Dptrace.h2 * include/asm-xtensa/ptrace.h
H A Dinitialize_mmu.h2 * arch/xtensa/include/asm/initialize_mmu.h
49 * For details see Documentation/xtensa/atomctl.txt
H A Dpci-bridge.h2 * include/asm-xtensa/pci-bridge.h
H A Drwsem.h2 * include/asm-xtensa/rwsem.h
H A Dasmmacro.h2 * include/asm-xtensa/asmmacro.h
H A Dcacheasm.h2 * include/asm-xtensa/cacheasm.h
H A Dspinlock.h2 * include/asm-xtensa/spinlock.h
H A Dthread_info.h2 * include/asm-xtensa/thread_info.h
H A Dvectors.h2 * arch/xtensa/include/asm/xchal_vaddr_remap.h
H A Dbitops.h2 * include/asm-xtensa/bitops.h
H A Dchecksum.h2 * include/asm-xtensa/checksum.h
H A Dcoprocessor.h2 * include/asm-xtensa/coprocessor.h
H A Ddma-mapping.h2 * include/asm-xtensa/dma-mapping.h
H A Delf.h2 * include/asm-xtensa/elf.h
H A Dpage.h2 * include/asm-xtensa/page.h
H A Duaccess.h2 * include/asm-xtensa/uaccess.h
37 * arch/xtensa/kernel/sys.S for usage.
H A Datomic.h2 * include/asm-xtensa/atomic.h
H A Dprocessor.h2 * include/asm-xtensa/processor.h
H A Dpgtable.h2 * include/asm-xtensa/pgtable.h
/linux-4.1.27/arch/xtensa/boot/boot-redboot/
H A DMakefile8 OBJCOPY_ARGS := -O elf32-xtensa-be
10 OBJCOPY_ARGS := -O elf32-xtensa-le
18 LIBS := arch/xtensa/boot/lib/lib.a arch/xtensa/lib/lib.a
29 $(Q)$(LD) $(LD_ARGS) -o $@ $^ -L/xtensa-elf/lib $(LIBGCC)
/linux-4.1.27/arch/xtensa/boot/boot-elf/
H A DMakefile8 OBJCOPY_ARGS := -O elf32-xtensa-be
10 OBJCOPY_ARGS := -O elf32-xtensa-le
H A Dboot.lds.S2 * linux/arch/xtensa/boot/boot-elf/boot.lds.S
16 OUTPUT_ARCH(xtensa)
H A Dbootstrap.S2 * arch/xtensa/boot/boot-elf/bootstrap.S
/linux-4.1.27/arch/xtensa/boot/dts/
H A DMakefile2 # arch/xtensa/boot/dts/Makefile
/linux-4.1.27/arch/xtensa/include/uapi/asm/
H A Dpoll.h2 * include/asm-xtensa/poll.h
H A Dsetup.h2 * include/asm-xtensa/setup.h
H A Dparam.h2 * include/asm-xtensa/param.h
H A Dsigcontext.h2 * include/asm-xtensa/sigcontext.h
H A Dtypes.h2 * include/asm-xtensa/types.h
H A Dipcbuf.h2 * include/asm-xtensa/ipcbuf.h
H A Dsockios.h2 * include/asm-xtensa/sockios.h
H A Dposix_types.h2 * include/asm-xtensa/posix_types.h
H A Dsembuf.h2 * include/asm-xtensa/sembuf.h
H A Dmsgbuf.h2 * include/asm-xtensa/msgbuf.h
H A Dptrace.h2 * include/asm-xtensa/ptrace.h
H A Dshmbuf.h2 * include/asm-xtensa/shmbuf.h
H A Dsocket.h2 * include/asm-xtensa/socket.h
H A Dstat.h2 * include/asm-xtensa/stat.h
H A Dswab.h2 * include/asm-xtensa/swab.h
H A Dsignal.h2 * include/asm-xtensa/signal.h
H A Dioctls.h2 * include/asm-xtensa/ioctls.h
H A Dmman.h2 * include/asm-xtensa/mman.h
H A Dtermbits.h2 * include/asm-xtensa/termbits.h
/linux-4.1.27/arch/xtensa/platforms/iss/include/platform/
H A Dhardware.h2 * include/asm-xtensa/platform-iss/hardware.h
H A Dsimcall.h2 * include/asm-xtensa/platform-iss/simcall.h
/linux-4.1.27/arch/xtensa/platforms/xtfpga/include/platform/
H A Dserial.h2 * arch/xtensa/platform/xtavnet/include/platform/serial.h
H A Dlcd.h2 * arch/xtensa/platform/xtavnet/include/platform/lcd.h
H A Dhardware.h2 * arch/xtensa/platform/xtavnet/include/platform/hardware.h
/linux-4.1.27/arch/xtensa/kernel/
H A Dplatform.c2 * arch/xtensa/kernel/platform.c
28 * (Please, refer to include/asm-xtensa/platform.h for more information)
H A Dirq.c2 * linux/arch/xtensa/kernel/irq.c
22 #include <linux/irqchip/xtensa-mx.h>
23 #include <linux/irqchip/xtensa-pic.h>
H A DMakefile11 obj-$(CONFIG_KGDB) += xtensa-stub.o
H A Dstacktrace.c2 * arch/xtensa/kernel/stacktrace.c
H A Dpci-dma.c2 * arch/xtensa/kernel/pci-dma.c
H A Dsyscall.c2 * arch/xtensa/kernel/syscall.c
H A Dxtensa_ksyms.c2 * arch/xtensa/kernel/xtensa_ksyms.c
H A Dtime.c2 * arch/xtensa/kernel/time.c
H A Dvmlinux.lds.S2 * arch/xtensa/kernel/vmlinux.lds.S
24 OUTPUT_ARCH(xtensa)
H A Dasm-offsets.c2 * arch/xtensa/kernel/asm-offsets.c
H A Dmodule.c2 * arch/xtensa/kernel/module.c
H A Dcoprocessor.S2 * arch/xtensa/kernel/coprocessor.S
H A Dhead.S2 * arch/xtensa/kernel/head.S
H A Dpci.c2 * arch/xtensa/kernel/pci.c
H A Dprocess.c2 * arch/xtensa/kernel/process.c
H A Dtraps.c2 * arch/xtensa/kernel/traps.c
H A Dalign.S2 * arch/xtensa/kernel/align.S
H A Dsetup.c2 * arch/xtensa/kernel/setup.c
H A Dsignal.c2 * arch/xtensa/kernel/signal.c
H A Dvectors.S2 * arch/xtensa/kernel/vectors.S
H A Dentry.S2 * arch/xtensa/kernel/entry.S
/linux-4.1.27/drivers/irqchip/
H A Dirq-xtensa-pic.c81 .name = "xtensa",
108 IRQCHIP_DECLARE(xtensa_irq_chip, "cdns,xtensa-pic", xtensa_pic_init);
H A Dirq-xtensa-mx.c133 .name = "xtensa-mx",
164 IRQCHIP_DECLARE(xtensa_mx_irq_chip, "cdns,xtensa-mx", xtensa_mx_init);
/linux-4.1.27/arch/xtensa/boot/
H A DMakefile2 # arch/xtensa/boot/Makefile
/linux-4.1.27/sound/soc/
H A DMakefile40 obj-$(CONFIG_SND_SOC) += xtensa/
/linux-4.1.27/drivers/gpio/
H A Dgpio-xtensa.c40 #error GPIO32 option is not enabled for your xtensa core variant
159 .name = "xtensa-gpio",
168 pdev = platform_device_register_simple("xtensa-gpio", 0, NULL, 0); xtensa_gpio_init()
/linux-4.1.27/arch/xtensa/platforms/iss/
H A Dsetup.c3 * arch/xtensa/platform-iss/setup.c
H A Dconsole.c2 * arch/xtensa/platforms/iss/console.c
H A Dsimdisk.c2 * arch/xtensa/platforms/iss/simdisk.c
H A Dnetwork.c3 * arch/xtensa/platforms/iss/network.c
/linux-4.1.27/arch/xtensa/mm/
H A Dmmu.c2 * xtensa mmu stuff
H A Dcache.c2 * arch/xtensa/mm/cache.c
H A Dfault.c3 * arch/xtensa/mm/fault.c
H A Dtlb.c2 * arch/xtensa/mm/tlb.c
H A Dinit.c2 * arch/xtensa/mm/init.c
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/bsp/
H A Dg84.c25 #include <engine/xtensa.h>
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/vp/
H A Dg84.c25 #include <engine/xtensa.h>
/linux-4.1.27/arch/xtensa/lib/
H A Dusercopy.S2 * arch/xtensa/lib/usercopy.S
4 * Copy to/from user space (derived from arch/xtensa/lib/hal/memcopy.S)
6 * DO NOT COMBINE this function with <arch/xtensa/lib/hal/memcopy.S>.
H A Dmemset.S2 * arch/xtensa/lib/memset.S
H A Dstrnlen_user.S2 * arch/xtensa/lib/strnlen_user.S
H A Dpci-auto.c2 * arch/xtensa/lib/pci-auto.c
H A Dstrncpy_user.S2 * arch/xtensa/lib/strncpy_user.S
H A Dmemcopy.S2 * arch/xtensa/lib/hal/memcopy.S -- Core HAL library functions
/linux-4.1.27/drivers/spi/
H A DMakefile91 obj-$(CONFIG_SPI_XTENSA_XTFPGA) += spi-xtensa-xtfpga.o
H A Dspi-xtensa-xtfpga.c169 MODULE_DESCRIPTION("xtensa xtfpga SPI driver");
/linux-4.1.27/arch/xtensa/platforms/xt2000/
H A Dsetup.c2 * arch/xtensa/platforms/xt2000/setup.c
/linux-4.1.27/arch/xtensa/platforms/xtfpga/
H A Dsetup.c3 * arch/xtensa/platform/xtavnet/setup.c
171 of_find_compatible_node(NULL, NULL, "cdns,xtensa-cpu"); platform_calibrate_ccount()
/linux-4.1.27/arch/xtensa/variants/dc233c/include/variant/
H A Dcore.h2 * xtensa/config/core-isa.h -- HAL definitions that are dependent on Xtensa
5 * See <xtensa/config/core.h>, which includes this file, for more details.
209 /* Number of encoded cache attr bits (see <xtensa/hal.h> for decoded bits): */
H A Dtie.h89 * dbnum = unique target number f/debug (see <xtensa-libdb-macros.h>)
/linux-4.1.27/arch/xtensa/variants/dc232b/include/variant/
H A Dtie.h70 * dbnum = unique target number f/debug (see <xtensa-libdb-macros.h>)
H A Dcore.h163 /* Number of encoded cache attr bits (see <xtensa/hal.h> for decoded bits): */
/linux-4.1.27/arch/xtensa/variants/fsf/include/variant/
H A Dcore.h156 /* Number of encoded cache attr bits (see <xtensa/hal.h> for decoded bits): */
336 /* See <xtensa/config/core-matmap.h> header file for more details. */
/linux-4.1.27/drivers/net/ethernet/natsemi/
H A Dxtsonic.c6 * Marc Gauthier <marc@linux-xtensa.org>
/linux-4.1.27/scripts/mod/
H A Dmodpost.c832 ".xt.prop", /* xtensa */
833 ".xt.lit", /* xtensa */

Completed in 1074 milliseconds