Lines Matching refs:go
131 static int go7007_usb_vendor_request(struct go7007 *go, u16 request, in go7007_usb_vendor_request() argument
134 struct go7007_usb *usb = go->hpi_context; in go7007_usb_vendor_request()
153 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg() local
159 if (go == NULL) in write_reg()
162 if (go->status == STATUS_SHUTDOWN) in write_reg()
169 usb = go->hpi_context; in write_reg()
175 rc = go7007_usb_vendor_request(go, 0x55, dev_addr, in write_reg()
187 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg_fp() local
193 if (go == NULL) in write_reg_fp()
196 if (go->status == STATUS_SHUTDOWN) in write_reg_fp()
208 usb = go->hpi_context; in write_reg_fp()
214 rc = go7007_usb_vendor_request(go, 0x57, addr, val, buf, 16, 1); in write_reg_fp()
251 struct go7007 *go = i2c_get_adapdata(client->adapter); in read_reg_fp() local
256 if (go == NULL) in read_reg_fp()
259 if (go->status == STATUS_SHUTDOWN) in read_reg_fp()
270 usb = go->hpi_context; in read_reg_fp()
276 rc = go7007_usb_vendor_request(go, 0x58, addr, 0, buf, 16, 1); in read_reg_fp()
505 struct go7007 *go = i2c_get_adapdata(adapter); in s2250_probe() local
506 struct go7007_usb *usb = go->hpi_context; in s2250_probe()
574 int rc = go7007_usb_vendor_request(go, 0x41, 0, 0, in s2250_probe()
584 go7007_usb_vendor_request(go, 0x40, 0, in s2250_probe()