Lines Matching refs:bios_connectors

898 	struct bios_connector *bios_connectors;  in radeon_get_atom_connector_info_from_supported_devices_table()  local
899 size_t bc_size = sizeof(*bios_connectors) * ATOM_MAX_SUPPORTED_DEVICE; in radeon_get_atom_connector_info_from_supported_devices_table()
905 bios_connectors = kzalloc(bc_size, GFP_KERNEL); in radeon_get_atom_connector_info_from_supported_devices_table()
906 if (!bios_connectors) in radeon_get_atom_connector_info_from_supported_devices_table()
911 kfree(bios_connectors); in radeon_get_atom_connector_info_from_supported_devices_table()
933 bios_connectors[i].valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
944 bios_connectors[i].connector_type = in radeon_get_atom_connector_info_from_supported_devices_table()
949 if (bios_connectors[i].connector_type == in radeon_get_atom_connector_info_from_supported_devices_table()
955 bios_connectors[i].line_mux = in radeon_get_atom_connector_info_from_supported_devices_table()
960 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
961 bios_connectors[i].line_mux = 50; in radeon_get_atom_connector_info_from_supported_devices_table()
963 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
964 bios_connectors[i].line_mux = 51; in radeon_get_atom_connector_info_from_supported_devices_table()
966 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
967 bios_connectors[i].line_mux = 52; in radeon_get_atom_connector_info_from_supported_devices_table()
969 bios_connectors[i].ddc_bus = in radeon_get_atom_connector_info_from_supported_devices_table()
971 bios_connectors[i].line_mux); in radeon_get_atom_connector_info_from_supported_devices_table()
977 bios_connectors[i].hpd.hpd = RADEON_HPD_1; in radeon_get_atom_connector_info_from_supported_devices_table()
980 bios_connectors[i].hpd.hpd = RADEON_HPD_2; in radeon_get_atom_connector_info_from_supported_devices_table()
983 bios_connectors[i].hpd.hpd = RADEON_HPD_NONE; in radeon_get_atom_connector_info_from_supported_devices_table()
988 bios_connectors[i].hpd.hpd = RADEON_HPD_1; in radeon_get_atom_connector_info_from_supported_devices_table()
990 bios_connectors[i].hpd.hpd = RADEON_HPD_2; in radeon_get_atom_connector_info_from_supported_devices_table()
992 bios_connectors[i].hpd.hpd = RADEON_HPD_NONE; in radeon_get_atom_connector_info_from_supported_devices_table()
1000 bios_connectors[i].connector_type = in radeon_get_atom_connector_info_from_supported_devices_table()
1004 (dev, (1 << i), &bios_connectors[i].connector_type, in radeon_get_atom_connector_info_from_supported_devices_table()
1005 &bios_connectors[i].ddc_bus, &bios_connectors[i].line_mux, in radeon_get_atom_connector_info_from_supported_devices_table()
1006 &bios_connectors[i].hpd)) in radeon_get_atom_connector_info_from_supported_devices_table()
1009 bios_connectors[i].valid = true; in radeon_get_atom_connector_info_from_supported_devices_table()
1010 bios_connectors[i].devices = (1 << i); in radeon_get_atom_connector_info_from_supported_devices_table()
1029 if (bios_connectors[i].valid) { in radeon_get_atom_connector_info_from_supported_devices_table()
1031 if (bios_connectors[j].valid && (i != j)) { in radeon_get_atom_connector_info_from_supported_devices_table()
1032 if (bios_connectors[i].line_mux == in radeon_get_atom_connector_info_from_supported_devices_table()
1033 bios_connectors[j].line_mux) { in radeon_get_atom_connector_info_from_supported_devices_table()
1035 if (bios_connectors[i].devices & (ATOM_DEVICE_LCD_SUPPORT)) { in radeon_get_atom_connector_info_from_supported_devices_table()
1036 bios_connectors[i].line_mux = 53; in radeon_get_atom_connector_info_from_supported_devices_table()
1037 bios_connectors[i].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
1040 if (bios_connectors[j].devices & (ATOM_DEVICE_LCD_SUPPORT)) { in radeon_get_atom_connector_info_from_supported_devices_table()
1041 bios_connectors[j].line_mux = 53; in radeon_get_atom_connector_info_from_supported_devices_table()
1042 bios_connectors[j].ddc_bus.valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
1046 if (((bios_connectors[i].devices & (ATOM_DEVICE_DFP_SUPPORT)) && in radeon_get_atom_connector_info_from_supported_devices_table()
1047 (bios_connectors[j].devices & (ATOM_DEVICE_CRT_SUPPORT))) || in radeon_get_atom_connector_info_from_supported_devices_table()
1048 ((bios_connectors[j].devices & (ATOM_DEVICE_DFP_SUPPORT)) && in radeon_get_atom_connector_info_from_supported_devices_table()
1049 (bios_connectors[i].devices & (ATOM_DEVICE_CRT_SUPPORT)))) { in radeon_get_atom_connector_info_from_supported_devices_table()
1050 bios_connectors[i].devices |= in radeon_get_atom_connector_info_from_supported_devices_table()
1051 bios_connectors[j].devices; in radeon_get_atom_connector_info_from_supported_devices_table()
1052 bios_connectors[i].connector_type = in radeon_get_atom_connector_info_from_supported_devices_table()
1054 if (bios_connectors[j].devices & (ATOM_DEVICE_DFP_SUPPORT)) in radeon_get_atom_connector_info_from_supported_devices_table()
1055 bios_connectors[i].hpd = in radeon_get_atom_connector_info_from_supported_devices_table()
1056 bios_connectors[j].hpd; in radeon_get_atom_connector_info_from_supported_devices_table()
1057 bios_connectors[j].valid = false; in radeon_get_atom_connector_info_from_supported_devices_table()
1067 if (bios_connectors[i].valid) { in radeon_get_atom_connector_info_from_supported_devices_table()
1070 bios_connectors[i].connector_type, in radeon_get_atom_connector_info_from_supported_devices_table()
1071 bios_connectors[i].devices); in radeon_get_atom_connector_info_from_supported_devices_table()
1073 bios_connectors[i].line_mux, in radeon_get_atom_connector_info_from_supported_devices_table()
1074 bios_connectors[i].devices, in radeon_get_atom_connector_info_from_supported_devices_table()
1075 bios_connectors[i]. in radeon_get_atom_connector_info_from_supported_devices_table()
1077 &bios_connectors[i].ddc_bus, in radeon_get_atom_connector_info_from_supported_devices_table()
1080 &bios_connectors[i].hpd, in radeon_get_atom_connector_info_from_supported_devices_table()
1087 kfree(bios_connectors); in radeon_get_atom_connector_info_from_supported_devices_table()