Home
last modified time | relevance | path

Searched refs:SDA (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-acorn.c20 #define SDA 0x01 macro
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()
H A Di2c-versatile.c21 #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()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-acorn.c20 #define SDA 0x01 macro
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()
H A Di2c-versatile.c21 #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()
77 writel(SCL | SDA, i2c->base + I2C_CONTROLS); in i2c_versatile_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_i2c_sw.c32 #define SDA true macro
111 write_bit_to_ddc(ddc_handle, SDA, (byte >> shift) & 1); in write_byte_sw()
125 /* The display sends ACK by preventing the SDA from going high in write_byte_sw()
127 * If the SDA goes high after that bit, it's a NACK 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()
192 * SDA low means ACK, SDA high means NACK in read_byte_sw()
195 write_bit_to_ddc(ddc_handle, SDA, !mor in read_byte_sw()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_i2c_sw.c30 #define SDA true macro
109 write_bit_to_ddc(ddc_handle, SDA, (byte >> shift) & 1); in write_byte_sw()
123 /* The display sends ACK by preventing the SDA from going high in write_byte_sw()
125 * If the SDA goes high after that bit, it's a NACK in write_byte_sw()
130 write_bit_to_ddc(ddc_handle, SDA, true); in write_byte_sw()
141 ack = !read_bit_from_ddc(ddc_handle, SDA); in write_byte_sw()
173 if (read_bit_from_ddc(ddc_handle, SDA)) in read_byte_sw()
190 * SDA low means ACK, SDA high means NACK in read_byte_sw()
193 write_bit_to_ddc(ddc_handle, SDA, !mor in read_byte_sw()
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/
H A Dassabet.c118 #define SDA GPIO_GPIO(15) macro
126 GPSR = SDA; in adv7171_start()
128 GPCR = SDA; in adv7171_start()
135 GPSR = SDA; in adv7171_stop()
147 GPSR = SDA; in adv7171_send()
149 GPCR = SDA; in adv7171_send()
156 GPSR = SDA; in adv7171_send()
158 GPDR &= ~SDA; in adv7171_send()
161 if (GPLR & SDA) in adv7171_send()
164 GPCR = SCK | SDA; in adv7171_send()
[all...]
/kernel/linux/linux-6.6/arch/arm/mach-sa1100/
H A Dassabet.c116 #define SDA GPIO_GPIO(15) macro
124 GPSR = SDA; in adv7171_start()
126 GPCR = SDA; in adv7171_start()
133 GPSR = SDA; in adv7171_stop()
145 GPSR = SDA; in adv7171_send()
147 GPCR = SDA; in adv7171_send()
154 GPSR = SDA; in adv7171_send()
156 GPDR &= ~SDA; in adv7171_send()
159 if (GPLR & SDA) in adv7171_send()
162 GPCR = SCK | SDA; in adv7171_send()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/gpio/
H A Dddc_regs.h166 DDC_I2C_REG_LIST(SDA)\
185 DDC_I2C_REG_LIST_DCN2(SDA)\
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/gpio/
H A Dddc_regs.h173 DDC_I2C_REG_LIST(SDA)\
192 DDC_I2C_REG_LIST_DCN2(SDA)\
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-rs5c313.c71 #define SDA SCSPTR1_SPB1DT macro
107 /* SDA:Write Data */ in rs5c313_write_data()
108 scsptr1_data = (scsptr1_data & ~SDA) | in rs5c313_write_data()
112 scsptr1_data |= SDA_OEN; /* SDA:output enable */ in rs5c313_write_data()
123 scsptr1_data &= ~SDA_OEN; /* SDA:output disable */ in rs5c313_write_data()
134 /* SDA:Read Data */ in rs5c313_read_data()
135 data |= ((__raw_readb(SCSPTR1) & SDA) >> 2) << (7 - i); in rs5c313_read_data()
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-rs5c313.c71 #define SDA SCSPTR1_SPB1DT macro
107 /* SDA:Write Data */ in rs5c313_write_data()
108 scsptr1_data = (scsptr1_data & ~SDA) | in rs5c313_write_data()
112 scsptr1_data |= SDA_OEN; /* SDA:output enable */ in rs5c313_write_data()
123 scsptr1_data &= ~SDA_OEN; /* SDA:output disable */ in rs5c313_write_data()
134 /* SDA:Read Data */ in rs5c313_read_data()
135 data |= ((__raw_readb(SCSPTR1) & SDA) >> 2) << (7 - i); in rs5c313_read_data()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dnsp32.c3206 if (bit != SDA) { in nsp32_prom_get()
3229 nsp32_prom_set(data, SDA, 1); in nsp32_prom_start()
3231 nsp32_prom_set(data, SDA, 0); /* keeping SCL=1 and transiting in nsp32_prom_start()
3232 * SDA 1->0 is start condition */ in nsp32_prom_start()
3240 nsp32_prom_set(data, SDA, 0); in nsp32_prom_stop()
3242 nsp32_prom_set(data, SDA, 1); in nsp32_prom_stop()
3249 nsp32_prom_set(data, SDA, val); in nsp32_prom_write_bit()
3262 val = nsp32_prom_get(data, SDA); in nsp32_prom_read_bit()
H A Dnsp32.h394 # define SDA BIT(2) macro
/kernel/linux/linux-6.6/drivers/scsi/
H A Dnsp32.c3207 if (bit != SDA) { in nsp32_prom_get()
3230 nsp32_prom_set(data, SDA, 1); in nsp32_prom_start()
3232 nsp32_prom_set(data, SDA, 0); /* keeping SCL=1 and transiting in nsp32_prom_start()
3233 * SDA 1->0 is start condition */ in nsp32_prom_start()
3241 nsp32_prom_set(data, SDA, 0); in nsp32_prom_stop()
3243 nsp32_prom_set(data, SDA, 1); in nsp32_prom_stop()
3250 nsp32_prom_set(data, SDA, val); in nsp32_prom_write_bit()
3263 val = nsp32_prom_get(data, SDA); in nsp32_prom_read_bit()
H A Dnsp32.h394 # define SDA BIT(2) macro

Completed in 16 milliseconds