Searched refs:cur_alt (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/media/video/cpia2/ |
D | cpia2_usb.c | 49 #define FRAME_SIZE_PER_DESC frame_sizes[cam->cur_alt] 485 if(alt == cam->cur_alt) in set_alternate() 488 if (cam->cur_alt != USBIF_CMDONLY) { in set_alternate() 489 DBG("Changing from alt %d to %d\n", cam->cur_alt, USBIF_CMDONLY); in set_alternate() 501 cam->old_alt = cam->cur_alt; in set_alternate() 502 cam->cur_alt = alt; in set_alternate()
|
D | cpia2.h | 406 unsigned int cur_alt; member
|
/linux-2.6.39/drivers/usb/core/ |
D | hcd.c | 1694 struct usb_host_interface *cur_alt, in usb_hcd_alloc_bandwidth() argument 1708 if (!new_config && !cur_alt) { in usb_hcd_alloc_bandwidth() 1763 if (cur_alt && new_alt) { in usb_hcd_alloc_bandwidth() 1765 cur_alt->desc.bInterfaceNumber); in usb_hcd_alloc_bandwidth() 1777 cur_alt = usb_altnum_to_altsetting(iface, 0); in usb_hcd_alloc_bandwidth() 1778 if (!cur_alt) in usb_hcd_alloc_bandwidth() 1779 cur_alt = &iface->altsetting[0]; in usb_hcd_alloc_bandwidth() 1783 for (i = 0; i < cur_alt->desc.bNumEndpoints; i++) { in usb_hcd_alloc_bandwidth() 1785 &cur_alt->endpoint[i]); in usb_hcd_alloc_bandwidth()
|
/linux-2.6.39/drivers/usb/gadget/ |
D | amd5536udc.h | 573 u16 cur_alt; member
|
D | pch_udc.c | 272 u16 cur_alt; member 959 (cfg->cur_alt << UDC_CSR_NE_ALT_SHIFT) | in pch_udc_ep_enable() 2392 dev->cfg_data.cur_alt = (dev_stat & UDC_DEVSTS_ALT_MASK) >> in pch_udc_svc_intf_interrupt() 2399 dev->setup_data.wValue = cpu_to_le16(dev->cfg_data.cur_alt); in pch_udc_svc_intf_interrupt() 2407 (dev->cfg_data.cur_alt << UDC_CSR_NE_ALT_SHIFT); in pch_udc_svc_intf_interrupt()
|
D | amd5536udc.c | 422 tmp = AMD_ADDBITS(tmp, ep->dev->cur_alt, UDC_CSR_NE_ALT); in udc_ep_enable() 1621 dev->cur_alt = 0; in udc_setup_endpoints() 2883 dev->cur_alt = AMD_GETBITS(tmp, UDC_DEVSTS_ALT); in udc_dev_isr() 2890 setup_data.request.wValue = cpu_to_le16(dev->cur_alt); in udc_dev_isr() 2894 dev->cur_alt, dev->cur_intf); in udc_dev_isr() 2919 tmp = AMD_ADDBITS(tmp, ep->dev->cur_alt, in udc_dev_isr()
|