Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/i2c/busses/
Di2c-acorn.c20 #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()
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()
/Linux-v5.4/arch/arm/mach-sa1100/
Dassabet.c119 #define SDA GPIO_GPIO(15) macro
127 GPSR = SDA; in adv7171_start()
129 GPCR = SDA; in adv7171_start()
136 GPSR = SDA; in adv7171_stop()
148 GPSR = SDA; in adv7171_send()
150 GPCR = SDA; in adv7171_send()
157 GPSR = SDA; in adv7171_send()
159 GPDR &= ~SDA; in adv7171_send()
162 if (GPLR & SDA) in adv7171_send()
165 GPCR = SCK | SDA; in adv7171_send()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce/
Ddce_i2c_sw.c32 #define SDA true macro
136 write_bit_to_ddc(ddc_handle, SDA, (byte >> shift) & 1); in write_byte_sw()
157 write_bit_to_ddc(ddc_handle, SDA, true); in write_byte_sw()
168 ack = !read_bit_from_ddc(ddc_handle, SDA); in write_byte_sw()
200 if (read_bit_from_ddc(ddc_handle, SDA)) in read_byte_sw()
220 write_bit_to_ddc(ddc_handle, SDA, !more); in read_byte_sw()
233 write_bit_to_ddc(ddc_handle, SDA, true); in read_byte_sw()
254 write_bit_to_ddc(ddc_handle, SDA, false); in stop_sync_sw()
263 write_bit_to_ddc(ddc_handle, SDA, true); in stop_sync_sw()
268 if (read_bit_from_ddc(ddc_handle, SDA)) in stop_sync_sw()
[all …]
/Linux-v5.4/Documentation/i2c/
Dgpio-fault-injection.rst33 By reading this file, you get the current state of SDA. By writing, you can
35 "echo 0 > sda" you force SDA low and thus, data cannot be transmitted. The bus
39 succeed because SDA is still pinned low until you manually release it again
46 The following fault injectors create situations where SDA will be held low by a
48 there are I2C client devices which detect a stuck SDA on their side and release
50 device deglitching and monitoring the I2C bus. It could also detect a stuck SDA
61 transmitted. Because the device will ACK its presence, this results in SDA
65 SDA after toggling SCL.
73 The injector will again stop at one ACK phase, so the device will keep SDA low
82 This is why bus recovery (up to 9 clock pulses) must either check SDA or send
[all …]
/Linux-v5.4/arch/arm/boot/dts/
Dste-href-family-pinctrl.dtsi115 pins = "GPIO147_C15", "GPIO148_B16"; /* SDA/SCL */
122 pins = "GPIO147_C15", "GPIO148_B16"; /* SDA/SCL */
135 pins = "GPIO16_AD3", "GPIO17_AD4"; /* SDA/SCL */
142 pins = "GPIO16_AD3", "GPIO17_AD4"; /* SDA/SCL */
155 pins = "GPIO10_AF5", "GPIO11_AG4"; /* SDA/SCL */
162 pins = "GPIO10_AF5", "GPIO11_AG4"; /* SDA/SCL */
175 pins = "GPIO229_AG7", "GPIO230_AF7"; /* SDA/SCL */
182 pins = "GPIO229_AG7", "GPIO230_AF7"; /* SDA/SCL */
199 pins = "GPIO4_AH6", "GPIO5_AG6"; /* SDA/SCL */
206 pins = "GPIO4_AH6", "GPIO5_AG6"; /* SDA/SCL */
Domap4-sdp-es23plus.dts7 /* SDP boards with 4430 ES2.3+ or 4460 have external pullups on SCL & SDA */
Dexynos4412-i9305.dts18 /* SCL and SDA pins are swapped */
Domap4-panda-a4.dts10 /* Pandaboard Rev A4+ have external pullups on SCL & SDA */
Dgr-peach-audiocamerashield.dtsi23 /* P1_2 as SCL; P1_3 as SDA */
Domap4-panda-es.dts31 /* PandaboardES has external pullups on SCL & SDA */
Dimx23-sansa.dts179 &gpio1 24 0 /* SDA */
190 &gpio0 31 0 /* SDA */
Dsun7i-a20-bananapi.dts210 "PMU-SCK", "PMU-SDA", "", "", "", "", "", "",
212 "", "", "", "", "SCL", "SDA", "", "",
/Linux-v5.4/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-v5.4/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.txt24 - reg : for "mscc,ocelot-i2c", a second register set to configure the SDA hold
27 - i2c-sda-hold-time-ns : should contain the SDA hold time in nanoseconds.
34 - 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
/Linux-v5.4/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-v5.4/arch/arm64/boot/dts/amlogic/
Dmeson-gxl-s905x-khadas-vim.dts138 "HDMI HPD", "HDMI SDA", "HDMI SCL",
156 "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.dts214 "HDMI HPD", "HDMI DDC SDA", "HDMI DDC SCL",
228 "I2C A SDA", "I2C A SCK", "I2C B SDA", "I2C B SCK",
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/gpio/
Dddc_regs.h176 DDC_I2C_REG_LIST(SDA)\
196 DDC_I2C_REG_LIST_DCN2(SDA)\
/Linux-v5.4/Documentation/i2c/muxes/
Di2c-mux-gpio.rst16 | | SCL/SDA | |-------------- | |
25 SCL/SDA of the master I2C bus is multiplexed to bus segment 1..M
/Linux-v5.4/Documentation/i2c/busses/
Di2c-parport.rst61 SDA ----------x----x---| o---x--------------------------- pin 13
98 Pretty easy to add, just copy the SDA part and use another input pin.
121 SDA ---------------x---x--| o--------x------------------- pin 10

123