Home
last modified time | relevance | path

Searched refs:hw_params (Results 1 – 25 of 679) sorted by relevance

12345678910>>...28

/linux/sound/pci/oxygen/
A Doxygen_pcm.c251 switch (params_rate(hw_params)) { in oxygen_rate()
281 switch (params_channels(hw_params)) { in oxygen_play_channels()
359 oxygen_rate(hw_params) | in oxygen_rec_a_hw_params()
362 oxygen_i2s_bits(hw_params), in oxygen_rec_a_hw_params()
395 oxygen_rate(hw_params) | in oxygen_rec_b_hw_params()
398 oxygen_i2s_bits(hw_params), in oxygen_rec_b_hw_params()
432 oxygen_rate(hw_params) | in oxygen_rec_c_hw_params()
435 oxygen_i2s_bits(hw_params), in oxygen_rec_c_hw_params()
495 oxygen_rate(hw_params) | in oxygen_multich_hw_params()
498 oxygen_i2s_bits(hw_params), in oxygen_multich_hw_params()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
A Dhal.h66 ab->hw_params.regs->hal_tcl1_ring_tp_addr_lsb
68 ab->hw_params.regs->hal_tcl1_ring_tp_addr_msb
74 ab->hw_params.regs->hal_tcl1_ring_msi1_base_lsb
76 ab->hw_params.regs->hal_tcl1_ring_msi1_base_msb
78 ab->hw_params.regs->hal_tcl1_ring_msi1_data
129 ab->hw_params.regs->hal_reo1_ring_hp_addr_lsb
131 ab->hw_params.regs->hal_reo1_ring_hp_addr_msb
139 ab->hw_params.regs->hal_reo1_ring_msi1_data
142 ab->hw_params.regs->hal_reo1_aging_thresh_ix_0
144 ab->hw_params.regs->hal_reo1_aging_thresh_ix_1
[all …]
A Dahb.c151 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_ahb_kill_tasklets()
242 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_ahb_sync_ce_irqs()
270 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_ahb_ce_irqs_enable()
281 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_ahb_ce_irqs_disable()
348 ab->hw_params.cold_boot_calib == 0) in ath11k_ahb_fwreset_from_cold_boot()
373 cfg->tgt_ce = ab->hw_params.target_ce_config; in ath11k_ahb_init_qmi_ce_config()
396 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_ahb_free_irq()
465 struct ath11k_hw_params *hw = &ab->hw_params; in ath11k_ahb_ext_irq_config()
500 if (j < ab->hw_params.max_radios) { in ath11k_ahb_ext_irq_config()
551 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_ahb_config_irq()
[all …]
A Ddp.c132 grp_mask = &ab->hw_params.ring_mask->tx[0]; in ath11k_dp_srng_calculate_msi_group()
141 grp_mask = &ab->hw_params.ring_mask->rx_err[0]; in ath11k_dp_srng_calculate_msi_group()
144 grp_mask = &ab->hw_params.ring_mask->rx[0]; in ath11k_dp_srng_calculate_msi_group()
311 if (!ab->hw_params.supports_shadow_regs) in ath11k_dp_stop_shadow_timers()
314 for (i = 0; i < ab->hw_params.max_tx_ring; i++) in ath11k_dp_stop_shadow_timers()
443 ab->hw_params.hw_ops->reo_setup(ab); in ath11k_dp_srng_common_setup()
773 if (ab->hw_params.ring_mask->rx[grp_id]) { in ath11k_dp_service_srng()
825 hal_params = ab->hw_params.hal_params; in ath11k_dp_service_srng()
1114 if (!ab->hw_params.supports_shadow_regs) in ath11k_dp_shadow_start_timer()
1131 if (!ab->hw_params.supports_shadow_regs) in ath11k_dp_shadow_stop_timer()
[all …]
A Dce.c255 if (!ab->hw_params.supports_shadow_regs) in ath11k_ce_stop_shadow_timers()
258 for (i = 0; i < ab->hw_params.ce_count; i++) in ath11k_ce_stop_shadow_timers()
582 if (ab->hw_params.supports_shadow_regs && in ath11k_ce_init_ring()
803 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_ce_shadow_config()
821 if (!ab->hw_params.supports_shadow_regs) in ath11k_ce_get_shadow_config()
867 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_ce_rx_post_buf()
901 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_ce_init_pipes()
959 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_ce_free_pipes()
1011 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_ce_alloc_pipes()
1012 attr = &ab->hw_params.host_ce_config[i]; in ath11k_ce_alloc_pipes()
[all …]
A Dpci.h38 (ab->hw_params.regs->pcie_qserdes_sysclk_en_sel)
42 (ab->hw_params.regs->pcie_pcs_osc_dtct_config_base)
45 (ab->hw_params.regs->pcie_pcs_osc_dtct_config_base + 0x4)
48 (ab->hw_params.regs->pcie_pcs_osc_dtct_config_base + 0xc)
A Dpci.c439 if (ab->hw_params.fix_l1ss) in ath11k_pci_sw_reset()
547 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_pci_free_irq()
577 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_pci_ce_irqs_disable()
589 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_pci_sync_ce_irqs()
741 if (ab->hw_params.ring_mask->tx[i] || in ath11k_pci_ext_irq_config()
742 ab->hw_params.ring_mask->rx[i] || in ath11k_pci_ext_irq_config()
743 ab->hw_params.ring_mask->rx_err[i] || in ath11k_pci_ext_irq_config()
744 ab->hw_params.ring_mask->rx_wbm_rel[i] || in ath11k_pci_ext_irq_config()
745 ab->hw_params.ring_mask->reo_status[i] || in ath11k_pci_ext_irq_config()
836 cfg->tgt_ce = ab->hw_params.target_ce_config; in ath11k_pci_init_qmi_ce_config()
[all …]
A Ddp_rx.c448 if (!ar->ab->hw_params.rxdma1_enable) in ath11k_dp_rxdma_buf_ring_free()
515 if (ar->ab->hw_params.rxdma1_enable) { in ath11k_dp_rxdma_pdev_buf_setup()
537 if (ab->hw_params.rx_mac_buf_ring) in ath11k_dp_rx_pdev_srng_free()
640 if (!ar->ab->hw_params.rxdma1_enable) { in ath11k_dp_rx_pdev_srng_alloc()
4384 if (ab->hw_params.rx_mac_buf_ring) { in ath11k_dp_rx_pdev_alloc()
4408 if (!ab->hw_params.rxdma1_enable) in ath11k_dp_rx_pdev_alloc()
4652 if (!ar->ab->hw_params.rxdma1_enable) in ath11k_dp_rx_mon_mpdu_pop()
4683 if (ar->ab->hw_params.rxdma1_enable) in ath11k_dp_rx_mon_mpdu_pop()
4992 if (ar->ab->hw_params.rxdma1_enable) in ath11k_dp_rx_mon_dest_process()
5049 if (ar->ab->hw_params.rxdma1_enable) in ath11k_dp_rx_mon_dest_process()
[all …]
/linux/drivers/usb/dwc2/
A Dparams.c254 switch (hsotg->hw_params.op_mode) { in dwc2_set_param_otg_cap()
312 val = (hsotg->hw_params.utmi_phy_data_width == in dwc2_set_param_phy_utmi_width()
346 if (hsotg->hw_params.hibernation) in dwc2_set_param_power_down()
348 else if (hsotg->hw_params.power_optimized) in dwc2_set_param_power_down()
360 p->lpm = hsotg->hw_params.lpm_mode; in dwc2_set_param_lpm()
382 struct dwc2_hw_params *hw = &hsotg->hw_params; in dwc2_set_default_params()
494 switch (hsotg->hw_params.op_mode) { in dwc2_check_param_otg_cap()
520 hs_phy_type = hsotg->hw_params.hs_phy_type; in dwc2_check_param_phy_type()
521 fs_phy_type = hsotg->hw_params.fs_phy_type; in dwc2_check_param_phy_type()
600 if (hsotg->hw_params.power_optimized) in dwc2_check_param_power_down()
[all …]
/linux/sound/firewire/oxfw/
A Doxfw-pcm.c237 struct snd_pcm_hw_params *hw_params) in pcm_capture_hw_params() argument
243 unsigned int rate = params_rate(hw_params); in pcm_capture_hw_params()
244 unsigned int channels = params_channels(hw_params); in pcm_capture_hw_params()
245 unsigned int frames_per_period = params_period_size(hw_params); in pcm_capture_hw_params()
246 unsigned int frames_per_buffer = params_buffer_size(hw_params); in pcm_capture_hw_params()
260 struct snd_pcm_hw_params *hw_params) in pcm_playback_hw_params() argument
266 unsigned int rate = params_rate(hw_params); in pcm_playback_hw_params()
267 unsigned int channels = params_channels(hw_params); in pcm_playback_hw_params()
268 unsigned int frames_per_period = params_period_size(hw_params); in pcm_playback_hw_params()
414 .hw_params = pcm_capture_hw_params, in snd_oxfw_create_pcm()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
A Ddevices.c40 priv->hw_params.ct_kill_threshold = CT_KILL_THRESHOLD_LEGACY; in iwl1000_set_ct_threshold()
41 priv->hw_params.ct_kill_exit_threshold = CT_KILL_EXIT_THRESHOLD; in iwl1000_set_ct_threshold()
157 priv->hw_params.sens = &iwl1000_sensitivity; in iwl1000_hw_set_hw_params()
178 priv->hw_params.ct_kill_threshold = CT_KILL_THRESHOLD; in iwl2000_set_ct_threshold()
179 priv->hw_params.ct_kill_exit_threshold = CT_KILL_EXIT_THRESHOLD; in iwl2000_set_ct_threshold()
218 priv->hw_params.sens = &iwl2000_sensitivity; in iwl2000_hw_set_hw_params()
354 priv->hw_params.ct_kill_threshold = CT_KILL_THRESHOLD_LEGACY; in iwl5000_set_ct_threshold()
362 priv->hw_params.sens = &iwl5000_sensitivity; in iwl5000_hw_set_hw_params()
370 priv->hw_params.sens = &iwl5150_sensitivity; in iwl5150_hw_set_hw_params()
477 priv->hw_params.ct_kill_threshold = CT_KILL_THRESHOLD; in iwl6000_set_ct_threshold()
[all …]
/linux/sound/virtio/
A Dvirtio_pcm_ops.c215 struct snd_pcm_hw_params *hw_params) in virtsnd_pcm_hw_params() argument
227 rc = virtsnd_pcm_dev_set_params(vss, params_buffer_bytes(hw_params), in virtsnd_pcm_hw_params()
228 params_period_bytes(hw_params), in virtsnd_pcm_hw_params()
229 params_channels(hw_params), in virtsnd_pcm_hw_params()
230 params_format(hw_params), in virtsnd_pcm_hw_params()
231 params_rate(hw_params)); in virtsnd_pcm_hw_params()
241 return virtsnd_pcm_msg_alloc(vss, params_periods(hw_params), in virtsnd_pcm_hw_params()
242 params_period_bytes(hw_params)); in virtsnd_pcm_hw_params()
458 .hw_params = virtsnd_pcm_hw_params,
/linux/drivers/net/ethernet/broadcom/genet/
A Dbcmgenet.c51 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q)
53 (TOTAL_DESC - priv->hw_params->tx_queues * priv->hw_params->tx_bds_per_q)
2563 reg |= priv->hw_params->bp_in_mask; in init_umac()
2565 reg &= ~priv->hw_params->bp_in_mask; in init_umac()
2818 priv->hw_params->tx_queues * in bcmgenet_init_tx_queues()
2819 priv->hw_params->tx_bds_per_q, in bcmgenet_init_tx_queues()
2914 priv->hw_params->rx_bds_per_q, in bcmgenet_init_rx_queues()
2917 priv->hw_params->rx_bds_per_q); in bcmgenet_init_rx_queues()
2927 priv->hw_params->rx_queues * in bcmgenet_init_rx_queues()
2928 priv->hw_params->rx_bds_per_q, in bcmgenet_init_rx_queues()
[all …]
/linux/sound/soc/codecs/
A Duda134x.c183 unsigned int hw_params = 0; in uda134x_hw_params() local
199 hw_params |= (1<<4); in uda134x_hw_params()
202 hw_params |= (1<<5); in uda134x_hw_params()
219 hw_params |= (1<<1); in uda134x_hw_params()
222 hw_params |= (1<<2); in uda134x_hw_params()
225 hw_params |= ((1<<2) | (1<<1)); in uda134x_hw_params()
234 hw_params |= (1<<3); in uda134x_hw_params()
242 STATUS0_SYSCLK_MASK | STATUS0_DAIFMT_MASK, hw_params); in uda134x_hw_params()
418 .hw_params = uda134x_hw_params,
/linux/drivers/net/wireless/ath/ath10k/
A Dcore.c1187 if (!ar->hw_params.fw.board) { in ath10k_core_fetch_board_data_api_1()
1193 ar->hw_params.fw.dir, in ath10k_core_fetch_board_data_api_1()
1194 ar->hw_params.fw.board); in ath10k_core_fetch_board_data_api_1()
1201 if (!ar->hw_params.fw.eboard) { in ath10k_core_fetch_board_data_api_1()
1207 ar->hw_params.fw.eboard); in ath10k_core_fetch_board_data_api_1()
1380 ar->hw_params.fw.dir, in ath10k_core_fetch_board_data_api_n()
1561 ar->hw_params.fw.dir); in ath10k_core_fetch_board_file()
2021 ar->hw_params.fw.dir, name); in ath10k_core_fetch_firmware_api_n()
2251 ar->hw_params.uart_pin); in ath10k_init_uart()
2305 ar->hw_params = *hw_params; in ath10k_init_hw_params()
[all …]
/linux/sound/firewire/tascam/
A Dtascam-pcm.c117 struct snd_pcm_hw_params *hw_params) in pcm_hw_params() argument
123 unsigned int rate = params_rate(hw_params); in pcm_hw_params()
124 unsigned int frames_per_period = params_period_size(hw_params); in pcm_hw_params()
125 unsigned int frames_per_buffer = params_buffer_size(hw_params); in pcm_hw_params()
257 .hw_params = pcm_hw_params, in snd_tscm_create_pcm_devices()
267 .hw_params = pcm_hw_params, in snd_tscm_create_pcm_devices()
/linux/sound/soc/
A Dsoc-link.c119 rtd->dai_link->ops->hw_params) in snd_soc_link_hw_params()
120 ret = rtd->dai_link->ops->hw_params(substream, params); in snd_soc_link_hw_params()
124 soc_link_mark_push(rtd, substream, hw_params); in snd_soc_link_hw_params()
133 if (rollback && !soc_link_mark_match(rtd, substream, hw_params)) in snd_soc_link_hw_free()
141 soc_link_mark_pop(rtd, substream, hw_params); in snd_soc_link_hw_free()
/linux/sound/firewire/digi00x/
A Ddigi00x-pcm.c188 struct snd_pcm_hw_params *hw_params) in pcm_hw_params() argument
194 unsigned int rate = params_rate(hw_params); in pcm_hw_params()
195 unsigned int frames_per_period = params_period_size(hw_params); in pcm_hw_params()
196 unsigned int frames_per_buffer = params_buffer_size(hw_params); in pcm_hw_params()
328 .hw_params = pcm_hw_params, in snd_dg00x_create_pcm_devices()
338 .hw_params = pcm_hw_params, in snd_dg00x_create_pcm_devices()
/linux/sound/pci/echoaudio/
A Dechoaudio.c570 params_buffer_bytes(hw_params), params_periods(hw_params), in init_engine()
571 params_period_bytes(hw_params)); in init_engine()
577 rest = params_period_bytes(hw_params); in init_engine()
614 set_sample_rate(chip, hw_params->rate_num / hw_params->rate_den); in init_engine()
622 struct snd_pcm_hw_params *hw_params) in pcm_analog_in_hw_params() argument
633 struct snd_pcm_hw_params *hw_params) in pcm_analog_out_hw_params() argument
636 params_channels(hw_params)); in pcm_analog_out_hw_params()
852 .hw_params = pcm_analog_out_hw_params,
861 .hw_params = pcm_analog_in_hw_params,
872 .hw_params = pcm_digital_out_hw_params,
[all …]
/linux/drivers/net/wireless/intel/iwlegacy/
A D4965-mac.c322 if (il->hw_params.rx_page_order > 0) in il4965_rx_allocate()
330 il->hw_params.rx_page_order); in il4965_rx_allocate()
1691 sta_id = il->hw_params.bcast_id; in il4965_tx_skb()
1976 il->hw_params.scd_bc_tbls_size); in il4965_txq_ctx_alloc()
2575 return il->hw_params.bcast_id; in il4965_find_station()
3053 il->hw_params.valid_tx_ant & ~il4965_first_antenna(il->hw_params. in il4965_sta_alloc_lq()
3059 il->hw_params.valid_tx_ant; in il4965_sta_alloc_lq()
3243 if (sta_id == il->hw_params.bcast_id) in il4965_set_wep_dynamic_key_info()
3553 u8 sta_id = il->hw_params.bcast_id; in il4965_update_bcast_station()
6445 il->hw_params.scd_bc_tbls_size = in il4965_set_hw_params()
[all …]
/linux/drivers/net/dsa/
A Dbcm_sf2.c668 return priv->hw_params.gphy_rev; in bcm_sf2_sw_get_phy_flags()
955 if (priv->hw_params.num_gphy == 1) in bcm_sf2_sw_resume()
1474 if (priv->hw_params.num_ports > DSA_MAX_PORTS) in bcm_sf2_sw_probe()
1475 priv->hw_params.num_ports = DSA_MAX_PORTS; in bcm_sf2_sw_probe()
1479 &priv->hw_params.num_gphy)) in bcm_sf2_sw_probe()
1480 priv->hw_params.num_gphy = 1; in bcm_sf2_sw_probe()
1485 priv->hw_params.core_rev = (rev & SF2_REV_MASK); in bcm_sf2_sw_probe()
1488 priv->hw_params.gphy_rev = rev & PHY_REVISION_MASK; in bcm_sf2_sw_probe()
1496 priv->hw_params.top_rev >> 8, priv->hw_params.top_rev & 0xff, in bcm_sf2_sw_probe()
1497 priv->hw_params.core_rev >> 8, priv->hw_params.core_rev & 0xff, in bcm_sf2_sw_probe()
[all …]
/linux/sound/soc/meson/
A Daxg-toddr.c122 .hw_params = axg_toddr_dai_hw_params,
181 .hw_params = axg_fifo_pcm_hw_params,
216 .hw_params = axg_toddr_dai_hw_params,
241 .hw_params = g12a_fifo_pcm_hw_params,
311 .hw_params = g12a_fifo_pcm_hw_params,
/linux/sound/firewire/fireface/
A Dff-pcm.c228 struct snd_pcm_hw_params *hw_params) in pcm_hw_params() argument
234 unsigned int rate = params_rate(hw_params); in pcm_hw_params()
235 unsigned int frames_per_period = params_period_size(hw_params); in pcm_hw_params()
236 unsigned int frames_per_buffer = params_buffer_size(hw_params); in pcm_hw_params()
368 .hw_params = pcm_hw_params, in snd_ff_create_pcm_devices()
378 .hw_params = pcm_hw_params, in snd_ff_create_pcm_devices()
/linux/sound/firewire/fireworks/
A Dfireworks_pcm.c248 struct snd_pcm_hw_params *hw_params) in pcm_hw_params() argument
254 unsigned int rate = params_rate(hw_params); in pcm_hw_params()
255 unsigned int frames_per_period = params_period_size(hw_params); in pcm_hw_params()
256 unsigned int frames_per_buffer = params_buffer_size(hw_params); in pcm_hw_params()
375 .hw_params = pcm_hw_params, in snd_efw_create_pcm_devices()
385 .hw_params = pcm_hw_params, in snd_efw_create_pcm_devices()
/linux/sound/firewire/motu/
A Dmotu-pcm.c208 struct snd_pcm_hw_params *hw_params) in pcm_hw_params() argument
214 unsigned int rate = params_rate(hw_params); in pcm_hw_params()
215 unsigned int frames_per_period = params_period_size(hw_params); in pcm_hw_params()
216 unsigned int frames_per_buffer = params_buffer_size(hw_params); in pcm_hw_params()
339 .hw_params = pcm_hw_params, in snd_motu_create_pcm_devices()
349 .hw_params = pcm_hw_params, in snd_motu_create_pcm_devices()

Completed in 151 milliseconds

12345678910>>...28