Home
last modified time | relevance | path

Searched refs:scl (Results 1 – 25 of 123) sorted by relevance

12345

/Linux-v4.19/drivers/video/fbdev/
Damba-clcd-nomadik.c15 static struct gpio_desc *scl; variable
34 gpiod_set_value_cansleep(scl, 1); in tpg110_readwrite_reg()
36 gpiod_set_value_cansleep(scl, 0); in tpg110_readwrite_reg()
49 gpiod_set_value_cansleep(scl, 1); in tpg110_readwrite_reg()
51 gpiod_set_value_cansleep(scl, 0); in tpg110_readwrite_reg()
59 gpiod_set_value_cansleep(scl, 1); in tpg110_readwrite_reg()
61 gpiod_set_value_cansleep(scl, 0); in tpg110_readwrite_reg()
78 gpiod_set_value_cansleep(scl, 1); in tpg110_readwrite_reg()
80 gpiod_set_value_cansleep(scl, 0); in tpg110_readwrite_reg()
200 scl = devm_fwnode_get_gpiod_from_child(dev, "scl", &np->fwnode, in tpg110_init()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/i2c/
Di2c-gpio.txt9 - scl-gpios: gpio used for the scl signal, this should be flagged as
15 - i2c-gpio,scl-output-only: scl as output only
20 - gpios: sda and scl gpio, alternative for {sda,scl}-gpios
25 - i2c-gpio,scl-open-drain: this means that something outside of our
37 scl-gpios = <&pioA 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
Di2c-rk3x.txt36 - i2c-scl-rising-time-ns : Number of nanoseconds the SCL signal takes to rise
40 - i2c-scl-falling-time-ns : Number of nanoseconds the SCL signal takes to fall
66 i2c-scl-rising-time-ns = <800>;
67 i2c-scl-falling-time-ns = <100>;
Di2c-designware.txt17 - i2c-scl-falling-time-ns : should contain the SCL falling time in nanoseconds.
44 i2c-scl-falling-time-ns = <300>;
Di2c-rcar.txt45 - i2c-scl-falling-time-ns: see i2c.txt
46 - i2c-scl-internal-delay-ns: see i2c.txt
47 - i2c-scl-rising-time-ns: see i2c.txt
Di2c-st.txt17 - st,i2c-min-scl-pulse-width-us : The minimum valid SCL pulse width that is
39 st,i2c-min-scl-pulse-width-us = <0>;
Di2c-imx.txt17 - scl-gpios: specify the gpio related to SCL pin
47 scl-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH>;
/Linux-v4.19/arch/arm/boot/dts/
Dstih407-pinctrl.dtsi167 scl = <&pio4 5 ALT1 BIDIR>;
176 scl = <&pio5 0 ALT1 BIDIR>;
325 scl = <&pio4 5 ALT1 OUT>;
332 scl = <&pio4 5 ALT1 OUT>;
342 scl = <&pio3 2 ALT2 OUT>;
349 scl = <&pio3 2 ALT2 OUT>;
359 scl = <&pio3 7 ALT2 OUT>;
366 scl = <&pio3 7 ALT2 OUT>;
522 scl = <&pio10 5 ALT2 BIDIR>;
531 scl = <&pio11 0 ALT2 BIDIR>;
[all …]
Dstm32mp157c-ev1.dts52 i2c-scl-rising-time-ns = <185>;
53 i2c-scl-falling-time-ns = <20>;
60 i2c-scl-rising-time-ns = <185>;
61 i2c-scl-falling-time-ns = <20>;
Drk3288-veyron.dtsi144 i2c-scl-falling-time-ns = <50>; /* 2.5ns measured */
145 i2c-scl-rising-time-ns = <100>; /* 45ns measured */
281 i2c-scl-falling-time-ns = <50>; /* 2.5ns measured */
282 i2c-scl-rising-time-ns = <100>; /* 40ns measured */
296 i2c-scl-falling-time-ns = <50>; /* 10ns measured */
297 i2c-scl-rising-time-ns = <800>; /* 600ns measured */
304 i2c-scl-falling-time-ns = <50>; /* 11ns measured */
305 i2c-scl-rising-time-ns = <300>; /* 225ns measured */
312 i2c-scl-falling-time-ns = <300>;
313 i2c-scl-rising-time-ns = <1000>;
Dkirkwood-km_common.dtsi17 pmx_i2c_gpio_scl: pmx-gpio-scl {
31 &gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */
Dstm32mp157c-ed1.dts55 i2c-scl-rising-time-ns = <185>;
56 i2c-scl-falling-time-ns = <20>;
Drk3288-veyron-pinky.dts51 i2c-scl-falling-time-ns = <50>;
52 i2c-scl-rising-time-ns = <300>;
Dstihxxx-b2120.dtsi88 st,i2c-min-scl-pulse-width-us = <0>;
95 st,i2c-min-scl-pulse-width-us = <0>;
125 st,i2c-min-scl-pulse-width-us = <0>;
/Linux-v4.19/drivers/i2c/algos/
Di2c-algo-bit.c242 int scl, sda, ret; in test_bus() local
254 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus()
255 if (!scl || !sda) { in test_bus()
258 name, scl, sda); in test_bus()
264 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus()
269 if (!scl) { in test_bus()
278 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus()
283 if (!scl) { in test_bus()
292 scl = (adap->getscl == NULL) ? 0 : getscl(adap); in test_bus()
293 if (scl) { in test_bus()
[all …]
/Linux-v4.19/drivers/i2c/busses/
Di2c-gpio.c24 struct gpio_desc *scl; member
55 gpiod_set_value_cansleep(priv->scl, state); in i2c_gpio_setscl_val()
69 return gpiod_get_value_cansleep(priv->scl); in i2c_gpio_getscl()
101 WIRE_ATTRIBUTE(scl);
314 priv->scl = i2c_gpio_get_desc(dev, "scl", 1, gflags); in i2c_gpio_probe()
315 if (IS_ERR(priv->scl)) in i2c_gpio_probe()
316 return PTR_ERR(priv->scl); in i2c_gpio_probe()
318 if (gpiod_cansleep(priv->sda) || gpiod_cansleep(priv->scl)) in i2c_gpio_probe()
366 desc_to_gpio(priv->sda), desc_to_gpio(priv->scl), in i2c_gpio_probe()
Di2c-omap.c436 unsigned long scl; in omap_i2c_init() local
439 scl = internal_clk / 400; in omap_i2c_init()
440 fsscll = scl - (scl / 3) - 7; in omap_i2c_init()
441 fssclh = (scl / 3) - 5; in omap_i2c_init()
444 scl = fclk_rate / omap->speed; in omap_i2c_init()
445 hsscll = scl - (scl / 3) - 7; in omap_i2c_init()
446 hssclh = (scl / 3) - 5; in omap_i2c_init()
448 unsigned long scl; in omap_i2c_init() local
451 scl = internal_clk / omap->speed; in omap_i2c_init()
452 fsscll = scl - (scl / 3) - 7; in omap_i2c_init()
[all …]
Di2c-hix5hd2.c129 u32 scl, sysclock; in hix5hd2_i2c_drv_setrate() local
137 scl = (sysclock / (rate * 2)) / 2 - 1; in hix5hd2_i2c_drv_setrate()
138 writel_relaxed(scl, priv->regs + HIX5I2C_SCL_H); in hix5hd2_i2c_drv_setrate()
139 writel_relaxed(scl, priv->regs + HIX5I2C_SCL_L); in hix5hd2_i2c_drv_setrate()
145 __func__, sysclock, rate, scl); in hix5hd2_i2c_drv_setrate()
/Linux-v4.19/arch/arm64/boot/dts/rockchip/
Drk3399-sapphire-excavator.dts121 i2c-scl-rising-time-ns = <300>;
122 i2c-scl-falling-time-ns = <15>;
137 i2c-scl-rising-time-ns = <600>;
138 i2c-scl-falling-time-ns = <20>;
198 i2c-scl-rising-time-ns = <450>;
199 i2c-scl-falling-time-ns = <15>;
Drk3399-firefly.dts268 i2c-scl-rising-time-ns = <168>;
269 i2c-scl-falling-time-ns = <4>;
491 i2c-scl-rising-time-ns = <300>;
492 i2c-scl-falling-time-ns = <15>;
508 i2c-scl-rising-time-ns = <450>;
509 i2c-scl-falling-time-ns = <15>;
514 i2c-scl-rising-time-ns = <600>;
515 i2c-scl-falling-time-ns = <20>;
Drk3399-gru-kevin.dts167 i2c-scl-falling-time-ns = <50>;
168 i2c-scl-rising-time-ns = <300>;
183 i2c-scl-falling-time-ns = <50>;
184 i2c-scl-rising-time-ns = <300>;
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega10_processpptables.c310 static void get_scl_sda_value(uint8_t line, uint8_t *scl, uint8_t* sda) in get_scl_sda_value() argument
314 *scl = Vega10_I2C_DDC1CLK; in get_scl_sda_value()
318 *scl = Vega10_I2C_DDC2CLK; in get_scl_sda_value()
322 *scl = Vega10_I2C_DDC3CLK; in get_scl_sda_value()
326 *scl = Vega10_I2C_DDC4CLK; in get_scl_sda_value()
330 *scl = Vega10_I2C_DDC5CLK; in get_scl_sda_value()
334 *scl = Vega10_I2C_DDC6CLK; in get_scl_sda_value()
338 *scl = Vega10_I2C_SCL; in get_scl_sda_value()
342 *scl = Vega10_I2C_DDCVGACLK; in get_scl_sda_value()
346 *scl = 0; in get_scl_sda_value()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_hwseq.c52 uint32_t dcp_grph, scl, blnd, update_lock_mode, val; in dce_pipe_control_lock() local
62 BLND_SCL_V_UPDATE_LOCK, &scl, in dce_pipe_control_lock()
67 scl = lock_val; in dce_pipe_control_lock()
73 BLND_SCL_V_UPDATE_LOCK, scl); in dce_pipe_control_lock()
/Linux-v4.19/drivers/staging/olpc_dcon/
Dolpc_dcon_xo_1_5.c85 static void set_i2c_line(int sda, int scl) in set_i2c_line() argument
94 if (scl) in set_i2c_line()
/Linux-v4.19/Documentation/devicetree/bindings/display/panel/
Dtpo,tpg110.txt12 - scl-gpios : serial control clock line GPIO
26 scl-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;

12345