Lines Matching refs:sa
56 struct sbi_attach_args *sa = (struct sbi_attach_args *)aux;
59 aprint_normal("unknown device 0x%x at %s", sa->sa_type, name);
61 aprint_normal(" tr%d", sa->sa_nexnum);
77 struct sbi_attach_args sa;
81 sa.sa_base = NEX730;
90 for (sa.sa_nexnum = 0; sa.sa_nexnum < 4; sa.sa_nexnum++) {
91 sa.sa_ioh = vax_map_physmem(NEX730 +
92 sizeof(struct nexus) * sa.sa_nexnum, NEXPAGES);
93 if (badaddr((caddr_t)sa.sa_ioh, 4)) {
94 vax_unmap_physmem((vaddr_t)sa.sa_ioh, NEXPAGES);
96 sa.sa_type = NEX_MEM16;
97 config_found(self, (void*)&sa, ubi_print);
105 sa.sa_nexnum = 0;
106 sa.sa_ioh = vax_map_physmem((int)NEX730 +
107 sizeof(struct nexus) * sa.sa_nexnum, NEXPAGES);
108 sa.sa_type = NEX_MEM16;
109 config_found(self, (void*)&sa, ubi_print);
114 sa.sa_nexnum = 3;
115 sa.sa_ioh = vax_map_physmem((int)NEX730 +
116 sizeof(struct nexus) * sa.sa_nexnum, NEXPAGES);
117 sa.sa_type = NEX_UBA0;
118 config_found(self, (void*)&sa, ubi_print);