• Home
  • Raw
  • Download

Lines Matching refs:cap

120 	int (*chmap_cea_alloc_validate_get_type)(struct cea_channel_speaker_allocation *cap,
122 void (*cea_alloc_to_tlv_chmap)(struct cea_channel_speaker_allocation *cap,
1910 static int hdmi_chmap_cea_alloc_validate_get_type(struct cea_channel_speaker_allocation *cap, in hdmi_chmap_cea_alloc_validate_get_type() argument
1914 if (cap->channels != channels) in hdmi_chmap_cea_alloc_validate_get_type()
1921 static void hdmi_cea_alloc_to_tlv_chmap(struct cea_channel_speaker_allocation *cap, in hdmi_cea_alloc_to_tlv_chmap() argument
1928 int spk = cap->speakers[c]; in hdmi_cea_alloc_to_tlv_chmap()
1955 struct cea_channel_speaker_allocation *cap; in hdmi_chmap_ctl_tlv() local
1956 cap = channel_allocations; in hdmi_chmap_ctl_tlv()
1957 for (i = 0; i < ARRAY_SIZE(channel_allocations); i++, cap++) { in hdmi_chmap_ctl_tlv()
1959 int type = spec->ops.chmap_cea_alloc_validate_get_type(cap, chs); in hdmi_chmap_ctl_tlv()
1976 spec->ops.cea_alloc_to_tlv_chmap(cap, tlv_chmap, chs); in hdmi_chmap_ctl_tlv()
2906 static int nvhdmi_chmap_cea_alloc_validate_get_type(struct cea_channel_speaker_allocation *cap, in nvhdmi_chmap_cea_alloc_validate_get_type() argument
2909 if (cap->ca_index == 0x00 && channels == 2) in nvhdmi_chmap_cea_alloc_validate_get_type()
2912 return hdmi_chmap_cea_alloc_validate_get_type(cap, channels); in nvhdmi_chmap_cea_alloc_validate_get_type()
3021 struct cea_channel_speaker_allocation *cap; in atihdmi_paired_chmap_validate() local
3026 cap = &channel_allocations[get_channel_allocation_order(ca)]; in atihdmi_paired_chmap_validate()
3037 if (cap->speakers[chan_idx] == mask) { in atihdmi_paired_chmap_validate()
3045 int comp_mask_act = cap->speakers[comp_chan_idx]; in atihdmi_paired_chmap_validate()
3130 …ic int atihdmi_paired_chmap_cea_alloc_validate_get_type(struct cea_channel_speaker_allocation *cap, in atihdmi_paired_chmap_cea_alloc_validate_get_type() argument
3148 if (cap->speakers[c] || cap->speakers[c+1]) in atihdmi_paired_chmap_cea_alloc_validate_get_type()
3158 static void atihdmi_paired_cea_alloc_to_tlv_chmap(struct cea_channel_speaker_allocation *cap, in atihdmi_paired_cea_alloc_to_tlv_chmap() argument
3167 int spk = cap->speakers[chan]; in atihdmi_paired_cea_alloc_to_tlv_chmap()
3170 if (cap->speakers[chan + (chan % 2 ? -1 : 1)]) in atihdmi_paired_cea_alloc_to_tlv_chmap()