/Linux-v5.4/drivers/i2c/busses/ |
D | i2c-gpio.c | 23 struct gpio_desc *scl; member 57 gpiod_set_value_cansleep(priv->scl, state); in i2c_gpio_setscl_val() 71 return gpiod_get_value_cansleep(priv->scl); in i2c_gpio_getscl() 103 WIRE_ATTRIBUTE(scl); 170 int ret, irq = gpiod_to_irq(priv->scl); in i2c_gpio_fi_act_on_scl_irq() 177 ret = gpiod_direction_input(priv->scl); in i2c_gpio_fi_act_on_scl_irq() 192 ret = gpiod_direction_output(priv->scl, 1) ?: ret; in i2c_gpio_fi_act_on_scl_irq() 407 priv->scl = i2c_gpio_get_desc(dev, "scl", 1, gflags); in i2c_gpio_probe() 408 if (IS_ERR(priv->scl)) in i2c_gpio_probe() 409 return PTR_ERR(priv->scl); in i2c_gpio_probe() [all …]
|
D | i2c-omap.c | 429 unsigned long scl; in omap_i2c_init() local 432 scl = internal_clk / 400; in omap_i2c_init() 433 fsscll = scl - (scl / 3) - 7; in omap_i2c_init() 434 fssclh = (scl / 3) - 5; in omap_i2c_init() 437 scl = fclk_rate / omap->speed; in omap_i2c_init() 438 hsscll = scl - (scl / 3) - 7; in omap_i2c_init() 439 hssclh = (scl / 3) - 5; in omap_i2c_init() 441 unsigned long scl; in omap_i2c_init() local 444 scl = internal_clk / omap->speed; in omap_i2c_init() 445 fsscll = scl - (scl / 3) - 7; in omap_i2c_init() [all …]
|
D | i2c-hix5hd2.c | 125 u32 scl, sysclock; in hix5hd2_i2c_drv_setrate() local 133 scl = (sysclock / (rate * 2)) / 2 - 1; in hix5hd2_i2c_drv_setrate() 134 writel_relaxed(scl, priv->regs + HIX5I2C_SCL_H); in hix5hd2_i2c_drv_setrate() 135 writel_relaxed(scl, priv->regs + HIX5I2C_SCL_L); in hix5hd2_i2c_drv_setrate() 141 __func__, sysclock, rate, scl); in hix5hd2_i2c_drv_setrate()
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | stih407-pinctrl.dtsi | 164 scl = <&pio4 5 ALT1 BIDIR>; 173 scl = <&pio5 0 ALT1 BIDIR>; 322 scl = <&pio4 5 ALT1 OUT>; 329 scl = <&pio4 5 ALT1 OUT>; 339 scl = <&pio3 2 ALT2 OUT>; 346 scl = <&pio3 2 ALT2 OUT>; 356 scl = <&pio3 7 ALT2 OUT>; 363 scl = <&pio3 7 ALT2 OUT>; 519 scl = <&pio10 5 ALT2 BIDIR>; 528 scl = <&pio11 0 ALT2 BIDIR>; [all …]
|
D | kirkwood-km_common.dtsi | 17 pmx_i2c_gpio_scl: pmx-gpio-scl { 31 &gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */
|
D | stm32mp157a-avenger96.dts | 103 i2c-scl-rising-time-ns = <185>; 104 i2c-scl-falling-time-ns = <20>; 113 i2c-scl-rising-time-ns = <185>; 114 i2c-scl-falling-time-ns = <20>; 123 i2c-scl-rising-time-ns = <185>; 124 i2c-scl-falling-time-ns = <20>;
|
D | rk3288-veyron.dtsi | 213 i2c-scl-falling-time-ns = <50>; /* 2.5ns measured */ 214 i2c-scl-rising-time-ns = <100>; /* 45ns measured */ 349 i2c-scl-falling-time-ns = <50>; /* 2.5ns measured */ 350 i2c-scl-rising-time-ns = <100>; /* 40ns measured */ 364 i2c-scl-falling-time-ns = <50>; /* 10ns measured */ 365 i2c-scl-rising-time-ns = <800>; /* 600ns measured */ 372 i2c-scl-falling-time-ns = <50>; /* 11ns measured */ 373 i2c-scl-rising-time-ns = <300>; /* 225ns measured */
|
D | stihxxx-b2120.dtsi | 90 st,i2c-min-scl-pulse-width-us = <0>; 97 st,i2c-min-scl-pulse-width-us = <0>; 127 st,i2c-min-scl-pulse-width-us = <0>;
|
D | rk3288-veyron-tiger.dts | 69 i2c-scl-falling-time-ns = <50>; 70 i2c-scl-rising-time-ns = <300>;
|
D | stm32mp157c-ev1.dts | 180 i2c-scl-rising-time-ns = <185>; 181 i2c-scl-falling-time-ns = <20>; 233 i2c-scl-rising-time-ns = <185>; 234 i2c-scl-falling-time-ns = <20>;
|
/Linux-v5.4/drivers/i2c/algos/ |
D | i2c-algo-bit.c | 233 int scl, sda, ret; in test_bus() local 245 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus() 246 if (!scl || !sda) { in test_bus() 249 name, scl, sda); in test_bus() 255 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus() 260 if (!scl) { in test_bus() 269 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus() 274 if (!scl) { in test_bus() 283 scl = (adap->getscl == NULL) ? 0 : getscl(adap); in test_bus() 284 if (scl) { in test_bus() [all …]
|
/Linux-v5.4/drivers/firmware/ |
D | stratix10-svc.c | 160 struct stratix10_svc_client *scl; member 223 p_data->chan->scl->receive_cb(p_data->chan->scl, in svc_thread_cmd_data_claim() 276 p_data->chan->scl->receive_cb(p_data->chan->scl, cb_data); in svc_thread_cmd_config_status() 323 p_data->chan->scl->receive_cb(p_data->chan->scl, cb_data); in svc_thread_recv_status_ok() 440 pdata->chan->scl->receive_cb(pdata->chan->scl, cbdata); in svc_normal_to_secure_thread() 493 pdata->chan->scl->receive_cb(pdata->chan->scl, cbdata); in svc_normal_to_secure_thread() 753 if (chan->scl || !try_module_get(controller->dev->driver->owner)) { in stratix10_svc_request_channel_byname() 759 chan->scl = client; in stratix10_svc_request_channel_byname() 778 chan->scl = NULL; in stratix10_svc_free_channel() 1014 chans[0].scl = NULL; in stratix10_svc_drv_probe() [all …]
|
/Linux-v5.4/arch/arm64/boot/dts/rockchip/ |
D | rk3399-sapphire-excavator.dts | 157 i2c-scl-rising-time-ns = <300>; 158 i2c-scl-falling-time-ns = <15>; 173 i2c-scl-rising-time-ns = <600>; 174 i2c-scl-falling-time-ns = <20>; 233 i2c-scl-rising-time-ns = <450>; 234 i2c-scl-falling-time-ns = <15>;
|
D | rk3399-roc-pc.dts | 189 i2c-scl-rising-time-ns = <168>; 190 i2c-scl-falling-time-ns = <4>; 416 i2c-scl-rising-time-ns = <300>; 417 i2c-scl-falling-time-ns = <15>; 422 i2c-scl-rising-time-ns = <450>; 423 i2c-scl-falling-time-ns = <15>; 428 i2c-scl-rising-time-ns = <600>; 429 i2c-scl-falling-time-ns = <20>; 445 i2c-scl-rising-time-ns = <600>; 446 i2c-scl-falling-time-ns = <20>;
|
D | rk3399-leez-p710.dts | 170 i2c-scl-rising-time-ns = <168>; 171 i2c-scl-falling-time-ns = <4>; 379 i2c-scl-rising-time-ns = <300>; 380 i2c-scl-falling-time-ns = <15>; 385 i2c-scl-rising-time-ns = <450>; 386 i2c-scl-falling-time-ns = <15>; 391 i2c-scl-rising-time-ns = <600>; 392 i2c-scl-falling-time-ns = <20>;
|
D | rk3399-rock-pi-4.dts | 187 i2c-scl-rising-time-ns = <168>; 188 i2c-scl-falling-time-ns = <4>; 418 i2c-scl-rising-time-ns = <300>; 419 i2c-scl-falling-time-ns = <15>; 424 i2c-scl-rising-time-ns = <450>; 425 i2c-scl-falling-time-ns = <15>; 430 i2c-scl-rising-time-ns = <600>; 431 i2c-scl-falling-time-ns = <20>;
|
D | rk3399-hugsun-x99.dts | 180 i2c-scl-rising-time-ns = <180>; 181 i2c-scl-falling-time-ns = <30>; 410 i2c-scl-rising-time-ns = <300>; 411 i2c-scl-falling-time-ns = <15>; 416 i2c-scl-rising-time-ns = <450>; 417 i2c-scl-falling-time-ns = <15>; 422 i2c-scl-rising-time-ns = <600>; 423 i2c-scl-falling-time-ns = <40>;
|
D | rk3399-gru-kevin.dts | 185 i2c-scl-falling-time-ns = <50>; 186 i2c-scl-rising-time-ns = <300>; 201 i2c-scl-falling-time-ns = <50>; 202 i2c-scl-rising-time-ns = <300>;
|
D | rk3399-rockpro64.dts | 243 i2c-scl-rising-time-ns = <168>; 244 i2c-scl-falling-time-ns = <4>; 470 i2c-scl-rising-time-ns = <300>; 471 i2c-scl-falling-time-ns = <15>; 476 i2c-scl-rising-time-ns = <450>; 477 i2c-scl-falling-time-ns = <15>; 482 i2c-scl-rising-time-ns = <600>; 483 i2c-scl-falling-time-ns = <20>;
|
/Linux-v5.4/Documentation/devicetree/bindings/i3c/ |
D | cdns,i3c-master.txt | 21 - i2c-scl-hz 22 - i3c-scl-hz 37 i2c-scl-hz = <100000>;
|
D | snps,dw-i3c-master.txt | 20 - i2c-scl-hz 21 - i3c-scl-hz
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_hwseq.c | 52 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-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | vega10_processpptables.c | 379 static void get_scl_sda_value(uint8_t line, uint8_t *scl, uint8_t* sda) in get_scl_sda_value() argument 383 *scl = Vega10_I2C_DDC1CLK; in get_scl_sda_value() 387 *scl = Vega10_I2C_DDC2CLK; in get_scl_sda_value() 391 *scl = Vega10_I2C_DDC3CLK; in get_scl_sda_value() 395 *scl = Vega10_I2C_DDC4CLK; in get_scl_sda_value() 399 *scl = Vega10_I2C_DDC5CLK; in get_scl_sda_value() 403 *scl = Vega10_I2C_DDC6CLK; in get_scl_sda_value() 407 *scl = Vega10_I2C_SCL; in get_scl_sda_value() 411 *scl = Vega10_I2C_DDCVGACLK; in get_scl_sda_value() 415 *scl = 0; in get_scl_sda_value() [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/i2c/ |
D | i2c-rk3x.txt | 36 - 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>;
|
/Linux-v5.4/Documentation/devicetree/bindings/pinctrl/ |
D | cirrus,lochnagar.txt | 73 dsp-dmicclk1, dsp-dmicdat1, dsp-dmicclk2, dsp-dmicdat2, i2c2-scl, 74 i2c2-sda, i2c3-scl, i2c3-sda, i2c4-scl, i2c4-sda, dsp-standby, 93 gf-uart2-tx, usb-uart-rx, usb-uart-tx, i2c2-scl, i2c2-sda, 94 i2c3-scl, i2c3-sda, i2c4-scl, i2c4-sda, spdif-aif, psia1,
|