/drivers/video/fbdev/ |
D | amba-clcd-nomadik.c | 15 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() 201 scl = devm_get_gpiod_from_child(dev, "scl", &np->fwnode); in tpg110_init() [all …]
|
/drivers/i2c/algos/ |
D | i2c-algo-bit.c | 240 int scl, sda, ret; in test_bus() local 252 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus() 253 if (!scl || !sda) { in test_bus() 256 name, scl, sda); in test_bus() 262 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus() 267 if (!scl) { in test_bus() 275 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus() 280 if (!scl) { in test_bus() 288 scl = (adap->getscl == NULL) ? 0 : getscl(adap); in test_bus() 289 if (scl) { in test_bus() [all …]
|
/drivers/i2c/busses/ |
D | i2c-omap.c | 422 unsigned long scl; in omap_i2c_init() local 425 scl = internal_clk / 400; in omap_i2c_init() 426 fsscll = scl - (scl / 3) - 7; in omap_i2c_init() 427 fssclh = (scl / 3) - 5; in omap_i2c_init() 430 scl = fclk_rate / omap->speed; in omap_i2c_init() 431 hsscll = scl - (scl / 3) - 7; in omap_i2c_init() 432 hssclh = (scl / 3) - 5; in omap_i2c_init() 434 unsigned long scl; in omap_i2c_init() local 437 scl = internal_clk / omap->speed; in omap_i2c_init() 438 fsscll = scl - (scl / 3) - 7; in omap_i2c_init() [all …]
|
D | i2c-hix5hd2.c | 130 u32 scl, sysclock; in hix5hd2_i2c_drv_setrate() local 138 scl = (sysclock / (rate * 2)) / 2 - 1; in hix5hd2_i2c_drv_setrate() 139 writel_relaxed(scl, priv->regs + HIX5I2C_SCL_H); in hix5hd2_i2c_drv_setrate() 140 writel_relaxed(scl, priv->regs + HIX5I2C_SCL_L); in hix5hd2_i2c_drv_setrate() 146 __func__, sysclock, rate, scl); in hix5hd2_i2c_drv_setrate()
|
D | i2c-rcar.c | 187 u32 scgd, cdf, round, ick, sum, scl, cdf_width; in rcar_i2c_clock_calculate() local 258 scl = ick / (20 + (scgd * 8) + round); in rcar_i2c_clock_calculate() 259 if (scl <= t->bus_freq_hz) in rcar_i2c_clock_calculate() 267 scl, t->bus_freq_hz, clk_get_rate(priv->clk), round, cdf, scgd); in rcar_i2c_clock_calculate()
|
/drivers/staging/olpc_dcon/ |
D | olpc_dcon_xo_1_5.c | 86 static void set_i2c_line(int sda, int scl) in set_i2c_line() argument 95 if (scl) in set_i2c_line()
|
/drivers/scsi/ |
D | mac53c94.c | 364 struct scatterlist *scl; in set_dma_cmds() local 379 scsi_for_each_sg(cmd, scl, nseg, i) { in set_dma_cmds() 380 dma_addr = sg_dma_address(scl); in set_dma_cmds() 381 dma_len = sg_dma_len(scl); in set_dma_cmds()
|
D | mesh.c | 1260 struct scatterlist *scl; in set_dma_cmds() local 1279 scsi_for_each_sg(cmd, scl, nseg, i) { in set_dma_cmds() 1280 u32 dma_addr = sg_dma_address(scl); in set_dma_cmds() 1281 u32 dma_len = sg_dma_len(scl); in set_dma_cmds() 1283 total += scl->length; in set_dma_cmds()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
D | i2c_.fuc | 81 // $r1 - scl line 204 // $r1 - scl line 219 // $r1 - scl line
|
/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | fiji_smc.c | 157 static void get_scl_sda_value(uint8_t line, uint8_t *scl, uint8_t *sda) in get_scl_sda_value() argument 161 *scl = SMU7_I2C_DDC1CLK; in get_scl_sda_value() 165 *scl = SMU7_I2C_DDC2CLK; in get_scl_sda_value() 169 *scl = SMU7_I2C_DDC3CLK; in get_scl_sda_value() 173 *scl = SMU7_I2C_DDC4CLK; in get_scl_sda_value() 177 *scl = SMU7_I2C_DDC5CLK; in get_scl_sda_value() 181 *scl = SMU7_I2C_DDC6CLK; in get_scl_sda_value() 185 *scl = SMU7_I2C_SCL; in get_scl_sda_value() 189 *scl = SMU7_I2C_DDCVGACLK; in get_scl_sda_value() 193 *scl = 0; in get_scl_sda_value()
|
/drivers/gpu/drm/rockchip/ |
D | rockchip_vop_reg.c | 68 .scl = &rk3036_win_scl, 176 .scl = &rk3288_win_full_scl,
|
D | rockchip_drm_vop.c | 58 REG_SET(x, win->base, win->phy->scl->name, v, RELAXED) 60 REG_SET(x, win->base, win->phy->scl->ext->name, v, RELAXED) 322 if (!win->phy->scl->ext) { in scl_vop_cal_scl_fac() 645 int min_scale = win->phy->scl ? FRAC_16_16(1, 8) : in vop_plane_atomic_check() 647 int max_scale = win->phy->scl ? FRAC_16_16(8, 1) : in vop_plane_atomic_check() 779 if (win->phy->scl) in vop_plane_atomic_update()
|
D | rockchip_drm_vop.h | 111 const struct vop_scl_regs *scl; member
|
/drivers/net/ethernet/broadcom/ |
D | bcmsysport.h | 537 u32 scl; /* RO # of xmited single collision pkt */ member
|
D | bcmsysport.c | 233 STAT_MIB_TX("tx_single_col", mib.tx.scl),
|
/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.h | 124 u32 scl; /* RO # of xmited single collision pkt */ member
|
D | bcmgenet.c | 764 STAT_GENET_MIB_TX("tx_single_col", mib.tx.scl),
|
/drivers/media/dvb-frontends/ |
D | dib9000.c | 1654 u16 scl = state->component_bus_speed; /* SCL frequency */ in dib9000_fw_component_bus_xfer() local 1662 p[3] = (u8) scl & 0xff; /* scl */ in dib9000_fw_component_bus_xfer() 1663 p[4] = (u8) (scl >> 8); in dib9000_fw_component_bus_xfer()
|
/drivers/pinctrl/sh-pfc/ |
D | pfc-r8a7778.c | 1427 #define I2C_PFC_MUX(name, sda, scl) SH_PFC_MUX2(name, sda, scl) argument
|