Lines Matching refs:bios_connectors

897 	struct bios_connector *bios_connectors;  in radeon_get_atom_connector_info_from_supported_devices_table()  local
898 size_t bc_size = sizeof(*bios_connectors) * ATOM_MAX_SUPPORTED_DEVICE; in radeon_get_atom_connector_info_from_supported_devices_table()
904 bios_connectors = kzalloc(bc_size, GFP_KERNEL); in radeon_get_atom_connector_info_from_supported_devices_table()
905 if (!bios_connectors) in radeon_get_atom_connector_info_from_supported_devices_table()
910 kfree(bios_connectors); in radeon_get_atom_connector_info_from_supported_devices_table()
932 bios_connectors[i].valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
943 bios_connectors[i].connector_type = in radeon_get_atom_connector_info_from_supported_devices_table()
948 if (bios_connectors[i].connector_type == in radeon_get_atom_connector_info_from_supported_devices_table()
954 bios_connectors[i].line_mux = in radeon_get_atom_connector_info_from_supported_devices_table()
959 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
960 bios_connectors[i].line_mux = 50; in radeon_get_atom_connector_info_from_supported_devices_table()
962 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
963 bios_connectors[i].line_mux = 51; in radeon_get_atom_connector_info_from_supported_devices_table()
965 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
966 bios_connectors[i].line_mux = 52; in radeon_get_atom_connector_info_from_supported_devices_table()
968 bios_connectors[i].ddc_bus = in radeon_get_atom_connector_info_from_supported_devices_table()
970 bios_connectors[i].line_mux); in radeon_get_atom_connector_info_from_supported_devices_table()
976 bios_connectors[i].hpd.hpd = RADEON_HPD_1; in radeon_get_atom_connector_info_from_supported_devices_table()
979 bios_connectors[i].hpd.hpd = RADEON_HPD_2; in radeon_get_atom_connector_info_from_supported_devices_table()
982 bios_connectors[i].hpd.hpd = RADEON_HPD_NONE; in radeon_get_atom_connector_info_from_supported_devices_table()
987 bios_connectors[i].hpd.hpd = RADEON_HPD_1; in radeon_get_atom_connector_info_from_supported_devices_table()
989 bios_connectors[i].hpd.hpd = RADEON_HPD_2; in radeon_get_atom_connector_info_from_supported_devices_table()
991 bios_connectors[i].hpd.hpd = RADEON_HPD_NONE; in radeon_get_atom_connector_info_from_supported_devices_table()
999 bios_connectors[i].connector_type = in radeon_get_atom_connector_info_from_supported_devices_table()
1003 (dev, (1 << i), &bios_connectors[i].connector_type, in radeon_get_atom_connector_info_from_supported_devices_table()
1004 &bios_connectors[i].ddc_bus, &bios_connectors[i].line_mux, in radeon_get_atom_connector_info_from_supported_devices_table()
1005 &bios_connectors[i].hpd)) in radeon_get_atom_connector_info_from_supported_devices_table()
1008 bios_connectors[i].valid = true; in radeon_get_atom_connector_info_from_supported_devices_table()
1009 bios_connectors[i].devices = (1 << i); in radeon_get_atom_connector_info_from_supported_devices_table()
1028 if (bios_connectors[i].valid) { in radeon_get_atom_connector_info_from_supported_devices_table()
1030 if (bios_connectors[j].valid && (i != j)) { in radeon_get_atom_connector_info_from_supported_devices_table()
1031 if (bios_connectors[i].line_mux == in radeon_get_atom_connector_info_from_supported_devices_table()
1032 bios_connectors[j].line_mux) { in radeon_get_atom_connector_info_from_supported_devices_table()
1034 if (bios_connectors[i].devices & (ATOM_DEVICE_LCD_SUPPORT)) { in radeon_get_atom_connector_info_from_supported_devices_table()
1035 bios_connectors[i].line_mux = 53; in radeon_get_atom_connector_info_from_supported_devices_table()
1036 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
1039 if (bios_connectors[j].devices & (ATOM_DEVICE_LCD_SUPPORT)) { in radeon_get_atom_connector_info_from_supported_devices_table()
1040 bios_connectors[j].line_mux = 53; in radeon_get_atom_connector_info_from_supported_devices_table()
1041 bios_connectors[j].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
1045 if (((bios_connectors[i].devices & (ATOM_DEVICE_DFP_SUPPORT)) && in radeon_get_atom_connector_info_from_supported_devices_table()
1046 (bios_connectors[j].devices & (ATOM_DEVICE_CRT_SUPPORT))) || in radeon_get_atom_connector_info_from_supported_devices_table()
1047 ((bios_connectors[j].devices & (ATOM_DEVICE_DFP_SUPPORT)) && in radeon_get_atom_connector_info_from_supported_devices_table()
1048 (bios_connectors[i].devices & (ATOM_DEVICE_CRT_SUPPORT)))) { in radeon_get_atom_connector_info_from_supported_devices_table()
1049 bios_connectors[i].devices |= in radeon_get_atom_connector_info_from_supported_devices_table()
1050 bios_connectors[j].devices; in radeon_get_atom_connector_info_from_supported_devices_table()
1051 bios_connectors[i].connector_type = in radeon_get_atom_connector_info_from_supported_devices_table()
1053 if (bios_connectors[j].devices & (ATOM_DEVICE_DFP_SUPPORT)) in radeon_get_atom_connector_info_from_supported_devices_table()
1054 bios_connectors[i].hpd = in radeon_get_atom_connector_info_from_supported_devices_table()
1055 bios_connectors[j].hpd; in radeon_get_atom_connector_info_from_supported_devices_table()
1056 bios_connectors[j].valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
1066 if (bios_connectors[i].valid) { in radeon_get_atom_connector_info_from_supported_devices_table()
1069 bios_connectors[i].connector_type, in radeon_get_atom_connector_info_from_supported_devices_table()
1070 bios_connectors[i].devices); in radeon_get_atom_connector_info_from_supported_devices_table()
1072 bios_connectors[i].line_mux, in radeon_get_atom_connector_info_from_supported_devices_table()
1073 bios_connectors[i].devices, in radeon_get_atom_connector_info_from_supported_devices_table()
1074 bios_connectors[i]. in radeon_get_atom_connector_info_from_supported_devices_table()
1076 &bios_connectors[i].ddc_bus, in radeon_get_atom_connector_info_from_supported_devices_table()
1079 &bios_connectors[i].hpd, in radeon_get_atom_connector_info_from_supported_devices_table()
1086 kfree(bios_connectors); in radeon_get_atom_connector_info_from_supported_devices_table()