/openbmc/linux/drivers/phy/microchip/ |
H A D | lan966x_serdes.c | 180 static int lan966x_sd6g40_reg_cfg(struct serdes_macro *macro, in lan966x_sd6g40_reg_cfg() argument 203 macro->ctrl->regs, HSIO_SD_CFG(idx)); in lan966x_sd6g40_reg_cfg() 209 macro->ctrl->regs, HSIO_MPLL_CFG(idx)); in lan966x_sd6g40_reg_cfg() 213 macro->ctrl->regs, HSIO_SD_CFG(idx)); in lan966x_sd6g40_reg_cfg() 217 macro->ctrl->regs, HSIO_MPLL_CFG(idx)); in lan966x_sd6g40_reg_cfg() 223 macro->ctrl->regs, HSIO_SD_CFG(idx)); in lan966x_sd6g40_reg_cfg() 229 macro->ctrl->regs, HSIO_MPLL_CFG(idx)); in lan966x_sd6g40_reg_cfg() 233 value = readl(macro->ctrl->regs + lan_offset(HSIO_SD_STAT(idx))); in lan966x_sd6g40_reg_cfg() 236 dev_err(macro->ctrl->dev, in lan966x_sd6g40_reg_cfg() 244 macro->ctrl->regs, HSIO_SD_CFG(idx)); in lan966x_sd6g40_reg_cfg() [all …]
|
H A D | sparx5_serdes.c | 649 static int sparx5_sd10g25_get_mode_preset(struct sparx5_serdes_macro *macro, in sparx5_sd10g25_get_mode_preset() argument 652 switch (macro->serdesmode) { in sparx5_sd10g25_get_mode_preset() 654 if (macro->speed == SPEED_25000) in sparx5_sd10g25_get_mode_preset() 656 else if (macro->speed == SPEED_10000) in sparx5_sd10g25_get_mode_preset() 658 else if (macro->speed == SPEED_5000) in sparx5_sd10g25_get_mode_preset() 677 static int sparx5_sd10g28_get_mode_preset(struct sparx5_serdes_macro *macro, in sparx5_sd10g28_get_mode_preset() argument 681 switch (macro->serdesmode) { in sparx5_sd10g28_get_mode_preset() 683 if (macro->speed == SPEED_10000) { in sparx5_sd10g28_get_mode_preset() 685 } else if (macro->speed == SPEED_5000) { in sparx5_sd10g28_get_mode_preset() 691 dev_err(macro->priv->dev, "%s: Illegal speed: %02u, sidx: %02u, mode (%u)", in sparx5_sd10g28_get_mode_preset() [all …]
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | vx-insn-asm.h | 28 .macro GR_NUM opd gr 92 .macro VX_NUM opd vxr 203 .macro RXB rxb v1 v2=0 v3=0 v4=0 227 .macro MRXB m v1 v2=0 v3=0 v4=0 242 .macro MRXBOPC m opc v1 v2=0 v3=0 v4=0 250 .macro VGBM vr imm2 256 .macro VZERO vxr 259 .macro VONE vxr 264 .macro VLVG v, gr, disp, m 272 .macro VLVGB v, gr, index, base [all …]
|
H A D | nospec-insn.h | 17 .macro __THUNK_PROLOG_NAME name 31 .macro __THUNK_EPILOG_NAME name 39 .macro __THUNK_PROLOG_BR r1 43 .macro __THUNK_EPILOG_BR r1 47 .macro __THUNK_BR r1 51 .macro __THUNK_BRASL r1,r2 55 .macro __DECODE_R expand,reg 68 .macro __DECODE_RR expand,rsave,rtarget 85 .macro __THUNK_EX_BR reg 92 .macro GEN_BR_THUNK reg [all …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | assembler.h | 37 .macro disable_daif 41 .macro enable_daif 48 .macro save_and_disable_irq, flags 53 .macro restore_irq, flags 57 .macro enable_dbg 61 .macro disable_step_tsk, flgs, tmp 71 .macro enable_step_tsk, flgs, tmp 82 .macro esb 93 .macro csdb 100 .macro clearbhb [all …]
|
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 …]
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | unified.h | 62 .macro it, cond 64 .macro itt, cond 66 .macro ite, cond 68 .macro ittt, cond 70 .macro itte, cond 72 .macro itet, cond 74 .macro itee, cond 76 .macro itttt, cond 78 .macro ittte, cond 80 .macro ittet, cond [all …]
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | entry.h | 35 .macro PUSH reg 39 .macro PUSHAX aux 44 .macro POP reg 48 .macro POPAX aux 57 .macro SAVE_R0_TO_R12 73 .macro RESTORE_R12_TO_R0 94 .macro SAVE_R13_TO_R25 110 .macro RESTORE_R25_TO_R13 130 .macro SAVE_CALLEE_SAVED_USER 138 .macro RESTORE_CALLEE_SAVED_USER [all …]
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | assembler.h | 97 .macro disable_irq_notrace 101 .macro enable_irq_notrace 105 .macro disable_irq_notrace 109 .macro enable_irq_notrace 115 .macro dsb, args 119 .macro isb, args 124 .macro asm_trace_hardirqs_off, save=1 136 .macro asm_trace_hardirqs_on, cond=al, save=1 152 .macro disable_irq, save=1 157 .macro enable_irq [all …]
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_shift.S | 5 .macro test_shift prefix, dst, src, v, imm 10 .macro test_shift_sd prefix, v, imm 15 .macro tests_imm_shift prefix, v 25 .macro tests_shift prefix, v 32 .macro slli_set dst, src, v, imm 37 .macro slli_ver dst, v, imm 48 .macro srai_set dst, src, v, imm 53 .macro srai_ver dst, v, imm 70 .macro srli_set dst, src, v, imm 75 .macro srli_ver dst, v, imm [all …]
|
H A D | test_sar.S | 5 .macro test_sar prefix, imm 10 .macro tests_sar prefix 22 .macro sar_set imm 27 .macro sar_ver imm 37 .macro ssr_set imm 42 .macro ssr_ver imm 52 .macro ssl_set imm 57 .macro ssl_ver imm 67 .macro ssa8l_set imm 72 .macro ssa8l_ver imm [all …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/x86/entry/ |
H A D | calling.h | 68 .macro PUSH_REGS rdx=%rdx rcx=%rcx rax=%rax save_ret=0 97 .macro CLEAR_REGS 120 .macro PUSH_AND_CLEAR_REGS rdx=%rdx rcx=%rcx rax=%rax save_ret=0 125 .macro POP_REGS pop_rdi=1 157 .macro SET_NOFLUSH_BIT reg:req 161 .macro ADJUST_KERNEL_CR3 reg:req 167 .macro SWITCH_TO_KERNEL_CR3 scratch_reg:req 178 .macro SWITCH_TO_USER_CR3_NOSTACK scratch_reg:req scratch_reg2:req 212 .macro SWITCH_TO_USER_CR3_STACK scratch_reg:req 218 .macro SAVE_AND_SWITCH_TO_KERNEL_CR3 scratch_reg:req save_reg:req [all …]
|
/openbmc/u-boot/arch/xtensa/include/asm/ |
H A D | cacheasm.h | 39 .macro __loop_cache_all ar at insn size line_width 55 .macro __loop_cache_range ar as at insn line_width 67 .macro __loop_cache_page ar at insn line_width 81 .macro ___unlock_dcache_all ar at 90 .macro ___unlock_icache_all ar at 99 .macro ___flush_invalidate_dcache_all ar at 108 .macro ___flush_dcache_all ar at 117 .macro ___invalidate_dcache_all ar at 127 .macro ___invalidate_icache_all ar at 138 .macro ___flush_invalidate_dcache_range ar as at [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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
|
/openbmc/linux/tools/testing/selftests/arm64/bti/ |
H A D | assembler.h | 18 .macro startfn name:req 21 .macro endfn 28 .macro emit_aarch64_feature_1_and 52 .macro paciasp 56 .macro autiasp 60 .macro __bti_ 64 .macro __bti_c 68 .macro __bti_j 72 .macro __bti_jc 76 .macro bti what=
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/qemu/scripts/tracetool/format/ |
H A D | log_stap.py | 28 def c_macro_to_format(macro): argument 29 if macro.startswith("PRI"): 30 return macro[3] 32 raise Exception("Unhandled macro '%s'" % macro) 38 macro = "" 56 bits.append(c_macro_to_format(macro)) 57 macro = "" 61 bits.append(c_macro_to_format(macro)) 62 macro = "" 74 macro = macro + fmt[i] [all …]
|
/openbmc/linux/tools/testing/selftests/arm64/fp/ |
H A D | sme-inst.h | 11 .macro rdsvl nx, imm 17 .macro smstop 21 .macro smstart_za 25 .macro smstart_sm 33 .macro _ldr_za nw, nxbase, offset=0 44 .macro _str_za nw, nxbase, offset=0 56 .macro _ldr_zt nx 66 .macro _str_zt nx
|