Lines Matching defs:regname
203 kaif_find_regp(kaif_cpusave_t *save, const char *regname)
215 if (strcmp(regname, "sp") == 0)
216 regname = "o6";
217 else if (strcmp(regname, "fp") == 0)
218 regname = "i6";
220 if (strlen(regname) == 2 && regname[1] >= '0' && regname[1] <= '7') {
221 int idx = regname[1] - '0';
223 switch (regname[0]) {
238 if (strcmp(rd->rd_name, regname) == 0)
247 kaif_get_register(const char *regname, kreg_t *valp)
254 if (strcmp(regname, "pstate") == 0) {
259 if ((regp = kaif_find_regp(save, regname)) == NULL)
268 kaif_set_register(const char *regname, kreg_t val)
275 if (strcmp(regname, "g0") == 0) {
278 } else if (strcmp(regname, "pstate") == 0) {
285 if ((regp = kaif_find_regp(save, regname)) == NULL)