Home
last modified time | relevance | path

Searched refs:channel_count (Results 1 – 25 of 67) sorted by relevance

123

/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_audio.c104 if (audio_info->modes[index].channel_count > in is_audio_format_supported()
105 audio_info->modes[max_channe_index].channel_count) { in is_audio_format_supported()
126 uint32_t channel_count, in check_audio_bandwidth_hdmi() argument
139 if (channel_count > 2) { in check_audio_bandwidth_hdmi()
273 uint32_t channel_count, in get_audio_layout_config() argument
281 if (channel_count == 2) { in get_audio_layout_config()
285 } else if (channel_count == 8 || channel_count == 6) { in get_audio_layout_config()
291 if (channel_count == 2) { in get_audio_layout_config()
295 } else if (channel_count in get_audio_layout_config()
348 calculate_required_audio_bw_in_symbols(const struct audio_crtc_info * crtc_info,const struct dp_audio_layout_config * layout_config,uint32_t channel_count,uint32_t sample_rate_hz,uint32_t av_stream_map_lane_count,uint32_t audio_sdp_overhead) calculate_required_audio_bw_in_symbols() argument
472 check_audio_bandwidth_dp(const struct audio_crtc_info * crtc_info,const struct audio_dp_link_info * dp_link_info,uint32_t channel_count,union audio_sample_rates * sample_rates) check_audio_bandwidth_dp() argument
531 check_audio_bandwidth(const struct audio_crtc_info * crtc_info,const struct audio_dp_link_info * dp_link_info,uint32_t channel_count,enum signal_type signal,union audio_sample_rates * sample_rates) check_audio_bandwidth() argument
795 uint8_t channel_count = audio_mode->channel_count; dce_aud_az_configure() local
[all...]
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_validation.c454 uint32_t channel_count, in get_audio_layout_config() argument
464 if (channel_count == 2) { in get_audio_layout_config()
468 } else if (channel_count == 8 || channel_count == 6) { in get_audio_layout_config()
474 if (channel_count == 2) { in get_audio_layout_config()
478 } else if (channel_count == 8 || channel_count == 6) { in get_audio_layout_config()
554 const uint32_t channel_count = audio_params->channel_count; in dp_required_hblank_size_bytes() local
574 channel_count, link_encodin in dp_required_hblank_size_bytes()
[all...]
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-net.c215 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_enable_rx_tx_ints()
237 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_disable_rx_tx_ints()
271 for (i = 0; i < pdata->channel_count; i++) { in xlgmac_isr()
391 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_init_timers()
405 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_stop_timers()
420 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_napi_enable()
443 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_napi_disable()
476 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_request_irqs()
496 for (i--, channel--; i < pdata->channel_count; i--, channel--) in xlgmac_request_irqs()
515 for (i = 0; i < pdata->channel_count; in xlgmac_free_irqs()
[all...]
H A Ddwc-xlgmac-desc.c167 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_free_rings()
180 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_alloc_rings()
227 pdata->channel_count = 0; in xlgmac_free_channels()
237 channel_head = kcalloc(pdata->channel_count, in xlgmac_alloc_channels()
255 for (i = 0, channel = channel_head; i < pdata->channel_count; in xlgmac_alloc_channels()
432 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_tx_desc_init()
469 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_rx_desc_init()
H A Ddwc-xlgmac-hw.c505 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_enable_tx()
539 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_disable_tx()
562 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_disable_tx()
609 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_enable_rx()
665 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_disable_rx()
1307 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_config_rx_coalesce()
1365 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_config_rx_buffer_size()
1384 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_config_tso_mode()
1404 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_config_sph_mode()
1746 for (i = 0; i < pdata->channel_count; in xlgmac_config_osp_mode()
[all...]
/linux/drivers/hwmon/
H A Dhp-wmi-sensors.c386 * @channel_count: count of hwmon channels by hwmon type
394 u8 channel_count[hwmon_max]; member
1527 u8 fan_count = state->channel_count[hwmon_fan]; in match_fan_event()
1550 u8 temp_count = state->channel_count[hwmon_temp]; in match_temp_events()
1723 u8 *channel_count = state->channel_count; in init_numeric_sensors() local
1773 channel_count[type]++; in init_numeric_sensors()
1790 info_map[type] = devm_kcalloc(dev, channel_count[type], in init_numeric_sensors()
1919 u8 *channel_count = state->channel_count; in make_chip_info() local
[all...]
H A Dpwm-fan.c502 int channel_count = 1; /* We always have a PWM channel. */ in pwm_fan_probe() local
579 channel_count++; /* We also have a FAN channel. */ in pwm_fan_probe()
609 channels = devm_kcalloc(dev, channel_count + 1, in pwm_fan_probe()
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c78 pdata->channel_count = 0; in xgbe_free_channels()
144 pdata->channel_count = count; in xgbe_alloc_channels()
222 for (i = 0; i < pdata->channel_count; i++) in xgbe_enable_rx_tx_ints()
248 for (i = 0; i < pdata->channel_count; i++) in xgbe_disable_rx_tx_ints()
386 for (i = 0; i < pdata->channel_count; i++) { in xgbe_isr_bh_work()
588 for (i = 0; i < pdata->channel_count; i++) { in xgbe_service_timer()
605 for (i = 0; i < pdata->channel_count; i++) { in xgbe_init_timers()
626 for (i = 0; i < pdata->channel_count; i++) { in xgbe_stop_timers()
858 for (i = 0; i < pdata->channel_count; i++) { in xgbe_napi_enable()
881 for (i = 0; i < pdata->channel_count; in xgbe_napi_disable()
[all...]
H A Dxgbe-desc.c70 for (i = 0; i < pdata->channel_count; i++) { in xgbe_free_ring_resources()
143 for (i = 0; i < pdata->channel_count; i++) { in xgbe_alloc_ring_resources()
294 for (i = 0; i < pdata->channel_count; i++) { in xgbe_wrapper_tx_descriptor_init()
335 for (i = 0; i < pdata->channel_count; i++) { in xgbe_wrapper_rx_descriptor_init()
H A Dxgbe-dev.c84 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_pbl_val()
104 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_osp_mode()
161 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_rx_coalesce()
181 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_rx_buffer_size()
194 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_tso_mode()
206 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_sph_mode()
220 for (i = 0; i < pdata->channel_count; i++) { in xgbe_disable_sph_mode()
574 for (i = 0; i < pdata->channel_count; i++) { in xgbe_enable_dma_interrupts()
3217 for (i = 0; i < pdata->channel_count; i++) { in xgbe_enable_tx()
3249 for (i = 0; i < pdata->channel_count; in xgbe_disable_tx()
[all...]
/linux/drivers/acpi/
H A Dnhlt.c152 wav->channel_count == ch) in acpi_nhlt_endpoint_find_fmtcfg()
259 max_ch = max(fmt->format.channel_count, max_ch); in acpi_nhlt_endpoint_mic_count()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_hdmi.c474 u8 channel_count) in mtk_hdmi_hw_aud_set_i2s_chan_num() argument
484 if (channel_count == 2) { in mtk_hdmi_hw_aud_set_i2s_chan_num()
486 } else if (channel_count == 3 || channel_count == 4) { in mtk_hdmi_hw_aud_set_i2s_chan_num()
487 if (channel_count == 4 && in mtk_hdmi_hw_aud_set_i2s_chan_num()
493 } else if (channel_count == 6 || channel_count == 5) { in mtk_hdmi_hw_aud_set_i2s_chan_num()
494 if (channel_count == 6 && in mtk_hdmi_hw_aud_set_i2s_chan_num()
503 } else if (channel_count == 8 || channel_count in mtk_hdmi_hw_aud_set_i2s_chan_num()
[all...]
/linux/drivers/gpu/drm/amd/display/dc/link/accessories/
H A Dlink_dp_cts.c187 unsigned int channel_count; in dp_test_get_audio_test_data() local
205 channel_count = min(dpcd_test_mode.bits.channel_count + 1, AUDIO_CHANNELS_COUNT); in dp_test_get_audio_test_data()
214 for (channel = 0; channel < channel_count; channel++) { in dp_test_get_audio_test_data()
254 link->audio_test_data.channel_count = channel_count; in dp_test_get_audio_test_data()
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_link.c226 int channel_count = 0x0; in msm_dp_link_parse_audio_mode() local
244 channel_count = ((data & 0xF0) >> 4) + 1; in msm_dp_link_parse_audio_mode()
245 if (channel_count > max_audio_channel_count) { in msm_dp_link_parse_audio_mode()
246 DRM_ERROR("channel_count (0x%x) greater than max (0x%x)\n", in msm_dp_link_parse_audio_mode()
247 channel_count, max_audio_channel_count); in msm_dp_link_parse_audio_mode()
253 link->msm_dp_link.test_audio.test_audio_channel_count = channel_count; in msm_dp_link_parse_audio_mode()
255 "sampling_rate = 0x%x, channel_count = 0x%x\n", in msm_dp_link_parse_audio_mode()
256 sampling_rate, channel_count); in msm_dp_link_parse_audio_mode()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dscan.c871 scan->channel_count = in iwlagn_request_scan()
876 scan->channel_count = in iwlagn_request_scan()
883 if (scan->channel_count == 0) { in iwlagn_request_scan()
884 IWL_DEBUG_SCAN(priv, "channel count %d\n", scan->channel_count); in iwlagn_request_scan()
889 scan->channel_count * sizeof(struct iwl_scan_channel); in iwlagn_request_scan()
/linux/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4_core.c638 int n, cts, channel_count; in hdmi4_audio_config() local
719 channel_count = (audio->cea->db1_ct_cc & in hdmi4_audio_config()
722 switch (channel_count) { in hdmi4_audio_config()
754 if (channel_count == 2) { in hdmi4_audio_config()
H A Dhdmi5_core.c761 int n, cts, channel_count; in hdmi5_audio_config() local
809 channel_count = (audio->cea->db1_ct_cc & CEA861_AUDIO_INFOFRAME_DB1CC) in hdmi5_audio_config()
812 if (channel_count == 2) in hdmi5_audio_config()
814 else if (channel_count == 6) in hdmi5_audio_config()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi4_core.c682 int n, cts, channel_count; in hdmi4_audio_config() local
763 channel_count = (audio->cea->db1_ct_cc & in hdmi4_audio_config()
766 switch (channel_count) { in hdmi4_audio_config()
798 if (channel_count == 2) { in hdmi4_audio_config()
H A Dhdmi5_core.c774 int n, cts, channel_count; in hdmi5_audio_config() local
822 channel_count = (audio->cea->db1_ct_cc & CEA861_AUDIO_INFOFRAME_DB1CC) in hdmi5_audio_config()
825 if (channel_count == 2) in hdmi5_audio_config()
827 else if (channel_count == 6) in hdmi5_audio_config()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
H A Ddml_top_soc_parameter_types.h114 unsigned int channel_count; member
/linux/drivers/net/ipa/
H A Dgsi.h143 u32 channel_count; member
/linux/drivers/pnp/pnpacpi/
H A Drsparser.c235 if (dma->channel_count > 0 && dma->channels[0] != (u8) -1) in pnpacpi_allocated_resource()
299 for (i = 0; i < p->channel_count; i++) in pnpacpi_parse_dma_option()
723 dma->channel_count = 0; in pnpacpi_encode_dma()
756 dma->channel_count = 1; in pnpacpi_encode_dma()
/linux/drivers/usb/musb/
H A Dmusbhsdma.c69 u8 channel_count; member
402 controller->channel_count = MUSB_HSDMA_CHANNELS; in dma_controller_alloc()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/bounding_boxes/
H A Ddcn4_soc_bb.h132 .channel_count = 16,
/linux/drivers/acpi/acpica/
H A Drsirq.c241 ACPI_RS_OFFSET(data.dma.channel_count)}

123