Searched refs:SDA (Results 1 – 9 of 9) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-acorn.c | 20 #define SDA 0x01 macro 32 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setscl() 47 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setsda() 51 ones |= SDA; in ioc_setsda() 53 ones &= ~SDA; in ioc_setsda() 67 return (ioc_readb(IOC_CONTROL) & SDA) != 0; in ioc_getsda() 87 force_ones = FORCE_ONES | SCL | SDA; in i2c_ioc_init()
|
D | i2c-versatile.c | 21 #define SDA (1 << 1) macro 33 writel(SDA, i2c->base + (state ? I2C_CONTROLS : I2C_CONTROLC)); in i2c_versatile_setsda() 46 return !!(readl(i2c->base + I2C_CONTROL) & SDA); in i2c_versatile_getsda() 79 writel(SCL | SDA, i2c->base + I2C_CONTROLS); in i2c_versatile_probe()
|
D | Kconfig | 626 arch-neutral GPIO API to control the SCL and SDA lines.
|
/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_i2c_sw.c | 32 #define SDA true macro 111 write_bit_to_ddc(ddc_handle, SDA, (byte >> shift) & 1); in write_byte_sw() 132 write_bit_to_ddc(ddc_handle, SDA, true); in write_byte_sw() 143 ack = !read_bit_from_ddc(ddc_handle, SDA); in write_byte_sw() 175 if (read_bit_from_ddc(ddc_handle, SDA)) in read_byte_sw() 195 write_bit_to_ddc(ddc_handle, SDA, !more); in read_byte_sw() 208 write_bit_to_ddc(ddc_handle, SDA, true); in read_byte_sw() 229 write_bit_to_ddc(ddc_handle, SDA, false); in stop_sync_sw() 238 write_bit_to_ddc(ddc_handle, SDA, true); in stop_sync_sw() 243 if (read_bit_from_ddc(ddc_handle, SDA)) in stop_sync_sw() [all …]
|
/drivers/rtc/ |
D | rtc-rs5c313.c | 71 #define SDA SCSPTR1_SPB1DT macro 108 scsptr1_data = (scsptr1_data & ~SDA) | in rs5c313_write_data() 135 data |= ((__raw_readb(SCSPTR1) & SDA) >> 2) << (7 - i); in rs5c313_read_data()
|
/drivers/gpu/drm/amd/display/dc/gpio/ |
D | ddc_regs.h | 166 DDC_I2C_REG_LIST(SDA)\ 185 DDC_I2C_REG_LIST_DCN2(SDA)\
|
/drivers/scsi/ |
D | nsp32.c | 3214 if (bit != SDA) { in nsp32_prom_get() 3237 nsp32_prom_set(data, SDA, 1); in nsp32_prom_start() 3239 nsp32_prom_set(data, SDA, 0); /* keeping SCL=1 and transiting in nsp32_prom_start() 3248 nsp32_prom_set(data, SDA, 0); in nsp32_prom_stop() 3250 nsp32_prom_set(data, SDA, 1); in nsp32_prom_stop() 3257 nsp32_prom_set(data, SDA, val); in nsp32_prom_write_bit() 3270 val = nsp32_prom_get(data, SDA); in nsp32_prom_read_bit()
|
D | nsp32.h | 394 # define SDA BIT(2) macro
|
/drivers/auxdisplay/ |
D | Kconfig | 355 (SDA/SCL), while parallel ones use 2 or 3 wires for the control signals 421 int "Parallel port pin number & polarity connected to the LCD SDA signal (-17...17) " 426 LCD 'SDA' signal has been connected. It can be : 432 Default for the 'SDA' pin in custom profile is '2' (D0).
|