Lines Matching +full:sda +full:- +full:output +full:- +full:only
1 // SPDX-License-Identifier: GPL-2.0-only
8 * - PCF8583 real time clock & static RAM
12 #include <linux/i2c-algo-bit.h>
20 #define SDA 0x01 macro
23 * We must preserve all non-i2c output bits in IOC_CONTROL.
25 * SDA outputs as well (which may be different from the
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()