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

  /src/sys/dev/i2c/
i2c_bitbang.c 55 #define SDA ops->ibo_bits[I2C_BIT_SDA] /* i2c signal */
57 #define OUTPUT ops->ibo_bits[I2C_BIT_OUTPUT] /* SDA is output */
58 #define INPUT ops->ibo_bits[I2C_BIT_INPUT] /* SDA is input */
87 /* start condition: put SDA H->L edge during SCL=H */
90 SETBITS(SDA | 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 */
114 SETBITS(SDA | SCL);
165 /* assume SCL=L, SDA=L here *
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/
amdgpu_dce_i2c_sw.c 37 #define SDA true
116 write_bit_to_ddc(ddc_handle, SDA, (byte >> shift) & 1);
130 /* The display sends ACK by preventing the SDA from going high
132 * If the SDA goes high after that bit, it's a NACK
137 write_bit_to_ddc(ddc_handle, SDA, true);
148 ack = !read_bit_from_ddc(ddc_handle, SDA);
180 if (read_bit_from_ddc(ddc_handle, SDA))
197 * SDA low means ACK, SDA high means NACK
200 write_bit_to_ddc(ddc_handle, SDA, !more)
    [all...]

Completed in 12 milliseconds