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