Lines Matching defs:params
90 if (!hsotg->params.host_dma)
92 if (!hsotg->params.external_id_pin_ctl)
98 if (dwc2_is_device_mode(hsotg) && hsotg->params.lpm)
117 if (hsotg->params.ahbcfg != -1) {
119 ahbcfg |= hsotg->params.ahbcfg &
126 if (hsotg->params.ahbcfg != -1) {
128 ahbcfg |= hsotg->params.ahbcfg &
139 if (hsotg->params.host_dma)
142 hsotg->params.dma_desc_enable = false;
158 if (hsotg->params.otg_caps.hnp_support &&
159 hsotg->params.otg_caps.srp_support)
166 if (hsotg->params.otg_caps.srp_support)
248 struct dwc2_core_params *params = &hsotg->params;
253 rxfsiz = params->host_rx_fifo_size;
254 nptxfsiz = params->host_nperio_tx_fifo_size;
255 ptxfsiz = params->host_perio_tx_fifo_size;
286 params->host_rx_fifo_size = rxfsiz;
287 params->host_nperio_tx_fifo_size = nptxfsiz;
288 params->host_perio_tx_fifo_size = ptxfsiz;
307 struct dwc2_core_params *params = &hsotg->params;
310 if (!params->enable_dynamic_fifo)
319 grxfsiz |= params->host_rx_fifo_size <<
328 nptxfsiz = params->host_nperio_tx_fifo_size <<
330 nptxfsiz |= params->host_rx_fifo_size <<
339 hptxfsiz = params->host_perio_tx_fifo_size <<
341 hptxfsiz |= (params->host_rx_fifo_size +
342 params->host_nperio_tx_fifo_size) <<
348 if (hsotg->params.en_multiple_tx_fifo &&
357 dfifocfg |= (params->host_rx_fifo_size +
358 params->host_nperio_tx_fifo_size +
359 params->host_perio_tx_fifo_size) <<
456 int num_channels = hsotg->params.host_channels;
638 if (!hsotg->params.dma_desc_enable) {
671 if (hsotg->params.host_dma) {
836 if ((hsotg->params.g_dma && !hsotg->params.g_dma_desc) ||
909 if (!hsotg->params.dma_desc_enable) {
919 if (!hsotg->params.host_dma) {
1058 (hsotg->params.host_perio_tx_fifo_size -
1251 u32 max_hc_xfer_size = hsotg->params.max_transfer_size;
1252 u16 max_hc_pkt_count = hsotg->params.max_packet_count;
1262 if (!hsotg->params.host_dma) {
1391 if (hsotg->params.host_dma) {
1450 if (!hsotg->params.host_dma &&
1736 int num_channels = hsotg->params.host_channels;
1741 if (!hsotg->params.host_dma) {
1777 if (hsotg->params.uframe_sched) {
1779 hsotg->params.host_channels;
2018 if (!hsotg->params.dma_desc_enable) {
2128 if (hsotg->params.phy_ulpi_ext_vbus)
2133 if (hsotg->params.ts_dline)
2228 if (hsotg->params.speed == DWC2_SPEED_PARAM_FULL ||
2229 hsotg->params.speed == DWC2_SPEED_PARAM_LOW) {
2240 if (hsotg->params.reload_ctl) {
2246 if (hsotg->params.dma_desc_enable) {
2258 hsotg->params.dma_desc_enable = false;
2284 if (!hsotg->params.dma_desc_enable) {
2289 num_channels = hsotg->params.host_channels;
2354 if (hsotg->params.uframe_sched) {
2356 hsotg->params.host_channels;
2370 num_channels = hsotg->params.host_channels;
2412 if (hsotg->params.host_dma)
2439 if (hsotg->params.host_dma)
2457 if (hsotg->params.dma_desc_enable)
2463 if (hsotg->params.host_dma) {
2690 if (hsotg->params.host_dma)
2708 if (hsotg->params.host_dma && qh->do_split &&
2728 WARN_ON_ONCE(hsotg->params.host_dma &&
2741 if (hsotg->params.dma_desc_enable) {
2778 if (hsotg->params.uframe_sched) {
2802 num_channels = hsotg->params.host_channels;
2805 if (!hsotg->params.uframe_sched &&
2812 if (hsotg->params.uframe_sched) {
2834 if (!hsotg->params.uframe_sched)
2873 if (hsotg->params.host_dma && chan->qh) {
2874 if (hsotg->params.dma_desc_enable) {
2983 if (!hsotg->params.host_dma &&
3002 if (hsotg->params.host_dma || status == 0 ||
3019 (!hsotg->params.host_dma &&
3099 if (!hsotg->params.host_dma && qspcavail == 0) {
3132 if (!hsotg->params.host_dma) {
3366 switch (hsotg->params.power_down) {
3391 if (!hsotg->params.no_clock_gating)
3429 switch (hsotg->params.power_down) {
3669 if (hsotg->params.dma_desc_fs_enable) {
3683 hsotg->params.dma_desc_enable = true;
3758 if (hsotg->params.power_down ==
3966 num_channels = hsotg->params.host_channels;
4512 switch (hsotg->params.power_down) {
4538 if (!hsotg->params.no_clock_gating) {
4595 switch (hsotg->params.power_down) {
4816 if (hsotg->params.power_down == DWC2_POWER_DOWN_PARAM_NONE &&
5104 if (hsotg->params.speed == speed)
5107 hsotg->params.speed = speed;
5115 if (!hsotg->params.change_speed_quirk)
5132 if (!hsotg->params.change_speed_quirk)
5213 if (hsotg->params.host_dma) {
5334 num_channels = hsotg->params.host_channels;
5359 if (hsotg->params.host_dma) {
5461 for (i = 0; i < hsotg->params.host_channels; ++i)
5498 for (i = 0; i < hsotg->params.host_channels; ++i)