Lines Matching refs:seq

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