/linux-master/sound/soc/intel/boards/ |
H A D | bytcht_nocodec.c | 45 struct snd_interval *channels = hw_param_interval(params, local 51 channels->min = channels->max = 2;
|
H A D | hsw_rt5640.c | 35 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); local 40 channels->min = channels->max = 2;
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | nvm.c | 459 struct_size(mcc_resp_v8, channels, n_channels)) { 463 resp_len = struct_size(resp_cp, channels, n_channels); 476 memcpy(resp_cp->channels, mcc_resp_v8->channels, 484 struct_size(mcc_resp_v4, channels, n_channels)) { 488 resp_len = struct_size(resp_cp, channels, n_channels); 502 memcpy(resp_cp->channels, mcc_resp_v4->channels, 509 struct_size(mcc_resp_v3, channels, n_channels)) { 513 resp_len = struct_size(resp_cp, channels, n_channel [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_tx.c | 151 to_ctx->status = 1; /* all channels recovered */ 179 chs = &priv->channels; 302 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; 325 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; 337 for (i = 0; i < priv->channels.num; i++) { 338 struct mlx5e_channel *c = priv->channels.c[i]; 340 for (tc = 0; tc < mlx5e_get_dcb_num_tc(&priv->channels.params); tc++) { 350 for (tc = 0; tc < mlx5e_get_dcb_num_tc(&priv->channels.params); tc++) 416 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; 430 for (i = 0; i < priv->channels [all...] |
/linux-master/sound/synth/emux/ |
H A D | emux_seq.c | 34 * number of MIDI channels 51 * Each of the ports will contain the 16 midi channels. Applications 138 p->chset.channels = kcalloc(max_channels, sizeof(*p->chset.channels), 140 if (!p->chset.channels) { 145 p->chset.channels[i].number = i; 185 kfree(p->chset.channels); 229 struct snd_midi_channel *chan = port->chset.channels + i;
|
/linux-master/sound/pci/ctxfi/ |
H A D | ctpcm.c | 389 { .channels = 1, 391 { .channels = 2, 397 { .channels = 1, 399 { .channels = 2, 405 { .channels = 1, 407 { .channels = 2,
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/ |
H A D | regd.c | 25 *Only these channels all allow active 148 ch = &sband->channels[i]; 196 *on these channels. This is only done for specific regulatory SKUs 199 ch = &sband->channels[11]; /* CH 12 */ 202 ch = &sband->channels[12]; /* CH 13 */ 215 ch = &sband->channels[11]; /* CH 12 */ 223 ch = &sband->channels[12]; /* CH 13 */ 248 ch = &sband->channels[i];
|
/linux-master/sound/firewire/motu/ |
H A D | motu-pcm.c | 49 struct snd_interval channels = { local 62 channels.min = min(channels.min, pcm_channels); 63 channels.max = max(channels.max, pcm_channels); 66 return snd_interval_refine(c, &channels);
|
/linux-master/drivers/iio/gyro/ |
H A D | adis16260.c | 101 const struct iio_chan_spec *channels; member in struct:adis16260_chip_info 151 .channels = adis16260_channels, 157 .channels = adis16260_channels, 163 .channels = adis16266_channels, 385 indio_dev->channels = adis16260->info->channels;
|
/linux-master/sound/firewire/ |
H A D | amdtp-am824.c | 99 /* init the position map for PCM and MIDI channels */ 153 unsigned int channels = p->pcm_channels; local 168 for (c = 0; c < channels; ++c) { 184 unsigned int channels = p->pcm_channels; local 199 for (c = 0; c < channels; ++c) { 213 unsigned int i, c, channels = p->pcm_channels; local 216 for (c = 0; c < channels; ++c)
|
/linux-master/drivers/hsi/clients/ |
H A D | hsi_char.c | 33 #define HSC_DEVS 16 /* Num of channels */ 74 * @cl_data: reference to the client data that this channels belongs to 98 * @channels: Array of channels accessible by the client 106 struct hsc_channel channels[HSC_DEVS]; member in struct:hsc_client_data 228 struct hsc_channel *channel = cl_data->channels + msg->channel; 248 struct hsc_channel *channel = cl_data->channels + msg->channel; 276 struct hsc_channel *channel = cl_data->channels; 279 /* Broadcast HWBREAK on all channels */ 349 if ((rxc->channels [all...] |
/linux-master/sound/core/oss/ |
H A D | route.c | 63 nsrcs = plugin->src_format.channels; 64 ndsts = plugin->dst_format.channels; 69 /* expand to all channels */
|
/linux-master/drivers/iio/adc/ |
H A D | ad7791.c | 158 const struct iio_chan_spec *channels; member in struct:ad7791_chip_info 165 .channels = ad7787_channels, 171 .channels = ad7790_channels, 176 .channels = ad7791_channels, 181 .channels = ad7790_channels, 187 .channels = ad7791_channels, 437 indio_dev->channels = st->info->channels;
|
H A D | ltc2471.c | 123 indio_dev->channels = ltc2473_channel; 125 indio_dev->channels = ltc2471_channel;
|
H A D | ad7091r5.c | 64 .channels = ad7091r5_channels_irq, 73 .channels = ad7091r5_channels_noirq,
|
/linux-master/sound/pci/emu10k1/ |
H A D | emupcm.c | 87 int type, int count, int channels) 94 type, count, channels, 377 int type, channels, count; local 382 channels = 1; 386 channels = params_channels(hw_params); 389 err = snd_emu10k1_pcm_channel_alloc(epcm, type, count, channels); 446 bool stereo = runtime->channels == 2; 490 for (i = 0; i < runtime->channels; i++) { 534 // The upper 32 16-bit capture voices, two for each of the 16 32-bit channels. 537 epcm->capture_cr_val2 = 0xffffffff >> (32 - runtime->channels * 86 snd_emu10k1_pcm_channel_alloc(struct snd_emu10k1_pcm *epcm, int type, int count, int channels) argument 602 snd_emu10k1_playback_prepare_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, bool w_16, bool stereo, int channels) argument 894 snd_emu10k1_efx_playback_voice_mask(struct snd_emu10k1_pcm *epcm, int channels) argument 906 snd_emu10k1_efx_playback_freeze_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, int channels) argument 917 snd_emu10k1_efx_playback_unmute_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, int channels) argument 926 snd_emu10k1_efx_playback_stop_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, int channels) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | tx.c | 13 struct mlx5e_params *params = &priv->channels.params; 22 c = priv->channels.c[qid];
|
/linux-master/tools/testing/selftests/alsa/ |
H A D | test-pcmtest-driver.c | 24 unsigned long channels; member in struct:pcmtest_test_params 78 static size_t get_sec_buf_len(unsigned int rate, unsigned long channels, snd_pcm_format_t format) argument 80 return rate * channels * snd_pcm_format_physical_width(format) / 8; 98 snd_pcm_hw_params_set_channels(*handle, hwparams, params->channels); 140 self->params.channels = CH_NUM; 147 self->params.sec_buf_len = get_sec_buf_len(self->params.rate, self->params.channels, 184 params->rate * params->channels * params->time); 223 params->rate * params->channels * params->time);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_ethtool.c | 328 param->rx_pending = 1 << priv->channels.params.log_rq_mtu_frames; 329 param->tx_pending = 1 << priv->channels.params.log_sq_size; 332 (priv->channels.params.packet_merge.type == MLX5E_PACKET_MERGE_SHAMPO) ? 383 if (log_rq_size == priv->channels.params.log_rq_mtu_frames && 384 log_sq_size == priv->channels.params.log_sq_size) 389 new_params = priv->channels.params; 420 ch->combined_count = priv->channels.params.num_channels; 435 struct mlx5e_params *cur_params = &priv->channels.params; 459 netdev_err(priv->netdev, "%s: Requested number of channels (%d) exceeds the maximum allowed by the XOR8 RSS hfunc (%d)\n", 465 /* If RXFH is configured, changing the channels numbe 2042 struct mlx5e_channels *channels = &priv->channels; local [all...] |
/linux-master/drivers/iio/imu/ |
H A D | adis16475.c | 92 const struct iio_chan_spec *channels; member in struct:adis16475_chip_info 743 .channels = adis16475_channels, 760 .channels = adis16475_channels, 777 .channels = adis16475_channels, 794 .channels = adis16475_channels, 811 .channels = adis16477_channels, 829 .channels = adis16477_channels, 847 .channels = adis16477_channels, 865 .channels = adis16475_channels, 882 .channels [all...] |
/linux-master/drivers/iio/chemical/ |
H A D | atlas-sensor.c | 348 const struct iio_chan_spec *channels; member in struct:atlas_device 358 .channels = atlas_ph_channels, 365 .channels = atlas_ec_channels, 372 .channels = atlas_orp_channels, 379 .channels = atlas_do_channels, 386 .channels = atlas_rtd_channels, 454 int channels = atlas_buffer_num_channels(data->chip->channels); local 458 &data->buffer, sizeof(__be32) * channels); 627 indio_dev->channels [all...] |
/linux-master/sound/sh/ |
H A D | aica.c | 214 static int aica_dma_transfer(int channels, int buffer_size, argument 224 period_offset %= (AICA_PERIOD_NUMBER / channels); 226 for (q = 0; q < channels; q++) { 231 channels + 236 buffer_size / channels, AICA_DMA_MODE); 265 if (runtime->channels > 1) 267 aica_dma_transfer(runtime->channels, buffer_size, 271 buffer_size / (AICA_PERIOD_SIZE * runtime->channels); 274 aica_dma_transfer(runtime->channels, 275 AICA_PERIOD_SIZE * runtime->channels, [all...] |
/linux-master/net/mac80211/ |
H A D | scan.c | 372 local->hw_scan_req->req.channels[i] = req->channels[i]; 373 bands_used |= BIT(req->channels[i]->band); 385 if (req->channels[i]->band != 388 local->hw_scan_req->req.channels[n_chans] = 389 req->channels[i]; 391 bands_used |= BIT(req->channels[i]->band); 544 * the responses. After all channels are scanned, tune back to the 746 if (bands_counted & BIT(req->channels[i]->band)) 748 bands_counted |= BIT(req->channels[ 1174 ieee80211_request_ibss_scan(struct ieee80211_sub_if_data *sdata, const u8 *ssid, u8 ssid_len, struct ieee80211_channel **channels, unsigned int n_channels) argument [all...] |
/linux-master/sound/soc/sunxi/ |
H A D | sun4i-i2s.c | 200 * @slots: channels per frame + padding slots, regardless of format 204 unsigned int channels, unsigned int slots, 289 unsigned int channels, 293 int div = parent_rate / sampling_rate / word_size / channels; 460 unsigned int channels, unsigned int slots, 463 /* Map the channels for playback and capture */ 467 /* Configure the channels */ 470 SUN4I_I2S_CHAN_SEL(channels)); 473 SUN4I_I2S_CHAN_SEL(channels)); 479 unsigned int channels, unsigne 286 sun4i_i2s_get_bclk_div(struct sun4i_i2s *i2s, unsigned long parent_rate, unsigned int sampling_rate, unsigned int channels, unsigned int word_size) argument 459 sun4i_i2s_set_chan_cfg(const struct sun4i_i2s *i2s, unsigned int channels, unsigned int slots, unsigned int slot_width) argument 478 sun8i_i2s_set_chan_cfg(const struct sun4i_i2s *i2s, unsigned int channels, unsigned int slots, unsigned int slot_width) argument 530 sun50i_h6_i2s_set_chan_cfg(const struct sun4i_i2s *i2s, unsigned int channels, unsigned int slots, unsigned int slot_width) argument 598 unsigned int channels = params_channels(params); local [all...] |
/linux-master/drivers/i2c/busses/ |
H A D | i2c-amd756-s4882.c | 9 * We select the channels by sending commands to the Philips 13 * module EEPROM) located on channels 1-4, and 0x4c (LM63) 14 * located on multiplexed channels 0 and 5-7. We define one 16 * channels: 17 * CPU0: virtual adapter 1, channels 1 and 0 18 * CPU1: virtual adapter 2, channels 2 and 5 19 * CPU2: virtual adapter 3, channels 3 and 6 20 * CPU3: virtual adapter 4, channels 4 and 7 60 /* We remember the last used channels combination so as to only switch 61 channels whe 66 amd756_access_channel(struct i2c_adapter * adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data * data, u8 channels) argument [all...] |