Lines Matching refs:cmd
265 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) in dwc3_send_gadget_generic_command() argument
271 dwc3_writel(dwc->regs, DWC3_DGCMD, cmd | DWC3_DGCMD_CMDACT); in dwc3_send_gadget_generic_command()
293 unsigned cmd, struct dwc3_gadget_ep_cmd_params *params) in dwc3_send_gadget_ep_cmd() argument
302 dwc3_writel(dwc->regs, DWC3_DEPCMD(ep), cmd | DWC3_DEPCMD_CMDACT); in dwc3_send_gadget_ep_cmd()
362 u32 cmd; in dwc3_gadget_start_config() local
367 cmd = DWC3_DEPCMD_DEPSTARTCFG; in dwc3_gadget_start_config()
373 cmd |= DWC3_DEPCMD_PARAM(2); in dwc3_gadget_start_config()
376 return dwc3_send_gadget_ep_cmd(dwc, 0, cmd, ¶ms); in dwc3_gadget_start_config()
857 u32 cmd; in __dwc3_gadget_kick_transfer() local
893 cmd = DWC3_DEPCMD_STARTTRANSFER; in __dwc3_gadget_kick_transfer()
895 cmd = DWC3_DEPCMD_UPDATETRANSFER; in __dwc3_gadget_kick_transfer()
898 cmd |= DWC3_DEPCMD_PARAM(cmd_param); in __dwc3_gadget_kick_transfer()
899 ret = dwc3_send_gadget_ep_cmd(dwc, dep->number, cmd, ¶ms); in __dwc3_gadget_kick_transfer()
1955 u32 cmd; in dwc3_stop_active_transfer() local
1982 cmd = DWC3_DEPCMD_ENDTRANSFER; in dwc3_stop_active_transfer()
1983 cmd |= force ? DWC3_DEPCMD_HIPRI_FORCERM : 0; in dwc3_stop_active_transfer()
1984 cmd |= DWC3_DEPCMD_CMDIOC; in dwc3_stop_active_transfer()
1985 cmd |= DWC3_DEPCMD_PARAM(dep->resource_index); in dwc3_stop_active_transfer()
1987 ret = dwc3_send_gadget_ep_cmd(dwc, dep->number, cmd, ¶ms); in dwc3_stop_active_transfer()