Lines Matching refs:amdgpu_connector
340 amdgpu_i2c_router_select_ddc_port(const struct amdgpu_connector *amdgpu_connector) in amdgpu_i2c_router_select_ddc_port() argument
344 if (!amdgpu_connector->router.ddc_valid) in amdgpu_i2c_router_select_ddc_port()
347 if (!amdgpu_connector->router_bus) in amdgpu_i2c_router_select_ddc_port()
350 amdgpu_i2c_get_byte(amdgpu_connector->router_bus, in amdgpu_i2c_router_select_ddc_port()
351 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
353 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port()
354 amdgpu_i2c_put_byte(amdgpu_connector->router_bus, in amdgpu_i2c_router_select_ddc_port()
355 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
357 amdgpu_i2c_get_byte(amdgpu_connector->router_bus, in amdgpu_i2c_router_select_ddc_port()
358 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
360 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port()
361 val |= amdgpu_connector->router.ddc_mux_state; in amdgpu_i2c_router_select_ddc_port()
362 amdgpu_i2c_put_byte(amdgpu_connector->router_bus, in amdgpu_i2c_router_select_ddc_port()
363 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
369 amdgpu_i2c_router_select_cd_port(const struct amdgpu_connector *amdgpu_connector) in amdgpu_i2c_router_select_cd_port() argument
373 if (!amdgpu_connector->router.cd_valid) in amdgpu_i2c_router_select_cd_port()
376 if (!amdgpu_connector->router_bus) in amdgpu_i2c_router_select_cd_port()
379 amdgpu_i2c_get_byte(amdgpu_connector->router_bus, in amdgpu_i2c_router_select_cd_port()
380 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
382 val &= ~amdgpu_connector->router.cd_mux_control_pin; in amdgpu_i2c_router_select_cd_port()
383 amdgpu_i2c_put_byte(amdgpu_connector->router_bus, in amdgpu_i2c_router_select_cd_port()
384 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
386 amdgpu_i2c_get_byte(amdgpu_connector->router_bus, in amdgpu_i2c_router_select_cd_port()
387 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
389 val &= ~amdgpu_connector->router.cd_mux_control_pin; in amdgpu_i2c_router_select_cd_port()
390 val |= amdgpu_connector->router.cd_mux_state; in amdgpu_i2c_router_select_cd_port()
391 amdgpu_i2c_put_byte(amdgpu_connector->router_bus, in amdgpu_i2c_router_select_cd_port()
392 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()