Home
last modified time | relevance | path

Searched +full:c +full:- +full:sky (Results 1 – 25 of 80) sorted by relevance

1234

/linux/drivers/irqchip/
H A Dirq-csky-apb-intc.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
44 * IFR_offset is NEN_offset - 8.
50 unsigned long ifr = ct->regs.mask - 8; in irq_ck_mask_set_bit()
51 u32 mask = d->mask; in irq_ck_mask_set_bit()
53 guard(raw_spinlock)(&gc->lock); in irq_ck_mask_set_bit()
54 *ct->mask_cache |= mask; in irq_ck_mask_set_bit()
55 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_ck_mask_set_bit()
65 gc->reg_base = reg_base; in ck_set_gc()
66 gc->chip_types[0].regs.mask = mask_reg; in ck_set_gc()
[all …]
H A Dirq-csky-mpintc.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
46 #define IRQ_OFFSET(irq) ((irq < COMM_IRQ_BASE) ? irq : (irq - COMM_IRQ_BASE))
85 setup_trigger(d->hwirq, __trigger[d->hwirq]); in csky_mpintc_unmask()
87 writel_relaxed(d->hwirq, reg_base + INTCL_SENR); in csky_mpintc_unmask()
94 writel_relaxed(d->hwirq, reg_base + INTCL_CENR); in csky_mpintc_mask()
101 writel_relaxed(d->hwirq, reg_base + INTCL_CACR); in csky_mpintc_eoi()
108 __trigger[d->hwirq] = 0; in csky_mpintc_set_type()
111 __trigger[d->hwirq] = 1; in csky_mpintc_set_type()
114 __trigger[d->hwirq] = 2; in csky_mpintc_set_type()
[all …]
/linux/Documentation/devicetree/bindings/timer/
H A Dcsky,mptimer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: C-SKY Multi-processors Timer
10 - Flavio Suligoi <f.suligoi@asem.it>
11 - Guo Ren <guoren@kernel.org>
14 C-SKY multi-processors timer is designed for C-SKY SMP system and the regs are
15 accessed by cpu co-processor 4 registers with mtcr/mfcr.
17 - PTIM_CTLR "cr<0, 14>" Control reg to start reset timer.
18 - PTIM_TSR "cr<1, 14>" Interrupt cleanup status reg.
[all …]
/linux/arch/csky/kernel/
H A Dperf_callchain.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd.
18 if (unlikely(frame->fp < low || frame->fp > high)) in unwind_frame_kernel()
19 return -EPERM; in unwind_frame_kernel()
21 if (kstack_end((void *)frame->fp) || frame->fp & 0x3) in unwind_frame_kernel()
22 return -EPERM; in unwind_frame_kernel()
24 *frame = *(struct stackframe *)frame->fp; in unwind_frame_kernel()
26 if (__kernel_text_address(frame->lr)) { in unwind_frame_kernel()
29 frame->lr = ftrace_graph_ret_addr(NULL, &graph, frame->lr, in unwind_frame_kernel()
39 perf_callchain_store(entry, fr->lr); in walk_stackframe()
[all …]
H A Dcpu-probe.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
17 seq_printf(m, "C-SKY CPU model : %s\n", CSKYCPU_DEF_NAME); in percpu_print()
32 /* cpid index is 31-28, reset */ in percpu_print()
54 seq_printf(m, "arch-version : %s\n", CSKY_ARCH_VERSION); in c_show()
H A Dtime.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
H A Dirq.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
H A Dpower.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
/linux/drivers/media/usb/as102/
H A Das102_usb_drv.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Abilis Systems Single DVB-T Receiver
4 * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
5 * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.com>
16 #define AS102_REFERENCE_DESIGN "Abilis Systems DVB-Titan"
30 /* nBox: nBox DVB-T Dongle */
31 #define AS102_NBOX_DVBT_DONGLE_NAME "nBox DVB-T Dongle"
35 /* Sky Italia: Digital Key (green led) */
36 #define AS102_SKY_IT_DIGITAL_KEY_NAME "Sky IT Digital Key (green led)"
44 struct as10x_cmd_t c; member
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dcsky,mpintc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/csky,mpintc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: C-SKY Multi-processors Interrupt Controller
10 - Guo Ren <guoren@kernel.org>
13 C-SKY Multi-processors Interrupt Controller is designed for ck807/ck810/ck860
14 SMP soc, and it also could be used in non-SMP system.
17 0-15 : software irq, and we use 15 as our IPI_IRQ.
18 16-31 : private irq, and we use 16 as the co-processor timer.
[all …]
H A Dcsky,apb-intc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/csky,apb-intc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: C-SKY APB Interrupt Controller
10 - Guo Ren <guoren@kernel.org>
13 C-SKY APB Interrupt Controller is a simple soc interrupt controller on the apb
16 - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums.
17 - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported.
18 - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums.
[all …]
/linux/Documentation/devicetree/bindings/csky/
H A Dpmu.txt2 C-SKY Performance Monitor Units
5 C-SKY Performance Monitor is designed for ck807/ck810/ck860 SMP soc and
16 - compatible
19 Definition: must be "csky,csky-pmu"
20 - interrupts
24 - count-width
30 ---------
31 #include <dt-bindings/interrupt-controller/irq.h>
33 pmu: performace-monitor {
34 compatible = "csky,csky-pmu";
[all …]
/linux/sound/pci/ice1712/
H A Daureon.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 * Copyright (c) 2003 Takashi Iwai <tiwai@suse.de>
13 #define AUREON_DEVICE_DESC "{Terratec,Aureon 5.1 Sky},"\
20 #define VT1724_SUBDEVICE_AUREON51_SKY 0x3b154711 /* Aureon 5.1 Sky */
/linux/drivers/clocksource/
H A Dtimer-mp-csky.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
11 #include "timer-of.h"
68 to->clkevt.event_handler(&to->clkevt); in csky_timer_interrupt()
80 to->clkevt.cpumask = cpumask_of(cpu); in csky_mptimer_starting_cpu()
84 clockevents_config_and_register(&to->clkevt, timer_of_rate(to), in csky_mptimer_starting_cpu()
105 static u64 clksrc_read(struct clocksource *c) in clksrc_read() argument
124 * Csky_mptimer is designed for C-SKY SMP multi-processors and in csky_mptimer_init()
129 * mmio map style. So we needn't mmio-address in dts, but we still in csky_mptimer_init()
137 return -EINVAL; in csky_mptimer_init()
[all …]
/linux/arch/csky/mm/
H A Dtlb.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
13 * One C-SKY MMU TLB entry contain two PFN/page entry, ie:
14 * 1VPN -> 2PFN
41 * need change asid field to invalid I-utlb & D-utlb.
55 unsigned long newpid = cpu_asid(vma->vm_mm); in flush_tlb_range()
58 end += TLB_ENTRY_SIZE - 1; in flush_tlb_range()
98 end += TLB_ENTRY_SIZE - 1; in flush_tlb_kernel_range()
137 int newpid = cpu_asid(vma->vm_mm); in flush_tlb_page()
H A Dioremap.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
13 } else if (file->f_flags & O_SYNC) { in phys_mem_access_prot()
/linux/Documentation/admin-guide/media/
H A Dtechnisat.rst1 .. SPDX-License-Identifier: GPL-2.0
13 -----------------------------
19 .. code-block:: none
21 lspci -vvv for a PCI device (lsusb -vvv for an USB device) will show you for example:
29 -------------------
37 (except ``Simple tuner support`` for ATSC 3rd generation only -> see case 9 please).
41 - Main module part:
45 #) => ``Technisat/B2C2 Air/Sky/Cable2PC PCI`` (PCI card) or
46 #) => ``Technisat/B2C2 Air/Sky/Cable2PC USB`` (USB 1.1 adapter)
50 - Frontend / Tuner / Demodulator module part:
[all …]
/linux/arch/csky/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
41 select ARCH_WANT_FRAME_POINTERS if !CPU_CK610 && $(cc-option,-mbacktrace)
149 In kernel we parse the *regs->pc to determine whether to send SIGTRAP or not.
184 # VA_BITS - PAGE_SHIFT - 3
234 prompt "C-SKY PMU type"
264 bool "Tightly-Coupled/Sram Memory"
267 The implementation are not only used by TCM (Tightly-Coupled Memory)
270 re-used directly.
314 bool "Symmetric Multi-Processing (SMP) support for C-SKY"
319 int "Maximum number of CPUs (2-32)"
[all …]
/linux/arch/csky/abiv1/
H A Dbswapsi.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
H A Dbswapdi.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
/linux/arch/csky/abiv2/
H A Dstrksyms.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
/linux/tools/perf/arch/csky/include/
H A Dperf_regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd.
11 #define PERF_REGS_MASK ((1ULL << PERF_REG_CSKY_MAX) - 1)
/linux/tools/perf/arch/riscv/include/
H A Dperf_regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd. */
11 #define PERF_REGS_MASK ((1ULL << PERF_REG_RISCV_MAX) - 1)
/linux/arch/riscv/include/uapi/asm/
H A Dperf_regs.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd. */
/linux/tools/arch/riscv/include/uapi/asm/
H A Dperf_regs.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd. */

1234