Lines Matching full:sf
78 static int mtu3_link_state_show(struct seq_file *sf, void *unused) in mtu3_link_state_show() argument
80 struct mtu3 *mtu = sf->private; in mtu3_link_state_show()
83 seq_printf(sf, "opstate: %#x, ltssm: %#x\n", in mtu3_link_state_show()
90 static int mtu3_ep_used_show(struct seq_file *sf, void *unused) in mtu3_ep_used_show() argument
92 struct mtu3 *mtu = sf->private; in mtu3_ep_used_show()
103 seq_printf(sf, "%s - type: %d\n", mep->name, mep->type); in mtu3_ep_used_show()
109 seq_printf(sf, "%s - type: %d\n", mep->name, mep->type); in mtu3_ep_used_show()
113 seq_printf(sf, "total used: %d eps\n", used); in mtu3_ep_used_show()
172 static int mtu3_ep_info_show(struct seq_file *sf, void *unused) in mtu3_ep_info_show() argument
174 struct mtu3_ep *mep = sf->private; in mtu3_ep_info_show()
179 seq_printf(sf, "ep - type:%d, maxp:%d, slot:%d, flags:%x\n", in mtu3_ep_info_show()
186 static int mtu3_fifo_show(struct seq_file *sf, void *unused) in mtu3_fifo_show() argument
188 struct mtu3_ep *mep = sf->private; in mtu3_fifo_show()
193 seq_printf(sf, "fifo - seg_size:%d, addr:%d, size:%d\n", in mtu3_fifo_show()
200 static int mtu3_qmu_ring_show(struct seq_file *sf, void *unused) in mtu3_qmu_ring_show() argument
202 struct mtu3_ep *mep = sf->private; in mtu3_qmu_ring_show()
209 seq_printf(sf, in mtu3_qmu_ring_show()
218 static int mtu3_qmu_gpd_show(struct seq_file *sf, void *unused) in mtu3_qmu_gpd_show() argument
220 struct mtu3_ep *mep = sf->private; in mtu3_qmu_gpd_show()
232 seq_puts(sf, "empty!\n"); in mtu3_qmu_gpd_show()
238 seq_printf(sf, "gpd.%03d -> %pad, %p: %08x %08x %08x %08x\n", in mtu3_qmu_gpd_show()
288 static int mtu3_probe_show(struct seq_file *sf, void *unused) in mtu3_probe_show() argument
290 const char *file_name = file_dentry(sf->file)->d_iname; in mtu3_probe_show()
291 struct mtu3 *mtu = sf->private; in mtu3_probe_show()
302 seq_printf(sf, "0x%04x - 0x%08x\n", (u32)regs->offset, in mtu3_probe_show()
317 struct seq_file *sf = file->private_data; in mtu3_probe_write() local
318 struct mtu3 *mtu = sf->private; in mtu3_probe_write()
429 static int ssusb_mode_show(struct seq_file *sf, void *unused) in ssusb_mode_show() argument
431 struct ssusb_mtk *ssusb = sf->private; in ssusb_mode_show()
433 seq_printf(sf, "current mode: %s(%s drd)\n(echo device/host)\n", in ssusb_mode_show()
448 struct seq_file *sf = file->private_data; in ssusb_mode_write() local
449 struct ssusb_mtk *ssusb = sf->private; in ssusb_mode_write()
475 static int ssusb_vbus_show(struct seq_file *sf, void *unused) in ssusb_vbus_show() argument
477 struct ssusb_mtk *ssusb = sf->private; in ssusb_vbus_show()
480 seq_printf(sf, "vbus state: %s\n(echo on/off)\n", in ssusb_vbus_show()
494 struct seq_file *sf = file->private_data; in ssusb_vbus_write() local
495 struct ssusb_mtk *ssusb = sf->private; in ssusb_vbus_write()