Home
last modified time | relevance | path

Searched refs:cx_read (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v4.19/drivers/media/pci/cx23885/
Dcx23885-core.c375 v = cx_read(PCI_INT_MSK); in cx23885_irq_get_mask()
550 cx_read(ch->cmds_start + 4*i)); in cx23885_sram_channel_dump()
553 risc = cx_read(ch->cmds_start + 4 * (i + 14)); in cx23885_sram_channel_dump()
558 risc = cx_read(ch->ctrl_start + 4 * i); in cx23885_sram_channel_dump()
565 risc = cx_read(ch->ctrl_start + 4 * (i + j)); in cx23885_sram_channel_dump()
576 dev->name, cx_read(ch->ptr1_reg)); in cx23885_sram_channel_dump()
578 dev->name, cx_read(ch->ptr2_reg)); in cx23885_sram_channel_dump()
580 dev->name, cx_read(ch->cnt1_reg)); in cx23885_sram_channel_dump()
582 dev->name, cx_read(ch->cnt2_reg)); in cx23885_sram_channel_dump()
606 uint32_t reg1_val = cx_read(TC_REQ); /* read-only */ in cx23885_clear_bridge_error()
[all …]
Dcx23885-i2c.c52 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack()
59 return cx_read(bus->reg_stat) & 0x02 ? 1 : 0; in i2c_is_busy()
204 msg->buf[cnt] = cx_read(bus->reg_rdata) & 0xff; in i2c_readbytes()
Dcx23885-417.c309 mi_ready = cx_read(MC417_RWD) & MC417_MIRDY; in mc417_wait_ready()
434 tempval = cx_read(MC417_RWD); in mc417_register_read()
446 tempval = cx_read(MC417_RWD); in mc417_register_read()
456 tempval = cx_read(MC417_RWD); in mc417_register_read()
466 tempval = cx_read(MC417_RWD); in mc417_register_read()
588 tempval = cx_read(MC417_RWD); in mc417_memory_read()
600 tempval = cx_read(MC417_RWD); in mc417_memory_read()
610 tempval = cx_read(MC417_RWD); in mc417_memory_read()
620 tempval = cx_read(MC417_RWD); in mc417_memory_read()
Dcx23885-ioctl.c74 reg->val = cx_read(reg->reg); in cx23885_g_register()
Dcx23885-alsa.c186 buf->bpl, cx_read(audio_ch->cmds_start+12)>>1, in cx23885_start_audio_dma()
259 atomic_set(&chip->count, cx_read(AUD_INT_A_GPCNT)); in cx23885_audio_irq()
Dcx23885-vbi.c87 count = cx_read(VBI_A_GPCNT); in cx23885_vbi_irq()
Dcimax2.c164 mem = cx_read(MC417_RWD); in netup_ci_get_mem()
Dcx23885.h504 #define cx_read(reg) readl(dev->lmmio + ((reg)>>2)) macro
/Linux-v4.19/drivers/media/pci/cx25821/
Dcx25821-core.c354 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack()
369 tmp = cx_read(RDR_TLCTL0); in cx25821_registers_init()
380 tmp = cx_read(PLL_A_INT_FRAC); in cx25821_registers_init()
390 tmp = cx_read(PLL_B_INT_FRAC); in cx25821_registers_init()
400 tmp = cx_read(PLL_C_INT_FRAC); in cx25821_registers_init()
410 tmp = cx_read(PLL_D_INT_FRAC); in cx25821_registers_init()
415 tmp = cx_read(VID_CH_CLK_SEL); in cx25821_registers_init()
421 tmp = cx_read(VID_CH_MODE_SEL); in cx25821_registers_init()
426 tmp = cx_read(CLK_RST); in cx25821_registers_init()
593 i * 4, name[i], cx_read(ch->cmds_start + 4 * i)); in cx25821_sram_channel_dump()
[all …]
Dcx25821-alsa.c251 tmp = cx_read(AUD_A_CFG); in _cx25821_start_audio_dma()
273 tmp = cx_read(AUD_INT_DMA_CTL); in _cx25821_start_audio_dma()
351 atomic_set(&chip->count, cx_read(AUD_A_GPCNT)); in cx25821_aud_irq()
367 audint_status = cx_read(AUD_A_INT_STAT); in cx25821_irq()
368 audint_mask = cx_read(AUD_A_INT_MSK); in cx25821_irq()
369 status = cx_read(PCI_INT_STAT); in cx25821_irq()
372 status = cx_read(PCI_INT_STAT); in cx25821_irq()
374 status = cx_read(PCI_INT_STAT); in cx25821_irq()
375 audint_status = cx_read(AUD_A_INT_STAT); in cx25821_irq()
376 audint_mask = cx_read(AUD_A_INT_MSK); in cx25821_irq()
[all …]
Dcx25821-gpio.c41 gpio_register = cx_read(gpio_oe_reg); in cx25821_set_gpiopin_direction()
71 value = cx_read(gpio_reg); in cx25821_set_gpiopin_logicvalue()
Dcx25821-i2c.c50 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack()
57 return cx_read(bus->reg_stat) & 0x02 ? 1 : 0; in i2c_is_busy()
216 msg->buf[cnt] = cx_read(bus->reg_rdata) & 0xff; in i2c_readbytes()
Dcx25821-video.c85 cx_set(PCI_INT_MSK, cx_read(PCI_INT_MSK) | (1 << channel->i)); in cx25821_start_video_dma()
92 tmp = cx_read(VID_CH_MODE_SEL); in cx25821_start_video_dma()
104 mask = cx_read(channel->int_msk); in cx25821_video_irq()
428 tmp = cx_read(sram_ch->dma_ctl); in vidioc_log_status()
Dcx25821.h362 #define cx_read(reg) readl(dev->lmmio + ((reg)>>2)) macro
/Linux-v4.19/drivers/media/pci/cx88/
Dcx88-core.c450 name[i], cx_read(ch->cmds_start + 4 * i)); in cx88_sram_channel_dump()
452 risc = cx_read(ch->cmds_start + 4 * (i + 11)); in cx88_sram_channel_dump()
460 risc = cx_read(ch->ctrl_start + 4 * i); in cx88_sram_channel_dump()
464 risc = cx_read(ch->ctrl_start + 4 * (i + j)); in cx88_sram_channel_dump()
474 dprintk0(" ptr1_reg: 0x%08x\n", cx_read(ch->ptr1_reg)); in cx88_sram_channel_dump()
475 dprintk0(" ptr2_reg: 0x%08x\n", cx_read(ch->ptr2_reg)); in cx88_sram_channel_dump()
476 dprintk0(" cnt1_reg: 0x%08x\n", cx_read(ch->cnt1_reg)); in cx88_sram_channel_dump()
477 dprintk0(" cnt2_reg: 0x%08x\n", cx_read(ch->cnt2_reg)); in cx88_sram_channel_dump()
770 reg, cx_read(MO_PLL_REG), ofreq); in set_pll()
773 reg = cx_read(MO_DEVICE_STATUS); in set_pll()
[all …]
Dcx88-vp3054-i2c.c47 cx_read(MO_GP0_IO); in vp3054_bit_setscl()
64 cx_read(MO_GP0_IO); in vp3054_bit_setsda()
73 state = cx_read(MO_GP0_IO); in vp3054_bit_getscl()
83 state = cx_read(MO_GP0_IO); in vp3054_bit_getsda()
Dcx88-i2c.c63 cx_read(MO_I2C); in cx8800_bit_setscl()
75 cx_read(MO_I2C); in cx8800_bit_setsda()
83 state = cx_read(MO_I2C); in cx8800_bit_getscl()
92 state = cx_read(MO_I2C); in cx8800_bit_getsda()
Dcx88-blackbird.c239 gpio0 = cx_read(MO_GP0_IO) & 2; in wait_ready_gpio0_bit1()
258 cx_read(P1_MDATA0); in memory_write()
259 cx_read(P1_MADDR0); in memory_write()
273 cx_read(P1_MADDR0); in memory_read()
278 val = (unsigned char)cx_read(P1_MDATA3) << 24; in memory_read()
280 val |= (unsigned char)cx_read(P1_MDATA2) << 16; in memory_read()
282 val |= (unsigned char)cx_read(P1_MDATA1) << 8; in memory_read()
284 val |= (unsigned char)cx_read(P1_MDATA0); in memory_read()
299 cx_read(P1_RDATA0); in register_write()
300 cx_read(P1_RADDR0); in register_write()
[all …]
Dcx88-alsa.c144 buf->bpl, cx_read(audio_ch->cmds_start + 8) >> 1, in _cx88_start_audio_dma()
220 status = cx_read(MO_AUD_INTSTAT); in cx8801_aud_irq()
221 mask = cx_read(MO_AUD_INTMSK); in cx8801_aud_irq()
242 atomic_set(&chip->count, cx_read(MO_AUDD_GPCNT)); in cx8801_aud_irq()
259 status = cx_read(MO_PCI_INTSTAT) & in cx8801_irq()
644 int vol = 0x3f - (cx_read(AUD_VOL_CTL) & 0x3f), in snd_cx88_volume_get()
645 bal = cx_read(AUD_BAL_CTL); in snd_cx88_volume_get()
699 old = cx_read(AUD_VOL_CTL); in snd_cx88_volume_put()
704 if ((cx_read(AUD_BAL_CTL) & 0x7f) != b) { in snd_cx88_volume_put()
733 value->value.integer.value[0] = !(cx_read(AUD_VOL_CTL) & bit); in snd_cx88_switch_get()
[all …]
Dcx88-dsp.c256 u32 current_address = cx_read(srch->ptr1_reg); in read_rds_samples()
263 cx_read(MO_AUD_INTSTAT)); in read_rds_samples()
272 samples[i] = cx_read(srch->fifo_start + offset); in read_rds_samples()
288 if (!(cx_read(MO_AUD_DMACNTRL) & 0x04)) in cx88_dsp_detect_stereo_sap()
290 if (!(cx_read(AUD_CTL) & EN_FMRADIO_EN_RDS)) in cx88_dsp_detect_stereo_sap()
Dcx88-input.c83 gpio = cx_read(ir->gpio_addr); in cx88_ir_handle_key()
99 auxgpio = cx_read(MO_GP1_IO); in cx88_ir_handle_key()
110 gpio = (gpio & 0x6ff) | ((cx_read(MO_GP1_IO) << 8) & 0x900); in cx88_ir_handle_key()
131 u32 gpio_key = cx_read(MO_GP0_IO); in cx88_ir_handle_key()
548 samples = cx_read(MO_SAMPLE_IO); in cx88_ir_irq()
Dcx88-mpeg.c316 status = cx_read(MO_TS_INTSTAT); in cx8802_mpeg_irq()
317 mask = cx_read(MO_TS_INTMSK); in cx8802_mpeg_irq()
340 count = cx_read(MO_TS_GPCNT); in cx8802_mpeg_irq()
364 status = cx_read(MO_PCI_INTSTAT) & in cx8802_irq()
553 dprintk(1, "Post acquire GPIO=%x\n", cx_read(MO_GP0_IO)); in cx8802_request_acquire()
575 dprintk(1, "Post release GPIO=%x\n", cx_read(MO_GP0_IO)); in cx8802_request_release()
Dcx88-tvaudio.c741 j += ((cx_read(AUD_NICAM_STATUS2) & 0x02) >> 1); in cx88_detect_nicam()
825 reg = cx_read(AUD_STATUS); in cx88_get_stereo()
832 aud_ctl_names[cx_read(AUD_CTL) & 63]); in cx88_get_stereo()
989 mask, ctl, cx_read(AUD_STATUS), in cx88_set_stereo()
990 cx_read(AUD_CTL), cx_sread(SHADOW_AUD_VOL_CTL)); in cx88_set_stereo()
Dcx88-video.c961 reg = cx_read(MO_DEVICE_STATUS); in vidioc_g_tuner()
1039 reg->val = cx_read(reg->reg & 0xfffffc); in vidioc_g_register()
1102 status = cx_read(MO_VID_INTSTAT); in cx8800_vid_irq()
1103 mask = cx_read(MO_VID_INTMSK); in cx8800_vid_irq()
1123 count = cx_read(MO_VIDY_GPCNT); in cx8800_vid_irq()
1131 count = cx_read(MO_VBI_GPCNT); in cx8800_vid_irq()
1145 status = cx_read(MO_PCI_INTSTAT) & in cx8800_irq()
Dcx88.h593 #define cx_read(reg) readl(core->lmmio + ((reg) >> 2)) macro

12