Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Dscx200_i2c.c40 static int scl = CONFIG_SCx200_I2C_SCL; variable
43 module_param(scl, int, 0);
44 MODULE_PARM_DESC(scl, "GPIO line for SCL");
50 scx200_gpio_set(scl, state); in scx200_i2c_setscl()
60 return scx200_gpio_get(scl); in scx200_i2c_getscl()
98 pr_debug(NAME ": SCL=GPIO%02u, SDA=GPIO%02u\n", scl, sda); in scx200_i2c_init()
100 if (scl == -1 || sda == -1 || scl == sda) { in scx200_i2c_init()
106 scx200_gpio_configure(scl, ~2, 5); in scx200_i2c_init()
/drivers/i2c/algos/
Di2c-algo-bit.c238 int scl, sda; in test_bus() local
244 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus()
245 if (!scl || !sda) { in test_bus()
252 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus()
257 if (!scl) { in test_bus()
265 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus()
270 if (!scl) { in test_bus()
278 scl = (adap->getscl == NULL) ? 0 : getscl(adap); in test_bus()
279 if (scl) { in test_bus()
291 scl = (adap->getscl == NULL) ? 1 : getscl(adap); in test_bus()
[all …]
/drivers/scsi/
Dmac53c94.c361 struct scatterlist *scl; in set_dma_cmds() local
376 scsi_for_each_sg(cmd, scl, nseg, i) { in set_dma_cmds()
377 dma_addr = sg_dma_address(scl); in set_dma_cmds()
378 dma_len = sg_dma_len(scl); in set_dma_cmds()
Dmesh.c1263 struct scatterlist *scl; in set_dma_cmds() local
1282 scsi_for_each_sg(cmd, scl, nseg, i) { in set_dma_cmds()
1283 u32 dma_addr = sg_dma_address(scl); in set_dma_cmds()
1284 u32 dma_len = sg_dma_len(scl); in set_dma_cmds()
1286 total += scl->length; in set_dma_cmds()