Lines Matching refs:sf

79 static int mtu3_link_state_show(struct seq_file *sf, void *unused)  in mtu3_link_state_show()  argument
81 struct mtu3 *mtu = sf->private; in mtu3_link_state_show()
84 seq_printf(sf, "opstate: %#x, ltssm: %#x\n", in mtu3_link_state_show()
91 static int mtu3_ep_used_show(struct seq_file *sf, void *unused) in mtu3_ep_used_show() argument
93 struct mtu3 *mtu = sf->private; in mtu3_ep_used_show()
104 seq_printf(sf, "%s - type: %d\n", mep->name, mep->type); in mtu3_ep_used_show()
110 seq_printf(sf, "%s - type: %d\n", mep->name, mep->type); in mtu3_ep_used_show()
114 seq_printf(sf, "total used: %d eps\n", used); in mtu3_ep_used_show()
173 static int mtu3_ep_info_show(struct seq_file *sf, void *unused) in mtu3_ep_info_show() argument
175 struct mtu3_ep *mep = sf->private; in mtu3_ep_info_show()
180 seq_printf(sf, "ep - type:%d, maxp:%d, slot:%d, flags:%x\n", in mtu3_ep_info_show()
187 static int mtu3_fifo_show(struct seq_file *sf, void *unused) in mtu3_fifo_show() argument
189 struct mtu3_ep *mep = sf->private; in mtu3_fifo_show()
194 seq_printf(sf, "fifo - seg_size:%d, addr:%d, size:%d\n", in mtu3_fifo_show()
201 static int mtu3_qmu_ring_show(struct seq_file *sf, void *unused) in mtu3_qmu_ring_show() argument
203 struct mtu3_ep *mep = sf->private; in mtu3_qmu_ring_show()
210 seq_printf(sf, in mtu3_qmu_ring_show()
219 static int mtu3_qmu_gpd_show(struct seq_file *sf, void *unused) in mtu3_qmu_gpd_show() argument
221 struct mtu3_ep *mep = sf->private; in mtu3_qmu_gpd_show()
233 seq_puts(sf, "empty!\n"); in mtu3_qmu_gpd_show()
239 seq_printf(sf, "gpd.%03d -> %pad, %p: %08x %08x %08x %08x\n", in mtu3_qmu_gpd_show()
289 static int mtu3_probe_show(struct seq_file *sf, void *unused) in mtu3_probe_show() argument
291 const char *file_name = file_dentry(sf->file)->d_iname; in mtu3_probe_show()
292 struct mtu3 *mtu = sf->private; in mtu3_probe_show()
303 seq_printf(sf, "0x%04x - 0x%08x\n", (u32)regs->offset, in mtu3_probe_show()
318 struct seq_file *sf = file->private_data; in mtu3_probe_write() local
319 struct mtu3 *mtu = sf->private; in mtu3_probe_write()
430 static int ssusb_mode_show(struct seq_file *sf, void *unused) in ssusb_mode_show() argument
432 struct ssusb_mtk *ssusb = sf->private; in ssusb_mode_show()
434 seq_printf(sf, "current mode: %s(%s drd)\n(echo device/host)\n", in ssusb_mode_show()
449 struct seq_file *sf = file->private_data; in ssusb_mode_write() local
450 struct ssusb_mtk *ssusb = sf->private; in ssusb_mode_write()
476 static int ssusb_vbus_show(struct seq_file *sf, void *unused) in ssusb_vbus_show() argument
478 struct ssusb_mtk *ssusb = sf->private; in ssusb_vbus_show()
481 seq_printf(sf, "vbus state: %s\n(echo on/off)\n", in ssusb_vbus_show()
495 struct seq_file *sf = file->private_data; in ssusb_vbus_write() local
496 struct ssusb_mtk *ssusb = sf->private; in ssusb_vbus_write()