/drivers/media/video/cx18/ |
H A D | cx18-mailbox.c | 119 static void dump_mb(struct cx18 *cx, struct cx18_mailbox *mb, char *name) argument 217 static void cx18_mdl_send_to_alsa(struct cx18 *cx, struct cx18_stream *s, argument 232 cx->pcm_announce_callback(cx->alsa, buf->buf, 240 cx->pcm_announce_callback(cx->alsa, buf->buf, buf->bytesused); 244 static void epu_dma_done(struct cx18 *cx, struct cx18_in_work_order *order) argument 255 s = cx18_handle_to_stream(cx, handle); 315 if (cx->pcm_announce_callback != NULL) { 316 cx18_mdl_send_to_alsa(cx, 338 epu_debug(struct cx18 *cx, struct cx18_in_work_order *order) argument 349 epu_cmd(struct cx18 *cx, struct cx18_in_work_order *order) argument 378 free_in_work_order(struct cx18 *cx, struct cx18_in_work_order *order) argument 387 struct cx18 *cx = order->cx; local 397 mb_ack_irq(struct cx18 *cx, struct cx18_in_work_order *order) argument 433 epu_dma_done_irq(struct cx18 *cx, struct cx18_in_work_order *order) argument 459 epu_debug_irq(struct cx18 *cx, struct cx18_in_work_order *order) argument 480 epu_cmd_irq(struct cx18 *cx, struct cx18_in_work_order *order) argument 512 alloc_in_work_order_irq(struct cx18 *cx) argument 535 cx18_api_epu_cmd_irq(struct cx18 *cx, int rpu) argument 595 cx18_api_call(struct cx18 *cx, u32 cmd, int args, u32 data[]) argument 752 cx18_api(struct cx18 *cx, u32 cmd, int args, u32 data[]) argument 759 struct cx18 *cx = s->cx; local 778 struct cx18 *cx = s->cx; local 837 cx18_vapi_result(struct cx18 *cx, u32 data[MAX_MB_ARGUMENTS], u32 cmd, int args, ...) argument 850 cx18_vapi(struct cx18 *cx, u32 cmd, int args, ...) argument [all...] |
H A D | cx18-mailbox.h | 84 int cx18_api(struct cx18 *cx, u32 cmd, int args, u32 data[]); 85 int cx18_vapi_result(struct cx18 *cx, u32 data[MAX_MB_ARGUMENTS], u32 cmd, 87 int cx18_vapi(struct cx18 *cx, u32 cmd, int args, ...); 91 void cx18_api_epu_cmd_irq(struct cx18 *cx, int rpu);
|
H A D | cx18-dvb.c | 137 struct cx18 *cx = stream->cx; local 141 ret = request_firmware(fw, fn, &cx->pci_dev->dev); 252 struct cx18 *cx; local 259 cx = stream->cx; 263 mutex_lock(&cx->serialize_lock); 264 ret = cx18_init_on_first_open(cx); 265 mutex_unlock(&cx->serialize_lock); 272 switch (cx 323 struct cx18 *cx; local 347 struct cx18 *cx = stream->cx; local 439 struct cx18 *cx = stream->cx; local 471 struct cx18 *cx = stream->cx; local [all...] |
H A D | cx18-av-vbi.c | 134 struct cx18 *cx = v4l2_get_subdevdata(sd); local 135 struct cx18_av_state *state = &cx->av_state; 148 if ((cx18_av_read(cx, 0x404) & 0x10) == 0) 153 u8 v = cx18_av_read(cx, 0x424 + i - 7); 162 u8 v = cx18_av_read(cx, 0x424 + i - 10); 175 struct cx18 *cx = v4l2_get_subdevdata(sd); local 176 struct cx18_av_state *state = &cx->av_state; 179 cx18_av_std_setup(cx); 182 cx18_av_write(cx, 0x47f, state->slicer_line_delay); 183 cx18_av_write(cx, 189 struct cx18 *cx = v4l2_get_subdevdata(sd); local 260 struct cx18 *cx = v4l2_get_subdevdata(sd); local [all...] |
H A D | cx18-alsa.h | 41 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); local 42 mutex_lock(&cx->serialize_lock); 47 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); local 48 mutex_unlock(&cx->serialize_lock);
|
H A D | cx18-fileops.h | 34 void cx18_mute(struct cx18 *cx); 35 void cx18_unmute(struct cx18 *cx);
|
H A D | cx18-alsa-main.c | 117 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); local 125 cx->instance); 130 cx->instance, cx->card_name); 137 struct cx18 *cx = to_cx18(v4l2_dev); local 145 /* This is a no-op for us. We'll use the cx->instance */ 179 cx->alsa = cxsc; 184 cx->alsa = NULL; 200 int cx18_alsa_load(struct cx18 *cx) argument 202 struct v4l2_device *v4l2_dev = &cx 249 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); local [all...] |
H A D | cx18-queue.c | 142 struct cx18 *cx = s->cx; local 279 struct cx18 *cx = s->cx; local 307 cx18_writel(cx, buf->dma_handle, 308 &cx->scb->cpu_mdl[mdl_id + i].paddr); 309 cx18_writel(cx, s->buf_size, 310 &cx->scb->cpu_mdl[mdl_id + i].length); 323 cx18_writel(cx, partial_buf_size, 324 &cx 349 struct cx18 *cx = s->cx; local 422 struct cx18 *cx = s->cx; local [all...] |
H A D | cx18-alsa-pcm.c | 153 struct cx18 *cx = to_cx18(v4l2_dev); local 160 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM]; 162 item.cx = cx; 164 item.open_id = cx->open_id++; 184 runtime->private_data = cx; 186 cx->pcm_announce_callback = cx18_alsa_announce_pcm_data; 200 struct cx18 *cx = to_cx18(v4l2_dev); local 206 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM]; 212 cx 334 struct cx18 *cx = to_cx18(v4l2_dev); local [all...] |
H A D | cx18-alsa-mixer.c | 88 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); local 96 ret = v4l2_subdev_call(cx->sd_av, core, g_ctrl, &vctrl); 108 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); local 118 ret = v4l2_subdev_call(cx->sd_av, core, g_ctrl, &vctrl); 125 ret = v4l2_subdev_call(cx->sd_av, core, s_ctrl, &vctrl);
|
H A D | cx18-av-core.h | 359 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value); 360 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value); 361 int cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value); 362 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask); 363 int cx18_av_write4_expect(struct cx18 *cx, u16 addr, u32 value, u32 eval, 365 u8 cx18_av_read(struct cx18 *cx, u16 addr); 366 u32 cx18_av_read4(struct cx18 *cx, u16 addr); 367 int cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned mask, u8 value); 368 int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 mask, u32 value); 369 void cx18_av_std_setup(struct cx18 *cx); [all...] |
H A D | cx18-driver.h | 176 v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \ 190 v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \ 202 #define CX18_ERR(fmt, args...) v4l2_err(&cx->v4l2_dev, fmt , ## args) 203 #define CX18_WARN(fmt, args...) v4l2_warn(&cx->v4l2_dev, fmt , ## args) 204 #define CX18_INFO(fmt, args...) v4l2_info(&cx->v4l2_dev, fmt , ## args) 312 u32 id; /* index into cx->scb->cpu_mdl[] of 1st cx18_mdl_ent */ 363 struct cx18 *cx; member in struct:cx18_in_work_order 378 struct cx18 *cx; /* for ease of use */ member in struct:cx18_stream 431 struct cx18 *cx; member in struct:cx18_open_id 567 struct cx18 *cx; member in struct:cx18_i2c_algo_callback_data 700 cx18_raw_vbi(const struct cx18 *cx) argument [all...] |
H A D | cx18-cards.h | 155 int cx18_get_input(struct cx18 *cx, u16 index, struct v4l2_input *input); 156 int cx18_get_audio_input(struct cx18 *cx, u16 index, struct v4l2_audio *input);
|
H A D | cx18-queue.h | 32 pci_dma_sync_single_for_cpu(s->cx->pci_dev, buf->dma_handle, 39 pci_dma_sync_single_for_device(s->cx->pci_dev, buf->dma_handle,
|
H A D | cx18-cards.c | 594 int cx18_get_input(struct cx18 *cx, u16 index, struct v4l2_input *input) argument 597 cx->card->video_inputs + index; 607 if (index >= cx->nof_inputs) 614 input->audioset = (1 << cx->nof_audio_inputs) - 1; 616 cx->tuner_std : V4L2_STD_ALL; 620 int cx18_get_audio_input(struct cx18 *cx, u16 index, struct v4l2_audio *audio) argument 623 cx->card->audio_inputs + index; 631 if (index >= cx->nof_audio_inputs)
|
/drivers/acpi/ |
H A D | processor_idle.c | 156 struct acpi_processor_cx *cx) 174 if (cx->type >= type) 197 struct acpi_processor_cx *cx, 200 int state = cx - pr->power.states; 217 struct acpi_processor_cx *cx, 400 struct acpi_processor_cx cx; local 402 memset(&cx, 0, sizeof(cx)); 427 cx.type = obj->integer.value; 432 if (i == 1 && cx 155 lapic_timer_check_state(int state, struct acpi_processor *pr, struct acpi_processor_cx *cx) argument 196 lapic_timer_state_broadcast(struct acpi_processor *pr, struct acpi_processor_cx *cx, int broadcast) argument 216 lapic_timer_state_broadcast(struct acpi_processor *pr, struct acpi_processor_cx *cx, int broadcast) argument 521 acpi_processor_power_verify_c3(struct acpi_processor *pr, struct acpi_processor_cx *cx) argument 611 struct acpi_processor_cx *cx = &pr->power.states[i]; local 712 acpi_idle_do_entry(struct acpi_processor_cx *cx) argument 747 struct acpi_processor_cx *cx = cpuidle_get_statedata(state_usage); local 782 struct acpi_processor_cx *cx = cpuidle_get_statedata(state_usage); local 813 struct acpi_processor_cx *cx = cpuidle_get_statedata(state_usage); local 892 struct acpi_processor_cx *cx = cpuidle_get_statedata(state_usage); local 1010 struct acpi_processor_cx *cx; local 1064 struct acpi_processor_cx *cx; local [all...] |
/drivers/s390/char/ |
H A D | tty3270.c | 80 unsigned int cx, cy; /* Current output position. */ member in struct:tty3270 969 if (line->len <= tp->cx) { 970 while (line->len < tp->cx) { 979 cell = line->cells + tp->cx; 1098 tp->cx = 0; 1144 while (line->len < tp->cx) { 1150 if (n > tp->view.cols - tp->cx) 1151 n = tp->view.cols - tp->cx; 1152 k = min_t(int, line->len - tp->cx, tp->view.cols - tp->cx 1333 tty3270_goto_xy(struct tty3270 *tp, int cx, int cy) argument [all...] |
/drivers/isdn/sc/ |
H A D | message.h | 38 #define IS_CM_MESSAGE(mesg, tx, cx, dx) \ 40 && (mesg.class == cmRspClass##cx) \ 46 #define IS_CE_MESSAGE(mesg, tx, cx, dx) \ 48 && (mesg.class == ceRspClass##cx) \
|
/drivers/char/ |
H A D | toshiba.c | 376 unsigned short bx,cx; local 406 cx = readw(bios + address); 407 address = 9+bx+cx; 408 cx = readw(bios + address); 409 address = 0xa+cx; 410 cx = readw(bios + address); 414 id = ((cx & 0xff)<<8)+((cx & 0xff00)>>8);
|
/drivers/xen/ |
H A D | xen-acpi-processor.c | 66 struct acpi_processor_cx *cx; local 76 cx = &_pr->power.states[i]; 77 if (!cx->valid) 83 if (cx->entry_method == ACPI_CSTATE_SYSTEMIO) { 89 if (cx->entry_method == ACPI_CSTATE_FFH) { 96 dst_cx->reg.address = cx->address; 98 dst_cx->type = cx->type; 99 dst_cx->latency = cx->latency; 100 dst_cx->power = cx->power; 125 cx [all...] |
/drivers/media/video/cx23885/ |
H A D | cx23885-input.c | 205 if (kernel_ir->cx == NULL) 208 return cx23885_input_ir_start(kernel_ir->cx); 243 if (kernel_ir->cx != NULL) 244 cx23885_input_ir_stop(kernel_ir->cx); 291 kernel_ir->cx = dev;
|
/drivers/net/plip/ |
H A D | plip.c | 487 unsigned int cx; local 491 cx = nibble_timeout; 500 if (--cx == 0) 508 cx = nibble_timeout; 517 if (--cx == 0) 706 unsigned int cx; local 715 cx = nibble_timeout; 720 if (--cx == 0) 729 cx = nibble_timeout; 734 if (--cx 752 unsigned int cx; local [all...] |
/drivers/staging/omapdrm/ |
H A D | omap_fb.c | 270 int cx = max(0, x - crtc->x); local 272 int cw = w + (x - crtc->x) - cx; 275 omap_connector_flush(connector, cx, cy, cw, ch);
|
/drivers/cpufreq/ |
H A D | longhaul.c | 71 static struct acpi_processor_cx *cx; variable in typeref:struct:acpi_processor_cx 327 do_powersaver(cx->address, mults_index, dir); 889 cx = &pr->power.states[ACPI_STATE_C3]; 890 if (cx->address > 0 && cx->latency <= 1000)
|
/drivers/s390/crypto/ |
H A D | zcrypt_api.c | 936 int inl, c, cx; local 944 cx = len%16; 945 if (cx) { 946 sprintcl(m, addr+inl, cx); 947 inl += cx;
|