Searched refs:chost (Results 1 – 2 of 2) sorted by relevance
213 struct cbus_host *chost; in cbus_i2c_probe() local220 chost = devm_kzalloc(&pdev->dev, sizeof(*chost), GFP_KERNEL); in cbus_i2c_probe()221 if (!chost) in cbus_i2c_probe()227 if (IS_ERR(chost->clk)) in cbus_i2c_probe()228 return PTR_ERR(chost->clk); in cbus_i2c_probe()230 if (IS_ERR(chost->dat)) in cbus_i2c_probe()231 return PTR_ERR(chost->dat); in cbus_i2c_probe()233 if (IS_ERR(chost->sel)) in cbus_i2c_probe()234 return PTR_ERR(chost->sel); in cbus_i2c_probe()248 spin_lock_init(&chost->lock); in cbus_i2c_probe()[all …]
31 chost, self._extra_headers, x509 = self.get_host_info(host)33 self._connection = host, http.client.HTTPConnection(chost, timeout=self.timeout)