Home
last modified time | relevance | path

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

12

/drivers/media/usb/go7007/
Dgo7007-driver.c41 int go7007_read_interrupt(struct go7007 *go, u16 *value, u16 *data) in go7007_read_interrupt() argument
43 go->interrupt_available = 0; in go7007_read_interrupt()
44 go->hpi_ops->read_interrupt(go); in go7007_read_interrupt()
45 if (wait_event_timeout(go->interrupt_waitq, in go7007_read_interrupt()
46 go->interrupt_available, 5*HZ) < 0) { in go7007_read_interrupt()
47 v4l2_err(&go->v4l2_dev, "timeout waiting for read interrupt\n"); in go7007_read_interrupt()
50 if (!go->interrupt_available) in go7007_read_interrupt()
52 go->interrupt_available = 0; in go7007_read_interrupt()
53 *value = go->interrupt_value & 0xfffe; in go7007_read_interrupt()
54 *data = go->interrupt_data; in go7007_read_interrupt()
[all …]
Dgo7007-v4l2.c88 static void get_resolution(struct go7007 *go, int *width, int *height) in get_resolution() argument
90 switch (go->standard) { in get_resolution()
101 *width = go->board_info->sensor_width; in get_resolution()
102 *height = go->board_info->sensor_height; in get_resolution()
107 static void set_formatting(struct go7007 *go) in set_formatting() argument
109 if (go->format == V4L2_PIX_FMT_MJPEG) { in set_formatting()
110 go->pali = 0; in set_formatting()
111 go->aspect_ratio = GO7007_RATIO_1_1; in set_formatting()
112 go->gop_size = 0; in set_formatting()
113 go->ipb = 0; in set_formatting()
[all …]
Dgo7007-fw.c298 static int mjpeg_frame_header(struct go7007 *go, unsigned char *buf, int q) in mjpeg_frame_header() argument
318 buf[p++] = go->height >> 8; in mjpeg_frame_header()
319 buf[p++] = go->height & 0xff; in mjpeg_frame_header()
320 buf[p++] = go->width >> 8; in mjpeg_frame_header()
321 buf[p++] = go->width & 0xff; in mjpeg_frame_header()
373 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) in gen_mjpeghdr_to_package() argument
385 mjpeg_frame_header(go, buf + size, i); in gen_mjpeghdr_to_package()
388 chunk = mjpeg_frame_header(go, buf + size, 1); in gen_mjpeghdr_to_package()
424 static int mpeg1_frame_header(struct go7007 *go, unsigned char *buf, in mpeg1_frame_header() argument
428 int rows = go->interlace_coding ? go->height / 32 : go->height / 16; in mpeg1_frame_header()
[all …]
Dgo7007-usb.c630 static int go7007_usb_vendor_request(struct go7007 *go, int request, in go7007_usb_vendor_request() argument
633 struct go7007_usb *usb = go->hpi_context; in go7007_usb_vendor_request()
649 static int go7007_usb_interface_reset(struct go7007 *go) in go7007_usb_interface_reset() argument
651 struct go7007_usb *usb = go->hpi_context; in go7007_usb_interface_reset()
654 if (go->status == STATUS_SHUTDOWN) in go7007_usb_interface_reset()
657 if (go7007_write_interrupt(go, 0x0001, 0x0001) < 0) in go7007_usb_interface_reset()
664 if (go7007_usb_vendor_request(go, 0x10, 0, 0, NULL, 0, 0) < 0 || in go7007_usb_interface_reset()
665 go7007_usb_vendor_request(go, 0x10, 0, 0, NULL, 0, 0) < 0) in go7007_usb_interface_reset()
669 if (go7007_write_interrupt(go, 0x0001, 0x0001) < 0) in go7007_usb_interface_reset()
675 if (go7007_read_interrupt(go, &intr_val, &intr_data) < 0 || in go7007_usb_interface_reset()
[all …]
Dgo7007-priv.h124 int (*interface_reset)(struct go7007 *go);
125 int (*write_interrupt)(struct go7007 *go, int addr, int data);
126 int (*read_interrupt)(struct go7007 *go);
127 int (*stream_start)(struct go7007 *go);
128 int (*stream_stop)(struct go7007 *go);
129 int (*send_firmware)(struct go7007 *go, u8 *data, int len);
130 int (*send_command)(struct go7007 *go, unsigned int cmd, void *arg);
131 void (*release)(struct go7007 *go);
245 void (*audio_deliver)(struct go7007 *go, u8 *buf, int length);
267 #define go7007_interface_reset(go) \ argument
[all …]
Dgo7007-i2c.c46 static int go7007_i2c_xfer(struct go7007 *go, u16 addr, int read, in go7007_i2c_xfer() argument
52 if (go->status == STATUS_SHUTDOWN) in go7007_i2c_xfer()
57 dev_dbg(go->dev, "go7007-i2c: reading 0x%02x on 0x%02x\n", in go7007_i2c_xfer()
60 dev_dbg(go->dev, in go7007_i2c_xfer()
65 mutex_lock(&go->hw_lock); in go7007_i2c_xfer()
67 if (go->board_id == GO7007_BOARDID_ADLINK_MPG24) { in go7007_i2c_xfer()
70 go7007_write_addr(go, 0x3c82, 0x0020); in go7007_i2c_xfer()
75 if (go7007_read_addr(go, STATUS_REG_ADDR, &val) < 0) in go7007_i2c_xfer()
82 dev_err(go->dev, "go7007-i2c: I2C adapter is hung\n"); in go7007_i2c_xfer()
87 go7007_write_addr(go, I2C_CTRL_REG_ADDR, flags); in go7007_i2c_xfer()
[all …]
Dsnd-go7007.c73 static void parse_audio_stream_data(struct go7007 *go, u8 *buf, int length) in parse_audio_stream_data() argument
75 struct go7007_snd *gosnd = go->snd_context; in parse_audio_stream_data()
109 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_hw_params() local
120 go->audio_deliver = parse_audio_stream_data; in go7007_snd_hw_params()
126 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_hw_free() local
128 go->audio_deliver = NULL; in go7007_snd_hw_free()
137 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_capture_open() local
138 struct go7007_snd *gosnd = go->snd_context; in go7007_snd_capture_open()
155 struct go7007 *go = snd_pcm_substream_chip(substream); in go7007_snd_capture_close() local
156 struct go7007_snd *gosnd = go->snd_context; in go7007_snd_capture_close()
[all …]
Ds2250-board.c139 static int go7007_usb_vendor_request(struct go7007 *go, u16 request, in go7007_usb_vendor_request() argument
142 struct go7007_usb *usb = go->hpi_context; in go7007_usb_vendor_request()
161 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg() local
167 if (go == NULL) in write_reg()
170 if (go->status == STATUS_SHUTDOWN) in write_reg()
177 usb = go->hpi_context; in write_reg()
183 rc = go7007_usb_vendor_request(go, 0x55, dev_addr, in write_reg()
195 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg_fp() local
201 if (go == NULL) in write_reg_fp()
204 if (go->status == STATUS_SHUTDOWN) in write_reg_fp()
[all …]
/drivers/media/pci/saa7134/
Dsaa7134-go7007.c144 static int saa7134_go7007_interface_reset(struct go7007 *go) in saa7134_go7007_interface_reset() argument
146 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_interface_reset()
180 if (go7007_read_interrupt(go, &intr_val, &intr_data) < 0 || in saa7134_go7007_interface_reset()
188 static int saa7134_go7007_write_interrupt(struct go7007 *go, int addr, int data) in saa7134_go7007_write_interrupt() argument
190 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_write_interrupt()
216 static int saa7134_go7007_read_interrupt(struct go7007 *go) in saa7134_go7007_read_interrupt() argument
218 struct saa7134_go7007 *saa = go->hpi_context; in saa7134_go7007_read_interrupt()
222 go->interrupt_available = 1; in saa7134_go7007_read_interrupt()
223 gpio_read(dev, HPI_ADDR_INTR_RET_VALUE, &go->interrupt_value); in saa7134_go7007_read_interrupt()
224 gpio_read(dev, HPI_ADDR_INTR_RET_DATA, &go->interrupt_data); in saa7134_go7007_read_interrupt()
[all …]
/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 …]
/drivers/clk/rockchip/
Dclk.h341 df, go, gs, gf) \ argument
356 .gate_offset = go, \
362 go, gs, gf) \ argument
374 .gate_offset = go, \
380 df, dt, go, gs, gf) \ argument
393 .gate_offset = go, \
399 go, gs, gf) \ argument
411 .gate_offset = go, \
455 #define COMPOSITE_FRAC(_id, cname, pname, f, mo, df, go, gs, gf)\ argument
467 .gate_offset = go, \
[all …]
/drivers/s390/char/
Dsclp_rw.c94 struct go *go; in sclp_initialize_mto() local
117 go = &mdb->go; in sclp_initialize_mto()
118 go->length = sizeof(struct go); in sclp_initialize_mto()
119 go->type = 1; in sclp_initialize_mto()
223 buffer->current_msg->mdb.go.general_msg_flags |= in sclp_write()
Dsclp_rw.h23 struct go { struct
47 struct go go; argument
/drivers/net/ethernet/intel/
DKconfig46 adapters. For more information on how to identify your adapter, go
66 identify your adapter, go to the Adapter & Driver ID Guide that
91 adapters. For more information on how to identify your adapter, go
127 information on how to identify your adapter, go to the Adapter &
144 instead. For more information on how to identify your adapter, go
162 adapters. For more information on how to identify your adapter, go
203 adapter, go to the Adapter & Driver ID Guide that can be located at:
220 devices. For more information on how to identify your adapter, go
254 For more information on how to identify your adapter, go to the
271 go to the Adapter & Driver ID Guide that can be located at:
/drivers/net/wireless/ath/ath5k/
Dphy.c487 const struct ath5k_gain_opt *go; in ath5k_hw_rf_gainf_corr() local
496 go = &rfgain_opt_5112; in ath5k_hw_rf_gainf_corr()
500 g_step = &go->go_step[ah->ah_gain.g_step_idx]; in ath5k_hw_rf_gainf_corr()
610 const struct ath5k_gain_opt *go; in ath5k_hw_rf_gainf_adjust() local
616 go = &rfgain_opt_5111; in ath5k_hw_rf_gainf_adjust()
619 go = &rfgain_opt_5112; in ath5k_hw_rf_gainf_adjust()
625 g_step = &go->go_step[ah->ah_gain.g_step_idx]; in ath5k_hw_rf_gainf_adjust()
636 g_step = &go->go_step[ah->ah_gain.g_step_idx]) in ath5k_hw_rf_gainf_adjust()
638 (go->go_step[--(ah->ah_gain.g_step_idx)].gos_gain - in ath5k_hw_rf_gainf_adjust()
648 if (ah->ah_gain.g_step_idx == (go->go_steps_count - 1)) in ath5k_hw_rf_gainf_adjust()
[all …]
/drivers/video/logo/
Dlogo_m32r_clut224.ppm9 # http://www.is.aist.go.jp/etlcdb/util/p2a.htm#English
/drivers/net/ethernet/brocade/bna/
DKconfig14 For general information and support, go to the QLogic support
/drivers/hid/intel-ish-hid/
DKconfig11 processor in the chipset. This allows the core processor to go into
/drivers/powercap/
DKconfig17 # Client driver configurations go here.
/drivers/net/wireless/intel/iwlwifi/mvm/
Dfw-api-mac.h365 struct iwl_mac_data_go go; member
/drivers/staging/media/pulse8-cec/
DTODO14 To prevent the device to go into autonomous mode the driver would
/drivers/gpu/ipu-v3/
Dipu-cpmem.c308 int bpp = 0, npb = 0, ro, go, bo, to; in ipu_cpmem_set_format_rgb() local
311 go = rgb->bits_per_pixel - rgb->green.length - rgb->green.offset; in ipu_cpmem_set_format_rgb()
318 ipu_ch_param_write_field(ch, IPU_FIELD_OFS1, go); in ipu_cpmem_set_format_rgb()
/drivers/staging/speakup/
DDefaultKeyAssignments38 InsKeyPad-star n<x|y> go to line (y) or column (x). Where 'n' is any
/drivers/block/paride/
Dpg.c288 static int pg_wait(struct pg *dev, int go, int stop, unsigned long tmo, char *msg) in pg_wait() argument
295 while ((((r = status_reg(dev)) & go) || (stop && (!(r & stop)))) in pg_wait()
Dpf.c403 static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg) in pf_wait() argument
408 while ((((r = status_reg(pf)) & go) || (stop && (!(r & stop)))) in pf_wait()

12