Searched refs:hwparams (Results 1 – 8 of 8) sorted by relevance
116 struct snd_pcm_hw_params *hwparams, struct snd_soc_dai *dai) in acp_dmic_hwparams() argument122 channels = params_channels(hwparams); in acp_dmic_hwparams()138 if (params_format(hwparams) != SNDRV_PCM_FORMAT_S32_LE) { in acp_dmic_hwparams()139 dev_err(dai->dev, "Invalid format:%d\n", params_format(hwparams)); in acp_dmic_hwparams()
759 struct snd_pcm_hardware hwparams; in avs_component_open() local765 hwparams.info = SNDRV_PCM_INFO_MMAP | in avs_component_open()771 hwparams.formats = SNDRV_PCM_FMTBIT_S16_LE | in avs_component_open()774 hwparams.period_bytes_min = 128; in avs_component_open()775 hwparams.period_bytes_max = AZX_MAX_BUF_SIZE / 2; in avs_component_open()776 hwparams.periods_min = 2; in avs_component_open()777 hwparams.periods_max = AZX_MAX_FRAG; in avs_component_open()778 hwparams.buffer_bytes_max = AZX_MAX_BUF_SIZE; in avs_component_open()779 hwparams.fifo_size = 0; in avs_component_open()781 return snd_soc_set_runtime_hwparams(substream, &hwparams); in avs_component_open()
393 struct snd_pcm_hw_params *hwparams, in gbcodec_hw_params() argument417 if (params_channels(hwparams) != 2) { in gbcodec_hw_params()419 params_channels(hwparams)); in gbcodec_hw_params()423 channels = params_channels(hwparams); in gbcodec_hw_params()425 if (params_rate(hwparams) != 48000) { in gbcodec_hw_params()427 params_rate(hwparams)); in gbcodec_hw_params()433 if (params_format(hwparams) != SNDRV_PCM_FORMAT_S16_LE) { in gbcodec_hw_params()434 dev_err(dai->dev, "Invalid format:%d\n", params_format(hwparams)); in gbcodec_hw_params()
59 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_get_dr_mode()623 struct dwc3_hwparams *parms = &dwc->hwparams; in dwc3_core_num_eps()630 struct dwc3_hwparams *parms = &dwc->hwparams; in dwc3_cache_hwparams()651 intf = DWC3_GHWPARAMS3_HSPHY_IFC(dwc->hwparams.hwparams3); in dwc3_core_ulpi_init()675 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_phy_setup()737 switch (DWC3_GHWPARAMS3_HSPHY_IFC(dwc->hwparams.hwparams3)) { in dwc3_phy_setup()880 u32 hwparams4 = dwc->hwparams.hwparams4; in dwc3_core_setup_global_control()886 switch (DWC3_GHWPARAMS1_EN_PWROPT(dwc->hwparams.hwparams1)) { in dwc3_core_setup_global_control()923 if (dwc->hwparams.hwparams6 & DWC3_GHWPARAMS6_EN_FPGA) { in dwc3_core_setup_global_control()1089 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_core_init()[all …]
781 ram1_depth = DWC3_RAM1_DEPTH(dwc->hwparams.hwparams7); in dwc3_gadget_resize_tx_fifos()959 !(dwc->hwparams.hwparams9 & in __dwc3_gadget_ep_enable()1326 if (dep->stream_capable && DWC3_MST_CAPABLE(&dwc->hwparams)) in dwc3_prepare_one_trb()1335 !DWC3_MST_CAPABLE(&dwc->hwparams)) in dwc3_prepare_one_trb()1553 !DWC3_MST_CAPABLE(&dep->dwc->hwparams)) in dwc3_prepare_trbs()1587 !DWC3_MST_CAPABLE(&dwc->hwparams)) in dwc3_prepare_trbs()1665 !DWC3_MST_CAPABLE(&dep->dwc->hwparams)) in __dwc3_gadget_kick_transfer()2685 ram2_depth = DWC3_GHWPARAMS7_RAM2_DEPTH(dwc->hwparams.hwparams7); in dwc3_gadget_setup_nump()2744 if (DWC3_MST_CAPABLE(&dwc->hwparams)) { in __dwc3_gadget_start()2951 ram1_depth = DWC3_RAM1_DEPTH(dwc->hwparams.hwparams7); in dwc3_gadget_check_config()[all …]
1263 struct dwc3_hwparams hwparams; member1534 mdwidth = DWC3_GHWPARAMS0_MDWIDTH(dwc->hwparams.hwparams0); in dwc3_mdwidth()1536 mdwidth += DWC3_GHWPARAMS6_MDWIDTH(dwc->hwparams.hwparams6); in dwc3_mdwidth()
288 dbc_enabled = !!(dwc->hwparams.hwparams1 & DWC3_GHWPARAMS1_ENDBC); in dwc3_host_lsp()
117 hwparams-calls and should not be changed in run-state, I did not