Home
last modified time | relevance | path

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

/drivers/iio/pressure/
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),
696 press_data->num_data_channels = press_data->sensor_settings->num_ch - 1; in st_press_common_probe()
698 indio_dev->num_channels = press_data->sensor_settings->num_ch; in st_press_common_probe()
/drivers/input/misc/
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
585 thresh_tp, num_ch); in iqs626_parse_events()
[all …]
/drivers/dma/dw-edma/
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()
/drivers/media/platform/
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()
/drivers/iio/adc/
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()
/drivers/mailbox/
Darm_mhuv2.c50 u32 num_ch : 7; member
975 mhu->windows = readl_relaxed_bitfield(&mhu->send->mhu_cfg, struct mhu_cfg_t, num_ch); in mhuv2_tx_init()
1029 mhu->windows = readl_relaxed_bitfield(&mhu->recv->mhu_cfg, struct mhu_cfg_t, num_ch); in mhuv2_rx_init()
/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.c1816 int j, err, msg_len, num_ch; in mt76_connac_mcu_rate_txpower_band() local
1819 num_ch = i == batch_size - 1 ? n_chan % batch_len : batch_len; in mt76_connac_mcu_rate_txpower_band()
1820 msg_len = sizeof(tx_power_tlv) + num_ch * sizeof(sku_tlbv); in mt76_connac_mcu_rate_txpower_band()
1829 tx_power_tlv.n_chan = num_ch; in mt76_connac_mcu_rate_txpower_band()
1831 for (j = 0; j < num_ch; j++, idx++) { in mt76_connac_mcu_rate_txpower_band()
/drivers/net/wireless/ath/ath6kl/
Dwmi.h863 u8 num_ch; member
889 u8 num_ch; member
1373 u8 num_ch; member
Dwmi.c1986 sc->num_ch = num_chan; in ath6kl_wmi_startscan_cmd()
2048 sc->num_ch = num_chan; in ath6kl_wmi_beginscan_cmd()
/drivers/soundwire/
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()