HomeSort by: relevance | last modified time | path
    Searched defs:SCL (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/dev/i2c/
i2c_bitbang.c 56 #define SCL ops->ibo_bits[I2C_BIT_SCL] /* i2c signal */
71 while (((READ & SCL) == 0) && (bail < SCL_BAIL_COUNT)) {
87 /* start condition: put SDA H->L edge during SCL=H */
90 SETBITS(SDA | SCL);
92 SETBITS( 0 | SCL);
97 /* leave SCL=L and SDA=L to avoid unexpected start/stop condition */
108 /* stop condition: put SDA L->H edge during SCL=H */
110 /* assume SCL=L, SDA=L here */
112 SETBITS( 0 | SCL);
114 SETBITS(SDA | SCL);
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/
amdgpu_dce_i2c_sw.c 36 #define SCL false
92 if (read_bit_from_ddc(ddc, SCL))
120 write_bit_to_ddc(ddc_handle, SCL, true);
125 write_bit_to_ddc(ddc_handle, SCL, false);
131 * after the SCL pulse we use to send our last data bit.
141 write_bit_to_ddc(ddc_handle, SCL, true);
152 write_bit_to_ddc(ddc_handle, SCL, false);
171 * bit is read while SCL is high
175 write_bit_to_ddc(ddc_handle, SCL, true);
183 write_bit_to_ddc(ddc_handle, SCL, false)
    [all...]

Completed in 15 milliseconds