Lines Matching refs:f
53 regs = [ f"MISC{n}" for n in range(0, int(get("XCHAL_NUM_MISC_REGS"))) ]
66 regs.append(f"EXCSAVE{il}")
79 levelsym = f"XCHAL_INT{intnum}_LEVEL"
87 with open(outfile, "w") as f:
88 f.write("/* Generated File, see gen_zsr.py */\n")
89 f.write("#ifndef ZEPHYR_ZSR_H\n")
90 f.write("#define ZEPHYR_ZSR_H\n")
92 f.write(f"# define ZSR_{need} {regs[i]}\n")
93 f.write(f"# define ZSR_{need}_STR \"{regs[i]}\"\n")
97 f.write(f"# define ZSR_EXTRA{i - len(NEEDED)} {regs[i]}\n")
98 f.write(f"# define ZSR_EXTRA{i - len(NEEDED)}_STR \"{regs[i]}\"\n")
101 f.write(f"# define ZSR_RFI_LEVEL {maxint}\n")
102 f.write(f"# define ZSR_EPC EPC{maxint}\n")
103 f.write(f"# define ZSR_EPS EPS{maxint}\n")
107 f.write(f"# define ZSR_IRQ_OFFLOAD_INT {irqoff_int}\n")
109 f.write("#endif\n")