/openbmc/u-boot/drivers/i2c/ |
H A D | i2c-gpio.c | 56 dm_gpio_set_dir_flags(scl, flags); in i2c_gpio_scl_set() 62 i2c_gpio_scl_set(scl, 0); in i2c_gpio_write_bit() 66 i2c_gpio_scl_set(scl, 1); in i2c_gpio_write_bit() 75 i2c_gpio_scl_set(scl, 1); in i2c_gpio_read_bit() 79 i2c_gpio_scl_set(scl, 0); in i2c_gpio_read_bit() 92 i2c_gpio_scl_set(scl, 1); in i2c_gpio_send_start() 102 i2c_gpio_scl_set(scl, 0); in i2c_gpio_send_stop() 106 i2c_gpio_scl_set(scl, 1); in i2c_gpio_send_stop() 117 i2c_gpio_scl_set(scl, 0); in i2c_gpio_send_ack() 141 i2c_gpio_scl_set(scl, 0); in i2c_gpio_sda_high() [all …]
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | i2c-mxv7.c | 17 int sda, scl; in force_idle_bus() local 23 gpio_direction_input(p->scl.gp); in force_idle_bus() 29 scl = gpio_get_value(p->scl.gp); in force_idle_bus() 30 if ((sda & scl) == 1) in force_idle_bus() 34 sda, scl, p->sda.gp, p->scl.gp); in force_idle_bus() 37 gpio_direction_output(p->scl.gp, 0); in force_idle_bus() 39 gpio_direction_input(p->scl.gp); in force_idle_bus() 45 scl = gpio_get_value(p->scl.gp); in force_idle_bus() 46 if ((sda & scl) == 1) in force_idle_bus() 53 __func__, sda, scl); in force_idle_bus() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-gpio.yaml | 28 scl-gpios: 30 gpio used for the scl signal, this should be flagged as 40 i2c-gpio,scl-output-only: 41 description: scl as output only 54 description: sda and scl gpio, alternative for {sda,scl}-gpios 63 i2c-gpio,scl-open-drain: 76 i2c-gpio,scl-has-no-pullup: 80 with i2c-gpio,scl-open-drain. 87 i2c-gpio,scl-has-no-pullup: 90 - i2c-gpio,scl-open-drain [all …]
|
H A D | hisilicon,ascend910-i2c.yaml | 38 i2c-scl-falling-time-ns: 44 i2c-scl-rising-time-ns: 66 i2c-scl-falling-time-ns = <56>; 68 i2c-scl-rising-time-ns = <56>;
|
H A D | st,stm32-i2c.yaml | 24 i2c-scl-rising-time-ns: 27 i2c-scl-falling-time-ns: 158 i2c-scl-rising-time-ns = <185>; 159 i2c-scl-falling-time-ns = <20>;
|
/openbmc/linux/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-scaler.c | 71 struct dcss_scaler *scl; member 289 struct dcss_scaler *scl = ch->scl; in dcss_scaler_write() local 291 dcss_ctxld_write(scl->ctxld, scl->ctx_id, val, ch->base_ofs + ofs); in dcss_scaler_write() 301 ch = &scl->ch[i]; in dcss_scaler_ch_init_all() 311 ch->scl = scl; in dcss_scaler_ch_init_all() 346 void dcss_scaler_exit(struct dcss_scaler *scl) in dcss_scaler_exit() argument 351 struct dcss_scaler_ch *ch = &scl->ch[ch_no]; in dcss_scaler_exit() 359 kfree(scl); in dcss_scaler_exit() 364 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_ch_enable() 842 dcss_ctxld_assert_locked(scl->ctxld); in dcss_scaler_write_sclctrl() [all …]
|
H A D | dcss-dev.h | 167 void dcss_scaler_exit(struct dcss_scaler *scl); 168 void dcss_scaler_set_filter(struct dcss_scaler *scl, int ch_num, 170 void dcss_scaler_setup(struct dcss_scaler *scl, int ch_num, 174 void dcss_scaler_ch_enable(struct dcss_scaler *scl, int ch_num, bool en); 175 int dcss_scaler_get_min_max_ratios(struct dcss_scaler *scl, int ch_num, 177 void dcss_scaler_write_sclctrl(struct dcss_scaler *scl);
|
/openbmc/linux/drivers/i2c/busses/ |
H A 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() 414 priv->scl = i2c_gpio_get_desc(dev, "scl", 1, gflags); in i2c_gpio_probe() 415 if (IS_ERR(priv->scl)) in i2c_gpio_probe() 416 return PTR_ERR(priv->scl); in i2c_gpio_probe() [all …]
|
H A 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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | stih407-pinctrl.dtsi | 167 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>; 581 scl = <&pio10 5 ALT2 OUT>; 588 scl = <&pio10 5 ALT2 OUT>; [all …]
|
H A D | stm32mp157c-ev1.dts | 25 i2c-scl-rising-time-ns = <185>; 26 i2c-scl-falling-time-ns = <20>; 33 i2c-scl-rising-time-ns = <185>; 34 i2c-scl-falling-time-ns = <20>;
|
H A D | kirkwood-km_common.dtsi | 17 pmx_i2c_gpio_scl: pmx-gpio-scl { 31 &gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A 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>; 575 scl = <&pio10 5 ALT2 OUT>; 582 scl = <&pio10 5 ALT2 OUT>; [all …]
|
H A D | stm32mp15xx-dhcom-picoitx.dtsi | 82 i2c-scl-rising-time-ns = <185>; 83 i2c-scl-falling-time-ns = <20>; 93 i2c-scl-rising-time-ns = <185>; 94 i2c-scl-falling-time-ns = <20>;
|
H A D | stm32mp15xx-dhcom-drc02.dtsi | 75 i2c-scl-rising-time-ns = <185>; 76 i2c-scl-falling-time-ns = <20>; 99 i2c-scl-rising-time-ns = <185>; 100 i2c-scl-falling-time-ns = <20>;
|
/openbmc/linux/drivers/firmware/ |
H A D | stratix10-svc.c | 230 p_data->chan->scl->receive_cb(p_data->chan->scl, in svc_thread_cmd_data_claim() 305 p_data->chan->scl->receive_cb(p_data->chan->scl, cb_data); in svc_thread_cmd_config_status() 378 p_data->chan->scl->receive_cb(p_data->chan->scl, cb_data); in svc_thread_recv_status_ok() 583 pdata->chan->scl->receive_cb(pdata->chan->scl, cbdata); in svc_normal_to_secure_thread() 622 pdata->chan->scl->receive_cb(pdata->chan->scl, in svc_normal_to_secure_thread() 635 pdata->chan->scl->receive_cb(pdata->chan->scl, cbdata); in svc_normal_to_secure_thread() 917 chan->scl = client; in stratix10_svc_request_channel_byname() 936 chan->scl = NULL; in stratix10_svc_free_channel() 1188 chans[0].scl = NULL; in stratix10_svc_drv_probe() 1193 chans[1].scl = NULL; in stratix10_svc_drv_probe() [all …]
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_i2c.c | 84 return __lsdc_gpio_i2c_set(li2c, li2c->scl, state); in lsdc_gpio_i2c_set_scl() 98 return __lsdc_gpio_i2c_get(li2c, li2c->scl); in lsdc_gpio_i2c_get_scl() 134 li2c->scl = 0x02; /* pin 1 */ in lsdc_create_i2c_chan() 137 li2c->scl = 0x08; /* pin 3 */ in lsdc_create_i2c_chan() 176 adapter->name, li2c->sda, li2c->scl); in lsdc_create_i2c_chan()
|
/openbmc/u-boot/board/dhelectronics/dh_imx6/ |
H A D | dh_imx6.c | 44 .scl = { 57 .scl = { 70 .scl = { 83 .scl = { 96 .scl = { 109 .scl = {
|
/openbmc/u-boot/arch/arm/include/asm/mach-imx/ |
H A D | mxc_i2c.h | 18 struct i2c_pin_ctrl scl; member 64 .scl = { \ 76 .scl = { \
|
/openbmc/qemu/hw/mips/ |
H A D | malta.c | 168 uint8_t scl; member 301 eeprom->tick, eeprom->scl, eeprom->sda, eeprom->data); in eeprom24c0x_read() 305 static void eeprom24c0x_write(eeprom24c0x_t *eeprom, int scl, int sda) in eeprom24c0x_write() argument 307 if (eeprom->scl && scl && (eeprom->sda != sda)) { in eeprom24c0x_write() 309 eeprom->tick, eeprom->scl, scl, eeprom->sda, sda, in eeprom24c0x_write() 318 eeprom->tick, eeprom->scl, scl, eeprom->sda, sda); in eeprom24c0x_write() 319 } else if (!eeprom->scl && scl) { in eeprom24c0x_write() 321 eeprom->tick, eeprom->scl, scl, eeprom->sda, sda); in eeprom24c0x_write() 360 logout("%u: scl = %u->%u, sda = %u->%u\n", eeprom->tick, eeprom->scl, in eeprom24c0x_write() 361 scl, eeprom->sda, sda); in eeprom24c0x_write() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega10_processpptables.c | 379 *scl = Vega10_I2C_DDC1CLK; in get_scl_sda_value() 383 *scl = Vega10_I2C_DDC2CLK; in get_scl_sda_value() 387 *scl = Vega10_I2C_DDC3CLK; in get_scl_sda_value() 391 *scl = Vega10_I2C_DDC4CLK; in get_scl_sda_value() 395 *scl = Vega10_I2C_DDC5CLK; in get_scl_sda_value() 399 *scl = Vega10_I2C_DDC6CLK; in get_scl_sda_value() 403 *scl = Vega10_I2C_SCL; in get_scl_sda_value() 407 *scl = Vega10_I2C_DDCVGACLK; in get_scl_sda_value() 411 *scl = 0; in get_scl_sda_value() 424 uint8_t scl; in get_tdp_table() local [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/syslog-ng/ |
H A D | syslog-ng_4.6.0.bb | 116 FILES:${PN} += "${datadir}/include/scl/ ${datadir}/xsd ${datadir}/tools ${systemd_unitdir}/system/m… 120 ${datadir}/${BPN}/include/scl/cim \ 121 ${datadir}/${BPN}/include/scl/elasticsearch \ 122 ${datadir}/${BPN}/include/scl/ewmm \ 123 ${datadir}/${BPN}/include/scl/graylog2 \ 124 ${datadir}/${BPN}/include/scl/loggly \ 125 ${datadir}/${BPN}/include/scl/logmatic \ 138 CONFFILES:${PN} = "${sysconfdir}/${BPN}.conf ${sysconfdir}/scl.conf"
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-km_common.dtsi | 17 pmx_i2c_gpio_scl: pmx-gpio-scl { 31 &gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-sapphire-excavator.dts | 161 i2c-scl-rising-time-ns = <300>; 162 i2c-scl-falling-time-ns = <15>; 177 i2c-scl-rising-time-ns = <600>; 178 i2c-scl-falling-time-ns = <20>;
|