Home
last modified time | relevance | path

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

/drivers/staging/greybus/
Daudio_codec.c410 struct snd_pcm_hw_params *hwparams, in gbcodec_hw_params() argument
434 if (params_channels(hwparams) != 2) { in gbcodec_hw_params()
436 params_channels(hwparams)); in gbcodec_hw_params()
440 channels = params_channels(hwparams); in gbcodec_hw_params()
442 if (params_rate(hwparams) != 48000) { in gbcodec_hw_params()
444 params_rate(hwparams)); in gbcodec_hw_params()
450 if (params_format(hwparams) != SNDRV_PCM_FORMAT_S16_LE) { in gbcodec_hw_params()
452 params_format(hwparams)); in gbcodec_hw_params()
/drivers/usb/dwc3/
Dcore.c57 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_get_dr_mode()
523 struct dwc3_hwparams *parms = &dwc->hwparams; in dwc3_core_num_eps()
530 struct dwc3_hwparams *parms = &dwc->hwparams; in dwc3_cache_hwparams()
548 intf = DWC3_GHWPARAMS3_HSPHY_IFC(dwc->hwparams.hwparams3); in dwc3_core_ulpi_init()
623 switch (DWC3_GHWPARAMS3_HSPHY_IFC(dwc->hwparams.hwparams3)) { in dwc3_phy_setup()
728 u32 hwparams4 = dwc->hwparams.hwparams4; in dwc3_core_setup_global_control()
734 switch (DWC3_GHWPARAMS1_EN_PWROPT(dwc->hwparams.hwparams1)) { in dwc3_core_setup_global_control()
772 if (dwc->hwparams.hwparams6 & DWC3_GHWPARAMS6_EN_FPGA) { in dwc3_core_setup_global_control()
915 if (DWC3_GHWPARAMS3_SSPHY_IFC(dwc->hwparams.hwparams3) == in dwc3_core_init()
1385 (DWC3_GHWPARAMS3_SSPHY_IFC(dwc->hwparams.hwparams3) == in dwc3_check_params()
Ddebugfs.c288 dbc_enabled = !!(dwc->hwparams.hwparams1 & DWC3_GHWPARAMS1_ENDBC); in dwc3_host_lsp()
644 val *= DWC3_MDWIDTH(dwc->hwparams.hwparams0); in dwc3_tx_fifo_size_show()
663 val *= DWC3_MDWIDTH(dwc->hwparams.hwparams0); in dwc3_rx_fifo_size_show()
Dgadget.c1931 ram2_depth = DWC3_GHWPARAMS7_RAM2_DEPTH(dwc->hwparams.hwparams7); in dwc3_gadget_setup_nump()
1932 mdwidth = DWC3_GHWPARAMS0_MDWIDTH(dwc->hwparams.hwparams0); in dwc3_gadget_setup_nump()
2217 mdwidth = DWC3_MDWIDTH(dwc->hwparams.hwparams0); in dwc3_gadget_init_in_endpoint()
2990 pwropt = DWC3_GHWPARAMS1_EN_PWROPT(dwc->hwparams.hwparams1); in dwc3_gadget_linksts_change_interrupt()
Dcore.h1165 struct dwc3_hwparams hwparams; member