Home
last modified time | relevance | path

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

12345678910>>...13

/linux-2.6.39/drivers/staging/go7007/
Dgo7007-driver.c47 int go7007_read_interrupt(struct go7007 *go, u16 *value, u16 *data) in go7007_read_interrupt() argument
49 go->interrupt_available = 0; in go7007_read_interrupt()
50 go->hpi_ops->read_interrupt(go); in go7007_read_interrupt()
51 if (wait_event_timeout(go->interrupt_waitq, in go7007_read_interrupt()
52 go->interrupt_available, 5*HZ) < 0) { in go7007_read_interrupt()
53 v4l2_err(&go->v4l2_dev, "timeout waiting for read interrupt\n"); in go7007_read_interrupt()
56 if (!go->interrupt_available) in go7007_read_interrupt()
58 go->interrupt_available = 0; in go7007_read_interrupt()
59 *value = go->interrupt_value & 0xfffe; in go7007_read_interrupt()
60 *data = go->interrupt_data; in go7007_read_interrupt()
[all …]
Dgo7007-v4l2.c69 static void abort_queued(struct go7007 *go) in abort_queued() argument
73 list_for_each_entry_safe(gobuf, next, &go->stream, stream) { in abort_queued()
78 static int go7007_streamoff(struct go7007 *go) in go7007_streamoff() argument
83 mutex_lock(&go->hw_lock); in go7007_streamoff()
84 if (go->streaming) { in go7007_streamoff()
85 go->streaming = 0; in go7007_streamoff()
86 go7007_stream_stop(go); in go7007_streamoff()
87 spin_lock_irqsave(&go->spinlock, flags); in go7007_streamoff()
88 abort_queued(go); in go7007_streamoff()
89 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.c53 static int go7007_i2c_xfer(struct go7007 *go, u16 addr, int read, in go7007_i2c_xfer() argument
59 if (go->status == STATUS_SHUTDOWN) in go7007_i2c_xfer()
72 mutex_lock(&go->hw_lock); in go7007_i2c_xfer()
74 if (go->board_id == GO7007_BOARDID_ADLINK_MPG24) { in go7007_i2c_xfer()
77 go7007_write_addr(go, 0x3c82, 0x0020); in go7007_i2c_xfer()
82 if (go7007_read_addr(go, STATUS_REG_ADDR, &val) < 0) in go7007_i2c_xfer()
94 go7007_write_addr(go, I2C_CTRL_REG_ADDR, flags); in go7007_i2c_xfer()
95 go7007_write_addr(go, I2C_LO_ADDR_REG_ADDR, command); in go7007_i2c_xfer()
99 go7007_write_addr(go, I2C_DATA_REG_ADDR, *data); in go7007_i2c_xfer()
100 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.c79 static void parse_audio_stream_data(struct go7007 *go, u8 *buf, int length) in parse_audio_stream_data() argument
81 struct go7007_snd *gosnd = go->snd_context; in parse_audio_stream_data()
115 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_hw_params() local
126 go->audio_deliver = parse_audio_stream_data; in go7007_snd_hw_params()
132 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_hw_free() local
134 go->audio_deliver = NULL; in go7007_snd_hw_free()
143 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_capture_open() local
144 struct go7007_snd *gosnd = go->snd_context; in go7007_snd_capture_open()
161 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_capture_close() local
162 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
198 if (go == NULL) in write_reg_fp()
201 if (go->status == STATUS_SHUTDOWN) in write_reg_fp()
[all …]
/linux-2.6.39/drivers/video/console/
Dnewport_con.c60 (regs)->go.zpattern = BMASK((cp)[0x0]); (regs)->go.zpattern = BMASK((cp)[0x1]); \
61 (regs)->go.zpattern = BMASK((cp)[0x2]); (regs)->go.zpattern = BMASK((cp)[0x3]); \
62 (regs)->go.zpattern = BMASK((cp)[0x4]); (regs)->go.zpattern = BMASK((cp)[0x5]); \
63 (regs)->go.zpattern = BMASK((cp)[0x6]); (regs)->go.zpattern = BMASK((cp)[0x7]); \
64 (regs)->go.zpattern = BMASK((cp)[0x8]); (regs)->go.zpattern = BMASK((cp)[0x9]); \
65 (regs)->go.zpattern = BMASK((cp)[0xa]); (regs)->go.zpattern = BMASK((cp)[0xb]); \
66 (regs)->go.zpattern = BMASK((cp)[0xc]); (regs)->go.zpattern = BMASK((cp)[0xd]); \
67 (regs)->go.zpattern = BMASK((cp)[0xe]); (regs)->go.zpattern = BMASK((cp)[0xf]); \
84 npregs->go.xyendi = in newport_render_background()
130 npregs->go.hostrw0 = *data++ << 24; in newport_show_logo()
[all …]
/linux-2.6.39/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-2.6.39/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-2.6.39/arch/ia64/kernel/
Dsmpboot.c119 static volatile unsigned long go[SLAVE + 1]; variable
211 go[MASTER] = 0; in sync_master()
216 while (!go[MASTER]) in sync_master()
218 go[MASTER] = 0; in sync_master()
219 go[SLAVE] = ia64_get_itc(); in sync_master()
239 go[MASTER] = 1; in get_delta()
240 while (!(tm = go[SLAVE])) in get_delta()
242 go[SLAVE] = 0; in get_delta()
313 go[MASTER] = 1; in ia64_sync_itc()
320 while (go[MASTER]) in ia64_sync_itc()
/linux-2.6.39/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:
Digb.txt20 For specific information on how to identify your adapter, go to the Adapter &
23 http://support.intel.com/support/go/network/adapter/idguide.htm
99 For general information, go to the Intel support website at:
/linux-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/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?
Dev6-clear_user.S184 # $1 is the number of quadwords left to go.
189 beq $1, $trailbytes # U .. .. .. : U L U L : Only 0..7 bytes to go
202 # We have an unknown number of bytes left to go.
/linux-2.6.39/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
/linux-2.6.39/Documentation/hwmon/
Damc682164 pwm1 = pwm1_auto_point2_pwm. It can go from
69 speed. It can go from temp1_auto_point2_temp.
81 pwm1 = pwm1_auto_point2_pwm. It can go from

12345678910>>...13