Lines Matching refs:radeon_connector

37 bool radeon_ddc_probe(struct radeon_connector *radeon_connector, bool use_aux)  in radeon_ddc_probe()  argument
58 if (radeon_connector->router.ddc_valid) in radeon_ddc_probe()
59 radeon_router_select_ddc_port(radeon_connector); in radeon_ddc_probe()
62 ret = i2c_transfer(&radeon_connector->ddc_bus->aux.ddc, msgs, 2); in radeon_ddc_probe()
64 ret = i2c_transfer(&radeon_connector->ddc_bus->adapter, msgs, 2); in radeon_ddc_probe()
1096 void radeon_router_select_ddc_port(struct radeon_connector *radeon_connector) in radeon_router_select_ddc_port() argument
1100 if (!radeon_connector->router.ddc_valid) in radeon_router_select_ddc_port()
1103 if (!radeon_connector->router_bus) in radeon_router_select_ddc_port()
1106 radeon_i2c_get_byte(radeon_connector->router_bus, in radeon_router_select_ddc_port()
1107 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1109 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port()
1110 radeon_i2c_put_byte(radeon_connector->router_bus, in radeon_router_select_ddc_port()
1111 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1113 radeon_i2c_get_byte(radeon_connector->router_bus, in radeon_router_select_ddc_port()
1114 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1116 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port()
1117 val |= radeon_connector->router.ddc_mux_state; in radeon_router_select_ddc_port()
1118 radeon_i2c_put_byte(radeon_connector->router_bus, in radeon_router_select_ddc_port()
1119 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1124 void radeon_router_select_cd_port(struct radeon_connector *radeon_connector) in radeon_router_select_cd_port() argument
1128 if (!radeon_connector->router.cd_valid) in radeon_router_select_cd_port()
1131 if (!radeon_connector->router_bus) in radeon_router_select_cd_port()
1134 radeon_i2c_get_byte(radeon_connector->router_bus, in radeon_router_select_cd_port()
1135 radeon_connector->router.i2c_addr, in radeon_router_select_cd_port()
1137 val &= ~radeon_connector->router.cd_mux_control_pin; in radeon_router_select_cd_port()
1138 radeon_i2c_put_byte(radeon_connector->router_bus, in radeon_router_select_cd_port()
1139 radeon_connector->router.i2c_addr, in radeon_router_select_cd_port()
1141 radeon_i2c_get_byte(radeon_connector->router_bus, in radeon_router_select_cd_port()
1142 radeon_connector->router.i2c_addr, in radeon_router_select_cd_port()
1144 val &= ~radeon_connector->router.cd_mux_control_pin; in radeon_router_select_cd_port()
1145 val |= radeon_connector->router.cd_mux_state; in radeon_router_select_cd_port()
1146 radeon_i2c_put_byte(radeon_connector->router_bus, in radeon_router_select_cd_port()
1147 radeon_connector->router.i2c_addr, in radeon_router_select_cd_port()