Home
last modified time | relevance | path

Searched refs:num_ch (Results 1 – 20 of 20) sorted by relevance

/linux/sound/soc/tegra/
A Dtegra210_admaif.c84 unsigned int num_ch = admaif->soc_data->num_ch; in tegra_admaif_wr_reg() local
89 unsigned int rx_max = rx_base + (num_ch * ch_stride); in tegra_admaif_wr_reg()
90 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_wr_reg()
118 unsigned int num_ch = admaif->soc_data->num_ch; in tegra_admaif_rd_reg() local
162 unsigned int num_ch = admaif->soc_data->num_ch; in tegra_admaif_volatile_reg() local
712 .num_ch = TEGRA210_ADMAIF_CHANNEL_COUNT,
722 .num_ch = TEGRA186_ADMAIF_CHANNEL_COUNT,
755 admaif->soc_data->num_ch, in tegra_admaif_probe()
763 admaif->soc_data->num_ch, in tegra_admaif_probe()
799 for (i = 0; i < admaif->soc_data->num_ch; i++) { in tegra_admaif_probe()
[all …]
A Dtegra210_admaif.h150 unsigned int num_ch; member
/linux/drivers/iio/pressure/
A Dst_pressure_core.c237 .num_ch = ARRAY_SIZE(st_press_1_channels),
310 .num_ch = ARRAY_SIZE(st_press_lps001wp_channels),
362 .num_ch = ARRAY_SIZE(st_press_1_channels),
431 .num_ch = ARRAY_SIZE(st_press_lps22hb_channels),
498 .num_ch = ARRAY_SIZE(st_press_lps22hb_channels),
697 press_data->num_data_channels = press_data->sensor_settings->num_ch - 1; in st_press_common_probe()
699 indio_dev->num_channels = press_data->sensor_settings->num_ch; in st_press_common_probe()
/linux/drivers/input/misc/
A Diqs626a.c360 int num_ch; member
368 .num_ch = 1,
379 .num_ch = IQS626_NUM_CH_TP_2,
387 .num_ch = IQS626_NUM_CH_TP_3,
395 .num_ch = 1,
408 .num_ch = 1,
421 .num_ch = 1,
434 .num_ch = 1,
471 int num_ch = iqs626_channels[ch_id].num_ch; in iqs626_parse_events() local
618 int num_ch = iqs626_channels[ch_id].num_ch; in iqs626_parse_ati_target() local
[all …]
/linux/sound/soc/intel/atom/sst/
A Dsst_stream.c33 int i, num_ch, str_id; in sst_alloc_stream_mrfld() local
62 num_ch = sst_get_num_channel(str_params); in sst_alloc_stream_mrfld()
65 if (i < num_ch) in sst_alloc_stream_mrfld()
75 sst_drv_ctx->streams[str_id].num_ch = num_ch; in sst_alloc_stream_mrfld()
A Dsst.h210 unsigned int num_ch; member
A Dsst_drv_interface.c365 (u64)stream->num_ch * SST_GET_BYTES_PER_SAMPLE(24)); in sst_cdev_tstamp()
/linux/drivers/dma/dw-edma/
A Ddw-edma-v0-core.c242 u32 num_ch; in dw_edma_v0_core_ch_count() local
245 num_ch = FIELD_GET(EDMA_V0_WRITE_CH_COUNT_MASK, in dw_edma_v0_core_ch_count()
248 num_ch = FIELD_GET(EDMA_V0_READ_CH_COUNT_MASK, in dw_edma_v0_core_ch_count()
251 if (num_ch > EDMA_V0_MAX_NR_CH) in dw_edma_v0_core_ch_count()
252 num_ch = EDMA_V0_MAX_NR_CH; in dw_edma_v0_core_ch_count()
254 return (u16)num_ch; in dw_edma_v0_core_ch_count()
/linux/drivers/media/platform/
A Drcar_drif.c150 u32 num_ch; member
160 .num_ch = 2,
167 .num_ch = 2,
174 .num_ch = 2,
345 sdr->fmt->bitlen, sdr->fmt->wdcnt, sdr->fmt->num_ch); in rcar_drif_set_format()
348 if (sdr->fmt->num_ch > sdr->num_cur_ch) { in rcar_drif_set_format()
350 sdr->fmt->num_ch, sdr->num_cur_ch); in rcar_drif_set_format()
890 if (sdr->num_hw_ch == formats[i].num_ch) { in rcar_drif_set_default_format()
951 if (formats[i].num_ch < sdr->num_hw_ch) { in rcar_drif_s_fmt_sdr_cap()
953 sdr->num_cur_ch = formats[i].num_ch; in rcar_drif_s_fmt_sdr_cap()
/linux/drivers/iio/adc/
A Dstm32-dfsdm-adc.c1438 int num_ch; in stm32_dfsdm_adc_init() local
1446 num_ch = of_property_count_u32_elems(indio_dev->dev.of_node, in stm32_dfsdm_adc_init()
1448 if (num_ch < 0 || num_ch > adc->dfsdm->num_chs) { in stm32_dfsdm_adc_init()
1450 return num_ch < 0 ? num_ch : -EINVAL; in stm32_dfsdm_adc_init()
1458 ch = devm_kcalloc(&indio_dev->dev, num_ch, sizeof(*ch), in stm32_dfsdm_adc_init()
1463 for (chan_idx = 0; chan_idx < num_ch; chan_idx++) { in stm32_dfsdm_adc_init()
1472 indio_dev->num_channels = num_ch; in stm32_dfsdm_adc_init()
/linux/sound/soc/intel/skylake/
A Dskl-nhlt.c83 u8 s_fmt, u8 num_ch, u32 s_rate, in skl_get_ep_blob() argument
95 dump_config(dev, instance, link_type, s_fmt, num_ch, s_rate, dirn, bps); in skl_get_ep_blob()
106 sp_config = skl_get_specific_cfg(dev, fmt, num_ch, in skl_get_ep_blob()
A Dskl.h169 u8 link_type, u8 s_fmt, u8 num_ch,
/linux/sound/x86/
A Dintel_hdmi_lpe_audio.h110 u32 num_ch:3; member
A Dintel_hdmi_audio.c363 cfg_val.regx.num_ch = channels - 2; in had_init_audio_ctrl()
/linux/include/linux/iio/common/
A Dst_sensors.h208 int num_ch; member
/linux/drivers/mailbox/
A Darm_mhuv2.c50 u32 num_ch : 7; member
974 mhu->windows = readl_relaxed_bitfield(&mhu->send->mhu_cfg, struct mhu_cfg_t, num_ch); in mhuv2_tx_init()
1028 mhu->windows = readl_relaxed_bitfield(&mhu->recv->mhu_cfg, struct mhu_cfg_t, num_ch); in mhuv2_rx_init()
/linux/drivers/net/wireless/mediatek/mt76/
A Dmt76_connac_mcu.c2020 int j, err, msg_len, num_ch; in mt76_connac_mcu_rate_txpower_band() local
2023 num_ch = i == batch_size - 1 ? n_chan % batch_len : batch_len; in mt76_connac_mcu_rate_txpower_band()
2024 msg_len = sizeof(tx_power_tlv) + num_ch * sizeof(sku_tlbv); in mt76_connac_mcu_rate_txpower_band()
2033 tx_power_tlv.n_chan = num_ch; in mt76_connac_mcu_rate_txpower_band()
2047 for (j = 0; j < num_ch; j++, idx++) { in mt76_connac_mcu_rate_txpower_band()
/linux/drivers/net/wireless/ath/ath6kl/
A Dwmi.h863 u8 num_ch; member
889 u8 num_ch; member
1373 u8 num_ch; member
A Dwmi.c1986 sc->num_ch = num_chan; in ath6kl_wmi_startscan_cmd()
2048 sc->num_ch = num_chan; in ath6kl_wmi_beginscan_cmd()
/linux/drivers/soundwire/
A Dintel.c623 unsigned int *num_ch, bool pcm) in intel_pdi_get_ch_update() argument
633 *num_ch = ch_count; in intel_pdi_get_ch_update()

Completed in 82 milliseconds