Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/i2c/busses/
H A 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()
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()
/openbmc/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 …]
/openbmc/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()
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()
193 write_bit_to_ddc(ddc_handle, SDA, !more); in read_byte_sw()
206 write_bit_to_ddc(ddc_handle, SDA, true); in read_byte_sw()
227 write_bit_to_ddc(ddc_handle, SDA, false); in stop_sync_sw()
236 write_bit_to_ddc(ddc_handle, SDA, true); in stop_sync_sw()
241 if (read_bit_from_ddc(ddc_handle, SDA)) in stop_sync_sw()
[all …]
/openbmc/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/SCL */
[all …]
/openbmc/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 or send
[all …]
/openbmc/qemu/hw/i2c/
H A Darm_sbcon_i2c.c38 #define SDA BIT(1) macro
72 s->in = bitbang_i2c_set(&s->bitbang, BITBANG_I2C_SDA, (s->out & SDA) != 0); in arm_sbcon_i2c_write()
/openbmc/u-boot/drivers/i2c/
H A Di2c-versatile.c21 #define SDA BIT(1) macro
30 writel(SDA, priv->base + (state ? I2C_SET_REG : I2C_CLEAR_REG)); in versatile_sda_set()
36 int v = !!(readl(priv->base + I2C_CONTROL_REG) & SDA); in versatile_sda_get()
/openbmc/linux/drivers/rtc/
H A 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()
/openbmc/u-boot/arch/arm/dts/
H A 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",
H A 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",
H A 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",
/openbmc/linux/arch/arm/boot/dts/microchip/
H A Dlan966x-kontron-kswitch-d10-mmt-6g-2gs.dts68 /* SCL, SDA */
74 /* SCL, SDA */
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxl-s905x-khadas-vim.dts172 "HDMI HPD", "HDMI SDA", "HDMI SCL",
190 "I2C A SDA", "I2C A SCK", "I2C B SDA", "I2C B SCK",
H A Dmeson-gxbb-odroidc2.dts296 "HDMI HPD", "HDMI DDC SDA", "HDMI DDC SCL", "",
308 "I2C A SDA", "I2C A SCK", "I2C B SDA", "I2C B SCK",
/openbmc/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)\
/openbmc/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
/openbmc/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.dts10 /* Pandaboard Rev A4+ have external pullups on SCL & SDA */
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-i9305.dts19 /* SCL and SDA pins are swapped */
/openbmc/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
/openbmc/u-boot/doc/device-tree-bindings/i2c/
H A Di2c-gpio.txt27 gpios = <&gpd1 0 GPIO_ACTIVE_HIGH>, /* SDA */
/openbmc/linux/Documentation/devicetree/bindings/i2c/
H A Di2c.txt49 Number of nanoseconds the SDA signal takes to fall; t(f) in the I2C
76 add extra pinctrl to configure SCL/SDA pins to GPIO function for bus
83 specify the gpio related to SDA pin. Optional for GPIO bus recovery.
/openbmc/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 */
/openbmc/linux/arch/arm/boot/dts/renesas/
H A Dgr-peach-audiocamerashield.dtsi23 /* P1_2 as SCL; P1_3 as SDA */

1234