/kernel/linux/linux-5.10/drivers/media/usb/go7007/ |
D | go7007-driver.c | 33 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 …]
|
D | go7007-v4l2.c | 80 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 …]
|
D | go7007-fw.c | 290 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 …]
|
D | go7007-usb.c | 622 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 …]
|
D | go7007-priv.h | 116 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 …]
|
D | go7007-i2c.c | 38 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 …]
|
D | snd-go7007.c | 64 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 …]
|
D | s2250-board.c | 131 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 …]
|
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/ |
D | saa7134-go7007.c | 136 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 …]
|
/kernel/linux/linux-5.10/drivers/video/console/ |
D | newport_con.c | 55 (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 …]
|
/kernel/linux/linux-5.10/drivers/clk/rockchip/ |
D | clk.h | 426 df, go, gs, gf) \ argument 441 .gate_offset = go, \ 447 mf, do, ds, dw, df, go, gs, gf) \ argument 463 .gate_offset = go, \ 469 go, gs, gf) \ argument 481 .gate_offset = go, \ 487 df, dt, go, gs, gf) \ argument 500 .gate_offset = go, \ 506 go, gs, gf) \ argument 518 .gate_offset = go, \ [all …]
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
D | sclp_rw.c | 95 struct go *go; in sclp_initialize_mto() local 118 go = &mdb->go; in sclp_initialize_mto() 119 go->length = sizeof(struct go); in sclp_initialize_mto() 120 go->type = 1; in sclp_initialize_mto() 224 buffer->current_msg->mdb.go.general_msg_flags |= in sclp_write()
|
D | sclp_early_core.c | 92 struct go *go; in sclp_early_print_lm() local 123 go = &mdb->go; in sclp_early_print_lm() 124 go->length = sizeof(*go); in sclp_early_print_lm() 125 go->type = 1; in sclp_early_print_lm()
|
D | sclp_rw.h | 24 struct go { struct 48 struct go go; argument
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | smpboot.c | 101 static volatile unsigned long go[SLAVE + 1]; variable 193 go[MASTER] = 0; in sync_master() 198 while (!go[MASTER]) in sync_master() 200 go[MASTER] = 0; in sync_master() 201 go[SLAVE] = ia64_get_itc(); in sync_master() 221 go[MASTER] = 1; in get_delta() 222 while (!(tm = go[SLAVE])) in get_delta() 224 go[SLAVE] = 0; in get_delta() 295 go[MASTER] = 1; in ia64_sync_itc() 302 while (go[MASTER]) in ia64_sync_itc()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
D | mmap-thread-lookup.c | 58 int go = 0; in thread_fn() local 64 ret = write(td->ready[1], &go, sizeof(int)); in thread_fn() 82 int err, go; in thread_create() local 90 ssize_t ret = read(td->ready[0], &go, sizeof(int)); in thread_create()
|
/kernel/linux/linux-5.10/Documentation/power/ |
D | tricks.rst | 9 * 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
|
/kernel/linux/linux-5.10/kernel/power/ |
D | swap.c | 590 wait_queue_head_t go; /* start crc update */ member 606 wait_event(d->go, atomic_read(&d->ready) || in crc32_threadfn() 632 wait_queue_head_t go; /* start compression */ member 649 wait_event(d->go, atomic_read(&d->ready) || in lzo_compress_threadfn() 715 memset(&data[thr], 0, offsetof(struct cmp_data, go)); in save_image_lzo() 723 memset(crc, 0, offsetof(struct crc_data, go)); in save_image_lzo() 729 init_waitqueue_head(&data[thr].go); in save_image_lzo() 746 init_waitqueue_head(&crc->go); in save_image_lzo() 802 wake_up(&data[thr].go); in save_image_lzo() 810 wake_up(&crc->go); in save_image_lzo() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pwm/ |
D | pwm-tipwmss.txt | 33 /* child nodes go here */ 46 /* child nodes go here */ 57 /* child nodes go here */
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ |
D | Kconfig | 47 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: 246 devices. For more information on how to identify your adapter, go 279 information on how to identify your adapter, go to the Adapter 301 devices. For more information on how to identify your adapter, go [all …]
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | smp_64.c | 166 static unsigned long go[SLAVE + 1]; variable 178 go[MASTER] = 1; in get_delta() 180 while (!(tm = go[SLAVE])) in get_delta() 182 go[SLAVE] = 0; in get_delta() 213 go[MASTER] = 1; in smp_synchronize_tick_client() 215 while (go[MASTER]) in smp_synchronize_tick_client() 261 go[MASTER] = 0; in smp_synchronize_one_tick() 266 while (!go[MASTER]) in smp_synchronize_one_tick() 270 go[MASTER] = 0; in smp_synchronize_one_tick() 276 while (!go[MASTER]) in smp_synchronize_one_tick() [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/ |
D | pmsu_ll.S | 32 ARM_BE8(setend be ) @ go BE8 if entered LE 48 ARM_BE8(setend be ) @ go BE8 if entered LE
|
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
D | stwotox.S | 25 | 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.
|
D | sacos.S | 23 | 1. If |X| >= 1, go to 3. 30 | 3. If |X| > 1, go to 5.
|
/kernel/linux/linux-5.10/arch/alpha/lib/ |
D | ev6-memcpy.S | 80 cmple $18, 127, $1 # E : Can we go through the unrolled loop? 108 subq $18, 192, $2 # E : At least two more trips to go? 196 bne $1, $aligndest # U : go until we are aligned. 235 bgt $18, $misalign_byte # U : more to go?
|