• Home
  • Raw
  • Download

Lines Matching refs:sc_hw

177 	cb(bus, &sc->sc_hw.root_pc, &sc->sc_hw.root_pg,  in xhci_iterate_hw_softc()
180 cb(bus, &sc->sc_hw.ctx_pc, &sc->sc_hw.ctx_pg, in xhci_iterate_hw_softc()
184 cb(bus, &sc->sc_hw.scratch_pc[i], &sc->sc_hw.scratch_pg[i], in xhci_iterate_hw_softc()
286 usbd_get_page(&sc->sc_hw.root_pc, 0, &buf_res); in xhci_reset_command_queue_locked()
298 usb_pc_cpu_flush(&sc->sc_hw.root_pc); in xhci_reset_command_queue_locked()
355 usbd_get_page(&sc->sc_hw.ctx_pc, 0, &buf_res); in xhci_start_controller()
371 usbd_get_page(&sc->sc_hw.scratch_pc[i], 0, &buf_scp); in xhci_start_controller()
391 usbd_get_page(&sc->sc_hw.root_pc, 0, &buf_res); in xhci_start_controller()
899 pepext = &sc->sc_hw.devs[index].endp[epno]; in xhci_check_transfer()
1051 usbd_get_page(&sc->sc_hw.root_pc, 0, &buf_res); in xhci_interrupt_poll()
1057 usb_pc_cpu_invalidate(&sc->sc_hw.root_pc); in xhci_interrupt_poll()
1141 usbd_get_page(&sc->sc_hw.root_pc, 0, &buf_res); in xhci_do_command()
1161 usb_pc_cpu_flush(&sc->sc_hw.root_pc); in xhci_do_command()
1174 usb_pc_cpu_flush(&sc->sc_hw.root_pc); in xhci_do_command()
1195 usb_pc_cpu_flush(&sc->sc_hw.root_pc); in xhci_do_command()
1353 hdev = &sc->sc_hw.devs[index]; in xhci_set_address()
2226 usbd_get_page(&sc->sc_hw.ctx_pc, 0, &buf_res); in xhci_set_slot_pointer()
2234 usb_pc_cpu_flush(&sc->sc_hw.ctx_pc); in xhci_set_slot_pointer()
2249 usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp); in xhci_configure_mask()
2278 if (x > sc->sc_hw.devs[index].context_num) in xhci_configure_mask()
2279 sc->sc_hw.devs[index].context_num = x; in xhci_configure_mask()
2281 x = sc->sc_hw.devs[index].context_num; in xhci_configure_mask()
2289 usb_pc_cpu_flush(&sc->sc_hw.devs[index].input_pc); in xhci_configure_mask()
2311 usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp); in xhci_configure_endpoint()
2447 usb_pc_cpu_flush(&sc->sc_hw.devs[index].input_pc); in xhci_configure_endpoint()
2514 pcinp = &sc->sc_hw.devs[index].input_pc; in xhci_configure_device()
2552 sc->sc_hw.devs[index].context_num + 1); in xhci_configure_device()
2566 if ((sc->sc_hw.devs[index].nports != 0) && in xhci_configure_device()
2586 is_hub = sc->sc_hw.devs[index].nports != 0 && in xhci_configure_device()
2599 sc->sc_hw.devs[index].nports); in xhci_configure_device()
2604 switch (sc->sc_hw.devs[index].state) { in xhci_configure_device()
2625 sc->sc_hw.devs[index].tt); in xhci_configure_device()
2679 pc = &sc->sc_hw.devs[index].device_pc; in xhci_alloc_device_ext()
2680 pg = &sc->sc_hw.devs[index].device_pg; in xhci_alloc_device_ext()
2692 pc = &sc->sc_hw.devs[index].input_pc; in xhci_alloc_device_ext()
2693 pg = &sc->sc_hw.devs[index].input_pg; in xhci_alloc_device_ext()
2707 pc = &sc->sc_hw.devs[index].endpoint_pc[i]; in xhci_alloc_device_ext()
2708 pg = &sc->sc_hw.devs[index].endpoint_pg[i]; in xhci_alloc_device_ext()
2757 usb_pc_free_mem(&sc->sc_hw.devs[index].device_pc); in xhci_free_device_ext()
2758 usb_pc_free_mem(&sc->sc_hw.devs[index].input_pc); in xhci_free_device_ext()
2760 usb_pc_free_mem(&sc->sc_hw.devs[index].endpoint_pc[i]); in xhci_free_device_ext()
2781 pc = &sc->sc_hw.devs[index].endpoint_pc[epno]; in xhci_get_endpoint_ext()
2785 pepext = &sc->sc_hw.devs[index].endp[epno]; in xhci_get_endpoint_ext()
3778 pcinp = &sc->sc_hw.devs[index].input_pc; in xhci_configure_reset_endpoint()
4032 if (sc->sc_hw.devs[temp].state != XHCI_ST_DISABLED) { in xhci_device_init()
4044 (void)memset_s(&sc->sc_hw.devs[temp], sizeof(sc->sc_hw.devs[0]), 0, sizeof(sc->sc_hw.devs[0])); in xhci_device_init()
4048 sc->sc_hw.devs[temp].state = XHCI_ST_ENABLED; in xhci_device_init()
4078 sc->sc_hw.devs[index].state = XHCI_ST_DISABLED; in xhci_device_uninit()
4185 err = uhub_query_info(udev, &sc->sc_hw.devs[index].nports, in xhci_device_state_change()
4186 &sc->sc_hw.devs[index].tt); in xhci_device_state_change()
4188 sc->sc_hw.devs[index].nports = 0; in xhci_device_state_change()
4195 if (sc->sc_hw.devs[index].state == XHCI_ST_DEFAULT) in xhci_device_state_change()
4199 sc->sc_hw.devs[index].state = XHCI_ST_DEFAULT; in xhci_device_state_change()
4202 sc->sc_hw.devs[index].context_num = 0; in xhci_device_state_change()
4213 if (sc->sc_hw.devs[index].state == XHCI_ST_ADDRESSED) in xhci_device_state_change()
4216 sc->sc_hw.devs[index].state = XHCI_ST_ADDRESSED; in xhci_device_state_change()
4230 if (sc->sc_hw.devs[index].state == XHCI_ST_CONFIGURED) in xhci_device_state_change()
4234 sc->sc_hw.devs[index].state = XHCI_ST_CONFIGURED; in xhci_device_state_change()
4237 sc->sc_hw.devs[index].context_num = 0; in xhci_device_state_change()
4239 usbd_get_page(&sc->sc_hw.devs[index].input_pc, 0, &buf_inp); in xhci_device_state_change()