Lines Matching refs:si
135 struct sys_info *si; in API_get_sys_info() local
137 si = (struct sys_info *)va_arg(ap, uintptr_t); in API_get_sys_info()
138 if (si == NULL) in API_get_sys_info()
141 return (platform_sys_info(si)) ? 0 : API_ENODEV; in API_get_sys_info()
698 void platform_set_mr(struct sys_info *si, unsigned long start, unsigned long size, in platform_set_mr() argument
703 if (!si->mr || !size || (flags == 0)) in platform_set_mr()
707 for (i = 0; i < si->mr_no; i++) in platform_set_mr()
708 if (si->mr[i].flags == 0) { in platform_set_mr()
710 si->mr[i].start = start; in platform_set_mr()
711 si->mr[i].size = size; in platform_set_mr()
712 si->mr[i].flags = flags; in platform_set_mr()