Lines Matching defs:dip

42 static int zyd_usb_disconnect(dev_info_t *dip);
43 static int zyd_usb_reconnect(dev_info_t *dip);
365 if (usb_pipe_open(uc->dip, &endpoint->ep_descr,
451 usb_pipe_close(uc->dip, uc->pipe_data_out, USB_FLAGS_SLEEP,
457 usb_pipe_close(uc->dip, uc->pipe_data_in, USB_FLAGS_SLEEP,
463 usb_pipe_close(uc->dip, uc->pipe_cmd_in, USB_FLAGS_SLEEP,
469 usb_pipe_close(uc->dip, uc->pipe_cmd_out, USB_FLAGS_SLEEP,
535 send_req = usb_alloc_bulk_req(uc->dip, len, USB_FLAGS_SLEEP);
564 usb_pipe_reset(uc->dip, pipe, USB_FLAGS_SLEEP, NULL, 0);
608 send_req = usb_alloc_intr_req(uc->dip, len, USB_FLAGS_SLEEP);
637 usb_pipe_reset(uc->dip, pipe, USB_FLAGS_SLEEP, NULL, 0);
848 intr_req = usb_alloc_intr_req(uc->dip, 0, USB_FLAGS_SLEEP);
988 req = usb_alloc_bulk_req(uc->dip, ZYD_RX_BUF_SIZE, USB_FLAGS_SLEEP);
1034 usb_pipe_reset(uc->dip, uc->pipe_data_in, USB_FLAGS_SLEEP,
1049 send_req = usb_alloc_bulk_req(uc->dip, 0, USB_FLAGS_SLEEP);
1080 * dip pointer to device info structure
1086 dev_info_t *dip = sc->dip;
1089 uc->dip = dip;
1091 ures = usb_client_attach(uc->dip, USBDRV_VERSION, 0);
1101 ures = usb_get_dev_data(uc->dip, &uc->cdata, USB_PARSE_LVL_ALL, 0);
1108 ures = usb_reset_device(uc->dip, USB_RESET_LVL_DEFAULT);
1116 ures = usb_register_hotplug_cbs(dip, zyd_usb_disconnect,
1126 usb_client_detach(uc->dip, uc->cdata);
1139 usb_unregister_hotplug_cbs(sc->dip);
1141 usb_client_detach(uc->dip, uc->cdata);
1150 zyd_usb_reconnect(dev_info_t *dip)
1155 sc = ddi_get_soft_state(zyd_ssp, ddi_get_instance(dip));
1165 if (usb_check_same_device(sc->dip, NULL, USB_LOG_L2, -1,
1190 usb_client_detach(uc->dip, uc->cdata);
1196 zyd_usb_disconnect(dev_info_t *dip)
1201 sc = ddi_get_soft_state(zyd_ssp, ddi_get_instance(dip));
1264 if (usb_check_same_device(sc->dip, NULL, USB_LOG_L2, -1,