Home
last modified time | relevance | path

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

12345678910>>...123

/Linux-v5.15/drivers/media/usb/go7007/
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 …]
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 …]
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 …]
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 …]
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 …]
Dgo7007-i2c.c38 static int go7007_i2c_xfer(struct go7007 *go, u16 addr, int read, in go7007_i2c_xfer() argument
44 if (go->status == STATUS_SHUTDOWN) in go7007_i2c_xfer()
49 dev_dbg(go->dev, "go7007-i2c: reading 0x%02x on 0x%02x\n", in go7007_i2c_xfer()
52 dev_dbg(go->dev, in go7007_i2c_xfer()
57 mutex_lock(&go->hw_lock); in go7007_i2c_xfer()
59 if (go->board_id == GO7007_BOARDID_ADLINK_MPG24) { in go7007_i2c_xfer()
62 go7007_write_addr(go, 0x3c82, 0x0020); in go7007_i2c_xfer()
67 if (go7007_read_addr(go, STATUS_REG_ADDR, &val) < 0) in go7007_i2c_xfer()
74 dev_err(go->dev, "go7007-i2c: I2C adapter is hung\n"); in go7007_i2c_xfer()
79 go7007_write_addr(go, I2C_CTRL_REG_ADDR, flags); in go7007_i2c_xfer()
[all …]
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 …]
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-v5.15/drivers/media/pci/saa7134/
Dsaa7134-go7007.c136 static int saa7134_go7007_interface_reset(struct go7007 *go) in saa7134_go7007_interface_reset() argument
138 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_interface_reset()
172 if (go7007_read_interrupt(go, &intr_val, &intr_data) < 0 || in saa7134_go7007_interface_reset()
180 static int saa7134_go7007_write_interrupt(struct go7007 *go, int addr, int data) in saa7134_go7007_write_interrupt() argument
182 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_write_interrupt()
208 static int saa7134_go7007_read_interrupt(struct go7007 *go) in saa7134_go7007_read_interrupt() argument
210 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_read_interrupt()
214 go->interrupt_available = 1; in saa7134_go7007_read_interrupt()
215 gpio_read(dev, HPI_ADDR_INTR_RET_VALUE, &go->interrupt_value); in saa7134_go7007_read_interrupt()
216 gpio_read(dev, HPI_ADDR_INTR_RET_DATA, &go->interrupt_data); in saa7134_go7007_read_interrupt()
[all …]
/Linux-v5.15/drivers/net/ethernet/intel/
DKconfig47 adapters. For more information on how to identify your adapter, go
67 identify your adapter, go to the Adapter & Driver ID Guide that
95 adapters. For more information on how to identify your adapter, go
131 information on how to identify your adapter, go to the Adapter &
148 instead. For more information on how to identify your adapter, go
167 adapters. For more information on how to identify your adapter, go
220 adapter, go to the Adapter & Driver ID Guide that can be located at:
247 devices. For more information on how to identify your adapter, go
280 information on how to identify your adapter, go to the Adapter
305 devices. For more information on how to identify your adapter, go
[all …]
/Linux-v5.15/drivers/video/console/
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-v5.15/drivers/clk/rockchip/
Dclk.h463 df, go, gs, gf) \ argument
478 .gate_offset = go, \
484 mf, do, ds, dw, df, go, gs, gf) \ argument
500 .gate_offset = go, \
506 go, gs, gf) \ argument
518 .gate_offset = go, \
524 df, dt, go, gs, gf) \ argument
537 .gate_offset = go, \
543 go, gs, gf) \ argument
555 .gate_offset = go, \
[all …]
/Linux-v5.15/drivers/s390/char/
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()
Dsclp_early_core.c93 struct go *go; in sclp_early_print_lm() local
124 go = &mdb->go; in sclp_early_print_lm()
125 go->length = sizeof(*go); in sclp_early_print_lm()
126 go->type = 1; in sclp_early_print_lm()
Dsclp_rw.h24 struct go { struct
48 struct go go; argument
/Linux-v5.15/arch/powerpc/lib/
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 */
Dmemcpy_power7.S132 /* Up to 127B to go */
156 /* Up to 63B to go */
169 /* Up to 31B to go */
180 /* Up to 15B to go */
247 lis r8,0x8000 /* GO=1 */
255 dcbt 0,r8,0b01010 /* GO */
378 /* Up to 127B to go */
409 /* Up to 15B to go */
572 /* Up to 127B to go */
610 /* Up to 15B to go */
/Linux-v5.15/Documentation/power/
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-v5.15/Documentation/watchdog/
Dconvert_drivers_to_kernel_api.rst20 go. Only very few driver-specific details have to be moved to other functions.
24 close preparations) can simply go. Device specific stuff needs to go to the
31 - write: Can simply go, all defined behaviour is taken care of by the framework,
86 refactoring. The rest can go.
188 can go, though. This will likely be some code in open(), close() or write().
/Linux-v5.15/arch/x86/entry/vdso/
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-v5.15/arch/m68k/fpsp040/
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 …]
/Linux-v5.15/Documentation/devicetree/bindings/pwm/
Dpwm-tipwmss.txt33 /* child nodes go here */
46 /* child nodes go here */
57 /* child nodes go here */
/Linux-v5.15/arch/powerpc/kernel/
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 */
/Linux-v5.15/fs/xfs/libxfs/
Dxfs_rtbitmap.c163 * Go on to previous block if that's where the previous word is in xfs_rtfind_back()
180 * Go on to the previous word in the buffer. in xfs_rtfind_back()
209 * Go on to previous block if that's where the previous word is in xfs_rtfind_back()
226 * Go on to the previous word in the buffer. in xfs_rtfind_back()
337 * Go on to next block if that's where the next word is in xfs_rtfind_forw()
353 * Go on to the previous word in the buffer. in xfs_rtfind_forw()
382 * Go on to next block if that's where the next word is in xfs_rtfind_forw()
398 * Go on to the next word in the buffer. in xfs_rtfind_forw()
592 * Go on to the next block if that's where the next word is in xfs_rtmodify_range()
611 * Go on to the next word in the buffer in xfs_rtmodify_range()
[all …]
/Linux-v5.15/tools/testing/selftests/powerpc/copyloops/
Dmemcpy_power7.S132 /* Up to 127B to go */
156 /* Up to 63B to go */
169 /* Up to 31B to go */
180 /* Up to 15B to go */
247 lis r8,0x8000 /* GO=1 */
255 dcbt 0,r8,0b01010 /* GO */
378 /* Up to 127B to go */
409 /* Up to 15B to go */
572 /* Up to 127B to go */
610 /* Up to 15B to go */

12345678910>>...123