Lines Matching defs:ucaa
110 * NOTE: Callers of umodem_common_attach() should initialise their ucaa
117 struct usbif_attach_arg *uiaa, struct ucom_attach_args *ucaa)
176 ucaa->ucaa_bulkin = ucaa->ucaa_bulkout = -1;
188 ucaa->ucaa_bulkin = ed->bEndpointAddress;
191 ucaa->ucaa_bulkout = ed->bEndpointAddress;
195 if (ucaa->ucaa_bulkin == -1) {
199 if (ucaa->ucaa_bulkout == -1) {
253 if (ucaa->ucaa_ibufsize == 0)
254 ucaa->ucaa_ibufsize = UMODEMIBUFSIZE;
255 if (ucaa->ucaa_obufsize == 0)
256 ucaa->ucaa_obufsize = UMODEMOBUFSIZE;
257 if (ucaa->ucaa_ibufsizepad == 0)
258 ucaa->ucaa_ibufsizepad = UMODEMIBUFSIZE;
259 ucaa->ucaa_opkthdrlen = 0;
260 ucaa->ucaa_device = sc->sc_udev;
261 ucaa->ucaa_iface = sc->sc_data_iface;
262 ucaa->ucaa_arg = sc;
270 if (ucaa->ucaa_portno == UCOM_UNK_PORTNO)
271 ucaa->ucaa_portno = uiaa->uiaa_iface->ui_index / 2;
276 sc->sc_subdev = config_found(self, ucaa, ucomprint,