Home
last modified time | relevance | path

Searched refs:ctype (Results 1 – 12 of 12) sorted by relevance

/arch/mips/sgi-ip22/
Dip22-setup.c33 char *ctype; in plat_mem_setup() local
63 ctype = ArcGetEnvironmentVariable("console"); in plat_mem_setup()
66 if ((ctype && *ctype == 'd') || (cserial && *cserial == 's')) { in plat_mem_setup()
71 add_preferred_console("ttyS", *(ctype + 1) == '2' ? 1 : 0, in plat_mem_setup()
73 } else if (!ctype || *ctype != 'g') { in plat_mem_setup()
/arch/mips/alchemy/common/
Dplatform.c101 static void __init alchemy_setup_uarts(int ctype) in alchemy_setup_uarts() argument
105 int c = alchemy_get_uarts(ctype); in alchemy_setup_uarts()
123 memcpy(ports, au1x00_uart_data[ctype], s * c); in alchemy_setup_uarts()
215 static void __init alchemy_setup_usb(int ctype) in alchemy_setup_usb() argument
224 res[0].start = alchemy_ohci_data[ctype][0]; in alchemy_setup_usb()
227 res[1].start = alchemy_ohci_data[ctype][1]; in alchemy_setup_usb()
240 if ((ctype == ALCHEMY_CPU_AU1200) || (ctype == ALCHEMY_CPU_AU1300)) { in alchemy_setup_usb()
244 res[0].start = alchemy_ehci_data[ctype][0]; in alchemy_setup_usb()
247 res[1].start = alchemy_ehci_data[ctype][1]; in alchemy_setup_usb()
260 if (ctype == ALCHEMY_CPU_AU1300) { in alchemy_setup_usb()
[all …]
Dclock.c151 int ctype) in alchemy_clk_setup_cpu() argument
750 static int __init alchemy_clk_init_fgens(int ctype) in alchemy_clk_init_fgens() argument
758 switch (ctype) { in alchemy_clk_init_fgens()
795 if (ctype == ALCHEMY_CPU_AU1300) { in alchemy_clk_init_fgens()
956 static int __init alchemy_clk_setup_imux(int ctype) in alchemy_clk_setup_imux() argument
971 switch (ctype) { in alchemy_clk_setup_imux()
1048 int ctype = alchemy_get_cputype(), ret, i; in alchemy_clk_init() local
1058 c = alchemy_clk_setup_cpu(ALCHEMY_ROOT_CLK, ctype); in alchemy_clk_init()
1062 i = (ctype == ALCHEMY_CPU_AU1300) ? 84 : 63; in alchemy_clk_init()
1067 if (ctype == ALCHEMY_CPU_AU1300) { in alchemy_clk_init()
[all …]
/arch/s390/kernel/
Dcache.c133 enum cache_type ctype; in init_cache_level() local
141 ctype = get_cache_type(&ct.ci[0], level); in init_cache_level()
142 if (ctype == CACHE_TYPE_NOCACHE) in init_cache_level()
145 leaves += (ctype == CACHE_TYPE_SEPARATE) ? 2 : 1; in init_cache_level()
158 enum cache_type ctype; in populate_cache_leaves() local
168 ctype = get_cache_type(&ct.ci[0], level); in populate_cache_leaves()
169 if (ctype == CACHE_TYPE_SEPARATE) { in populate_cache_leaves()
173 ci_leaf_init(this_leaf++, pvt, ctype, level, cpu); in populate_cache_leaves()
/arch/m68k/include/asm/
Dbootstd.h85 #define _bsc3(type,name,atype,a,btype,b,ctype,c) \ argument
86 type name(atype a, btype b, ctype c) \
100 #define _bsc4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ argument
101 type name(atype a, btype b, ctype c, dtype d) \
116 #define _bsc5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ argument
117 type name(atype a, btype b, ctype c, dtype d, etype e) \
/arch/arm64/kernel/
Dcacheinfo.c48 unsigned int ctype, level, leaves; in init_cache_level() local
53 ctype = get_cache_type(level); in init_cache_level()
54 if (ctype == CACHE_TYPE_NOCACHE) { in init_cache_level()
59 leaves += (ctype == CACHE_TYPE_SEPARATE) ? 2 : 1; in init_cache_level()
/arch/riscv/include/asm/
Dio.h74 #define __io_reads_ins(port, ctype, len, bfence, afence) \ argument
81 ctype *buf = buffer; \
84 ctype x = __raw_read ## len(addr); \
91 #define __io_writes_outs(port, ctype, len, bfence, afence) \ argument
98 const ctype *buf = buffer; \
/arch/mips/sni/
Dsetup.c61 char *ctype; in sni_console_setup() local
69 ctype = prom_getenv("console"); in sni_console_setup()
70 switch (*ctype) { in sni_console_setup()
/arch/m68k/include/uapi/asm/
Dbootinfo-vme.h55 __be16 clun, dlun, ctype, dnum; member
/arch/s390/include/uapi/asm/
Dchsc.h101 } ctype; member
/arch/s390/boot/
DMakefile39 obj-y += version.o pgm_check_info.o ctype.o text_dma.o
/arch/arm64/kvm/
Dsys_regs.c2497 u32 level, ctype; in is_valid_cache() local
2504 ctype = (cache_levels >> (level * 3)) & 7; in is_valid_cache()
2506 switch (ctype) { in is_valid_cache()