Home
last modified time | relevance | path

Searched full:go (Results 1 – 25 of 3145) sorted by relevance

12345678910>>...126

/linux/drivers/media/usb/go7007/
H A Dgo7007-driver.c33 int go7007_read_interrupt(struct go7007 *go, u16 *value, u16 *data) in go7007_read_interrupt() argument
35 go->interrupt_available = 0; in go7007_read_interrupt()
36 go->hpi_ops->read_interrupt(go); in go7007_read_interrupt()
37 if (wait_event_timeout(go->interrupt_waitq, in go7007_read_interrupt()
38 go->interrupt_available, 5*HZ) < 0) { in go7007_read_interrupt()
39 v4l2_err(&go->v4l2_dev, "timeout waiting for read interrupt\n"); in go7007_read_interrupt()
42 if (!go->interrupt_available) in go7007_read_interrupt()
44 go->interrupt_available = 0; in go7007_read_interrupt()
45 *value = go->interrupt_value & 0xfffe; in go7007_read_interrupt()
46 *data = go->interrupt_data; in go7007_read_interrupt()
[all …]
H A Dgo7007-v4l2.c80 static void get_resolution(struct go7007 *go, int *width, int *height) in get_resolution() argument
82 switch (go->standard) { in get_resolution()
93 *width = go->board_info->sensor_width; in get_resolution()
94 *height = go->board_info->sensor_height; in get_resolution()
99 static void set_formatting(struct go7007 *go) in set_formatting() argument
101 if (go->format == V4L2_PIX_FMT_MJPEG) { in set_formatting()
102 go->pali = 0; in set_formatting()
103 go->aspect_ratio = GO7007_RATIO_1_1; in set_formatting()
104 go->gop_size = 0; in set_formatting()
105 go->ipb = 0; in set_formatting()
[all …]
H A Dgo7007-fw.c290 static int mjpeg_frame_header(struct go7007 *go, unsigned char *buf, int q) in mjpeg_frame_header() argument
310 buf[p++] = go->height >> 8; in mjpeg_frame_header()
311 buf[p++] = go->height & 0xff; in mjpeg_frame_header()
312 buf[p++] = go->width >> 8; in mjpeg_frame_header()
313 buf[p++] = go->width & 0xff; in mjpeg_frame_header()
365 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) in gen_mjpeghdr_to_package() argument
377 mjpeg_frame_header(go, buf + size, i); in gen_mjpeghdr_to_package()
380 chunk = mjpeg_frame_header(go, buf + size, 1); in gen_mjpeghdr_to_package()
416 static int mpeg1_frame_header(struct go7007 *go, unsigned char *buf, in mpeg1_frame_header() argument
420 int rows = go->interlace_coding ? go->height / 32 : go->height / 16; in mpeg1_frame_header()
[all …]
H A Dgo7007-usb.c622 static int go7007_usb_vendor_request(struct go7007 *go, int request, in go7007_usb_vendor_request() argument
625 struct go7007_usb *usb = go->hpi_context; in go7007_usb_vendor_request()
641 static int go7007_usb_interface_reset(struct go7007 *go) in go7007_usb_interface_reset() argument
643 struct go7007_usb *usb = go->hpi_context; in go7007_usb_interface_reset()
646 if (go->status == STATUS_SHUTDOWN) in go7007_usb_interface_reset()
649 if (go7007_write_interrupt(go, 0x0001, 0x0001) < 0) in go7007_usb_interface_reset()
656 if (go7007_usb_vendor_request(go, 0x10, 0, 0, NULL, 0, 0) < 0 || in go7007_usb_interface_reset()
657 go7007_usb_vendor_request(go, 0x10, 0, 0, NULL, 0, 0) < 0) in go7007_usb_interface_reset()
661 if (go7007_write_interrupt(go, 0x0001, 0x0001) < 0) in go7007_usb_interface_reset()
667 if (go7007_read_interrupt(go, &intr_val, &intr_data) < 0 || in go7007_usb_interface_reset()
[all …]
H A Dgo7007-priv.h116 int (*interface_reset)(struct go7007 *go);
117 int (*write_interrupt)(struct go7007 *go, int addr, int data);
118 int (*read_interrupt)(struct go7007 *go);
119 int (*stream_start)(struct go7007 *go);
120 int (*stream_stop)(struct go7007 *go);
121 int (*send_firmware)(struct go7007 *go, u8 *data, int len);
122 int (*send_command)(struct go7007 *go, unsigned int cmd, void *arg);
123 void (*release)(struct go7007 *go);
237 void (*audio_deliver)(struct go7007 *go, u8 *buf, int length);
259 #define go7007_interface_reset(go) \ argument
[all …]
H A Dgo7007-i2c.c38 static inline void adlink_mpg24_i2c_lock(struct go7007 *go) in adlink_mpg24_i2c_lock() argument
42 go7007_write_addr(go, 0x3c82, 0x0020); in adlink_mpg24_i2c_lock()
45 static inline void adlink_mpg24_i2c_unlock(struct go7007 *go) in adlink_mpg24_i2c_unlock() argument
48 go7007_write_addr(go, 0x3c82, 0x0000); in adlink_mpg24_i2c_unlock()
52 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()
63 dev_dbg(go->dev, "go7007-i2c: reading 0x%02x on 0x%02x\n", in go7007_i2c_xfer()
66 dev_dbg(go->dev, 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()
[all …]
H A Dsnd-go7007.c64 static void parse_audio_stream_data(struct go7007 *go, u8 *buf, int length) in parse_audio_stream_data() argument
66 struct go7007_snd *gosnd = go->snd_context; in parse_audio_stream_data()
101 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_hw_params() local
103 go->audio_deliver = parse_audio_stream_data; in go7007_snd_hw_params()
109 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_hw_free() local
111 go->audio_deliver = NULL; in go7007_snd_hw_free()
117 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_capture_open() local
118 struct go7007_snd *gosnd = go->snd_context; in go7007_snd_capture_open()
135 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_capture_close() local
136 struct go7007_snd *gosnd = go->snd_context; in go7007_snd_capture_close()
[all …]
H A Ds2250-board.c131 static int go7007_usb_vendor_request(struct go7007 *go, u16 request, in go7007_usb_vendor_request() argument
134 struct go7007_usb *usb = go->hpi_context; in go7007_usb_vendor_request()
153 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg() local
159 if (go == NULL) in write_reg()
162 if (go->status == STATUS_SHUTDOWN) in write_reg()
169 usb = go->hpi_context; in write_reg()
175 rc = go7007_usb_vendor_request(go, 0x55, dev_addr, in write_reg()
187 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg_fp() local
193 if (go == NULL) in write_reg_fp()
196 if (go->status == STATUS_SHUTDOWN) in write_reg_fp()
[all …]
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-go7007.c131 static int saa7134_go7007_interface_reset(struct go7007 *go) in saa7134_go7007_interface_reset() argument
133 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_interface_reset()
167 if (go7007_read_interrupt(go, &intr_val, &intr_data) < 0 || in saa7134_go7007_interface_reset()
175 static int saa7134_go7007_write_interrupt(struct go7007 *go, int addr, int data) in saa7134_go7007_write_interrupt() argument
177 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_write_interrupt()
203 static int saa7134_go7007_read_interrupt(struct go7007 *go) in saa7134_go7007_read_interrupt() argument
205 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_read_interrupt()
209 go->interrupt_available = 1; in saa7134_go7007_read_interrupt()
210 gpio_read(dev, HPI_ADDR_INTR_RET_VALUE, &go->interrupt_value); in saa7134_go7007_read_interrupt()
211 gpio_read(dev, HPI_ADDR_INTR_RET_DATA, &go->interrupt_data); in saa7134_go7007_read_interrupt()
[all …]
/linux/drivers/power/reset/
H A Dodroid-go-ultra-poweroff.c16 * The Odroid Go Ultra has 2 PMICs:
135 .name = "odroid-go-ultra-poweroff",
144 /* Only create when running on the Odroid Go Ultra device */ in odroid_go_ultra_poweroff_init()
145 if (!of_device_is_compatible(of_root, "hardkernel,odroid-go-ultra")) in odroid_go_ultra_poweroff_init()
152 pdev = platform_device_register_resndata(NULL, "odroid-go-ultra-poweroff", -1, in odroid_go_ultra_poweroff_init()
165 /* Only delete when running on the Odroid Go Ultra device */ in odroid_go_ultra_poweroff_exit()
166 if (!of_device_is_compatible(of_root, "hardkernel,odroid-go-ultra")) in odroid_go_ultra_poweroff_exit()
177 MODULE_DESCRIPTION("Odroid Go Ultra poweroff driver");
/linux/drivers/video/console/
H A Dnewport_con.c55 (regs)->go.zpattern = BMASK((cp)[0x0]); (regs)->go.zpattern = BMASK((cp)[0x1]); \
56 (regs)->go.zpattern = BMASK((cp)[0x2]); (regs)->go.zpattern = BMASK((cp)[0x3]); \
57 (regs)->go.zpattern = BMASK((cp)[0x4]); (regs)->go.zpattern = BMASK((cp)[0x5]); \
58 (regs)->go.zpattern = BMASK((cp)[0x6]); (regs)->go.zpattern = BMASK((cp)[0x7]); \
59 (regs)->go.zpattern = BMASK((cp)[0x8]); (regs)->go.zpattern = BMASK((cp)[0x9]); \
60 (regs)->go.zpattern = BMASK((cp)[0xa]); (regs)->go.zpattern = BMASK((cp)[0xb]); \
61 (regs)->go.zpattern = BMASK((cp)[0xc]); (regs)->go.zpattern = BMASK((cp)[0xd]); \
62 (regs)->go.zpattern = BMASK((cp)[0xe]); (regs)->go.zpattern = BMASK((cp)[0xf]); \
79 npregs->go.xyendi = in newport_render_background()
125 npregs->go.hostrw0 = *data++ << 24; in newport_show_logo()
[all …]
/linux/drivers/net/ethernet/intel/
H A DKconfig50 adapters. For more information on how to identify your adapter, go
70 identify your adapter, go to the Adapter & Driver ID Guide that
98 adapters. For more information on how to identify your adapter, go
134 information on how to identify your adapter, go to the Adapter &
153 adapters. For more information on how to identify your adapter, go
206 adapter, go to the Adapter & Driver ID Guide that can be located at:
235 devices. For more information on how to identify your adapter, go
270 information on how to identify your adapter, go to the Adapter
298 devices. For more information on how to identify your adapter, go
352 go to the Adapter & Driver ID Guide that can be located at:
[all …]
/linux/drivers/s390/char/
H A Dsclp_rw.c88 struct go *go; in sclp_initialize_mto() local
111 go = &mdb->go; in sclp_initialize_mto()
112 go->length = sizeof(struct go); in sclp_initialize_mto()
113 go->type = 1; in sclp_initialize_mto()
217 buffer->current_msg->mdb.go.general_msg_flags |= in sclp_write()
228 /* "go to (next htab-boundary + 1, same line)" */ in sclp_write()
239 /* "go to (actual column, actual line + 1)" */ in sclp_write()
261 /* "go to (actual column - 1, actual line)" */ in sclp_write()
H A Dsclp_early_core.c94 struct go *go; in sclp_early_print_lm() local
125 go = &mdb->go; in sclp_early_print_lm()
126 go->length = sizeof(*go); in sclp_early_print_lm()
127 go->type = 1; in sclp_early_print_lm()
/linux/arch/powerpc/lib/
H A Dchecksum_64.S76 * go is 16 cycles per iteration. The scheduling of the loop below has
131 .Lcsum_tail_doublewords: /* Up to 127 bytes to go */
144 .Lcsum_tail_word: /* Up to 7 bytes to go */
153 .Lcsum_tail_halfword: /* Up to 3 bytes to go */
162 .Lcsum_tail_byte: /* Up to 1 byte to go */
269 * go is 16 cycles per iteration. The scheduling of the loop below has
346 .Lcopy_tail_doublewords: /* Up to 127 bytes to go */
361 .Lcopy_tail_word: /* Up to 7 bytes to go */
372 .Lcopy_tail_halfword: /* Up to 3 bytes to go */
383 .Lcopy_tail_byte: /* Up to 1 byte to go */
/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A Devent_alternatives_tests_p9.c51 * 0x600f4. So it can go in with EventCode_1 which is using PMC2 in event_alternatives_tests_p9()
64 * 0x300f2 in PMC3. So it can go in with EventCode_2 which is using PMC2 in event_alternatives_tests_p9()
77 * 0x40036 in PMC4. So it can go in with EventCode_2 which is using PMC2 in event_alternatives_tests_p9()
90 * 0x400f0 in PMC4. So it can go in with EventCode_3 which is using PMC3 in event_alternatives_tests_p9()
103 * 0x500fa in PMC5. So it can go in with EventCode_4 which is using PMC4 in event_alternatives_tests_p9()
/linux/drivers/clk/rockchip/
H A Dclk.h604 df, go, gs, gf) \ argument
619 .gate_offset = go, \
625 mf, do, ds, dw, df, go, gs, gf) \ argument
641 .gate_offset = go, \
647 go, gs, gf) \ argument
659 .gate_offset = go, \
665 df, dt, go, gs, gf) \ argument
678 .gate_offset = go, \
684 go, gs, gf) \ argument
696 .gate_offset = go, \
[all …]
/linux/Documentation/power/
H A Dtricks.rst9 * go with minimal config, turn off drivers like USB, AGP you don't
14 * use ext2. At least it has working fsck. [If something seems to go
22 * try running as few processes as possible, preferably go to single
/linux/tools/testing/selftests/bpf/prog_tests/
H A Duprobe_syscall.c254 int pid, status, err, go[2], c; in test_uretprobe_syscall_call() local
256 if (!ASSERT_OK(pipe(go), "pipe")) in test_uretprobe_syscall_call()
269 close(go[1]); in test_uretprobe_syscall_call()
272 err = read(go[0], &c, 1); in test_uretprobe_syscall_call()
287 write(go[1], &c, 1); in test_uretprobe_syscall_call()
300 close(go[1]); in test_uretprobe_syscall_call()
301 close(go[0]); in test_uretprobe_syscall_call()
/linux/drivers/w1/masters/
H A Damd_axi_w1.c129 /* Write Go signal and clear control reset signal in control register */ in amd_axi_w1_touch_bit()
143 /* Clear Go signal in register 1 */ in amd_axi_w1_touch_bit()
172 /* Write Go signal and clear control reset signal in control register */ in amd_axi_w1_read_byte()
185 /* Clear Go signal in control register */ in amd_axi_w1_read_byte()
213 /* Write Go signal and clear control reset signal in register 1 */ in amd_axi_w1_write_byte()
224 /* Clear Go signal in control register */ in amd_axi_w1_write_byte()
253 /* Write Go signal and clear control reset signal in register 1 */ in amd_axi_w1_reset_bus()
266 /* Clear Go signal in control register */ in amd_axi_w1_reset_bus()
/linux/arch/m68k/fpsp040/
H A Ddecbin.S232 beq ap_st_z |if clear, go to append/strip zeros
290 bne ap_st_n |if neg, go to neg side
294 bnes ap_p_fx |if M16 is non-zero, go fix exp
307 bnes ap_p_fx |if non-zero, go to fix exp
315 bges ap_p_fm |if still pos, go to pwrten
338 bra pwrten |go calc pwrten
355 bnes ap_n_fx |if non-zero, go to exp fix
363 bgts ap_n_fm |if still pos, go fix mantissa
445 bras calc_p |go to init section
450 bras calc_p |go to init section
[all …]
H A Dsetox.S60 | 1.1 If |X| >= 2^(-65), go to Step 1.3.
61 | 1.2 Go to Step 7.
62 | 1.3 If |X| < 16380 log(2), go to Step 2.
63 | 1.4 Go to Step 8.
154 | 6.1 If AdjFlag = 0, go to 6.3
186 | 8.1 If |X| > 16480 log2, go to Step 9.
193 | 8.7 Go to Step 3.
197 | 9.1 If X < 0, go to 9.3
198 | 9.2 ans := Huge, go to 9.4
222 | 1.1 If |X| >= 1/4, go to Step 1.3.
[all …]
/linux/arch/x86/entry/vdso/
H A Dvdso2c.c16 * The Go runtime had a couple of bugs: it would read the section
22 * keep full performance for old Go programs). This hack is only
26 * https://code.google.com/p/go/source/detail?r=56ea40aac72b
28 * https://code.google.com/p/go/source/detail?r=fc1cd5e12595
169 static void go(void *raw_addr, size_t raw_len, in go() function
247 go(raw_addr, raw_len, stripped_addr, stripped_len, outfile, name); in main()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dpci.c822 { 0x0098, "GeForce Go 7800" },
823 { 0x0099, "GeForce Go 7800 GTX" },
830 { 0x00c8, "GeForce Go 6800" },
831 { 0x00c9, "GeForce Go 6800 Ultra" },
853 { 0x0112, "GeForce2 Go" },
854 { 0x0113, "Quadro2 MXR/EX/Go" },
859 { 0x0144, "GeForce Go 6600" },
861 { 0x0146, "GeForce Go 6600 TE/6200 TE" },
863 { 0x0148, "GeForce Go 6600" },
864 { 0x0149, "GeForce Go 6600 GT" },
[all …]
/linux/arch/powerpc/kernel/
H A Dkvm_emul.S93 /* Go back to caller */
170 /* Go back to caller */
231 /* Go back to caller */
277 /* Go back to caller */
318 /* Go back to caller */

12345678910>>...126