/linux-2.6.39/drivers/staging/cx25821/ |
D | cx25821-core.c | 379 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack() 402 tmp = cx_read(RDR_TLCTL0); in cx25821_registers_init() 413 tmp = cx_read(PLL_A_INT_FRAC); in cx25821_registers_init() 423 tmp = cx_read(PLL_B_INT_FRAC); in cx25821_registers_init() 433 tmp = cx_read(PLL_C_INT_FRAC); in cx25821_registers_init() 443 tmp = cx_read(PLL_D_INT_FRAC); in cx25821_registers_init() 448 tmp = cx_read(VID_CH_CLK_SEL); in cx25821_registers_init() 454 tmp = cx_read(VID_CH_MODE_SEL); in cx25821_registers_init() 459 tmp = cx_read(CLK_RST); in cx25821_registers_init() 627 i * 4, name[i], cx_read(ch->cmds_start + 4 * i)); in cx25821_sram_channel_dump() [all …]
|
D | cx25821-alsa.c | 178 tmp = cx_read(AUD_A_CFG); in _cx25821_start_audio_dma() 202 tmp = cx_read(AUD_INT_DMA_CTL); in _cx25821_start_audio_dma() 284 atomic_set(&chip->count, cx_read(AUD_A_GPCNT)); in cx25821_aud_irq() 301 audint_status = cx_read(AUD_A_INT_STAT); in cx25821_irq() 302 audint_mask = cx_read(AUD_A_INT_MSK); in cx25821_irq() 303 audint_count = cx_read(AUD_A_GPCNT); in cx25821_irq() 304 status = cx_read(PCI_INT_STAT); in cx25821_irq() 307 status = cx_read(PCI_INT_STAT); in cx25821_irq() 309 status = cx_read(PCI_INT_STAT); in cx25821_irq() 310 audint_status = cx_read(AUD_A_INT_STAT); in cx25821_irq() [all …]
|
D | cx25821-audio-upstream.c | 233 tmp = cx_read(sram_ch->dma_ctl); in cx25821_stop_upstream_audio() 511 u32 prog_cnt = cx_read(channel->gpcnt); in cx25821_audio_upstream_irq() 516 cx_write(channel->int_stat, cx_read(channel->int_stat)); in cx25821_audio_upstream_irq() 582 cx_write(channel->int_stat, cx_read(channel->int_stat)); in cx25821_audio_upstream_irq() 591 int_msk_tmp = cx_read(channel->int_msk); in cx25821_audio_upstream_irq() 609 msk_stat = cx_read(sram_ch->int_mstat); in cx25821_upstream_irq_audio() 610 audio_status = cx_read(sram_ch->int_stat); in cx25821_upstream_irq_audio() 640 tmp = cx_read(sram_ch->dma_ctl); in cx25821_wait_fifo_enable() 673 tmp = cx_read(sram_ch->aud_cfg); in cx25821_start_audio_dma_upstream() 680 tmp = cx_read(sram_ch->int_stat); in cx25821_start_audio_dma_upstream() [all …]
|
D | cx25821-video-upstream-ch2.c | 220 tmp = cx_read(sram_ch->int_msk); in cx25821_stop_upstream_video_ch2() 224 tmp = cx_read(sram_ch->dma_ctl); in cx25821_stop_upstream_video_ch2() 242 tmp = cx_read(VID_CH_MODE_SEL); in cx25821_stop_upstream_video_ch2() 540 u32 prog_cnt = cx_read(channel->gpcnt); in cx25821_video_upstream_irq_ch2() 546 int_msk_tmp = cx_read(channel->int_msk); in cx25821_video_upstream_irq_ch2() 602 int_msk_tmp = cx_read(channel->int_msk); in cx25821_video_upstream_irq_ch2() 622 msk_stat = cx_read(sram_ch->int_mstat); in cx25821_upstream_irq_ch2() 623 vid_status = cx_read(sram_ch->int_stat); in cx25821_upstream_irq_ch2() 684 tmp = cx_read(VID_CH_MODE_SEL); in cx25821_start_video_dma_upstream_ch2() 701 cx_set(PCI_INT_MSK, cx_read(PCI_INT_MSK) | (1 << sram_ch->irq_bit)); in cx25821_start_video_dma_upstream_ch2() [all …]
|
D | cx25821-video-upstream.c | 266 tmp = cx_read(sram_ch->int_msk); in cx25821_stop_upstream_video_ch1() 270 tmp = cx_read(sram_ch->dma_ctl); in cx25821_stop_upstream_video_ch1() 287 tmp = cx_read(VID_CH_MODE_SEL); in cx25821_stop_upstream_video_ch1() 583 u32 prog_cnt = cx_read(channel->gpcnt); in cx25821_video_upstream_irq() 587 int_msk_tmp = cx_read(channel->int_msk); in cx25821_video_upstream_irq() 654 int_msk_tmp = cx_read(channel->int_msk); in cx25821_video_upstream_irq() 675 msk_stat = cx_read(sram_ch->int_mstat); in cx25821_upstream_irq() 676 vid_status = cx_read(sram_ch->int_stat); in cx25821_upstream_irq() 733 tmp = cx_read(VID_CH_MODE_SEL); in cx25821_start_video_dma_upstream() 750 cx_set(PCI_INT_MSK, cx_read(PCI_INT_MSK) | (1 << sram_ch->irq_bit)); in cx25821_start_video_dma_upstream() [all …]
|
D | cx25821-gpio.c | 44 gpio_register = cx_read(gpio_oe_reg); in cx25821_set_gpiopin_direction() 73 value = cx_read(gpio_reg); in cx25821_set_gpiopin_logicvalue()
|
D | cx25821-i2c.c | 53 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack() 60 return cx_read(bus->reg_stat) & 0x02 ? 1 : 0; in i2c_is_busy() 219 msg->buf[cnt] = cx_read(bus->reg_rdata) & 0xff; in i2c_readbytes()
|
D | cx25821-video.c | 300 cx_set(PCI_INT_MSK, cx_read(PCI_INT_MSK) | (1 << channel->i)); in cx25821_start_video_dma() 307 tmp = cx_read(VID_CH_MODE_SEL); in cx25821_start_video_dma() 397 mask = cx_read(channel->int_msk); in cx25821_video_irq() 414 count = cx_read(channel->gpcnt); in cx25821_video_irq() 1078 tmp = cx_read(sram_ch->dma_ctl); in vidioc_log_status() 1906 data_from_user->reg_data = cx_read(data_from_user->reg_address); in video_ioctl_set()
|
/linux-2.6.39/drivers/media/video/cx23885/ |
D | cx23885-core.c | 376 v = cx_read(PCI_INT_MSK); in cx23885_irq_get_mask() 556 cx_read(ch->cmds_start + 4*i)); in cx23885_sram_channel_dump() 559 risc = cx_read(ch->cmds_start + 4 * (i + 14)); in cx23885_sram_channel_dump() 564 risc = cx_read(ch->ctrl_start + 4 * i); in cx23885_sram_channel_dump() 571 risc = cx_read(ch->ctrl_start + 4 * (i + j)); in cx23885_sram_channel_dump() 582 dev->name, cx_read(ch->ptr1_reg)); in cx23885_sram_channel_dump() 584 dev->name, cx_read(ch->ptr2_reg)); in cx23885_sram_channel_dump() 586 dev->name, cx_read(ch->cnt1_reg)); in cx23885_sram_channel_dump() 588 dev->name, cx_read(ch->cnt2_reg)); in cx23885_sram_channel_dump() 652 cx_write(CLK_DELAY, cx_read(CLK_DELAY) & 0x80000000); in cx23885_reset() [all …]
|
D | cx23885-ioctl.c | 40 rev = cx_read(RDR_CFG2) & 0xff; in cx23885_g_chip_ident() 111 reg->val = cx_read(reg->reg); in cx23885_g_host_register()
|
D | cx23885-i2c.c | 55 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack() 62 return cx_read(bus->reg_stat) & 0x02 ? 1 : 0; in i2c_is_busy() 207 msg->buf[cnt] = cx_read(bus->reg_rdata) & 0xff; in i2c_readbytes()
|
D | cx23885-417.c | 313 mi_ready = cx_read(MC417_RWD) & MC417_MIRDY; in mc417_wait_ready() 438 tempval = cx_read(MC417_RWD); in mc417_register_read() 450 tempval = cx_read(MC417_RWD); in mc417_register_read() 460 tempval = cx_read(MC417_RWD); in mc417_register_read() 470 tempval = cx_read(MC417_RWD); in mc417_register_read() 592 tempval = cx_read(MC417_RWD); in mc417_memory_read() 604 tempval = cx_read(MC417_RWD); in mc417_memory_read() 614 tempval = cx_read(MC417_RWD); in mc417_memory_read() 624 tempval = cx_read(MC417_RWD); in mc417_memory_read()
|
D | cx23885-cards.c | 1180 data = ((cx_read(GP0_IO)) & (~0x00000002)); in netup_jtag_io() 1185 data = ((cx_read(MC417_RWD)) & (~0x0000a000)); in netup_jtag_io()
|
D | cimax2.c | 156 mem = cx_read(MC417_RWD); in netup_ci_get_mem()
|
D | cx23885.h | 453 #define cx_read(reg) readl(dev->lmmio + ((reg)>>2)) macro
|
/linux-2.6.39/drivers/media/video/cx88/ |
D | cx88-core.c | 458 cx_read(ch->cmds_start + 4*i)); in cx88_sram_channel_dump() 460 risc = cx_read(ch->cmds_start + 4 * (i+11)); in cx88_sram_channel_dump() 468 risc = cx_read(ch->ctrl_start + 4 * i); in cx88_sram_channel_dump() 472 risc = cx_read(ch->ctrl_start + 4 * (i+j)); in cx88_sram_channel_dump() 483 core->name,cx_read(ch->ptr1_reg)); in cx88_sram_channel_dump() 485 core->name,cx_read(ch->ptr2_reg)); in cx88_sram_channel_dump() 487 core->name,cx_read(ch->cnt1_reg)); in cx88_sram_channel_dump() 489 core->name,cx_read(ch->cnt2_reg)); in cx88_sram_channel_dump() 792 reg, cx_read(MO_PLL_REG), ofreq); in set_pll() 795 reg = cx_read(MO_DEVICE_STATUS); in set_pll() [all …]
|
D | cx88-vp3054-i2c.c | 54 cx_read(MO_GP0_IO); in vp3054_bit_setscl() 71 cx_read(MO_GP0_IO); in vp3054_bit_setsda() 80 state = cx_read(MO_GP0_IO); in vp3054_bit_getscl() 90 state = cx_read(MO_GP0_IO); in vp3054_bit_getsda()
|
D | cx88-i2c.c | 65 cx_read(MO_I2C); in cx8800_bit_setscl() 77 cx_read(MO_I2C); in cx8800_bit_setsda() 85 state = cx_read(MO_I2C); in cx8800_bit_getscl() 94 state = cx_read(MO_I2C); in cx8800_bit_getsda()
|
D | cx88-blackbird.c | 223 gpio0 = cx_read(MO_GP0_IO) & 2; in wait_ready_gpio0_bit1() 242 cx_read(P1_MDATA0); in memory_write() 243 cx_read(P1_MADDR0); in memory_write() 257 cx_read(P1_MADDR0); in memory_read() 262 val = (unsigned char)cx_read(P1_MDATA3) << 24; in memory_read() 264 val |= (unsigned char)cx_read(P1_MDATA2) << 16; in memory_read() 266 val |= (unsigned char)cx_read(P1_MDATA1) << 8; in memory_read() 268 val |= (unsigned char)cx_read(P1_MDATA0); in memory_read() 283 cx_read(P1_RDATA0); in register_write() 284 cx_read(P1_RADDR0); in register_write() [all …]
|
D | cx88-alsa.c | 151 "byte buffer\n", buf->bpl, cx_read(audio_ch->cmds_start + 8)>>1, in _cx88_start_audio_dma() 222 status = cx_read(MO_AUD_INTSTAT); in cx8801_aud_irq() 223 mask = cx_read(MO_AUD_INTMSK); in cx8801_aud_irq() 244 atomic_set(&chip->count, cx_read(MO_AUDD_GPCNT)); in cx8801_aud_irq() 261 status = cx_read(MO_PCI_INTSTAT) & in cx8801_irq() 571 int vol = 0x3f - (cx_read(AUD_VOL_CTL) & 0x3f), in snd_cx88_volume_get() 572 bal = cx_read(AUD_BAL_CTL); in snd_cx88_volume_get() 634 old = cx_read(AUD_VOL_CTL); in snd_cx88_volume_put() 639 if ((cx_read(AUD_BAL_CTL) & 0x7f) != b) { in snd_cx88_volume_put() 668 value->value.integer.value[0] = !(cx_read(AUD_VOL_CTL) & bit); in snd_cx88_switch_get() [all …]
|
D | cx88-dsp.c | 241 u32 current_address = cx_read(srch->ptr1_reg); in read_rds_samples() 247 cx_read(MO_AUD_INTSTAT)); in read_rds_samples() 257 samples[i] = cx_read(srch->fifo_start + offset); in read_rds_samples() 278 if (!(cx_read(MO_AUD_DMACNTRL) & 0x04)) in cx88_dsp_detect_stereo_sap() 280 if (!(cx_read(AUD_CTL) & EN_FMRADIO_EN_RDS)) in cx88_dsp_detect_stereo_sap()
|
D | cx88-input.c | 82 gpio = cx_read(ir->gpio_addr); in cx88_ir_handle_key() 97 auxgpio = cx_read(MO_GP1_IO); in cx88_ir_handle_key() 104 gpio = (gpio & 0x6ff) | ((cx_read(MO_GP1_IO) << 8) & 0x900); in cx88_ir_handle_key() 125 u32 gpio_key = cx_read(MO_GP0_IO); in cx88_ir_handle_key() 518 samples = cx_read(MO_SAMPLE_IO); in cx88_ir_irq()
|
D | cx88-tvaudio.c | 740 j += ((cx_read(AUD_NICAM_STATUS2) & 0x02) >> 1); in cx88_detect_nicam() 820 reg = cx_read(AUD_STATUS); in cx88_get_stereo() 827 aud_ctl_names[cx_read(AUD_CTL) & 63]); in cx88_get_stereo() 981 mask, ctl, cx_read(AUD_STATUS), in cx88_set_stereo() 982 cx_read(AUD_CTL), cx_sread(SHADOW_AUD_VOL_CTL)); in cx88_set_stereo()
|
D | cx88-mpeg.c | 382 status = cx_read(MO_TS_INTSTAT); in cx8802_mpeg_irq() 383 mask = cx_read(MO_TS_INTMSK); in cx8802_mpeg_irq() 405 count = cx_read(MO_TS_GPCNT); in cx8802_mpeg_irq() 437 status = cx_read(MO_PCI_INTSTAT) & in cx8802_irq() 635 mpeg_dbg(1,"%s() Post acquire GPIO=%x\n", __func__, cx_read(MO_GP0_IO)); in cx8802_request_acquire() 651 mpeg_dbg(1,"%s() Post release GPIO=%x\n", __func__, cx_read(MO_GP0_IO)); in cx8802_request_release()
|
D | cx88-video.c | 955 value = c->sreg ? cx_sread(c->sreg) : cx_read(c->reg); in cx88_get_control() 1368 reg = cx_read(MO_DEVICE_STATUS); in vidioc_g_tuner() 1452 reg->val = cx_read(reg->reg & 0xffffff); in vidioc_g_register() 1612 status = cx_read(MO_VID_INTSTAT); in cx8800_vid_irq() 1613 mask = cx_read(MO_VID_INTMSK); in cx8800_vid_irq() 1633 count = cx_read(MO_VIDY_GPCNT); in cx8800_vid_irq() 1641 count = cx_read(MO_VBI_GPCNT); in cx8800_vid_irq() 1671 status = cx_read(MO_PCI_INTSTAT) & in cx8800_irq()
|