Lines Matching refs:mtu3
71 static inline void mtu3_ss_func_set(struct mtu3 *mtu, bool enable) in mtu3_ss_func_set()
83 static inline void mtu3_hs_softconn_set(struct mtu3 *mtu, bool enable) in mtu3_hs_softconn_set()
96 static int mtu3_device_enable(struct mtu3 *mtu) in mtu3_device_enable()
123 static void mtu3_device_disable(struct mtu3 *mtu) in mtu3_device_disable()
141 static void mtu3_device_reset(struct mtu3 *mtu) in mtu3_device_reset()
151 static void mtu3_intr_disable(struct mtu3 *mtu) in mtu3_intr_disable()
161 static void mtu3_intr_status_clear(struct mtu3 *mtu) in mtu3_intr_status_clear()
176 static void mtu3_intr_enable(struct mtu3 *mtu) in mtu3_intr_enable()
208 struct mtu3 *mtu = mep->mtu; in mtu3_ep_reset()
218 struct mtu3 *mtu = mep->mtu; in mtu3_ep_stall_set()
250 void mtu3_dev_on_off(struct mtu3 *mtu, int is_on) in mtu3_dev_on_off()
261 void mtu3_start(struct mtu3 *mtu) in mtu3_start()
286 void mtu3_stop(struct mtu3 *mtu) in mtu3_stop()
301 int mtu3_config_ep(struct mtu3 *mtu, struct mtu3_ep *mep, in mtu3_config_ep()
403 void mtu3_deconfig_ep(struct mtu3 *mtu, struct mtu3_ep *mep) in mtu3_deconfig_ep()
438 static void get_ep_fifo_config(struct mtu3 *mtu) in get_ep_fifo_config()
477 void mtu3_ep0_setup(struct mtu3 *mtu) in mtu3_ep0_setup()
494 static int mtu3_mem_alloc(struct mtu3 *mtu) in mtu3_mem_alloc()
542 static void mtu3_mem_free(struct mtu3 *mtu) in mtu3_mem_free()
548 static void mtu3_set_speed(struct mtu3 *mtu) in mtu3_set_speed()
573 static void mtu3_regs_init(struct mtu3 *mtu) in mtu3_regs_init()
613 static irqreturn_t mtu3_link_isr(struct mtu3 *mtu) in mtu3_link_isr()
676 static irqreturn_t mtu3_u3_ltssm_isr(struct mtu3 *mtu) in mtu3_u3_ltssm_isr()
707 static irqreturn_t mtu3_u2_common_isr(struct mtu3 *mtu) in mtu3_u2_common_isr()
732 struct mtu3 *mtu = (struct mtu3 *)data; in mtu3_irq()
762 static int mtu3_hw_init(struct mtu3 *mtu) in mtu3_hw_init()
794 static void mtu3_hw_exit(struct mtu3 *mtu) in mtu3_hw_exit()
804 static int mtu3_set_dma_mask(struct mtu3 *mtu) in mtu3_set_dma_mask()
830 struct mtu3 *mtu = NULL; in ssusb_gadget_init()
834 mtu = devm_kzalloc(dev, sizeof(struct mtu3), GFP_KERNEL); in ssusb_gadget_init()
928 struct mtu3 *mtu = ssusb->u3d; in ssusb_gadget_exit()