Home
last modified time | relevance | path

Searched refs:ep_addr (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/
H A Dkeyspan_pipe.c100 uint8_t ep_addr, ep_cnt; in keyspan_init_pipes() local
134 ep_addr = tmp_ep->ep_descr.bEndpointAddress; in keyspan_init_pipes()
137 "ep_addr =%x, stat_ep_addr=%x, i=%d", ep_addr, in keyspan_init_pipes()
141 if (ep_addr == ksp->ks_dev_spec.stat_ep_addr) { in keyspan_init_pipes()
152 if (ep_addr == ksp->ks_dev_spec.datain_ep_addr[j]) { in keyspan_init_pipes()
176 " addr =%x,", ep_addr); in keyspan_init_pipes()
206 ep_addr = tmp_ep->ep_descr.bEndpointAddress; in keyspan_init_pipes()
209 if (ep_addr == ksp->ks_dev_spec.ctrl_ep_addr) { in keyspan_init_pipes()
217 if (ep_addr == ksp->ks_dev_spec.dataout_ep_addr[j]) { in keyspan_init_pipes()
235 " ep_addr =%x", ep_addr); in keyspan_init_pipes()
[all …]
/titanic_44/usr/src/uts/common/io/usb/usba/
H A Dhcdi.c967 usba_hcdi_get_data_toggle(usba_device_t *usba_device, uint8_t ep_addr) in usba_hcdi_get_data_toggle() argument
973 ep_index = usb_get_ep_index(ep_addr); in usba_hcdi_get_data_toggle()
987 usba_hcdi_set_data_toggle(usba_device_t *usba_device, uint8_t ep_addr, in usba_hcdi_set_data_toggle() argument
993 ep_index = usb_get_ep_index(ep_addr); in usba_hcdi_set_data_toggle()
1006 usba_hcdi_get_ph_data(usba_device_t *usba_device, uint8_t ep_addr) in usba_hcdi_get_ph_data() argument
1008 return (usba_device->usb_ph_list[usb_get_ep_index(ep_addr)]. in usba_hcdi_get_ph_data()
H A Dusbai_pipe_mgmt.c418 usb_get_ep_index(uint8_t ep_addr) in usb_get_ep_index() argument
420 return ((ep_addr & USB_EP_NUM_MASK) + in usb_get_ep_index()
421 ((ep_addr & USB_EP_DIR_MASK) ? 16 : 0)); in usb_get_ep_index()
H A Dusba_ugen.c1580 int ep_addr = in ugen_epxs_minor_nodes_create() local
1590 cfgval, cfgidx, iface, alt, ep_addr); in ugen_epxs_minor_nodes_create()
1613 cfgval, iface, alt, ep_addr); in ugen_epxs_minor_nodes_create()
1631 if ((ep_addr == 0) && owns_device) { in ugen_epxs_minor_nodes_create()
1633 vid, pid, type, ep_addr); in ugen_epxs_minor_nodes_create()
1636 vid, pid, iface, type, ep_addr); in ugen_epxs_minor_nodes_create()
1639 vid, pid, iface, alt, type, ep_addr); in ugen_epxs_minor_nodes_create()
1642 vid, pid, cfgval, iface, type, ep_addr); in ugen_epxs_minor_nodes_create()
1646 type, ep_addr); in ugen_epxs_minor_nodes_create()
/titanic_44/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_polled.c959 uint8_t ep_addr; in ehci_polled_save_state() local
993 ep_addr = ehci_polledp->ehci_polled_ep_addr; in ehci_polled_save_state()
996 ph = usba_hcdi_get_ph_data(ehci_polledp->ehci_polled_usb_dev, ep_addr); in ehci_polled_save_state()
1088 ehci_polledp->ehci_polled_usb_dev, ep_addr); in ehci_polled_save_state()
1176 uint8_t ep_addr; in ehci_polled_restore_state() local
1199 ep_addr = ehci_polledp->ehci_polled_ep_addr; in ehci_polled_restore_state()
1202 ph = usba_hcdi_get_ph_data(ehci_polledp->ehci_polled_usb_dev, ep_addr); in ehci_polled_restore_state()
1244 ep_addr, polled_toggle); in ehci_polled_restore_state()
/titanic_44/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci_polled.c882 uint8_t ep_addr; in ohci_polled_save_state() local
916 ep_addr = ohci_polledp->ohci_polled_ep_addr; in ohci_polled_save_state()
919 ph = usba_hcdi_get_ph_data(ohci_polledp->ohci_polled_usb_dev, ep_addr); in ohci_polled_save_state()
1138 ohci_polledp->ohci_polled_usb_dev, ep_addr); in ohci_polled_save_state()
1275 uint8_t ep_addr; in ohci_polled_restore_state() local
1300 ep_addr = ohci_polledp->ohci_polled_ep_addr; in ohci_polled_restore_state()
1302 ph = usba_hcdi_get_ph_data(ohci_polledp->ohci_polled_usb_dev, ep_addr); in ohci_polled_restore_state()
1440 ep_addr, polled_toggle); in ohci_polled_restore_state()
/titanic_44/usr/src/uts/common/sys/usb/usba/
H A Dusbai_private.h525 uchar_t usb_get_ep_index(uint8_t ep_addr);
/titanic_44/usr/src/uts/common/io/zyd/
H A Dzyd_usb.c310 uint_t ep_addr, ep_dir; in usb_find_endpoint() local
316 ep_addr = ep_descr->bEndpointAddress & USB_EP_NUM_MASK; in usb_find_endpoint()
319 if (ep_addr == ep_address && ep_dir == ep_direction) { in usb_find_endpoint()