Home
last modified time | relevance | path

Searched refs:hwparams (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/greybus/
Daudio_codec.c393 struct snd_pcm_hw_params *hwparams, in gbcodec_hw_params() argument
417 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()
/drivers/usb/dwc3/
Dcore.c59 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_get_dr_mode()
511 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_alloc_event_buffers()
573 struct dwc3_hwparams *parms = &dwc->hwparams; in dwc3_core_num_eps()
580 struct dwc3_hwparams *parms = &dwc->hwparams; in dwc3_cache_hwparams()
601 intf = DWC3_GHWPARAMS3_HSPHY_IFC(dwc->hwparams.hwparams3); in dwc3_core_ulpi_init()
676 switch (DWC3_GHWPARAMS3_HSPHY_IFC(dwc->hwparams.hwparams3)) { in dwc3_phy_setup()
887 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_core_setup_global_control()
888 power_opt = DWC3_GHWPARAMS1_EN_PWROPT(dwc->hwparams.hwparams1); in dwc3_core_setup_global_control()
938 if (dwc->hwparams.hwparams6 & DWC3_GHWPARAMS6_EN_FPGA) { in dwc3_core_setup_global_control()
1209 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_core_init()
[all …]
Dgadget.c800 ram1_depth = DWC3_RAM1_DEPTH(dwc->hwparams.hwparams7); in dwc3_gadget_resize_tx_fifos()
978 !(dwc->hwparams.hwparams9 & in __dwc3_gadget_ep_enable()
1345 if (dep->stream_capable && DWC3_MST_CAPABLE(&dwc->hwparams)) in dwc3_prepare_one_trb()
1354 !DWC3_MST_CAPABLE(&dwc->hwparams)) in dwc3_prepare_one_trb()
1582 !DWC3_MST_CAPABLE(&dep->dwc->hwparams)) in dwc3_prepare_trbs()
1616 !DWC3_MST_CAPABLE(&dwc->hwparams)) in dwc3_prepare_trbs()
1694 !DWC3_MST_CAPABLE(&dep->dwc->hwparams)) in __dwc3_gadget_kick_transfer()
2846 ram2_depth = DWC3_GHWPARAMS7_RAM2_DEPTH(dwc->hwparams.hwparams7); in dwc3_gadget_setup_nump()
2905 if (DWC3_MST_CAPABLE(&dwc->hwparams)) { in __dwc3_gadget_start()
3119 ram1_depth = DWC3_RAM1_DEPTH(dwc->hwparams.hwparams7); in dwc3_gadget_check_config()
[all …]
Dcore.h1298 struct dwc3_hwparams hwparams; member
1584 mdwidth = DWC3_GHWPARAMS0_MDWIDTH(dwc->hwparams.hwparams0); in dwc3_mdwidth()
1586 mdwidth += DWC3_GHWPARAMS6_MDWIDTH(dwc->hwparams.hwparams6); in dwc3_mdwidth()
Ddebugfs.c293 dbc_enabled = !!(dwc->hwparams.hwparams1 & DWC3_GHWPARAMS1_ENDBC); in dwc3_host_lsp()