Lines Matching refs:seq

126 static int state_show(struct seq_file *seq, void *v)  in state_show()  argument
128 struct dwc2_hsotg *hsotg = seq->private; in state_show()
131 seq_printf(seq, "DCFG=0x%08x, DCTL=0x%08x, DSTS=0x%08x\n", in state_show()
136 seq_printf(seq, "DIEPMSK=0x%08x, DOEPMASK=0x%08x\n", in state_show()
139 seq_printf(seq, "GINTMSK=0x%08x, GINTSTS=0x%08x\n", in state_show()
143 seq_printf(seq, "DAINTMSK=0x%08x, DAINT=0x%08x\n", in state_show()
147 seq_printf(seq, "GNPTXSTS=0x%08x, GRXSTSR=%08x\n", in state_show()
151 seq_puts(seq, "\nEndpoint status:\n"); in state_show()
159 seq_printf(seq, "ep%d: DIEPCTL=0x%08x, DOEPCTL=0x%08x", in state_show()
165 seq_printf(seq, ", DIEPTSIZ=0x%08x, DOEPTSIZ=0x%08x", in state_show()
168 seq_puts(seq, "\n"); in state_show()
183 static int fifo_show(struct seq_file *seq, void *v) in fifo_show() argument
185 struct dwc2_hsotg *hsotg = seq->private; in fifo_show()
190 seq_puts(seq, "Non-periodic FIFOs:\n"); in fifo_show()
191 seq_printf(seq, "RXFIFO: Size %d\n", dwc2_readl(hsotg, GRXFSIZ)); in fifo_show()
194 seq_printf(seq, "NPTXFIFO: Size %d, Start 0x%08x\n", in fifo_show()
198 seq_puts(seq, "\nPeriodic TXFIFOs:\n"); in fifo_show()
203 seq_printf(seq, "\tDPTXFIFO%2d: Size %d, Start 0x%08x\n", idx, in fifo_show()
225 static int ep_show(struct seq_file *seq, void *v) in ep_show() argument
227 struct dwc2_hsotg_ep *ep = seq->private; in ep_show()
234 seq_printf(seq, "Endpoint index %d, named %s, dir %s:\n", in ep_show()
239 seq_printf(seq, "\tDIEPCTL=0x%08x, DOEPCTL=0x%08x\n", in ep_show()
243 seq_printf(seq, "\tDIEPDMA=0x%08x, DOEPDMA=0x%08x\n", in ep_show()
247 seq_printf(seq, "\tDIEPINT=0x%08x, DOEPINT=0x%08x\n", in ep_show()
251 seq_printf(seq, "\tDIEPTSIZ=0x%08x, DOEPTSIZ=0x%08x\n", in ep_show()
255 seq_puts(seq, "\n"); in ep_show()
256 seq_printf(seq, "mps %d\n", ep->ep.maxpacket); in ep_show()
257 seq_printf(seq, "total_data=%ld\n", ep->total_data); in ep_show()
259 seq_printf(seq, "request list (%p,%p):\n", in ep_show()
266 seq_puts(seq, "not showing more requests...\n"); in ep_show()
270 seq_printf(seq, "%c req %p: %d bytes @%p, ", in ep_show()
273 seq_printf(seq, "%d done, res %d\n", in ep_show()
667 static int params_show(struct seq_file *seq, void *v) in params_show() argument
669 struct dwc2_hsotg *hsotg = seq->private; in params_show()
673 print_param(seq, p, otg_caps.hnp_support); in params_show()
674 print_param(seq, p, otg_caps.srp_support); in params_show()
675 print_param(seq, p, otg_caps.otg_rev); in params_show()
676 print_param(seq, p, dma_desc_enable); in params_show()
677 print_param(seq, p, dma_desc_fs_enable); in params_show()
678 print_param(seq, p, speed); in params_show()
679 print_param(seq, p, enable_dynamic_fifo); in params_show()
680 print_param(seq, p, en_multiple_tx_fifo); in params_show()
681 print_param(seq, p, host_rx_fifo_size); in params_show()
682 print_param(seq, p, host_nperio_tx_fifo_size); in params_show()
683 print_param(seq, p, host_perio_tx_fifo_size); in params_show()
684 print_param(seq, p, max_transfer_size); in params_show()
685 print_param(seq, p, max_packet_count); in params_show()
686 print_param(seq, p, host_channels); in params_show()
687 print_param(seq, p, phy_type); in params_show()
688 print_param(seq, p, phy_utmi_width); in params_show()
689 print_param(seq, p, phy_ulpi_ddr); in params_show()
690 print_param(seq, p, phy_ulpi_ext_vbus); in params_show()
691 print_param(seq, p, i2c_enable); in params_show()
692 print_param(seq, p, ipg_isoc_en); in params_show()
693 print_param(seq, p, ulpi_fs_ls); in params_show()
694 print_param(seq, p, host_support_fs_ls_low_power); in params_show()
695 print_param(seq, p, host_ls_low_power_phy_clk); in params_show()
696 print_param(seq, p, activate_stm_fs_transceiver); in params_show()
697 print_param(seq, p, activate_stm_id_vb_detection); in params_show()
698 print_param(seq, p, ts_dline); in params_show()
699 print_param(seq, p, reload_ctl); in params_show()
700 print_param_hex(seq, p, ahbcfg); in params_show()
701 print_param(seq, p, uframe_sched); in params_show()
702 print_param(seq, p, external_id_pin_ctl); in params_show()
703 print_param(seq, p, power_down); in params_show()
704 print_param(seq, p, lpm); in params_show()
705 print_param(seq, p, lpm_clock_gating); in params_show()
706 print_param(seq, p, besl); in params_show()
707 print_param(seq, p, hird_threshold_en); in params_show()
708 print_param(seq, p, hird_threshold); in params_show()
709 print_param(seq, p, service_interval); in params_show()
710 print_param(seq, p, host_dma); in params_show()
711 print_param(seq, p, g_dma); in params_show()
712 print_param(seq, p, g_dma_desc); in params_show()
713 print_param(seq, p, g_rx_fifo_size); in params_show()
714 print_param(seq, p, g_np_tx_fifo_size); in params_show()
720 seq_printf(seq, "%-30s: %d\n", str, p->g_tx_fifo_size[i]); in params_show()
727 static int hw_params_show(struct seq_file *seq, void *v) in hw_params_show() argument
729 struct dwc2_hsotg *hsotg = seq->private; in hw_params_show()
732 print_param(seq, hw, op_mode); in hw_params_show()
733 print_param(seq, hw, arch); in hw_params_show()
734 print_param(seq, hw, dma_desc_enable); in hw_params_show()
735 print_param(seq, hw, enable_dynamic_fifo); in hw_params_show()
736 print_param(seq, hw, en_multiple_tx_fifo); in hw_params_show()
737 print_param(seq, hw, rx_fifo_size); in hw_params_show()
738 print_param(seq, hw, host_nperio_tx_fifo_size); in hw_params_show()
739 print_param(seq, hw, dev_nperio_tx_fifo_size); in hw_params_show()
740 print_param(seq, hw, host_perio_tx_fifo_size); in hw_params_show()
741 print_param(seq, hw, nperio_tx_q_depth); in hw_params_show()
742 print_param(seq, hw, host_perio_tx_q_depth); in hw_params_show()
743 print_param(seq, hw, dev_token_q_depth); in hw_params_show()
744 print_param(seq, hw, max_transfer_size); in hw_params_show()
745 print_param(seq, hw, max_packet_count); in hw_params_show()
746 print_param(seq, hw, host_channels); in hw_params_show()
747 print_param(seq, hw, hs_phy_type); in hw_params_show()
748 print_param(seq, hw, fs_phy_type); in hw_params_show()
749 print_param(seq, hw, i2c_enable); in hw_params_show()
750 print_param(seq, hw, num_dev_ep); in hw_params_show()
751 print_param(seq, hw, num_dev_perio_in_ep); in hw_params_show()
752 print_param(seq, hw, total_fifo_size); in hw_params_show()
753 print_param(seq, hw, power_optimized); in hw_params_show()
754 print_param(seq, hw, utmi_phy_data_width); in hw_params_show()
755 print_param_hex(seq, hw, snpsid); in hw_params_show()
756 print_param_hex(seq, hw, dev_ep_dirs); in hw_params_show()
762 static int dr_mode_show(struct seq_file *seq, void *v) in dr_mode_show() argument
764 struct dwc2_hsotg *hsotg = seq->private; in dr_mode_show()
768 seq_printf(seq, "%s\n", dr_mode); in dr_mode_show()