/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_audio.c | 104 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() 246 uint32_t channel_count, in check_audio_bandwidth_dpsst() argument 255 uint32_t channel_count, in check_audio_bandwidth_dpmst() argument 263 uint32_t channel_count, in check_audio_bandwidth() argument 270 crtc_info, channel_count, sample_rates); in check_audio_bandwidth() 275 crtc_info, channel_count, sample_rates); in check_audio_bandwidth() 279 crtc_info, channel_count, sample_rates); in check_audio_bandwidth() [all …]
|
/linux-6.6.21/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-net.c | 215 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() 390 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_init_timers() 404 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_stop_timers() 419 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_napi_enable() 442 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_napi_disable() 475 for (i = 0; i < pdata->channel_count; i++, channel++) { in xlgmac_request_irqs() 495 for (i--, channel--; i < pdata->channel_count; i--, channel--) in xlgmac_request_irqs() 514 for (i = 0; i < pdata->channel_count; i++, channel++) in xlgmac_free_irqs() [all …]
|
D | dwc-xlgmac-desc.c | 167 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()
|
D | dwc-xlgmac-hw.c | 505 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; i++, channel++) { in xlgmac_config_osp_mode() [all …]
|
/linux-6.6.21/drivers/hwmon/ |
D | hp-wmi-sensors.c | 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() 1731 u8 *channel_count = state->channel_count; in init_numeric_sensors() local 1781 channel_count[type]++; in init_numeric_sensors() 1798 info_map[type] = devm_kcalloc(dev, channel_count[type], in init_numeric_sensors() 1927 u8 *channel_count = state->channel_count; in make_chip_info() local 1937 if (channel_count[hwmon_temp]) in make_chip_info() 1938 channel_count[hwmon_chip] = 1; in make_chip_info() 1941 channel_count[hwmon_intrusion] = 1; in make_chip_info() [all …]
|
D | pwm-fan.c | 484 int channel_count = 1; /* We always have a PWM channel. */ in pwm_fan_probe() local 551 channel_count++; /* We also have a FAN channel. */ in pwm_fan_probe() 567 channels = devm_kcalloc(dev, channel_count + 1, in pwm_fan_probe()
|
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 187 pdata->channel_count = 0; in xgbe_free_channels() 253 pdata->channel_count = count; in xgbe_alloc_channels() 331 for (i = 0; i < pdata->channel_count; i++) in xgbe_enable_rx_tx_ints() 357 for (i = 0; i < pdata->channel_count; i++) in xgbe_disable_rx_tx_ints() 495 for (i = 0; i < pdata->channel_count; i++) { in xgbe_isr_task() 695 for (i = 0; i < pdata->channel_count; i++) { in xgbe_service_timer() 712 for (i = 0; i < pdata->channel_count; i++) { in xgbe_init_timers() 733 for (i = 0; i < pdata->channel_count; i++) { in xgbe_stop_timers() 965 for (i = 0; i < pdata->channel_count; i++) { in xgbe_napi_enable() 988 for (i = 0; i < pdata->channel_count; i++) { in xgbe_napi_disable() [all …]
|
D | xgbe-desc.c | 179 for (i = 0; i < pdata->channel_count; i++) { in xgbe_free_ring_resources() 252 for (i = 0; i < pdata->channel_count; i++) { in xgbe_alloc_ring_resources() 398 for (i = 0; i < pdata->channel_count; i++) { in xgbe_wrapper_tx_descriptor_init() 439 for (i = 0; i < pdata->channel_count; i++) { in xgbe_wrapper_rx_descriptor_init()
|
D | xgbe-dev.c | 191 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_pbl_val() 211 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_osp_mode() 268 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_rx_coalesce() 288 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_rx_buffer_size() 301 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_tso_mode() 313 for (i = 0; i < pdata->channel_count; i++) { in xgbe_config_sph_mode() 669 for (i = 0; i < pdata->channel_count; i++) { in xgbe_enable_dma_interrupts() 3344 for (i = 0; i < pdata->channel_count; i++) { in xgbe_enable_tx() 3376 for (i = 0; i < pdata->channel_count; i++) { in xgbe_disable_tx() 3415 for (i = 0; i < pdata->channel_count; i++) { in xgbe_enable_rx() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/accessories/ |
D | link_dp_cts.c | 138 unsigned int channel_count; in dp_test_get_audio_test_data() local 156 channel_count = min(dpcd_test_mode.bits.channel_count + 1, AUDIO_CHANNELS_COUNT); in dp_test_get_audio_test_data() 165 for (channel = 0; channel < channel_count; channel++) { in dp_test_get_audio_test_data() 205 link->audio_test_data.channel_count = channel_count; in dp_test_get_audio_test_data()
|
/linux-6.6.21/drivers/gpu/drm/mediatek/ |
D | mtk_hdmi.c | 521 u8 channel_count) in mtk_hdmi_hw_aud_set_i2s_chan_num() argument 531 if (channel_count == 2) { in mtk_hdmi_hw_aud_set_i2s_chan_num() 533 } else if (channel_count == 3 || channel_count == 4) { in mtk_hdmi_hw_aud_set_i2s_chan_num() 534 if (channel_count == 4 && in mtk_hdmi_hw_aud_set_i2s_chan_num() 540 } else if (channel_count == 6 || channel_count == 5) { in mtk_hdmi_hw_aud_set_i2s_chan_num() 541 if (channel_count == 6 && in mtk_hdmi_hw_aud_set_i2s_chan_num() 550 } else if (channel_count == 8 || channel_count == 7) { in mtk_hdmi_hw_aud_set_i2s_chan_num()
|
/linux-6.6.21/drivers/gpu/drm/msm/dp/ |
D | dp_link.c | 226 int channel_count = 0x0; in dp_link_parse_audio_mode() local 244 channel_count = ((data & 0xF0) >> 4) + 1; in dp_link_parse_audio_mode() 245 if (channel_count > max_audio_channel_count) { in dp_link_parse_audio_mode() 247 channel_count, max_audio_channel_count); in dp_link_parse_audio_mode() 253 link->dp_link.test_audio.test_audio_channel_count = channel_count; in dp_link_parse_audio_mode() 256 sampling_rate, channel_count); in dp_link_parse_audio_mode()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | scan.c | 871 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-6.6.21/drivers/video/fbdev/omap2/omapfb/dss/ |
D | hdmi4_core.c | 682 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()
|
D | hdmi5_core.c | 791 int n, cts, channel_count; in hdmi5_audio_config() local 839 channel_count = (audio->cea->db1_ct_cc & CEA861_AUDIO_INFOFRAME_DB1CC) in hdmi5_audio_config() 842 if (channel_count == 2) in hdmi5_audio_config() 844 else if (channel_count == 6) in hdmi5_audio_config()
|
/linux-6.6.21/drivers/gpu/drm/omapdrm/dss/ |
D | hdmi4_core.c | 638 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()
|
D | hdmi5_core.c | 778 int n, cts, channel_count; in hdmi5_audio_config() local 826 channel_count = (audio->cea->db1_ct_cc & CEA861_AUDIO_INFOFRAME_DB1CC) in hdmi5_audio_config() 829 if (channel_count == 2) in hdmi5_audio_config() 831 else if (channel_count == 6) in hdmi5_audio_config()
|
/linux-6.6.21/drivers/net/ipa/ |
D | gsi.h | 147 u32 channel_count; member
|
/linux-6.6.21/drivers/pnp/pnpacpi/ |
D | rsparser.c | 235 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-6.6.21/drivers/usb/musb/ |
D | musbhsdma.c | 69 u8 channel_count; member 402 controller->channel_count = MUSB_HSDMA_CHANNELS; in dma_controller_alloc()
|
/linux-6.6.21/drivers/acpi/acpica/ |
D | rsirq.c | 241 ACPI_RS_OFFSET(data.dma.channel_count)}
|
/linux-6.6.21/drivers/net/can/sja1000/ |
D | plx_pci.c | 154 int channel_count; member 657 for (i = 0; i < ci->channel_count; i++) { in plx_pci_add_card()
|
/linux-6.6.21/drivers/net/wireless/ath/wcn36xx/ |
D | smd.h | 69 int wcn36xx_smd_update_scan_params(struct wcn36xx *wcn, u8 *channels, size_t channel_count);
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/ |
D | dc_types.h | 142 uint8_t channel_count; /* ucData[0] [2:0]*/ member 515 uint8_t channel_count; member
|
/linux-6.6.21/sound/soc/sof/ |
D | ipc4-topology.c | 1279 int *sample_rate, int *channel_count, int *bit_depth) in snd_sof_get_hw_config_params() argument 1315 *channel_count = le32_to_cpu(hw_config->tdm_slots); in snd_sof_get_hw_config_params() 1319 *sample_rate, *bit_depth, *channel_count); in snd_sof_get_hw_config_params() 1330 int sample_rate, channel_count; in snd_sof_get_nhlt_endpoint_data() local 1339 channel_count = params_channels(params); in snd_sof_get_nhlt_endpoint_data() 1344 ret = snd_sof_get_hw_config_params(sdev, dai, &sample_rate, &channel_count, in snd_sof_get_nhlt_endpoint_data() 1358 bit_depth, bit_depth, channel_count, sample_rate, in snd_sof_get_nhlt_endpoint_data() 1364 sample_rate, bit_depth, channel_count); in snd_sof_get_nhlt_endpoint_data()
|