Home
last modified time | relevance | path

Searched refs:go (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/linux-3.4.99/drivers/staging/media/go7007/
Dgo7007-driver.c46 int go7007_read_interrupt(struct go7007 *go, u16 *value, u16 *data) in go7007_read_interrupt() argument
48 go->interrupt_available = 0; in go7007_read_interrupt()
49 go->hpi_ops->read_interrupt(go); in go7007_read_interrupt()
50 if (wait_event_timeout(go->interrupt_waitq, in go7007_read_interrupt()
51 go->interrupt_available, 5*HZ) < 0) { in go7007_read_interrupt()
52 v4l2_err(&go->v4l2_dev, "timeout waiting for read interrupt\n"); in go7007_read_interrupt()
55 if (!go->interrupt_available) in go7007_read_interrupt()
57 go->interrupt_available = 0; in go7007_read_interrupt()
58 *value = go->interrupt_value & 0xfffe; in go7007_read_interrupt()
59 *data = go->interrupt_data; in go7007_read_interrupt()
[all …]
Dgo7007-v4l2.c68 static void abort_queued(struct go7007 *go) in abort_queued() argument
72 list_for_each_entry_safe(gobuf, next, &go->stream, stream) { in abort_queued()
77 static int go7007_streamoff(struct go7007 *go) in go7007_streamoff() argument
82 mutex_lock(&go->hw_lock); in go7007_streamoff()
83 if (go->streaming) { in go7007_streamoff()
84 go->streaming = 0; in go7007_streamoff()
85 go7007_stream_stop(go); in go7007_streamoff()
86 spin_lock_irqsave(&go->spinlock, flags); in go7007_streamoff()
87 abort_queued(go); in go7007_streamoff()
88 spin_unlock_irqrestore(&go->spinlock, flags); in go7007_streamoff()
[all …]
Dgo7007-fw.c301 static int mjpeg_frame_header(struct go7007 *go, unsigned char *buf, int q) in mjpeg_frame_header() argument
321 buf[p++] = go->height >> 8; in mjpeg_frame_header()
322 buf[p++] = go->height & 0xff; in mjpeg_frame_header()
323 buf[p++] = go->width >> 8; in mjpeg_frame_header()
324 buf[p++] = go->width & 0xff; in mjpeg_frame_header()
376 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) in gen_mjpeghdr_to_package() argument
391 mjpeg_frame_header(go, buf + size, i); in gen_mjpeghdr_to_package()
394 chunk = mjpeg_frame_header(go, buf + size, 1); in gen_mjpeghdr_to_package()
430 static int mpeg1_frame_header(struct go7007 *go, unsigned char *buf, in mpeg1_frame_header() argument
434 int rows = go->interlace_coding ? go->height / 32 : go->height / 16; in mpeg1_frame_header()
[all …]
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
136 struct go7007 *go; member
230 void (*audio_deliver)(struct go7007 *go, u8 *buf, int length);
[all …]
Dgo7007-i2c.c52 static int go7007_i2c_xfer(struct go7007 *go, u16 addr, int read, in go7007_i2c_xfer() argument
58 if (go->status == STATUS_SHUTDOWN) in go7007_i2c_xfer()
71 mutex_lock(&go->hw_lock); in go7007_i2c_xfer()
73 if (go->board_id == GO7007_BOARDID_ADLINK_MPG24) { in go7007_i2c_xfer()
76 go7007_write_addr(go, 0x3c82, 0x0020); in go7007_i2c_xfer()
81 if (go7007_read_addr(go, STATUS_REG_ADDR, &val) < 0) in go7007_i2c_xfer()
93 go7007_write_addr(go, I2C_CTRL_REG_ADDR, flags); in go7007_i2c_xfer()
94 go7007_write_addr(go, I2C_LO_ADDR_REG_ADDR, command); in go7007_i2c_xfer()
98 go7007_write_addr(go, I2C_DATA_REG_ADDR, *data); in go7007_i2c_xfer()
99 go7007_write_addr(go, I2C_DEV_UP_ADDR_REG_ADDR, in go7007_i2c_xfer()
[all …]
Dgo7007-usb.c557 static int go7007_usb_vendor_request(struct go7007 *go, int request, in go7007_usb_vendor_request() argument
560 struct go7007_usb *usb = go->hpi_context; in go7007_usb_vendor_request()
576 static int go7007_usb_interface_reset(struct go7007 *go) in go7007_usb_interface_reset() argument
578 struct go7007_usb *usb = go->hpi_context; in go7007_usb_interface_reset()
582 if (go7007_write_interrupt(go, 0x0001, 0x0001) < 0) in go7007_usb_interface_reset()
591 if (go7007_usb_vendor_request(go, 0x10, 0, 0, NULL, 0, 0) < 0 || in go7007_usb_interface_reset()
592 go7007_usb_vendor_request(go, 0x10, 0, 0, NULL, 0, 0) < 0) in go7007_usb_interface_reset()
596 if (go7007_write_interrupt(go, 0x0001, 0x0001) < 0) in go7007_usb_interface_reset()
602 if (go7007_read_interrupt(go, &intr_val, &intr_data) < 0 || in go7007_usb_interface_reset()
611 static int go7007_usb_ezusb_write_interrupt(struct go7007 *go, in go7007_usb_ezusb_write_interrupt() argument
[all …]
Dsaa7134-go7007.c141 static int saa7134_go7007_interface_reset(struct go7007 *go) in saa7134_go7007_interface_reset() argument
143 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_interface_reset()
178 if (go7007_read_interrupt(go, &intr_val, &intr_data) < 0 || in saa7134_go7007_interface_reset()
187 static int saa7134_go7007_write_interrupt(struct go7007 *go, int addr, int data) in saa7134_go7007_write_interrupt() argument
189 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_write_interrupt()
217 static int saa7134_go7007_read_interrupt(struct go7007 *go) in saa7134_go7007_read_interrupt() argument
219 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_read_interrupt()
223 go->interrupt_available = 1; in saa7134_go7007_read_interrupt()
224 gpio_read(dev, HPI_ADDR_INTR_RET_VALUE, &go->interrupt_value); in saa7134_go7007_read_interrupt()
225 gpio_read(dev, HPI_ADDR_INTR_RET_DATA, &go->interrupt_data); in saa7134_go7007_read_interrupt()
[all …]
Dsnd-go7007.c78 static void parse_audio_stream_data(struct go7007 *go, u8 *buf, int length) in parse_audio_stream_data() argument
80 struct go7007_snd *gosnd = go->snd_context; in parse_audio_stream_data()
114 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_hw_params() local
125 go->audio_deliver = parse_audio_stream_data; in go7007_snd_hw_params()
131 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_hw_free() local
133 go->audio_deliver = NULL; in go7007_snd_hw_free()
142 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_capture_open() local
143 struct go7007_snd *gosnd = go->snd_context; in go7007_snd_capture_open()
160 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_capture_close() local
161 struct go7007_snd *gosnd = go->snd_context; in go7007_snd_capture_close()
[all …]
Ds2250-board.c137 static int go7007_usb_vendor_request(struct go7007 *go, u16 request, in go7007_usb_vendor_request() argument
140 struct go7007_usb *usb = go->hpi_context; in go7007_usb_vendor_request()
159 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg() local
165 if (go == NULL) in write_reg()
168 if (go->status == STATUS_SHUTDOWN) in write_reg()
175 usb = go->hpi_context; in write_reg()
181 rc = go7007_usb_vendor_request(go, 0x55, dev_addr, in write_reg()
193 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg_fp() local
199 if (go == NULL) in write_reg_fp()
202 if (go->status == STATUS_SHUTDOWN) in write_reg_fp()
[all …]
/linux-3.4.99/drivers/video/console/
Dnewport_con.c58 (regs)->go.zpattern = BMASK((cp)[0x0]); (regs)->go.zpattern = BMASK((cp)[0x1]); \
59 (regs)->go.zpattern = BMASK((cp)[0x2]); (regs)->go.zpattern = BMASK((cp)[0x3]); \
60 (regs)->go.zpattern = BMASK((cp)[0x4]); (regs)->go.zpattern = BMASK((cp)[0x5]); \
61 (regs)->go.zpattern = BMASK((cp)[0x6]); (regs)->go.zpattern = BMASK((cp)[0x7]); \
62 (regs)->go.zpattern = BMASK((cp)[0x8]); (regs)->go.zpattern = BMASK((cp)[0x9]); \
63 (regs)->go.zpattern = BMASK((cp)[0xa]); (regs)->go.zpattern = BMASK((cp)[0xb]); \
64 (regs)->go.zpattern = BMASK((cp)[0xc]); (regs)->go.zpattern = BMASK((cp)[0xd]); \
65 (regs)->go.zpattern = BMASK((cp)[0xe]); (regs)->go.zpattern = BMASK((cp)[0xf]); \
82 npregs->go.xyendi = in newport_render_background()
128 npregs->go.hostrw0 = *data++ << 24; in newport_show_logo()
[all …]
/linux-3.4.99/drivers/net/ethernet/intel/
DKconfig57 adapters. For more information on how to identify your adapter, go
62 For general information and support, go to the Intel support
81 identify your adapter, go to the Adapter & Driver ID Guide at:
85 For general information and support, go to the Intel support
98 adapters. For more information on how to identify your adapter, go
103 For general information and support, go to the Intel support
128 information on how to identify your adapter, go to the Adapter &
133 For general information and support, go to the Intel support
150 instead. For more information on how to identify your adapter, go
155 For general information and support, go to the Intel support
[all …]
/linux-3.4.99/drivers/s390/char/
Dsclp_rw.h23 struct go { struct
47 struct go go; argument
Dsclp_rw.c76 sccb->msg_buf.mdb.go.length = sizeof(struct go); in sclp_make_buffer()
77 sccb->msg_buf.mdb.go.type = 1; in sclp_make_buffer()
221 buffer->sccb->msg_buf.mdb.go.general_msg_flags |= in sclp_write()
/linux-3.4.99/Documentation/power/
Dtricks.txt7 * go with minimal config, turn off drivers like USB, AGP you don't
12 * use ext2. At least it has working fsck. [If something seems to go
20 * try running as few processes as possible, preferably go to single
/linux-3.4.99/arch/ia64/kernel/
Dsmpboot.c118 static volatile unsigned long go[SLAVE + 1]; variable
210 go[MASTER] = 0; in sync_master()
215 while (!go[MASTER]) in sync_master()
217 go[MASTER] = 0; in sync_master()
218 go[SLAVE] = ia64_get_itc(); in sync_master()
238 go[MASTER] = 1; in get_delta()
239 while (!(tm = go[SLAVE])) in get_delta()
241 go[SLAVE] = 0; in get_delta()
312 go[MASTER] = 1; in ia64_sync_itc()
319 while (go[MASTER]) in ia64_sync_itc()
/linux-3.4.99/kernel/power/
Dswap.c490 wait_queue_head_t go; /* start crc update */ member
506 wait_event(d->go, atomic_read(&d->ready) || in crc32_threadfn()
532 wait_queue_head_t go; /* start compression */ member
549 wait_event(d->go, atomic_read(&d->ready) || in lzo_compress_threadfn()
613 memset(&data[thr], 0, offsetof(struct cmp_data, go)); in save_image_lzo()
621 memset(crc, 0, offsetof(struct crc_data, go)); in save_image_lzo()
627 init_waitqueue_head(&data[thr].go); in save_image_lzo()
645 init_waitqueue_head(&crc->go); in save_image_lzo()
703 wake_up(&data[thr].go); in save_image_lzo()
711 wake_up(&crc->go); in save_image_lzo()
[all …]
/linux-3.4.99/Documentation/networking/
Dixgbevf.txt30 For more information on how to identify your adapter, go to the Adapter &
33 http://support.intel.com/support/go/network/adapter/idguide.htm
42 For general information, go to the Intel support website at:
Digbvf.txt44 For more information on how to identify your adapter, go to the Adapter &
47 http://support.intel.com/support/go/network/adapter/idguide.htm
70 For general information, go to the Intel support website at:
/linux-3.4.99/arch/sparc/kernel/
Dsmp_64.c155 static unsigned long go[SLAVE + 1]; variable
167 go[MASTER] = 1; in get_delta()
169 while (!(tm = go[SLAVE])) in get_delta()
171 go[SLAVE] = 0; in get_delta()
202 go[MASTER] = 1; in smp_synchronize_tick_client()
204 while (go[MASTER]) in smp_synchronize_tick_client()
250 go[MASTER] = 0; in smp_synchronize_one_tick()
255 while (!go[MASTER]) in smp_synchronize_one_tick()
259 go[MASTER] = 0; in smp_synchronize_one_tick()
265 while (!go[MASTER]) in smp_synchronize_one_tick()
[all …]
/linux-3.4.99/sound/oss/
Ddmabuf.c314 adev->go = 1; in DMAbuf_open()
402 if (!((adev->enable_bits * adev->go) & PCM_ENABLE_OUTPUT)) in DMAbuf_launch_output()
421 adev->d->trigger(dev,adev->enable_bits * adev->go); in DMAbuf_launch_output()
433 if (!adev->go && !(adev->enable_bits & PCM_ENABLE_OUTPUT)) in DMAbuf_sync()
548 adev->d->trigger(dev, adev->enable_bits * adev->go); in DMAbuf_activate_recording()
559 int go; in DMAbuf_getrdbuffer() local
572 if (!(adev->enable_bits & PCM_ENABLE_INPUT) || !adev->go) { in DMAbuf_getrdbuffer()
586 if ((go = adev->go)) in DMAbuf_getrdbuffer()
702 if (adev->go) in DMAbuf_start_devices()
705 adev->go = 1; in DMAbuf_start_devices()
[all …]
/linux-3.4.99/arch/m68k/fpsp040/
Dsacos.S23 | 1. If |X| >= 1, go to 3.
30 | 3. If |X| > 1, go to 5.
Dstwotox.S25 | 1. If |X| > 16480, go to ExpBig.
27 | 2. If |X| < 2**(-70), go to ExpSm.
38 | 1. If |X| > 16480*log_10(2) (base 10 log of 2), go to ExpBig.
40 | 2. If |X| < 2**(-70), go to ExpSm.
/linux-3.4.99/arch/alpha/lib/
Dev6-memcpy.S79 cmple $18, 127, $1 # E : Can we go through the unrolled loop?
107 subq $18, 192, $2 # E : At least two more trips to go?
195 bne $1, $aligndest # U : go until we are aligned.
234 bgt $18, $misalign_byte # U : more to go?
/linux-3.4.99/Documentation/watchdog/
Dconvert_drivers_to_kernel_api.txt18 go. Only very few driver-specific details have to be moved to other functions.
22 close preparations) can simply go. Device specific stuff needs to go to the
29 - write: Can simply go, all defined behaviour is taken care of by the framework,
84 refactoring. The rest can go.
186 can go, though. This will likely be some code in open(), close() or write().
/linux-3.4.99/arch/m32r/kernel/
Dhead.S88 beqz r4, .Lendloop1 ; any more to go?
92 bnez r4, .Lloop1 ; go do some more
96 beqz r4, .Lendloop2 ; any more to go?
101 bnez r4, .Lloop2 ; go do some more

12345678910>>...13