Lines Matching refs:ifxusb_hcd_2

111 		extern ifxhcd_hcd_t ifxusb_hcd_2;
351 ifxusb_dump_params(&ifxusb_hcd_2.core_if);
435 if((ifxusb_rreg(&ifxusb_hcd_2.core_if.core_global_regs->gintsts ) & 0x1) == 1)
560 return sprintf( buf, "%d\n",ifxusb_hcd_2.pkt_remaining_reload_hs );
564 return sprintf( buf, "%d\n",ifxusb_hcd_2.pkt_remaining_reload_fs );
568 return sprintf( buf, "%d\n",ifxusb_hcd_2.pkt_remaining_reload_ls );
575 ifxusb_hcd_2.pkt_remaining_reload_hs = value;
576 hprt0.d32 = ifxusb_rreg(ifxusb_hcd_2.core_if.hprt0);
578 ifxusb_hcd_2.pkt_remaining_reload=value;
586 ifxusb_hcd_2.pkt_remaining_reload_fs = value;
587 hprt0.d32 = ifxusb_rreg(ifxusb_hcd_2.core_if.hprt0);
589 ifxusb_hcd_2.pkt_remaining_reload=value;
597 ifxusb_hcd_2.pkt_remaining_reload_ls = value;
598 hprt0.d32 = ifxusb_rreg(ifxusb_hcd_2.core_if.hprt0);
600 ifxusb_hcd_2.pkt_remaining_reload=value;
1034 return sprintf( buf, "%d\n",ifxusb_hcd_2.pkt_count_limit_bi );
1038 return sprintf( buf, "%d\n",ifxusb_hcd_2.pkt_count_limit_bo );
1043 ifxusb_hcd_2.pkt_count_limit_bi = value;
1048 ifxusb_hcd_2.pkt_count_limit_bo = value;
1329 if(ifxusb_vbus (&ifxusb_hcd_2.core_if)==1) return sprintf( buf, "1\n" );
1330 if(ifxusb_vbus (&ifxusb_hcd_2.core_if)==0) return sprintf( buf, "0\n" );
1335 if (value==1) ifxusb_vbus_on (&ifxusb_hcd_2.core_if);
1336 else if(value==0) ifxusb_vbus_off(&ifxusb_hcd_2.core_if);
1486 val.d32 = ifxusb_rreg(ifxusb_hcd_2.core_if.hprt0);
1553 val.d32 = ifxusb_rreg(ifxusb_hcd_2.core_if.hprt0);
1623 val.d32 = ifxusb_rreg(ifxusb_hcd_2.core_if.hprt0);
1757 ifxusb_dump_registers_h(&ifxusb_hcd_2.core_if);
1833 ifxusb_dump_spram_h(&ifxusb_hcd_2.core_if);
1911 ifxhcd_dump_state(&ifxusb_hcd_2);
1930 ifxhcd_dump_state(&ifxusb_hcd_2);
2029 suspend_host_store(&ifxusb_hcd_2,value);
2045 suspend_host_store(&ifxusb_hcd_2,value);
2129 if(ifxusb_hcd_2.power_status == 0)
2131 else if(ifxusb_hcd_2.power_status == 1)
2153 probe_host_store(&ifxusb_hcd_2,value);
2180 probe_host_store(&ifxusb_hcd_2,value);
2425 return sprintf (buf,"Host 2 auto-probe timer is %d second\n",ifxusb_hcd_2.autoprobe_sec);
2436 ifxusb_hcd_2.autoprobe_sec = value;
2464 ifxusb_hcd_2.autoprobe_sec = value;
2515 return sprintf (buf,"Host 2 probe timer is %d second\n",ifxusb_hcd_2.probe_sec);
2526 ifxusb_hcd_2.probe_sec = value;
2554 ifxusb_hcd_2.probe_sec = value;
2842 if(ifxusb_hcd_2.power_status == 0){
2846 else if(ifxusb_hcd_2.power_status == 1){
2850 else if(ifxusb_hcd_2.power_status == 2){
2855 printk(KERN_DEBUG "current power state of USB Host #2 is unknown (%d)\n",ifxusb_hcd_2.power_status);
2880 suspend_host_store(&ifxusb_hcd_2, 0);
2884 suspend_host_store(&ifxusb_hcd_2, 1);
2936 suspend_host_store(&ifxusb_hcd_2, 0);
2940 suspend_host_store(&ifxusb_hcd_2, 1);
2944 suspend_host_store(&ifxusb_hcd_2, 1);
2948 suspend_host_store(&ifxusb_hcd_2, 1);