| /arch/mips/kernel/ |
| D | cpu-probe.c | 62 static inline void cpu_set_fpu_fcsr_mask(struct cpuinfo_mips *c) in cpu_set_fpu_fcsr_mask() 91 static void cpu_set_fpu_2008(struct cpuinfo_mips *c) in cpu_set_fpu_2008() 151 static void cpu_set_nofpu_2008(struct cpuinfo_mips *c) in cpu_set_nofpu_2008() 187 static void cpu_set_nan_2008(struct cpuinfo_mips *c) in cpu_set_nan_2008() 245 static void cpu_set_nofpu_id(struct cpuinfo_mips *c) in cpu_set_nofpu_id() 268 static void cpu_set_fpu_opts(struct cpuinfo_mips *c) in cpu_set_fpu_opts() 292 static void cpu_set_nofpu_opts(struct cpuinfo_mips *c) in cpu_set_nofpu_opts() 328 static void cpu_set_fpu_opts(struct cpuinfo_mips *c) in cpu_set_fpu_opts() 333 static void cpu_set_nofpu_opts(struct cpuinfo_mips *c) in cpu_set_nofpu_opts() 444 static inline void cpu_set_mt_per_tc_perf(struct cpuinfo_mips *c) in cpu_set_mt_per_tc_perf() [all …]
|
| /arch/csky/include/asm/ |
| D | io.h | 22 #define readb(c) ({ u8 __v = readb_relaxed(c); rmb(); __v; }) argument 23 #define readw(c) ({ u16 __v = readw_relaxed(c); rmb(); __v; }) argument 24 #define readl(c) ({ u32 __v = readl_relaxed(c); rmb(); __v; }) argument 27 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); }) argument 28 #define writew(v,c) ({ wmb(); writew_relaxed((v),(c)); }) argument 29 #define writel(v,c) ({ wmb(); writel_relaxed((v),(c)); }) argument 31 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); mb(); }) argument 32 #define writew(v,c) ({ wmb(); writew_relaxed((v),(c)); mb(); }) argument 33 #define writel(v,c) ({ wmb(); writel_relaxed((v),(c)); mb(); }) argument
|
| /arch/nds32/include/asm/ |
| D | io.h | 64 #define readb_relaxed(c) ({ u8 __v = __raw_readb(c); __v; }) argument 65 #define readw_relaxed(c) ({ u16 __v = le16_to_cpu((__force __le16)__raw_readw(c)); __v; }) argument 66 #define readl_relaxed(c) ({ u32 __v = le32_to_cpu((__force __le32)__raw_readl(c)); __v; }) argument 67 #define writeb_relaxed(v,c) ((void)__raw_writeb((v),(c))) argument 68 #define writew_relaxed(v,c) ((void)__raw_writew((__force u16)cpu_to_le16(v),(c))) argument 69 #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c))) argument 75 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; }) argument 76 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; }) argument 77 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) argument 79 #define writeb(v,c) ({ __iowmb(); writeb_relaxed((v),(c)); }) argument [all …]
|
| /arch/arm64/include/asm/ |
| D | arch_gicv3.h | 122 #define gic_read_typer(c) readq_relaxed(c) argument 123 #define gic_write_irouter(v, c) writeq_relaxed(v, c) argument 124 #define gic_read_lpir(c) readq_relaxed(c) argument 125 #define gic_write_lpir(v, c) writeq_relaxed(v, c) argument 129 #define gits_read_baser(c) readq_relaxed(c) argument 130 #define gits_write_baser(v, c) writeq_relaxed(v, c) argument 132 #define gits_read_cbaser(c) readq_relaxed(c) argument 133 #define gits_write_cbaser(v, c) writeq_relaxed(v, c) argument 135 #define gits_write_cwriter(v, c) writeq_relaxed(v, c) argument 137 #define gicr_read_propbaser(c) readq_relaxed(c) argument [all …]
|
| D | io.h | 119 #define readb_relaxed(c) ({ u8 __r = __raw_readb(c); __r; }) argument 120 #define readw_relaxed(c) ({ u16 __r = le16_to_cpu((__force __le16)__raw_readw(c)); __r; }) argument 121 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32)__raw_readl(c)); __r; }) argument 122 #define readq_relaxed(c) ({ u64 __r = le64_to_cpu((__force __le64)__raw_readq(c)); __r; }) argument 124 #define writeb_relaxed(v,c) ((void)__raw_writeb((v),(c))) argument 125 #define writew_relaxed(v,c) ((void)__raw_writew((__force u16)cpu_to_le16(v),(c))) argument 126 #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c))) argument 127 #define writeq_relaxed(v,c) ((void)__raw_writeq((__force u64)cpu_to_le64(v),(c))) argument 134 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(__v); __v; }) argument 135 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(__v); __v; }) argument [all …]
|
| D | dcc.h | 25 char c = read_sysreg(dbgdtrrx_el0); in __dcc_getchar() local 31 static inline void __dcc_putchar(char c) in __dcc_putchar()
|
| /arch/riscv/include/asm/ |
| D | io.h | 101 #define readb_cpu(c) ({ u8 __r = __raw_readb(c); __r; }) argument 102 #define readw_cpu(c) ({ u16 __r = le16_to_cpu((__force __le16)__raw_readw(c)); __r; }) argument 103 #define readl_cpu(c) ({ u32 __r = le32_to_cpu((__force __le32)__raw_readl(c)); __r; }) argument 105 #define writeb_cpu(v,c) ((void)__raw_writeb((v),(c))) argument 106 #define writew_cpu(v,c) ((void)__raw_writew((__force u16)cpu_to_le16(v),(c))) argument 107 #define writel_cpu(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c))) argument 110 #define readq_cpu(c) ({ u64 __r = le64_to_cpu((__force __le64)__raw_readq(c)); __r; }) argument 111 #define writeq_cpu(v,c) ((void)__raw_writeq((__force u64)cpu_to_le64(v),(c))) argument 128 #define readb_relaxed(c) ({ u8 __v; __io_rbr(); __v = readb_cpu(c); __io_rar(); __v; }) argument 129 #define readw_relaxed(c) ({ u16 __v; __io_rbr(); __v = readw_cpu(c); __io_rar(); __v; }) argument [all …]
|
| /arch/x86/kernel/cpu/ |
| D | amd.c | 169 static void init_amd_k5(struct cpuinfo_x86 *c) in init_amd_k5() 188 static void init_amd_k6(struct cpuinfo_x86 *c) in init_amd_k6() 282 static void init_amd_k7(struct cpuinfo_x86 *c) in init_amd_k7() 384 static void legacy_fixup_core_id(struct cpuinfo_x86 *c) in legacy_fixup_core_id() 396 static void amd_get_topology_early(struct cpuinfo_x86 *c) in amd_get_topology_early() 408 static void amd_get_topology(struct cpuinfo_x86 *c) in amd_get_topology() 461 static void amd_detect_cmp(struct cpuinfo_x86 *c) in amd_detect_cmp() 487 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() 538 static void early_init_amd_mc(struct cpuinfo_x86 *c) in early_init_amd_mc() 564 static void bsp_init_amd(struct cpuinfo_x86 *c) in bsp_init_amd() [all …]
|
| D | hygon.c | 53 static void hygon_get_topology_early(struct cpuinfo_x86 *c) in hygon_get_topology_early() 65 static void hygon_get_topology(struct cpuinfo_x86 *c) in hygon_get_topology() 117 static void hygon_detect_cmp(struct cpuinfo_x86 *c) in hygon_detect_cmp() 131 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() 181 static void early_init_hygon_mc(struct cpuinfo_x86 *c) in early_init_hygon_mc() 207 static void bsp_init_hygon(struct cpuinfo_x86 *c) in bsp_init_hygon() 263 static void early_init_hygon(struct cpuinfo_x86 *c) in early_init_hygon() 309 static void init_hygon(struct cpuinfo_x86 *c) in init_hygon() 361 static void cpu_detect_tlb_hygon(struct cpuinfo_x86 *c) in cpu_detect_tlb_hygon()
|
| D | intel.c | 48 void check_mpx_erratum(struct cpuinfo_x86 *c) in check_mpx_erratum() 76 static void check_memory_type_self_snoop_errata(struct cpuinfo_x86 *c) in check_memory_type_self_snoop_errata() 104 static void probe_xeon_phi_r3mwait(struct cpuinfo_x86 *c) in probe_xeon_phi_r3mwait() 168 static bool bad_spectre_microcode(struct cpuinfo_x86 *c) in bad_spectre_microcode() 210 static void detect_tme_early(struct cpuinfo_x86 *c) in detect_tme_early() 274 static void early_init_intel(struct cpuinfo_x86 *c) in early_init_intel() 455 static void intel_smp_check(struct cpuinfo_x86 *c) in intel_smp_check() 483 static void intel_workarounds(struct cpuinfo_x86 *c) in intel_workarounds() 566 static void intel_workarounds(struct cpuinfo_x86 *c) in intel_workarounds() 571 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() [all …]
|
| D | common.c | 95 static void default_init(struct cpuinfo_x86 *c) in default_init() 277 static void squash_the_stupid_serial_number(struct cpuinfo_x86 *c) in squash_the_stupid_serial_number() 308 static inline void squash_the_stupid_serial_number(struct cpuinfo_x86 *c) in squash_the_stupid_serial_number() 322 static __always_inline void setup_smep(struct cpuinfo_x86 *c) in setup_smep() 335 static __always_inline void setup_smap(struct cpuinfo_x86 *c) in setup_smap() 351 static __always_inline void setup_umip(struct cpuinfo_x86 *c) in setup_umip() 451 static __always_inline void setup_pku(struct cpuinfo_x86 *c) in setup_pku() 510 static void filter_cpuid_features(struct cpuinfo_x86 *c, bool warn) in filter_cpuid_features() 547 static const char *table_lookup_model(struct cpuinfo_x86 *c) in table_lookup_model() 624 static void get_model_name(struct cpuinfo_x86 *c) in get_model_name() [all …]
|
| D | zhaoxin.c | 26 static void init_zhaoxin_cap(struct cpuinfo_x86 *c) in init_zhaoxin_cap() 65 static void early_init_zhaoxin(struct cpuinfo_x86 *c) in early_init_zhaoxin() 92 static void zhaoxin_detect_vmx_virtcap(struct cpuinfo_x86 *c) in zhaoxin_detect_vmx_virtcap() 117 static void init_zhaoxin(struct cpuinfo_x86 *c) in init_zhaoxin() 150 zhaoxin_size_cache(struct cpuinfo_x86 *c, unsigned int size) in zhaoxin_size_cache()
|
| D | proc.c | 13 static void show_cpuinfo_core(struct seq_file *m, struct cpuinfo_x86 *c, in show_cpuinfo_core() 28 static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c) in show_cpuinfo_misc() 46 static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c) in show_cpuinfo_misc() 59 struct cpuinfo_x86 *c = v; in show_cpuinfo() local
|
| D | cpuid-deps.c | 75 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() 93 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() 123 void clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in clear_cpu_cap()
|
| /arch/powerpc/kernel/ |
| D | tm.S | 20 #define __SAVE_32FPRS_VSRS(n,c,base) \ argument 28 #define __REST_32FPRS_VSRS(n,c,base) \ argument 37 #define __SAVE_32FPRS_VSRS(n,c,base) SAVE_32FPRS(n, base) argument 38 #define __REST_32FPRS_VSRS(n,c,base) REST_32FPRS(n, base) argument 40 #define SAVE_32FPRS_VSRS(n,c,base) \ argument 42 #define REST_32FPRS_VSRS(n,c,base) \ argument
|
| D | fpu.S | 27 #define __REST_1FPVSR(n,c,base) \ argument 36 #define __REST_32FPVSRS(n,c,base) \ argument 45 #define __SAVE_32FPVSRS(n,c,base) \ argument 58 #define REST_1FPVSR(n,c,base) __REST_1FPVSR(n,__REG_##c,__REG_##base) argument 59 #define REST_32FPVSRS(n,c,base) __REST_32FPVSRS(n,__REG_##c,__REG_##base) argument 60 #define SAVE_32FPVSRS(n,c,base) __SAVE_32FPVSRS(n,__REG_##c,__REG_##base) argument
|
| /arch/mips/include/asm/octeon/ |
| D | cvmx-ciu-defs.h | 16 #define CVMX_CIU_EN2_PPX_IP4(c) CVMX_CIU_ADDR(0xA400, c, 0x0F, 8) argument 17 #define CVMX_CIU_EN2_PPX_IP4_W1C(c) CVMX_CIU_ADDR(0xCC00, c, 0x0F, 8) argument 18 #define CVMX_CIU_EN2_PPX_IP4_W1S(c) CVMX_CIU_ADDR(0xAC00, c, 0x0F, 8) argument 21 #define CVMX_CIU_INTX_EN0(c) CVMX_CIU_ADDR(0x0200, c, 0x3F, 16) argument 22 #define CVMX_CIU_INTX_EN0_W1C(c) CVMX_CIU_ADDR(0x2200, c, 0x3F, 16) argument 23 #define CVMX_CIU_INTX_EN0_W1S(c) CVMX_CIU_ADDR(0x6200, c, 0x3F, 16) argument 24 #define CVMX_CIU_INTX_EN1(c) CVMX_CIU_ADDR(0x0208, c, 0x3F, 16) argument 25 #define CVMX_CIU_INTX_EN1_W1C(c) CVMX_CIU_ADDR(0x2208, c, 0x3F, 16) argument 26 #define CVMX_CIU_INTX_EN1_W1S(c) CVMX_CIU_ADDR(0x6208, c, 0x3F, 16) argument 27 #define CVMX_CIU_INTX_SUM0(c) CVMX_CIU_ADDR(0x0000, c, 0x3F, 8) argument [all …]
|
| /arch/sparc/crypto/ |
| D | opcodes.h | 18 #define CRC32C(a,b,c) \ argument 30 #define AES_EROUND01(a,b,c,d) \ argument 32 #define AES_EROUND23(a,b,c,d) \ argument 34 #define AES_DROUND01(a,b,c,d) \ argument 36 #define AES_DROUND23(a,b,c,d) \ argument 38 #define AES_EROUND01_L(a,b,c,d) \ argument 40 #define AES_EROUND23_L(a,b,c,d) \ argument 42 #define AES_DROUND01_L(a,b,c,d) \ argument 44 #define AES_DROUND23_L(a,b,c,d) \ argument 46 #define AES_KEXPAND1(a,b,c,d) \ argument [all …]
|
| /arch/powerpc/include/asm/ |
| D | ide.h | 13 #define __ide_mm_insw(p, a, c) readsw((void __iomem *)(p), (a), (c)) argument 14 #define __ide_mm_insl(p, a, c) readsl((void __iomem *)(p), (a), (c)) argument 15 #define __ide_mm_outsw(p, a, c) writesw((void __iomem *)(p), (a), (c)) argument 16 #define __ide_mm_outsl(p, a, c) writesl((void __iomem *)(p), (a), (c)) argument
|
| /arch/mips/alchemy/common/ |
| D | clock.c | 245 struct clk *c; in alchemy_clk_setup_aux() local 276 struct clk *c; in alchemy_clk_setup_sysbus() local 290 struct clk *c; in alchemy_clk_setup_periph() local 305 struct clk *c; in alchemy_clk_setup_mem() local 344 struct clk *c; in alchemy_clk_setup_lrclk() local 493 struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); in alchemy_clk_fgv1_en() local 507 struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); in alchemy_clk_fgv1_isen() local 515 struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); in alchemy_clk_fgv1_dis() local 527 struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); in alchemy_clk_fgv1_setp() local 544 struct alchemy_fgcs_clk *c = to_fgcs_clk(hw); in alchemy_clk_fgv1_getp() local [all …]
|
| /arch/arc/include/asm/ |
| D | io.h | 204 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; }) argument 205 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; }) argument 206 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) argument 211 #define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); }) argument 212 #define writew(v,c) ({ __iowmb(); writew_relaxed(v,c); }) argument 213 #define writel(v,c) ({ __iowmb(); writel_relaxed(v,c); }) argument 227 #define readb_relaxed(c) __raw_readb(c) argument 228 #define readw_relaxed(c) ({ u16 __r = le16_to_cpu((__force __le16) \ argument 230 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32) \ argument 233 #define writeb_relaxed(v,c) __raw_writeb(v,c) argument [all …]
|
| /arch/arm/include/asm/ |
| D | arch_gicv3.h | 283 #define gic_write_irouter(v, c) __gic_writeq_nonatomic(v, c) argument 288 #define gic_read_typer(c) __gic_readq_nonatomic(c) argument 293 #define gits_read_baser(c) __gic_readq_nonatomic(c) argument 294 #define gits_write_baser(v, c) __gic_writeq_nonatomic(v, c) argument 300 #define gicr_read_propbaser(c) __gic_readq_nonatomic(c) argument 301 #define gicr_write_propbaser(v, c) __gic_writeq_nonatomic(v, c) argument 302 #define gicr_read_pendbaser(c) __gic_readq_nonatomic(c) argument 303 #define gicr_write_pendbaser(v, c) __gic_writeq_nonatomic(v, c) argument 308 #define gic_read_lpir(c) readl_relaxed(c) argument 309 #define gic_write_lpir(v, c) writel_relaxed(lower_32_bits(v), c) argument [all …]
|
| D | io.h | 291 #define readb_relaxed(c) ({ u8 __r = __raw_readb(c); __r; }) argument 292 #define readw_relaxed(c) ({ u16 __r = le16_to_cpu((__force __le16) \ argument 294 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32) \ argument 297 #define writeb_relaxed(v,c) __raw_writeb(v,c) argument 298 #define writew_relaxed(v,c) __raw_writew((__force u16) cpu_to_le16(v),c) argument 299 #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c) argument 301 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; }) argument 302 #define readw(c) ({ u16 __v = readw_relaxed(c); __iormb(); __v; }) argument 303 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(); __v; }) argument 305 #define writeb(v,c) ({ __iowmb(); writeb_relaxed(v,c); }) argument [all …]
|
| /arch/mips/fw/arc/ |
| D | promlib.c | 24 void prom_putchar(char c) in prom_putchar() 37 CHAR c; in prom_getchar() local
|
| /arch/sh/include/asm/ |
| D | io_noioport.h | 56 #define insb(a, b, c) BUG() argument 57 #define insw(a, b, c) BUG() argument 58 #define insl(a, b, c) BUG() argument 60 #define outsb(a, b, c) BUG() argument 61 #define outsw(a, b, c) BUG() argument 62 #define outsl(a, b, c) BUG() argument
|