Lines Matching refs:go
139 static int go7007_usb_vendor_request(struct go7007 *go, u16 request, in go7007_usb_vendor_request() argument
142 struct go7007_usb *usb = go->hpi_context; in go7007_usb_vendor_request()
161 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg() local
167 if (go == NULL) in write_reg()
170 if (go->status == STATUS_SHUTDOWN) in write_reg()
177 usb = go->hpi_context; in write_reg()
183 rc = go7007_usb_vendor_request(go, 0x55, dev_addr, in write_reg()
195 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg_fp() local
201 if (go == NULL) in write_reg_fp()
204 if (go->status == STATUS_SHUTDOWN) in write_reg_fp()
216 usb = go->hpi_context; in write_reg_fp()
222 rc = go7007_usb_vendor_request(go, 0x57, addr, val, buf, 16, 1); in write_reg_fp()
259 struct go7007 *go = i2c_get_adapdata(client->adapter); in read_reg_fp() local
264 if (go == NULL) in read_reg_fp()
267 if (go->status == STATUS_SHUTDOWN) in read_reg_fp()
278 usb = go->hpi_context; in read_reg_fp()
284 rc = go7007_usb_vendor_request(go, 0x58, addr, 0, buf, 16, 1); in read_reg_fp()
513 struct go7007 *go = i2c_get_adapdata(adapter); in s2250_probe() local
514 struct go7007_usb *usb = go->hpi_context; in s2250_probe()
584 int rc = go7007_usb_vendor_request(go, 0x41, 0, 0, in s2250_probe()
594 go7007_usb_vendor_request(go, 0x40, 0, in s2250_probe()