/openbmc/linux/sound/soc/tegra/ |
H A D | tegra210_admaif.c | 84 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 …]
|
H A D | tegra210_admaif.h | 150 unsigned int num_ch; member
|
/openbmc/linux/drivers/iio/pressure/ |
H A D | st_pressure_core.c | 237 .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), 567 .num_ch = ARRAY_SIZE(st_press_lps22hb_channels), 763 press_data->num_data_channels = press_data->sensor_settings->num_ch - 1; in st_press_common_probe() 765 indio_dev->num_channels = press_data->sensor_settings->num_ch; in st_press_common_probe()
|
/openbmc/linux/sound/hda/ |
H A D | intel-nhlt.c | 240 nhlt_get_specific_cfg(struct device *dev, struct nhlt_fmt *fmt, u8 num_ch, in nhlt_get_specific_cfg() argument 262 if (wfmt->channels == num_ch && wfmt->samples_per_sec == rate && in nhlt_get_specific_cfg() 292 u8 num_ch, u32 rate, u8 dir, u8 dev_type) in intel_nhlt_get_endpoint_blob() argument 321 num_ch, bps, rate); in intel_nhlt_get_endpoint_blob() 324 dev_dbg(dev, " ch=%d fmt=%d/%d rate=%d\n", num_ch, vbps, bps, rate); in intel_nhlt_get_endpoint_blob() 334 cfg = nhlt_get_specific_cfg(dev, fmt, num_ch, rate, in intel_nhlt_get_endpoint_blob()
|
/openbmc/linux/sound/soc/intel/atom/sst/ |
H A D | sst_stream.c | 32 int i, num_ch, str_id; in sst_alloc_stream_mrfld() local 61 num_ch = sst_get_num_channel(str_params); in sst_alloc_stream_mrfld() 64 if (i < num_ch) in sst_alloc_stream_mrfld() 74 sst_drv_ctx->streams[str_id].num_ch = num_ch; in sst_alloc_stream_mrfld()
|
H A D | sst.h | 207 unsigned int num_ch; member
|
H A D | sst_drv_interface.c | 362 (u64)stream->num_ch * SST_GET_BYTES_PER_SAMPLE(24)); in sst_cdev_tstamp()
|
/openbmc/linux/drivers/dma/dw-edma/ |
H A D | dw-edma-v0-core.c | 174 u32 num_ch; in dw_edma_v0_core_ch_count() local 177 num_ch = FIELD_GET(EDMA_V0_WRITE_CH_COUNT_MASK, in dw_edma_v0_core_ch_count() 180 num_ch = FIELD_GET(EDMA_V0_READ_CH_COUNT_MASK, in dw_edma_v0_core_ch_count() 183 if (num_ch > EDMA_V0_MAX_NR_CH) in dw_edma_v0_core_ch_count() 184 num_ch = EDMA_V0_MAX_NR_CH; in dw_edma_v0_core_ch_count() 186 return (u16)num_ch; in dw_edma_v0_core_ch_count()
|
/openbmc/linux/include/sound/ |
H A D | intel-nhlt.h | 144 u8 num_ch, u32 rate, u8 dir, u8 dev_type); 182 u8 num_ch, u32 rate, u8 dir, u8 dev_type) in intel_nhlt_get_endpoint_blob() argument
|
/openbmc/linux/drivers/media/platform/renesas/ |
H A D | rcar_drif.c | 146 u32 num_ch; member 156 .num_ch = 2, 163 .num_ch = 2, 170 .num_ch = 2, 341 sdr->fmt->bitlen, sdr->fmt->wdcnt, sdr->fmt->num_ch); in rcar_drif_set_format() 344 if (sdr->fmt->num_ch > sdr->num_cur_ch) { in rcar_drif_set_format() 346 sdr->fmt->num_ch, sdr->num_cur_ch); in rcar_drif_set_format() 886 if (sdr->num_hw_ch == formats[i].num_ch) { in rcar_drif_set_default_format() 947 if (formats[i].num_ch < sdr->num_hw_ch) { in rcar_drif_s_fmt_sdr_cap() 949 sdr->num_cur_ch = formats[i].num_ch; in rcar_drif_s_fmt_sdr_cap()
|
/openbmc/linux/drivers/hwmon/ |
H A D | mr75203.c | 689 int i, ret, num_ch; in pvt_get_pre_scaler() local 697 num_ch = device_property_count_u8(dev, "moortec,vm-pre-scaler-x2"); in pvt_get_pre_scaler() 698 if (num_ch <= 0) in pvt_get_pre_scaler() 701 pre_scaler_ch_list = kcalloc(num_ch, sizeof(*pre_scaler_ch_list), in pvt_get_pre_scaler() 708 pre_scaler_ch_list, num_ch); in pvt_get_pre_scaler() 712 for (i = 0; i < num_ch; i++) { in pvt_get_pre_scaler()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | stm32-dfsdm-adc.c | 1438 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()
|
H A D | max11410.c | 703 unsigned int num_ch; in max11410_parse_channels() local 707 num_ch = device_get_child_node_count(dev); in max11410_parse_channels() 708 if (num_ch == 0) in max11410_parse_channels() 713 num_ch++; in max11410_parse_channels() 714 channels = devm_kcalloc(dev, num_ch, sizeof(*channels), GFP_KERNEL); in max11410_parse_channels() 718 st->channels = devm_kcalloc(dev, num_ch, sizeof(*st->channels), in max11410_parse_channels()
|
/openbmc/linux/drivers/input/misc/ |
H A D | iqs626a.c | 360 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, 774 for (i = 0; i < iqs626_channels[ch_id].num_ch; i++) { in iqs626_parse_trackpad()
|
/openbmc/linux/drivers/iio/dac/ |
H A D | ad3552r.c | 273 unsigned int num_ch; member 946 dac->num_ch = device_get_child_node_count(dev); in ad3552r_configure_device() 947 if (!dac->num_ch) { in ad3552r_configure_device() 1021 dac->num_ch = cnt; in ad3552r_configure_device() 1097 indio_dev->num_channels = dac->num_ch; in ad3552r_probe()
|
/openbmc/linux/sound/x86/ |
H A D | intel_hdmi_lpe_audio.h | 110 u32 num_ch:3; member
|
H A D | intel_hdmi_audio.c | 365 cfg_val.regx.num_ch = channels - 2; in had_init_audio_ctrl()
|
/openbmc/linux/include/linux/iio/common/ |
H A D | st_sensors.h | 209 int num_ch; member
|
/openbmc/linux/drivers/soundwire/ |
H A D | intel_ace2x.c | 520 unsigned int *num_ch) in intel_pdi_get_ch_update() argument 531 *num_ch = ch_count; in intel_pdi_get_ch_update()
|
H A D | intel.c | 565 unsigned int *num_ch) in intel_pdi_get_ch_update() argument 575 *num_ch = ch_count; in intel_pdi_get_ch_update()
|
/openbmc/linux/drivers/mailbox/ |
H A D | arm_mhuv2.c | 50 u32 num_ch : 7; member 976 mhu->windows = readl_relaxed_bitfield(&mhu->send->mhu_cfg, struct mhu_cfg_t, num_ch); in mhuv2_tx_init() 1030 mhu->windows = readl_relaxed_bitfield(&mhu->recv->mhu_cfg, struct mhu_cfg_t, num_ch); in mhuv2_rx_init()
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | wmi.h | 863 u8 num_ch; member 889 u8 num_ch; member 1373 u8 num_ch; member
|
H A D | wmi.c | 1977 sc->num_ch = num_chan; in ath6kl_wmi_startscan_cmd() 2034 sc->num_ch = num_chan; in ath6kl_wmi_beginscan_cmd()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac_mcu.c | 2203 int j, err, msg_len, num_ch; in mt76_connac_mcu_rate_txpower_band() local 2206 num_ch = i == batch_size - 1 ? n_chan % batch_len : batch_len; in mt76_connac_mcu_rate_txpower_band() 2207 msg_len = sizeof(tx_power_tlv) + num_ch * sizeof(sku_tlbv); in mt76_connac_mcu_rate_txpower_band() 2216 tx_power_tlv.n_chan = num_ch; in mt76_connac_mcu_rate_txpower_band() 2230 for (j = 0; j < num_ch; j++, idx++) { in mt76_connac_mcu_rate_txpower_band()
|