/openbmc/linux/drivers/media/pci/cx23885/ |
H A D | cx23885-core.c | 378 v = cx_read(PCI_INT_MSK); in cx23885_irq_get_mask() 620 cx_read(VID_B_DMA); in cx23885_clear_bridge_error() 621 cx_read(VBI_B_DMA); in cx23885_clear_bridge_error() 622 cx_read(VID_C_DMA); in cx23885_clear_bridge_error() 623 cx_read(VBI_C_DMA); in cx23885_clear_bridge_error() 1339 cx_read(DEV_CNTRL2)); in cx23885_tsport_reg_dump() 1351 cx_read(PAD_CTRL)); in cx23885_tsport_reg_dump() 1355 cx_read(GPIO2)); in cx23885_tsport_reg_dump() 1386 cx_read(PCI_INT_STAT)); in cx23885_tsport_reg_dump() 1457 reg = cx_read(PAD_CTRL); in cx23885_start_dma() [all …]
|
H A D | cx23885-i2c.c | 41 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack() 48 return cx_read(bus->reg_stat) & 0x02 ? 1 : 0; in i2c_is_busy() 193 msg->buf[cnt] = cx_read(bus->reg_rdata) & 0xff; in i2c_readbytes()
|
H A D | cx23885-417.c | 300 mi_ready = cx_read(MC417_RWD) & MC417_MIRDY; in mc417_wait_ready() 425 tempval = cx_read(MC417_RWD); in mc417_register_read() 437 tempval = cx_read(MC417_RWD); in mc417_register_read() 447 tempval = cx_read(MC417_RWD); in mc417_register_read() 457 tempval = cx_read(MC417_RWD); in mc417_register_read() 579 tempval = cx_read(MC417_RWD); in mc417_memory_read() 591 tempval = cx_read(MC417_RWD); in mc417_memory_read() 601 tempval = cx_read(MC417_RWD); in mc417_memory_read() 611 tempval = cx_read(MC417_RWD); in mc417_memory_read()
|
H A D | cx23885-ioctl.c | 64 reg->val = cx_read(reg->reg); in cx23885_g_register()
|
H A D | cx23885-alsa.c | 178 buf->bpl, cx_read(audio_ch->cmds_start+12)>>1, in cx23885_start_audio_dma() 251 atomic_set(&chip->count, cx_read(AUD_INT_A_GPCNT)); in cx23885_audio_irq()
|
H A D | cx23885-vbi.c | 77 count = cx_read(VBI_A_GPCNT); in cx23885_vbi_irq()
|
H A D | cimax2.c | 154 mem = cx_read(MC417_RWD); in netup_ci_get_mem()
|
H A D | cx23885.h | 496 #define cx_read(reg) readl(dev->lmmio + ((reg)>>2)) macro
|
/openbmc/linux/drivers/media/pci/cx25821/ |
H A D | cx25821-core.c | 352 tmp = cx_read(RDR_TLCTL0); in cx25821_registers_init() 409 tmp = cx_read(CLK_RST); in cx25821_registers_init() 604 cx_read(ch->ptr1_reg)); in cx25821_sram_channel_dump() 606 cx_read(ch->ptr2_reg)); in cx25821_sram_channel_dump() 608 cx_read(ch->cnt1_reg)); in cx25821_sram_channel_dump() 610 cx_read(ch->cnt2_reg)); in cx25821_sram_channel_dump() 671 cx_read(ch->ptr1_reg)); in cx25821_sram_channel_dump_audio() 673 cx_read(ch->ptr2_reg)); in cx25821_sram_channel_dump_audio() 675 cx_read(ch->cnt1_reg)); in cx25821_sram_channel_dump_audio() 677 cx_read(ch->cnt2_reg)); in cx25821_sram_channel_dump_audio() [all …]
|
H A D | cx25821-alsa.c | 242 tmp = cx_read(AUD_A_CFG); in _cx25821_start_audio_dma() 264 tmp = cx_read(AUD_INT_DMA_CTL); in _cx25821_start_audio_dma() 342 atomic_set(&chip->count, cx_read(AUD_A_GPCNT)); in cx25821_aud_irq() 358 audint_status = cx_read(AUD_A_INT_STAT); in cx25821_irq() 359 audint_mask = cx_read(AUD_A_INT_MSK); in cx25821_irq() 360 status = cx_read(PCI_INT_STAT); in cx25821_irq() 363 status = cx_read(PCI_INT_STAT); in cx25821_irq() 365 status = cx_read(PCI_INT_STAT); in cx25821_irq() 366 audint_status = cx_read(AUD_A_INT_STAT); in cx25821_irq() 367 audint_mask = cx_read(AUD_A_INT_MSK); in cx25821_irq() [all …]
|
H A D | cx25821-gpio.c | 31 gpio_register = cx_read(gpio_oe_reg); in cx25821_set_gpiopin_direction() 61 value = cx_read(gpio_reg); in cx25821_set_gpiopin_logicvalue()
|
H A D | cx25821-i2c.c | 40 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack() 47 return cx_read(bus->reg_stat) & 0x02 ? 1 : 0; in i2c_is_busy() 206 msg->buf[cnt] = cx_read(bus->reg_rdata) & 0xff; in i2c_readbytes()
|
H A D | cx25821-video.c | 72 cx_set(PCI_INT_MSK, cx_read(PCI_INT_MSK) | (1 << channel->i)); in cx25821_start_video_dma() 79 tmp = cx_read(VID_CH_MODE_SEL); in cx25821_start_video_dma() 91 mask = cx_read(channel->int_msk); in cx25821_video_irq() 414 tmp = cx_read(sram_ch->dma_ctl); in vidioc_log_status()
|
H A D | cx25821.h | 350 #define cx_read(reg) readl(dev->lmmio + ((reg)>>2)) macro
|
/openbmc/linux/drivers/media/pci/cx88/ |
H A D | cx88-core.c | 443 name[i], cx_read(ch->cmds_start + 4 * i)); in cx88_sram_channel_dump() 453 risc = cx_read(ch->ctrl_start + 4 * i); in cx88_sram_channel_dump() 775 reg, cx_read(MO_PLL_REG), ofreq); in set_pll() 778 reg = cx_read(MO_DEVICE_STATUS); in set_pll() 799 if (cx_read(MO_AUD_DMACNTRL) & 0x10) in cx88_start_audio_dma() 820 if (cx_read(MO_AUD_DMACNTRL) & 0x10) in cx88_stop_audio_dma() 954 cxoformat, cx_read(MO_OUTPUT_FORMAT)); in cx88_set_tvnorm() 961 (u32)tmp64, cx_read(MO_SCONV_REG)); in cx88_set_tvnorm() 968 (u32)tmp64, cx_read(MO_SUB_STEP)); in cx88_set_tvnorm() 975 (u32)tmp64, cx_read(MO_SUB_STEP_DR)); in cx88_set_tvnorm() [all …]
|
H A D | cx88-vp3054-i2c.c | 38 cx_read(MO_GP0_IO); in vp3054_bit_setscl() 55 cx_read(MO_GP0_IO); in vp3054_bit_setsda() 64 state = cx_read(MO_GP0_IO); in vp3054_bit_getscl() 74 state = cx_read(MO_GP0_IO); in vp3054_bit_getsda()
|
H A D | cx88-i2c.c | 53 cx_read(MO_I2C); in cx8800_bit_setscl() 65 cx_read(MO_I2C); in cx8800_bit_setsda() 73 state = cx_read(MO_I2C); in cx8800_bit_getscl() 82 state = cx_read(MO_I2C); in cx8800_bit_getsda()
|
H A D | cx88-blackbird.c | 230 gpio0 = cx_read(MO_GP0_IO) & 2; in wait_ready_gpio0_bit1() 249 cx_read(P1_MDATA0); in memory_write() 250 cx_read(P1_MADDR0); in memory_write() 264 cx_read(P1_MADDR0); in memory_read() 275 val |= (unsigned char)cx_read(P1_MDATA0); in memory_read() 290 cx_read(P1_RDATA0); in register_write() 291 cx_read(P1_RADDR0); in register_write() 304 cx_read(P1_RADDR0); in register_read() 307 val = (unsigned char)cx_read(P1_RDATA0); in register_read() 617 reg = cx_read(AUD_STATUS); in blackbird_start_codec() [all …]
|
H A D | cx88-alsa.c | 134 buf->bpl, cx_read(audio_ch->cmds_start + 8) >> 1, in _cx88_start_audio_dma() 210 status = cx_read(MO_AUD_INTSTAT); in cx8801_aud_irq() 211 mask = cx_read(MO_AUD_INTMSK); in cx8801_aud_irq() 232 atomic_set(&chip->count, cx_read(MO_AUDD_GPCNT)); in cx8801_aud_irq() 249 status = cx_read(MO_PCI_INTSTAT) & in cx8801_irq() 634 int vol = 0x3f - (cx_read(AUD_VOL_CTL) & 0x3f), in snd_cx88_volume_get() 635 bal = cx_read(AUD_BAL_CTL); in snd_cx88_volume_get() 689 old = cx_read(AUD_VOL_CTL); in snd_cx88_volume_put() 694 if ((cx_read(AUD_BAL_CTL) & 0x7f) != b) { in snd_cx88_volume_put() 723 value->value.integer.value[0] = !(cx_read(AUD_VOL_CTL) & bit); in snd_cx88_switch_get() [all …]
|
H A D | cx88-dsp.c | 247 u32 current_address = cx_read(srch->ptr1_reg); in read_rds_samples() 254 cx_read(MO_AUD_INTSTAT)); in read_rds_samples() 263 samples[i] = cx_read(srch->fifo_start + offset); in read_rds_samples() 279 if (!(cx_read(MO_AUD_DMACNTRL) & 0x04)) in cx88_dsp_detect_stereo_sap() 281 if (!(cx_read(AUD_CTL) & EN_FMRADIO_EN_RDS)) in cx88_dsp_detect_stereo_sap()
|
H A D | cx88-input.c | 74 gpio = cx_read(ir->gpio_addr); in cx88_ir_handle_key() 90 auxgpio = cx_read(MO_GP1_IO); in cx88_ir_handle_key() 101 gpio = (gpio & 0x6ff) | ((cx_read(MO_GP1_IO) << 8) & 0x900); in cx88_ir_handle_key() 122 u32 gpio_key = cx_read(MO_GP0_IO); in cx88_ir_handle_key() 539 samples = cx_read(MO_SAMPLE_IO); in cx88_ir_irq()
|
H A D | cx88-mpeg.c | 310 status = cx_read(MO_TS_INTSTAT); in cx8802_mpeg_irq() 311 mask = cx_read(MO_TS_INTMSK); in cx8802_mpeg_irq() 334 count = cx_read(MO_TS_GPCNT); in cx8802_mpeg_irq() 358 status = cx_read(MO_PCI_INTSTAT) & in cx8802_irq() 546 dprintk(1, "Post acquire GPIO=%x\n", cx_read(MO_GP0_IO)); in cx8802_request_acquire() 568 dprintk(1, "Post release GPIO=%x\n", cx_read(MO_GP0_IO)); in cx8802_request_release()
|
H A D | cx88-tvaudio.c | 732 j += ((cx_read(AUD_NICAM_STATUS2) & 0x02) >> 1); in cx88_detect_nicam() 816 reg = cx_read(AUD_STATUS); in cx88_get_stereo() 823 aud_ctl_names[cx_read(AUD_CTL) & 63]); in cx88_get_stereo() 980 mask, ctl, cx_read(AUD_STATUS), in cx88_set_stereo() 981 cx_read(AUD_CTL), cx_sread(SHADOW_AUD_VOL_CTL)); in cx88_set_stereo()
|
H A D | cx88-video.c | 925 reg = cx_read(MO_DEVICE_STATUS); in vidioc_g_tuner() 1003 reg->val = cx_read(reg->reg & 0xfffffc); in vidioc_g_register() 1066 status = cx_read(MO_VID_INTSTAT); in cx8800_vid_irq() 1067 mask = cx_read(MO_VID_INTMSK); in cx8800_vid_irq() 1087 count = cx_read(MO_VIDY_GPCNT); in cx8800_vid_irq() 1095 count = cx_read(MO_VBI_GPCNT); in cx8800_vid_irq() 1109 status = cx_read(MO_PCI_INTSTAT) & in cx8800_irq()
|
H A D | cx88.h | 584 #define cx_read(reg) readl(core->lmmio + ((reg) >> 2)) macro
|