| /linux/drivers/phy/microchip/ |
| H A D | lan966x_serdes.c | 182 static int lan966x_sd6g40_reg_cfg(struct serdes_macro *macro, in lan966x_sd6g40_reg_cfg() argument 205 macro->ctrl->regs, HSIO_SD_CFG(idx)); in lan966x_sd6g40_reg_cfg() 211 macro->ctrl->regs, HSIO_MPLL_CFG(idx)); in lan966x_sd6g40_reg_cfg() 215 macro->ctrl->regs, HSIO_SD_CFG(idx)); in lan966x_sd6g40_reg_cfg() 219 macro->ctrl->regs, HSIO_MPLL_CFG(idx)); in lan966x_sd6g40_reg_cfg() 225 macro->ctrl->regs, HSIO_SD_CFG(idx)); in lan966x_sd6g40_reg_cfg() 231 macro->ctrl->regs, HSIO_MPLL_CFG(idx)); in lan966x_sd6g40_reg_cfg() 235 value = readl(macro->ctrl->regs + lan_offset(HSIO_SD_STAT(idx))); in lan966x_sd6g40_reg_cfg() 238 dev_err(macro->ctrl->dev, in lan966x_sd6g40_reg_cfg() 246 macro->ctrl->regs, HSIO_SD_CFG(idx)); in lan966x_sd6g40_reg_cfg() [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | fpu-insn-asm.h | 28 .macro GR_NUM opd gr 92 .macro VX_NUM opd vxr 219 .macro RXB rxb v1 v2=0 v3=0 v4=0 246 .macro MRXB m v1 v2=0 v3=0 v4=0 264 .macro MRXBOPC m opc v1 v2=0 v3=0 v4=0 272 .macro VGBM vr imm2 278 .macro VZERO vxr 281 .macro VONE vxr 286 .macro VLVG v, gr, disp, m 294 .macro VLVGB v, gr, index, base [all …]
|
| /linux/arch/powerpc/boot/ |
| H A D | ps3-hvcall.S | 32 .macro GLOBAL name 39 .macro NO_SUPPORT name 44 .macro HVCALL num 50 .macro SAVE_LR offset=4 55 .macro LOAD_LR offset=4 60 .macro LOAD_64_REG target,high,low 65 .macro LOAD_64_STACK target,offset 69 .macro LOAD_R3 73 .macro LOAD_R4 77 .macro LOAD_R5 [all …]
|
| /linux/scripts/ |
| H A D | macro_checker.py | 61 def macro_strip(macro): argument 65 macro = macro.strip() 66 macro = re.sub(comment_pattern1, '', macro) 67 macro = re.sub(comment_pattern2, '', macro) 69 return macro 91 macro = re.match(macro_pattern, line) 92 if macro: 93 macro = macro_strip(macro.string) 94 while macro[-1] == '\\': 95 macro = macro[0:-1] [all …]
|
| /linux/Documentation/arch/riscv/ |
| H A D | hwprobe.rst | 30 * :c:macro:`RISCV_HWPROBE_WHICH_CPUS`: This flag basically reverses the behavior 48 * :c:macro:`RISCV_HWPROBE_KEY_MVENDORID`: Contains the value of ``mvendorid``, 51 * :c:macro:`RISCV_HWPROBE_KEY_MARCHID`: Contains the value of ``marchid``, as 54 * :c:macro:`RISCV_HWPROBE_KEY_MIMPID`: Contains the value of ``mimpid``, as 57 * :c:macro:`RISCV_HWPROBE_KEY_BASE_BEHAVIOR`: A bitmask containing the base 61 * :c:macro:`RISCV_HWPROBE_BASE_BEHAVIOR_IMA`: Support for rv32ima or 70 * :c:macro:`RISCV_HWPROBE_KEY_IMA_EXT_0`: A bitmask containing the extensions 71 that are compatible with the :c:macro:`RISCV_HWPROBE_BASE_BEHAVIOR_IMA`: 74 * :c:macro:`RISCV_HWPROBE_IMA_FD`: The F and D extensions are supported, as 78 * :c:macro:`RISCV_HWPROBE_IMA_C`: The C extension is supported, as defined [all …]
|
| /linux/arch/arm/include/asm/ |
| H A D | assembler.h | 98 .macro disable_irq_notrace 102 .macro enable_irq_notrace 106 .macro disable_irq_notrace 110 .macro enable_irq_notrace 116 .macro dsb, args 120 .macro isb, args 125 .macro asm_trace_hardirqs_off, save=1 137 .macro asm_trace_hardirqs_on, cond=al, save=1 153 .macro disable_irq, save=1 158 .macro enable_irq [all …]
|
| /linux/arch/arm64/include/asm/ |
| H A D | fpsimdmacros.h | 11 .macro fpsimd_save state, tmpnr 34 .macro fpsimd_restore_fpcr state, tmp 47 .macro fpsimd_restore state, tmpnr 72 .macro _check_general_reg nr 78 .macro _sve_check_zreg znr 84 .macro _sve_check_preg pnr 90 .macro _check_num n, min, max 96 .macro _sme_check_wv v 106 .macro _sve_str_v nz, nxbase, offset=0 118 .macro _sve_ldr_v nz, nxbase, offset=0 [all …]
|
| /linux/arch/xtensa/include/asm/ |
| H A D | cacheasm.h | 35 .macro __loop_cache_unroll ar at insn size line_width max_immed 56 .macro __loop_cache_all ar at insn size line_width max_immed 64 .macro __loop_cache_range ar as at insn line_width 76 .macro __loop_cache_page ar at insn line_width max_immed 83 .macro ___unlock_dcache_all ar at 93 .macro ___unlock_icache_all ar at 103 .macro ___flush_invalidate_dcache_all ar at 113 .macro ___flush_dcache_all ar at 123 .macro ___invalidate_dcache_all ar at 133 .macro ___invalidate_icache_all ar at [all …]
|
| /linux/arch/x86/entry/ |
| H A D | calling.h | 68 .macro PUSH_REGS rdx=%rdx rcx=%rcx rax=%rax save_ret=0 unwind_hint=1 102 .macro CLEAR_REGS clear_callee=1 126 .macro PUSH_AND_CLEAR_REGS rdx=%rdx rcx=%rcx rax=%rax save_ret=0 clear_callee=1 unwind_hint=1 131 .macro POP_REGS pop_rdi=1 163 .macro SET_NOFLUSH_BIT reg:req 167 .macro ADJUST_KERNEL_CR3 reg:req 173 .macro SWITCH_TO_KERNEL_CR3 scratch_reg:req 184 .macro SWITCH_TO_USER_CR3 scratch_reg:req scratch_reg2:req 216 .macro SWITCH_TO_USER_CR3_NOSTACK scratch_reg:req scratch_reg2:req 222 .macro SWITCH_TO_USER_CR3_STACK scratch_reg:req [all …]
|
| /linux/drivers/phy/mscc/ |
| H A D | phy-ocelot-serdes.c | 36 static int __serdes_write_mcb_s6g(struct regmap *regmap, u8 macro, u32 op) in __serdes_write_mcb_s6g() argument 41 HSIO_MCB_S6G_ADDR_CFG_SERDES6G_ADDR(BIT(macro))); in __serdes_write_mcb_s6g() 48 static int serdes_commit_mcb_s6g(struct regmap *regmap, u8 macro) in serdes_commit_mcb_s6g() argument 50 return __serdes_write_mcb_s6g(regmap, macro, in serdes_commit_mcb_s6g() 54 static int serdes_update_mcb_s6g(struct regmap *regmap, u8 macro) in serdes_update_mcb_s6g() argument 56 return __serdes_write_mcb_s6g(regmap, macro, in serdes_update_mcb_s6g() 268 static int __serdes_write_mcb_s1g(struct regmap *regmap, u8 macro, u32 op) in __serdes_write_mcb_s1g() argument 273 HSIO_MCB_S1G_ADDR_CFG_SERDES1G_ADDR(BIT(macro))); in __serdes_write_mcb_s1g() 280 static int serdes_commit_mcb_s1g(struct regmap *regmap, u8 macro) in serdes_commit_mcb_s1g() argument 282 return __serdes_write_mcb_s1g(regmap, macro, in serdes_commit_mcb_s1g() [all …]
|
| /linux/arch/arc/include/asm/ |
| H A D | entry.h | 28 .macro SAVE_CALLEE_SAVED_USER 36 .macro RESTORE_CALLEE_SAVED_USER 43 .macro SAVE_CALLEE_SAVED_KERNEL 47 .macro RESTORE_CALLEE_SAVED_KERNEL 54 .macro DISCARD_CALLEE_SAVED_USER 64 .macro GET_TSK_STACK_BASE tsk, out 77 .macro GET_CURR_THR_INFO_FLAGS reg 89 .macro GET_CURR_TASK_ON_CPU reg 104 .macro SET_CURR_TASK_ON_CPU tsk, tmp 117 .macro GET_CURR_TASK_ON_CPU reg [all …]
|
| H A D | entry-compact.h | 47 .macro PUSHAX aux 52 .macro POPAX aux 57 .macro SAVE_R0_TO_R12 73 .macro RESTORE_R12_TO_R0 89 .macro SAVE_ABI_CALLEE_REGS 105 .macro RESTORE_ABI_CALLEE_REGS 130 .macro SWITCH_TO_KERNEL_STK 193 .macro FAKE_RET_FROM_EXCPN 213 .macro PROLOG_FREEUP_REG reg, mem 217 .macro PROLOG_RESTORE_REG reg, mem [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | asmmacro.h | 29 .macro insn32_if_mm enc 35 .macro insn_if_mips enc 38 .macro insn32_if_mm enc 41 .macro insn_if_mips enc 48 .macro local_irq_enable 53 .macro local_irq_disable 58 .macro local_irq_enable reg=t0 65 .macro local_irq_disable reg=t0 84 .macro fpu_save_16even thread tmp=t0 108 .macro fpu_save_16odd thread [all …]
|
| H A D | prefetch.h | 47 .macro __pref hint addr 53 .macro pref_load addr 57 .macro pref_store addr 61 .macro pref_load_streamed addr 65 .macro pref_store_streamed addr 69 .macro pref_load_retained addr 73 .macro pref_store_retained addr 77 .macro pref_wback_inv addr 81 .macro pref_prepare_for_store addr
|
| /linux/arch/arm/include/debug/ |
| H A D | icedcc.S | 10 .macro addruart, rp, rv, tmp 15 .macro senduart, rd, rx 19 .macro busyuart, rd, rx 26 .macro waituartcts, rd, rx 29 .macro waituarttxrdy, rd, rx 42 .macro senduart, rd, rx 46 .macro busyuart, rd, rx 53 .macro waituartcts, rd, rx 56 .macro waituarttxrdy, rd, rx 69 .macro senduart, rd, rx [all …]
|
| H A D | 8250.S | 9 .macro addruart, rp, rv, tmp 15 .macro store, rd, rx:vararg 21 .macro load, rd, rx:vararg 26 .macro store, rd, rx:vararg 30 .macro load, rd, rx:vararg 37 .macro senduart,rd,rx 41 .macro busyuart,rd,rx 48 .macro waituarttxrdy,rd,rx 51 .macro waituartcts,rd,rx
|
| /linux/arch/nios2/include/asm/ |
| H A D | asm-macros.h | 19 .macro ANDI32 reg1, reg2, mask 39 .macro ORI32 reg1, reg2, mask 58 .macro XORI32 reg1, reg2, mask 78 .macro BT reg1, reg2, bit 97 .macro BTBZ reg1, reg2, bit, label 109 .macro BTBNZ reg1, reg2, bit, label 121 .macro BTC reg1, reg2, bit 142 .macro BTS reg1, reg2, bit 163 .macro BTR reg1, reg2, bit 185 .macro BTCBZ reg1, reg2, bit, label [all …]
|
| /linux/arch/riscv/include/asm/ |
| H A D | scs.h | 11 .macro scs_load_init_stack 17 .macro scs_load_irq_stack tmp 22 .macro scs_load_current 27 .macro scs_load_current_if_task_changed prev 34 .macro scs_save_current 40 .macro scs_load_init_stack 42 .macro scs_load_irq_stack tmp 44 .macro scs_load_current 46 .macro scs_load_current_if_task_changed prev 48 .macro scs_save_current
|
| /linux/arch/m68k/include/asm/ |
| H A D | entry.h | 64 .macro SAVE_ALL_SYS 90 .macro SAVE_ALL_INT 96 .macro RESTORE_USER 113 .macro RDUSP 117 .macro WRUSP 126 .macro SAVE_ALL_SYS 135 .macro SAVE_ALL_INT 144 .macro RESTORE_USER 153 .macro RDUSP 158 .macro WRUSP [all …]
|
| /linux/tools/testing/selftests/arm64/bti/ |
| H A D | assembler.h | 17 .macro startfn name:req 20 .macro endfn 27 .macro emit_aarch64_feature_1_and 51 .macro paciasp 55 .macro autiasp 59 .macro __bti_ 63 .macro __bti_c 67 .macro __bti_j 71 .macro __bti_jc 75 .macro bti what=
|
| /linux/Documentation/misc-devices/ |
| H A D | xilinx_sdfec.rst | 83 - :c:macro:`XSDFEC_START_DEV` 84 - :c:macro:`XSDFEC_STOP_DEV` 85 - :c:macro:`XSDFEC_GET_STATUS` 86 - :c:macro:`XSDFEC_SET_IRQ` 87 - :c:macro:`XSDFEC_SET_TURBO` 88 - :c:macro:`XSDFEC_ADD_LDPC_CODE_PARAMS` 89 - :c:macro:`XSDFEC_GET_CONFIG` 90 - :c:macro:`XSDFEC_SET_ORDER` 91 - :c:macro:`XSDFEC_SET_BYPASS` 92 - :c:macro:`XSDFEC_IS_ACTIVE` [all …]
|
| /linux/arch/arm/lib/ |
| H A D | csumpartialcopyuser.S | 18 .macro save_regs 24 .macro load_regs 32 .macro save_regs 38 .macro load_regs 46 .macro save_regs 50 .macro load_regs 56 .macro load1b, reg1 60 .macro load2b, reg1, reg2 65 .macro load1l, reg1 69 .macro load2l, reg1, reg2 [all …]
|
| H A D | copy_from_user.S | 42 .macro ldr1w ptr reg abort 46 .macro ldr4w ptr reg1 reg2 reg3 reg4 abort 53 .macro ldr8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort 62 .macro ldr1w ptr reg abort 66 .macro ldr4w ptr reg1 reg2 reg3 reg4 abort 70 .macro ldr8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort 76 .macro ldr1b ptr reg cond=al abort 82 .macro str1w ptr reg abort 86 .macro str8w ptr reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 abort 90 .macro str1b ptr reg cond=al abort [all …]
|
| /linux/arch/m68k/math-emu/ |
| H A D | fp_decode.h | 72 .macro fp_decode_cond_instr_type 84 .macro fp_decode_move_instr_type 98 .macro fp_decode_sourcespec 103 .macro fp_decode_dest_format 108 .macro fp_decode_src_reg 114 .macro fp_decode_addr_mode 129 .macro fp_decode_addr_reg 134 .macro fp_decode_disp8 140 .macro fp_decode_index 168 .macro fp_decode_basedisp [all …]
|
| /linux/arch/xtensa/variants/test_mmuhifi_c3/include/variant/ |
| H A D | tie-asm.h | 36 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL 63 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL 97 .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL 133 .macro xchal_cp1_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL 167 .macro xchal_cp0_store p a b c d continue=0 ofs=-1 select=-1 ; .endm 168 .macro xchal_cp0_load p a b c d continue=0 ofs=-1 select=-1 ; .endm 169 .macro xchal_cp2_store p a b c d continue=0 ofs=-1 select=-1 ; .endm 170 .macro xchal_cp2_load p a b c d continue=0 ofs=-1 select=-1 ; .endm 171 .macro xchal_cp3_store p a b c d continue=0 ofs=-1 select=-1 ; .endm 172 .macro xchal_cp3_load p a b c d continue=0 ofs=-1 select=-1 ; .endm [all …]
|