Home
last modified time | relevance | path

Searched refs:chost (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/i2c/busses/
H A Di2c-cbus-gpio.c175 struct cbus_host *chost = i2c_get_adapdata(adapter); in cbus_i2c_smbus_xfer() local
181 ret = cbus_transfer(chost, read_write == I2C_SMBUS_READ, addr, in cbus_i2c_smbus_xfer()
213 struct cbus_host *chost; in cbus_i2c_probe() local
220 chost = devm_kzalloc(&pdev->dev, sizeof(*chost), GFP_KERNEL); in cbus_i2c_probe()
221 if (!chost) in cbus_i2c_probe()
226 chost->clk = devm_gpiod_get_index(&pdev->dev, NULL, 0, GPIOD_OUT_LOW); in cbus_i2c_probe()
227 if (IS_ERR(chost->clk)) in cbus_i2c_probe()
228 return PTR_ERR(chost->clk); in cbus_i2c_probe()
229 chost->dat = devm_gpiod_get_index(&pdev->dev, NULL, 1, GPIOD_IN); in cbus_i2c_probe()
230 if (IS_ERR(chost->dat)) in cbus_i2c_probe()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/server/
H A Dxmlrpcclient.py31 chost, self._extra_headers, x509 = self.get_host_info(host)
33 self._connection = host, http.client.HTTPConnection(chost, timeout=self.timeout)