Searched defs:go (Results 1 - 18 of 18) sorted by relevance

/drivers/s390/char/
H A Dsclp_rw.h23 struct go { struct
47 struct go go; member in struct:mdb
/drivers/staging/media/go7007/
H A Dgo7007-i2c.c52 static int go7007_i2c_xfer(struct go7007 *go, u16 addr, int read, argument
58 if (go->status == STATUS_SHUTDOWN)
71 mutex_lock(&go->hw_lock);
73 if (go->board_id == GO7007_BOARDID_ADLINK_MPG24) {
76 go7007_write_addr(go, 0x3c82, 0x0020);
81 if (go7007_read_addr(go, STATUS_REG_ADDR, &val) < 0)
93 go7007_write_addr(go, I2C_CTRL_REG_ADDR, flags);
94 go7007_write_addr(go, I2C_LO_ADDR_REG_ADDR, command);
98 go7007_write_addr(go, I2C_DATA_REG_ADDR, *data);
99 go7007_write_addr(go, I2C_DEV_UP_ADDR_REG_ADD
146 struct go7007 *go = i2c_get_adapdata(adapter); local
162 struct go7007 *go = i2c_get_adapdata(adapter); local
212 go7007_i2c_init(struct go7007 *go) argument
[all...]
H A Dgo7007-driver.c46 int go7007_read_interrupt(struct go7007 *go, u16 *value, u16 *data) argument
48 go->interrupt_available = 0;
49 go->hpi_ops->read_interrupt(go);
50 if (wait_event_timeout(go->interrupt_waitq,
51 go->interrupt_available, 5*HZ) < 0) {
52 v4l2_err(&go->v4l2_dev, "timeout waiting for read interrupt\n");
55 if (!go->interrupt_available)
57 go->interrupt_available = 0;
58 *value = go
69 go7007_read_addr(struct go7007 *go, u16 addr, u16 *data) argument
91 go7007_load_encoder(struct go7007 *go) argument
140 go7007_boot_encoder(struct go7007 *go, int init_i2c) argument
165 go7007_init_encoder(struct go7007 *go) argument
185 go7007_reset_encoder(struct go7007 *go) argument
198 struct go7007 *go = i2c_get_adapdata(adapter); local
216 go7007_register_encoder(struct go7007 *go) argument
262 go7007_start_encoder(struct go7007 *go) argument
322 frame_boundary(struct go7007 *go) argument
351 write_bitmap_word(struct go7007 *go) argument
370 go7007_parse_video_stream(struct go7007 *go, u8 *buf, int length) argument
571 struct go7007 *go; local
642 go7007_remove(struct go7007 *go) argument
[all...]
H A Dsaa7134-go7007.c141 static int saa7134_go7007_interface_reset(struct go7007 *go) argument
143 struct saa7134_go7007 *saa = go->hpi_context;
178 if (go7007_read_interrupt(go, &intr_val, &intr_data) < 0 ||
187 static int saa7134_go7007_write_interrupt(struct go7007 *go, int addr, int data) argument
189 struct saa7134_go7007 *saa = go->hpi_context;
217 static int saa7134_go7007_read_interrupt(struct go7007 *go) argument
219 struct saa7134_go7007 *saa = go->hpi_context;
223 go->interrupt_available = 1;
224 gpio_read(dev, HPI_ADDR_INTR_RET_VALUE, &go->interrupt_value);
225 gpio_read(dev, HPI_ADDR_INTR_RET_DATA, &go
236 struct go7007 *go = video_get_drvdata(dev->empress_dev); local
257 saa7134_go7007_stream_start(struct go7007 *go) argument
315 saa7134_go7007_stream_stop(struct go7007 *go) argument
344 saa7134_go7007_send_firmware(struct go7007 *go, u8 *data, int len) argument
383 saa7134_go7007_send_command(struct go7007 *go, unsigned int cmd, void *arg) argument
438 struct go7007 *go; local
494 struct go7007 *go; local
[all...]
H A Dsnd-go7007.c78 static void parse_audio_stream_data(struct go7007 *go, u8 *buf, int length) argument
80 struct go7007_snd *gosnd = go->snd_context;
114 struct go7007 *go = snd_pcm_substream_chip(substream); local
125 go->audio_deliver = parse_audio_stream_data;
131 struct go7007 *go = snd_pcm_substream_chip(substream); local
133 go->audio_deliver = NULL;
142 struct go7007 *go = snd_pcm_substream_chip(substream); local
143 struct go7007_snd *gosnd = go->snd_context;
160 struct go7007 *go = snd_pcm_substream_chip(substream); local
161 struct go7007_snd *gosnd = go
174 struct go7007 *go = snd_pcm_substream_chip(substream); local
194 struct go7007 *go = snd_pcm_substream_chip(substream); local
220 struct go7007 *go = device->device_data; local
233 go7007_snd_init(struct go7007 *go) argument
295 go7007_snd_remove(struct go7007 *go) argument
[all...]
H A Dgo7007-usb.c557 static int go7007_usb_vendor_request(struct go7007 *go, int request, argument
560 struct go7007_usb *usb = go->hpi_context;
576 static int go7007_usb_interface_reset(struct go7007 *go) argument
578 struct go7007_usb *usb = go->hpi_context;
582 if (go7007_write_interrupt(go, 0x0001, 0x0001) < 0)
591 if (go7007_usb_vendor_request(go, 0x10, 0, 0, NULL, 0, 0) < 0 ||
592 go7007_usb_vendor_request(go, 0x10, 0, 0, NULL, 0, 0) < 0)
596 if (go7007_write_interrupt(go, 0x0001, 0x0001) < 0)
602 if (go7007_read_interrupt(go, &intr_val, &intr_data) < 0 ||
611 static int go7007_usb_ezusb_write_interrupt(struct go7007 *go, argument
660 go7007_usb_onboard_write_interrupt(struct go7007 *go, int addr, int data) argument
693 struct go7007 *go = (struct go7007 *)urb->context; local
722 go7007_usb_read_interrupt(struct go7007 *go) argument
738 struct go7007 *go = (struct go7007 *)urb->context; local
762 struct go7007 *go = (struct go7007 *)urb->context; local
783 go7007_usb_stream_start(struct go7007 *go) argument
818 go7007_usb_stream_stop(struct go7007 *go) argument
833 go7007_usb_send_firmware(struct go7007 *go, u8 *data, int len) argument
875 struct go7007 *go = i2c_get_adapdata(adapter); local
969 struct go7007 *go; local
1243 struct go7007 *go = to_go7007(usb_get_intfdata(intf)); local
[all...]
H A Ds2250-board.c137 static int go7007_usb_vendor_request(struct go7007 *go, u16 request, argument
140 struct go7007_usb *usb = go->hpi_context;
159 struct go7007 *go = i2c_get_adapdata(client->adapter); local
165 if (go == NULL)
168 if (go->status == STATUS_SHUTDOWN)
175 usb = go->hpi_context;
181 rc = go7007_usb_vendor_request(go, 0x55, dev_addr,
193 struct go7007 *go = i2c_get_adapdata(client->adapter); local
199 if (go == NULL)
202 if (go
257 struct go7007 *go = i2c_get_adapdata(client->adapter); local
581 struct go7007 *go = i2c_get_adapdata(adapter); local
[all...]
H A Dgo7007-fw.c301 static int mjpeg_frame_header(struct go7007 *go, unsigned char *buf, int q) argument
321 buf[p++] = go->height >> 8;
322 buf[p++] = go->height & 0xff;
323 buf[p++] = go->width >> 8;
324 buf[p++] = go->width & 0xff;
376 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) argument
391 mjpeg_frame_header(go, buf + size, i);
394 chunk = mjpeg_frame_header(go, buf + size, 1);
430 static int mpeg1_frame_header(struct go7007 *go, unsigned char *buf, argument
434 int rows = go
538 mpeg1_sequence_header(struct go7007 *go, unsigned char *buf, int ext) argument
645 gen_mpeg1hdr_to_package(struct go7007 *go, __le16 *code, int space, int *framelen) argument
724 vti_bitlen(struct go7007 *go) argument
732 mpeg4_frame_header(struct go7007 *go, unsigned char *buf, int modulo, enum mpeg_frame_type frame) argument
786 mpeg4_sequence_header(struct go7007 *go, unsigned char *buf, int ext) argument
832 gen_mpeg4hdr_to_package(struct go7007 *go, __le16 *code, int space, int *framelen) argument
936 brctrl_to_package(struct go7007 *go, __le16 *code, int space, int *framelen) argument
1093 config_package(struct go7007 *go, __le16 *code, int space) argument
1215 seqhead_to_package(struct go7007 *go, __le16 *code, int space, int (*sequence_header_func)(struct go7007 *go, unsigned char *buf, int ext)) argument
1294 avsync_to_package(struct go7007 *go, __le16 *code, int space) argument
1325 final_package(struct go7007 *go, __le16 *code, int space) argument
1388 audio_to_package(struct go7007 *go, __le16 *code, int space) argument
1438 modet_to_package(struct go7007 *go, __le16 *code, int space) argument
1507 do_special(struct go7007 *go, u16 type, __le16 *code, int space, int *framelen) argument
1554 go7007_construct_fw_image(struct go7007 *go, u8 **fw, int *fwlen) argument
[all...]
H A Dgo7007-v4l2.c68 static void abort_queued(struct go7007 *go) argument
72 list_for_each_entry_safe(gobuf, next, &go->stream, stream) {
77 static int go7007_streamoff(struct go7007 *go) argument
82 mutex_lock(&go->hw_lock);
83 if (go->streaming) {
84 go->streaming = 0;
85 go7007_stream_stop(go);
86 spin_lock_irqsave(&go->spinlock, flags);
87 abort_queued(go);
88 spin_unlock_irqrestore(&go
98 struct go7007 *go = video_get_drvdata(video_devdata(file)); local
117 struct go7007 *go = gofh->go; local
167 set_capture_size(struct go7007 *go, struct v4l2_format *fmt, int try) argument
447 mpeg_s_ctrl(struct v4l2_control *ctrl, struct go7007 *go) argument
546 mpeg_g_ctrl(struct v4l2_control *ctrl, struct go7007 *go) argument
603 struct go7007 *go = ((struct go7007_file *) priv)->go; local
650 struct go7007 *go = ((struct go7007_file *) priv)->go; local
668 struct go7007 *go = ((struct go7007_file *) priv)->go; local
676 struct go7007 *go = ((struct go7007_file *) priv)->go; local
688 struct go7007 *go = gofh->go; local
806 struct go7007 *go = gofh->go; local
870 struct go7007 *go = gofh->go; local
938 struct go7007 *go = gofh->go; local
966 struct go7007 *go = gofh->go; local
980 struct go7007 *go = ((struct go7007_file *) priv)->go; local
993 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1004 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1015 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1033 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1065 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1085 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1104 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1122 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1161 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1179 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1208 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1217 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1232 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1247 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1271 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1286 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1299 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1343 struct go7007 *go = ((struct go7007_file *) priv)->go; local
1731 struct go7007 *go = video_get_drvdata(vfd); local
1793 go7007_v4l2_init(struct go7007 *go) argument
1822 go7007_v4l2_remove(struct go7007 *go) argument
[all...]
H A Dgo7007-priv.h105 int (*interface_reset)(struct go7007 *go);
106 int (*write_interrupt)(struct go7007 *go, int addr, int data);
107 int (*read_interrupt)(struct go7007 *go);
108 int (*stream_start)(struct go7007 *go);
109 int (*stream_stop)(struct go7007 *go);
110 int (*send_firmware)(struct go7007 *go, u8 *data, int len);
111 int (*send_command)(struct go7007 *go, unsigned int cmd, void *arg);
119 struct go7007 *go; /* Reverse reference for VMA ops */ member in struct:go7007_buffer
136 struct go7007 *go; member in struct:go7007_file
230 void (*audio_deliver)(struct go7007 *go, u
[all...]
/drivers/misc/
H A Dhpilo.c187 int active = 0, go = 1; local
192 go << CTRL_BITPOS_G;
/drivers/block/paride/
H A Dpcd.c47 go more slowly. -1 sets a default value that
354 static int pcd_wait(struct pcd_unit *cd, int go, int stop, char *fun, char *msg) argument
359 while ((((r = status_reg(cd)) & go) || (stop && (!(r & stop))))
H A Dpg.c81 go more slowly. -1 sets a default value that
287 static int pg_wait(struct pg *dev, int go, int stop, unsigned long tmo, char *msg) argument
294 while ((((r = status_reg(dev)) & go) || (stop && (!(r & stop))))
H A Dpt.c58 go more slowly. -1 sets a default value that
271 static int pt_wait(struct pt_unit *tape, int go, int stop, char *fun, char *msg) argument
277 while ((((r = status_reg(pi)) & go) || (stop && (!(r & stop))))
H A Dpf.c56 go more slowly. -1 sets a default value that
403 static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg) argument
408 while ((((r = status_reg(pf)) & go) || (stop && (!(r & stop))))
/drivers/net/wireless/ath/ath5k/
H A Dphy.c485 const struct ath5k_gain_opt *go; local
494 go = &rfgain_opt_5112;
498 g_step = &go->go_step[ah->ah_gain.g_step_idx];
608 const struct ath5k_gain_opt *go; local
614 go = &rfgain_opt_5111;
617 go = &rfgain_opt_5112;
623 g_step = &go->go_step[ah->ah_gain.g_step_idx];
634 g_step = &go->go_step[ah->ah_gain.g_step_idx])
636 (go->go_step[--(ah->ah_gain.g_step_idx)].gos_gain -
646 if (ah->ah_gain.g_step_idx == (go
819 const struct ath5k_gain_opt *go = NULL; local
[all...]
/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.h652 /*0*/ struct sym_actscr go; member in struct:sym_ccbh
/drivers/dma/
H A Dpl330.c1163 struct _arg_GO go; local
1201 go.chan = thrd->id;
1202 go.addr = req->mc_bus;
1203 go.ns = ns;
1204 _emit_GO(0, insn, &go);

Completed in 355 milliseconds