Home
last modified time | relevance | path

Searched full:macro (Results 1 – 25 of 2263) sorted by relevance

12345678910>>...91

/linux-6.12.1/include/linux/
Dunroll.h12 #define UNROLL(N, MACRO, args...) CONCATENATE(__UNROLL_, N)(MACRO, args) argument
14 #define __UNROLL_0(MACRO, args...) argument
15 #define __UNROLL_1(MACRO, args...) __UNROLL_0(MACRO, args) MACRO(0, args) argument
16 #define __UNROLL_2(MACRO, args...) __UNROLL_1(MACRO, args) MACRO(1, args) argument
17 #define __UNROLL_3(MACRO, args...) __UNROLL_2(MACRO, args) MACRO(2, args) argument
18 #define __UNROLL_4(MACRO, args...) __UNROLL_3(MACRO, args) MACRO(3, args) argument
19 #define __UNROLL_5(MACRO, args...) __UNROLL_4(MACRO, args) MACRO(4, args) argument
20 #define __UNROLL_6(MACRO, args...) __UNROLL_5(MACRO, args) MACRO(5, args) argument
21 #define __UNROLL_7(MACRO, args...) __UNROLL_6(MACRO, args) MACRO(6, args) argument
22 #define __UNROLL_8(MACRO, args...) __UNROLL_7(MACRO, args) MACRO(7, args) argument
[all …]
/linux-6.12.1/Documentation/arch/riscv/
Dhwprobe.rst30 * :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_MIMPLID`: Contains the value of ``mimplid``, 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-6.12.1/arch/s390/include/asm/
Dfpu-insn-asm.h28 .macro GR_NUM opd gr
92 .macro VX_NUM opd vxr
219 .macro RXB rxb v1 v2=0 v3=0 v4=0
243 * Note: For @v1, @v2, @v3, and @v4 also refer to the RXB macro
246 .macro MRXB m v1 v2=0 v3=0 v4=0
261 * Note: For @v1, @v2, @v3, and @v4 also refer to the RXB macro
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
[all …]
Dnospec-insn.h17 .macro __THUNK_PROLOG_NAME name
30 .macro __THUNK_EPILOG_NAME name
40 .macro __THUNK_PROLOG_BR r1
44 .macro __THUNK_EPILOG_BR r1
48 .macro __THUNK_BR r1
52 .macro __THUNK_BRASL r1,r2
56 .macro __DECODE_R expand,reg
69 .macro __DECODE_RR expand,rsave,rtarget
86 .macro __THUNK_EX_BR reg
93 .macro GEN_BR_THUNK reg
[all …]
/linux-6.12.1/drivers/phy/microchip/
Dlan966x_serdes.c182 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 …]
Dsparx5_serdes.c649 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 …]
/linux-6.12.1/Documentation/misc-devices/
Dxilinx_sdfec.rst83 - :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-6.12.1/arch/powerpc/boot/
Dps3-hvcall.S32 .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-6.12.1/scripts/
Dmacro_checker.py5 """ Find macro definitions with unused parameters. """
52 # if there is a correct macro with the same name, do not report it.
54 print(f"Argument {arg} is not used in function-line macro {identifier}")
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:
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dqcom,lpass-tx-macro.yaml4 $id: http://devicetree.org/schemas/sound/qcom,lpass-tx-macro.yaml#
7 title: LPASS(Low Power Audio Subsystem) TX Macro audio codec
16 - qcom,sc7280-lpass-tx-macro
17 - qcom,sm6115-lpass-tx-macro
18 - qcom,sm8250-lpass-tx-macro
19 - qcom,sm8450-lpass-tx-macro
20 - qcom,sm8550-lpass-tx-macro
21 - qcom,sc8280xp-lpass-tx-macro
24 - qcom,sm8650-lpass-tx-macro
25 - qcom,x1e80100-lpass-tx-macro
[all …]
Dqcom,lpass-rx-macro.yaml4 $id: http://devicetree.org/schemas/sound/qcom,lpass-rx-macro.yaml#
7 title: LPASS(Low Power Audio Subsystem) RX Macro audio codec
16 - qcom,sc7280-lpass-rx-macro
17 - qcom,sm8250-lpass-rx-macro
18 - qcom,sm8450-lpass-rx-macro
19 - qcom,sm8550-lpass-rx-macro
20 - qcom,sc8280xp-lpass-rx-macro
23 - qcom,sm8650-lpass-rx-macro
24 - qcom,x1e80100-lpass-rx-macro
25 - const: qcom,sm8550-lpass-rx-macro
[all …]
Dqcom,lpass-va-macro.yaml4 $id: http://devicetree.org/schemas/sound/qcom,lpass-va-macro.yaml#
7 title: LPASS(Low Power Audio Subsystem) VA Macro audio codec
16 - qcom,sc7280-lpass-va-macro
17 - qcom,sm8250-lpass-va-macro
18 - qcom,sm8450-lpass-va-macro
19 - qcom,sm8550-lpass-va-macro
20 - qcom,sc8280xp-lpass-va-macro
23 - qcom,sm8650-lpass-va-macro
24 - qcom,x1e80100-lpass-va-macro
25 - const: qcom,sm8550-lpass-va-macro
[all …]
Dqcom,lpass-wsa-macro.yaml4 $id: http://devicetree.org/schemas/sound/qcom,lpass-wsa-macro.yaml#
7 title: LPASS(Low Power Audio Subsystem) VA Macro audio codec
16 - qcom,sc7280-lpass-wsa-macro
17 - qcom,sm8250-lpass-wsa-macro
18 - qcom,sm8450-lpass-wsa-macro
19 - qcom,sm8550-lpass-wsa-macro
20 - qcom,sc8280xp-lpass-wsa-macro
23 - qcom,sm8650-lpass-wsa-macro
24 - qcom,x1e80100-lpass-wsa-macro
25 - const: qcom,sm8550-lpass-wsa-macro
[all …]
/linux-6.12.1/arch/mips/include/asm/
Dasmmacro.h29 .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 …]
/linux-6.12.1/arch/arm/include/asm/
Dassembler.h98 .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-6.12.1/arch/arm64/include/asm/
Dassembler.h37 .macro disable_daif
44 .macro save_and_disable_irq, flags
49 .macro restore_irq, flags
53 .macro disable_step_tsk, flgs, tmp
63 .macro enable_step_tsk, flgs, tmp
74 .macro esb
85 .macro csdb
92 .macro clearbhb
99 .macro sb
112 .macro nops, num
[all …]
Dfpsimdmacros.h11 .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-6.12.1/arch/xtensa/include/asm/
Dcacheasm.h35 .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-6.12.1/drivers/phy/mscc/
Dphy-ocelot-serdes.c36 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-6.12.1/arch/arm/include/debug/
Dicedcc.S10 .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 …]
/linux-6.12.1/arch/loongarch/include/asm/
Dstackframe.h19 .macro cfi_rel_offset reg offset=0 docfi=0
25 .macro cfi_st reg offset=0 docfi=0
30 .macro cfi_restore reg offset=0 docfi=0
36 .macro cfi_ld reg offset=0 docfi=0
41 .macro SETUP_DMWINS temp
53 .macro JUMP_VIRT_ADDR temp1 temp2
60 .macro BACKUP_T0T1
65 .macro RELOAD_T0T1
70 .macro SAVE_TEMP docfi=0
83 .macro SAVE_STATIC docfi=0
[all …]
/linux-6.12.1/arch/xtensa/variants/test_mmuhifi_c3/include/variant/
Dtie-asm.h31 /* Macro to save all non-coprocessor (extra) custom TIE and optional state
36 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
58 /* Macro to save all non-coprocessor (extra) custom TIE and optional state
63 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
91 /* Macro to save the state of TIE coprocessor AudioEngineLX.
97 .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
127 /* Macro to restore the state of TIE coprocessor AudioEngineLX.
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
[all …]
/linux-6.12.1/arch/riscv/include/asm/
Dscs.h11 .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-6.12.1/arch/nios2/include/asm/
Dasm-macros.h3 * Macro used to simplify coding multi-line assembler.
4 * Some of the bit test macro can simplify down to one line
19 .macro ANDI32 reg1, reg2, mask
39 .macro ORI32 reg1, reg2, mask
58 .macro XORI32 reg1, reg2, mask
72 * This is a support macro for BTBZ & BTBNZ. It checks
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
[all …]
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_args.h19 * CALL_ARGS - Invoke a macro, but allow parameters to be expanded beforehand.
20 * @f: name of the macro to invoke
21 * @args: arguments for the macro
23 * This macro allows calling macros which names might generated or we want to
41 * This helper macro allows manipulation the argument list before passing it
42 * to the next level macro.
58 * This helper macro allows manipulation the argument list before passing it
59 * to the next level macro.
75 * This helper macro allows manipulation the argument list before passing it
76 * to the next level macro.
[all …]

12345678910>>...91