Home | History | Annotate | Download | only in sbus

Lines Matching refs:sa

78 	struct sbus_attach_args *sa = aux;
80 return (strcmp(cf->cf_name, sa->sa_name) == 0) ? 100 : 0;
91 struct sbus_attach_args *sa = aux;
98 sc->sc_bustag = sa->sa_bustag;
99 sc->sc_paddr = sbus_bus_addr(sa->sa_bustag, sa->sa_slot, sa->sa_offset);
102 node = sa->sa_node;
116 if (sbus_bus_map(sa->sa_bustag,
117 sa->sa_slot,
118 sa->sa_offset + CGSIX_BT_OFFSET,
124 sc->sc_bt = (struct bt_regs *)bus_space_vaddr(sa->sa_bustag, bh);
126 if (sbus_bus_map(sa->sa_bustag,
127 sa->sa_slot,
128 sa->sa_offset + CGSIX_FHC_OFFSET,
134 sc->sc_fhc = (int *)bus_space_vaddr(sa->sa_bustag, bh);
136 if (sbus_bus_map(sa->sa_bustag,
137 sa->sa_slot,
138 sa->sa_offset + CGSIX_THC_OFFSET,
144 sc->sc_thc = (struct cg6_thc *)bus_space_vaddr(sa->sa_bustag, bh);
146 if (sbus_bus_map(sa->sa_bustag,
147 sa->sa_slot,
148 sa->sa_offset + CGSIX_TEC_OFFSET,
154 sc->sc_tec = (struct cg6_tec_xxx *)bus_space_vaddr(sa->sa_bustag, bh);
156 if (sbus_bus_map(sa->sa_bustag,
157 sa->sa_slot,
158 sa->sa_offset + CGSIX_FBC_OFFSET,
164 sc->sc_fbc = (struct cg6_fbc *)bus_space_vaddr(sa->sa_bustag, bh);
175 if (sbus_bus_map(sa->sa_bustag,
176 sa->sa_slot,
177 sa->sa_offset + CGSIX_RAM_OFFSET,
184 sc->sc_fb.fb_pixels = (void *)bus_space_vaddr(sa->sa_bustag, bh);