Home
last modified time | relevance | path

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

123

/linux/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()
/linux/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...]
/linux/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...]
/linux/arch/arm/boot/dts/st/
H A Dste-dbx5x0-pinctrl.dtsi132 pins = "GPIO147_C15", "GPIO148_B16"; /* SDA/SCL */
139 pins = "GPIO147_C15", "GPIO148_B16"; /* SDA/SCL */
152 pins = "GPIO16_AD3", "GPIO17_AD4"; /* SDA/SCL */
159 pins = "GPIO16_AD3", "GPIO17_AD4"; /* SDA/SCL */
172 pins = "GPIO8_AD5", "GPIO9_AE4"; /* SDA/SCL */
179 pins = "GPIO8_AD5", "GPIO9_AE4"; /* SDA/SCL */
190 pins = "GPIO10_AF5", "GPIO11_AG4"; /* SDA/SCL */
197 pins = "GPIO10_AF5", "GPIO11_AG4"; /* SDA/SCL */
210 pins = "GPIO229_AG7", "GPIO230_AF7"; /* SDA/SCL */
217 pins = "GPIO229_AG7", "GPIO230_AF7"; /* SDA/SC
[all...]
/linux/Documentation/i2c/
H A 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 o
[all...]
/linux/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()
/linux/arch/arm/boot/dts/microchip/
H A Dlan966x-kontron-kswitch-d10-mmt-6g-2gs.dts68 /* SCL, SDA */
74 /* SCL, SDA */
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxl-s905x-khadas-vim.dts176 "HDMI HPD", "HDMI SDA", "HDMI SCL",
194 "I2C A SDA", "I2C A SCK", "I2C B SDA", "I2C B SCK",
H A Dmeson-gxbb-odroidc2.dts300 "HDMI HPD", "HDMI DDC SDA", "HDMI DDC SCL", "",
312 "I2C A SDA", "I2C A SCK", "I2C B SDA", "I2C B SCK",
H A Dmeson-gxbb-nanopi-k2.dts257 "HDMI HPD", "HDMI DDC SDA", "HDMI DDC SCL",
271 "I2C A SDA", "I2C A SCK", "I2C B SDA", "I2C B SCK",
/linux/drivers/gpu/drm/amd/display/dc/gpio/
H A Dddc_regs.h173 DDC_I2C_REG_LIST(SDA)\
192 DDC_I2C_REG_LIST_DCN2(SDA)\
/linux/Documentation/i2c/muxes/
H A Di2c-mux-gpio.rst16 | | SCL/SDA | |-------------- | |
25 SCL/SDA of the master I2C bus is multiplexed to bus segment 1..M
/linux/arch/arm/boot/dts/ti/omap/
H A Domap4-sdp-es23plus.dts7 /* SDP boards with 4430 ES2.3+ or 4460 have external pullups on SCL & SDA */
H A Domap4-panda-a4.dts15 /* Pandaboard Rev A4+ have external pullups on SCL & SDA */
H A Domap4-panda-es.dts31 /* PandaboardES has external pullups on SCL & SDA */
H A Domap5-igep0050.dts107 <&gpio7 3 0>; /* 195, SDA */
/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-i9305.dts19 /* SCL and SDA pins are swapped */
/linux/Documentation/i2c/busses/
H A 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
/linux/arch/arm64/boot/dts/renesas/
H A Dr9a09g011-v2mevk2.dts190 pinmux = <RZV2M_PORT_PINMUX(5, 0, 2)>, /* SDA */
195 pinmux = <RZV2M_PORT_PINMUX(3, 8, 2)>, /* SDA */
H A Dr9a07g044l2-remi-pi.dts273 pinmux = <RZG2L_PORT_PINMUX(3, 0, 2)>, /* SDA */
278 pinmux = <RZG2L_PORT_PINMUX(18, 0, 3)>, /* SDA */
/linux/arch/arm64/boot/dts/qcom/
H A Dsm8750.dtsi2658 /* SDA, SCL */
2666 /* SDA, SCL */
2674 /* SDA, SCL */
2682 /* SDA, SCL */
2690 /* SDA, SCL */
2698 /* SDA, SCL */
2706 /* SDA, SCL */
2714 /* SDA, SCL */
2722 /* SDA, SCL */
2730 /* SDA, SC
[all...]
/linux/arch/arm/boot/dts/renesas/
H A Dgr-peach-audiocamerashield.dtsi23 /* P1_2 as SCL; P1_3 as SDA */
/linux/Documentation/hwmon/
H A Dmax127.rst27 communication among multiple devices using SDA and SCL lines.
/linux/Documentation/dev-tools/
H A Dgpio-sloppy-logic-analyzer.rst50 probe-names = "SCL", "SDA";
75 edge on SDA while SCL stays high, i.e. ``-t 1H+2F``. Last is the duration, let

123