Home
last modified time | relevance | path

Searched refs:SDA (Results 1 – 25 of 51) sorted by relevance

123

/Linux-v4.19/drivers/i2c/busses/
Di2c-acorn.c23 #define SDA 0x01 macro
35 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setscl()
50 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setsda()
54 ones |= SDA; in ioc_setsda()
56 ones &= ~SDA; in ioc_setsda()
70 return (ioc_readb(IOC_CONTROL) & SDA) != 0; in ioc_getsda()
89 force_ones = FORCE_ONES | SCL | SDA; in i2c_ioc_init()
Di2c-versatile.c24 #define SDA (1 << 1) macro
36 writel(SDA, i2c->base + (state ? I2C_CONTROLS : I2C_CONTROLC)); in i2c_versatile_setsda()
49 return !!(readl(i2c->base + I2C_CONTROL) & SDA); in i2c_versatile_getsda()
82 writel(SCL | SDA, i2c->base + I2C_CONTROLS); in i2c_versatile_probe()
/Linux-v4.19/arch/arm/mach-sa1100/
Dassabet.c121 #define SDA GPIO_GPIO(15) macro
129 GPSR = SDA; in adv7171_start()
131 GPCR = SDA; in adv7171_start()
138 GPSR = SDA; in adv7171_stop()
150 GPSR = SDA; in adv7171_send()
152 GPCR = SDA; in adv7171_send()
159 GPSR = SDA; in adv7171_send()
161 GPDR &= ~SDA; in adv7171_send()
164 if (GPLR & SDA) in adv7171_send()
167 GPCR = SCK | SDA; in adv7171_send()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/i2caux/
Di2c_sw_engine.c50 #define SDA true macro
120 write_bit_to_ddc(ddc_handle, SDA, true); in start_sync()
122 if (!read_bit_from_ddc(ddc_handle, SDA)) { in start_sync()
134 write_bit_to_ddc(ddc_handle, SDA, false); in start_sync()
162 write_bit_to_ddc(ddc_handle, SDA, false); in stop_sync()
171 write_bit_to_ddc(ddc_handle, SDA, true); in stop_sync()
176 if (read_bit_from_ddc(ddc_handle, SDA)) in stop_sync()
199 write_bit_to_ddc(ddc_handle, SDA, (byte >> shift) & 1); in write_byte()
219 write_bit_to_ddc(ddc_handle, SDA, true); in write_byte()
230 ack = !read_bit_from_ddc(ddc_handle, SDA); in write_byte()
[all …]
/Linux-v4.19/Documentation/i2c/
Dgpio-fault-injection29 By reading this file, you get the current state of SDA. By writing, you can
31 "echo 0 > sda" you force SDA low and thus, data cannot be transmitted. The bus
35 succeed because SDA is still pinned low until you manually release it again
42 The following fault injectors create situations where SDA will be held low by a
44 there are I2C client devices which detect a stuck SDA on their side and release
46 device deglitching and monitoring the I2C bus. It could also detect a stuck SDA
57 transmitted. Because the device will ACK its presence, this results in SDA
61 SDA after toggling SCL.
69 The injector will again stop at one ACK phase, so the device will keep SDA low
78 This is why bus recovery (up to 9 clock pulses) must either check SDA or send
/Linux-v4.19/arch/arm/boot/dts/
Dste-href-family-pinctrl.dtsi121 pins = "GPIO147_C15", "GPIO148_B16"; /* SDA/SCL */
128 pins = "GPIO147_C15", "GPIO148_B16"; /* SDA/SCL */
141 pins = "GPIO16_AD3", "GPIO17_AD4"; /* SDA/SCL */
148 pins = "GPIO16_AD3", "GPIO17_AD4"; /* SDA/SCL */
161 pins = "GPIO10_AF5", "GPIO11_AG4"; /* SDA/SCL */
168 pins = "GPIO10_AF5", "GPIO11_AG4"; /* SDA/SCL */
181 pins = "GPIO229_AG7", "GPIO230_AF7"; /* SDA/SCL */
188 pins = "GPIO229_AG7", "GPIO230_AF7"; /* SDA/SCL */
205 pins = "GPIO4_AH6", "GPIO5_AG6"; /* SDA/SCL */
212 pins = "GPIO4_AH6", "GPIO5_AG6"; /* SDA/SCL */
Dexynos4412-i9305.dts18 /* SCL and SDA pins are swapped */
Domap4-sdp-es23plus.dts10 /* SDP boards with 4430 ES2.3+ or 4460 have external pullups on SCL & SDA */
Domap4-panda-a4.dts13 /* Pandaboard Rev A4+ have external pullups on SCL & SDA */
Dgr-peach-audiocamerashield.dtsi23 /* P1_2 as SCL; P1_3 as SDA */
Dimx23-sansa.dts178 &gpio1 24 0 /* SDA */
189 &gpio0 31 0 /* SDA */
Domap4-panda-es.dts34 /* PandaboardES has external pullups on SCL & SDA */
/Linux-v4.19/Documentation/devicetree/bindings/iio/temperature/
Dtmp007.txt14 0 SDA 0x42
18 1 SDA 0x46
Dmlx90614.txt12 - wakeup-gpios: device tree identifier of the GPIO connected to the SDA line
/Linux-v4.19/Documentation/devicetree/bindings/i2c/
Di2c-s3c2410.txt16 - samsung,i2c-sda-delay: Delay (in ns) applied to data line (SDA) edges.
20 - gpios: The order of the gpios should be the following: <SDA, SCL>.
44 gpios = <&gpd1 2 0 /* SDA */
Di2c-designware.txt14 - i2c-sda-hold-time-ns : should contain the SDA hold time in nanoseconds.
20 - i2c-sda-falling-time-ns : should contain the SDA falling time in nanoseconds.
Di2c-st.txt19 - st,i2c-min-sda-pulse-width-us : The minimum valid SDA pulse width that is
Di2c-imx.txt18 - sda-gpios: specify the gpio related to SDA pin
/Linux-v4.19/drivers/rtc/
Drtc-rs5c313.c71 #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()
/Linux-v4.19/arch/arm64/boot/dts/amlogic/
Dmeson-gxl-s905x-khadas-vim.dts137 "HDMI HPD", "HDMI SDA", "HDMI SCL",
155 "I2C A SDA", "I2C A SCK", "I2C B SDA", "I2C B SCK",
Dmeson-gxbb-odroidc2.dts208 "HDMI HPD", "HDMI DDC SDA", "HDMI DDC SCL", "",
220 "I2C A SDA", "I2C A SCK", "I2C B SDA", "I2C B SCK",
Dmeson-gxbb-nanopi-k2.dts212 "HDMI HPD", "HDMI DDC SDA", "HDMI DDC SCL",
226 "I2C A SDA", "I2C A SCK", "I2C B SDA", "I2C B SCK",
/Linux-v4.19/Documentation/i2c/muxes/
Di2c-mux-gpio14 | | SCL/SDA | |-------------- | |
23 SCL/SDA of the master I2C bus is multiplexed to bus segment 1..M
/Linux-v4.19/Documentation/i2c/busses/
Di2c-parport57 SDA ----------x----x---| o---x--------------------------- pin 13
90 Pretty easy to add, just copy the SDA part and use another input pin.
113 SDA ---------------x---x--| o--------x------------------- pin 10
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/gpio/
Dddc_regs.h144 DDC_I2C_REG_LIST(SDA)\

123