Home
last modified time | relevance | path

Searched refs:IOC_CONTROL (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-acorn.c23 * We must preserve all non-i2c output bits in IOC_CONTROL.
26 * values read back from IOC_CONTROL).
32 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setscl()
42 ioc_writeb(ioc_control | ones, IOC_CONTROL); in ioc_setscl()
47 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setsda()
57 ioc_writeb(ioc_control | ones, IOC_CONTROL); in ioc_setsda()
62 return (ioc_readb(IOC_CONTROL) & SCL) != 0; in ioc_getscl()
67 return (ioc_readb(IOC_CONTROL) & SDA) != 0; in ioc_getsda()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-acorn.c23 * We must preserve all non-i2c output bits in IOC_CONTROL.
26 * values read back from IOC_CONTROL).
32 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setscl()
42 ioc_writeb(ioc_control | ones, IOC_CONTROL); in ioc_setscl()
47 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setsda()
57 ioc_writeb(ioc_control | ones, IOC_CONTROL); in ioc_setsda()
62 return (ioc_readb(IOC_CONTROL) & SCL) != 0; in ioc_getscl()
67 return (ioc_readb(IOC_CONTROL) & SDA) != 0; in ioc_getsda()
/kernel/linux/linux-5.10/arch/arm/include/asm/hardware/
H A Dioc.h24 #define IOC_CONTROL (0x00) macro
/kernel/linux/linux-6.6/arch/arm/include/asm/hardware/
H A Dioc.h24 #define IOC_CONTROL (0x00) macro

Completed in 2 milliseconds