Home
last modified time | relevance | path

Searched refs:ddc_handle (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_i2c_sw.c97 struct ddc *ddc_handle, in write_byte_sw() argument
109 write_bit_to_ddc(ddc_handle, SDA, (byte >> shift) & 1); in write_byte_sw()
113 write_bit_to_ddc(ddc_handle, SCL, true); in write_byte_sw()
115 if (!wait_for_scl_high_sw(ctx, ddc_handle, clock_delay_div_4)) in write_byte_sw()
118 write_bit_to_ddc(ddc_handle, SCL, false); in write_byte_sw()
130 write_bit_to_ddc(ddc_handle, SDA, true); in write_byte_sw()
134 write_bit_to_ddc(ddc_handle, SCL, true); in write_byte_sw()
136 if (!wait_for_scl_high_sw(ctx, ddc_handle, clock_delay_div_4)) in write_byte_sw()
141 ack = !read_bit_from_ddc(ddc_handle, SDA); in write_byte_sw()
145 write_bit_to_ddc(ddc_handle, SCL, false); in write_byte_sw()
[all …]
H A Ddce_i2c_sw.h54 struct ddc *ddc_handle);