Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
Dcx23885-core.c378 v = cx_read(PCI_INT_MSK); in cx23885_irq_get_mask()
553 cx_read(ch->cmds_start + 4*i)); in cx23885_sram_channel_dump()
556 risc = cx_read(ch->cmds_start + 4 * (i + 14)); in cx23885_sram_channel_dump()
561 risc = cx_read(ch->ctrl_start + 4 * i); in cx23885_sram_channel_dump()
568 risc = cx_read(ch->ctrl_start + 4 * (i + j)); in cx23885_sram_channel_dump()
579 dev->name, cx_read(ch->ptr1_reg)); in cx23885_sram_channel_dump()
581 dev->name, cx_read(ch->ptr2_reg)); in cx23885_sram_channel_dump()
583 dev->name, cx_read(ch->cnt1_reg)); in cx23885_sram_channel_dump()
585 dev->name, cx_read(ch->cnt2_reg)); in cx23885_sram_channel_dump()
614 reg1_val = cx_read(TC_REQ); /* read-only */ in cx23885_clear_bridge_error()
[all …]
Dcx23885-i2c.c41 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()
Dcx23885-417.c300 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()
Dcx23885-ioctl.c64 reg->val = cx_read(reg->reg); in cx23885_g_register()
Dcx23885-alsa.c178 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()
Dcx23885-vbi.c77 count = cx_read(VBI_A_GPCNT); in cx23885_vbi_irq()
Dcimax2.c154 mem = cx_read(MC417_RWD); in netup_ci_get_mem()
Dcx23885.h496 #define cx_read(reg) readl(dev->lmmio + ((reg)>>2)) macro
/kernel/linux/linux-5.10/drivers/media/pci/cx25821/
Dcx25821-core.c344 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack()
359 tmp = cx_read(RDR_TLCTL0); in cx25821_registers_init()
370 tmp = cx_read(PLL_A_INT_FRAC); in cx25821_registers_init()
380 tmp = cx_read(PLL_B_INT_FRAC); in cx25821_registers_init()
390 tmp = cx_read(PLL_C_INT_FRAC); in cx25821_registers_init()
400 tmp = cx_read(PLL_D_INT_FRAC); in cx25821_registers_init()
405 tmp = cx_read(VID_CH_CLK_SEL); in cx25821_registers_init()
411 tmp = cx_read(VID_CH_MODE_SEL); in cx25821_registers_init()
416 tmp = cx_read(CLK_RST); in cx25821_registers_init()
583 i * 4, name[i], cx_read(ch->cmds_start + 4 * i)); in cx25821_sram_channel_dump()
[all …]
Dcx25821-alsa.c243 tmp = cx_read(AUD_A_CFG); in _cx25821_start_audio_dma()
265 tmp = cx_read(AUD_INT_DMA_CTL); in _cx25821_start_audio_dma()
343 atomic_set(&chip->count, cx_read(AUD_A_GPCNT)); in cx25821_aud_irq()
359 audint_status = cx_read(AUD_A_INT_STAT); in cx25821_irq()
360 audint_mask = cx_read(AUD_A_INT_MSK); in cx25821_irq()
361 status = cx_read(PCI_INT_STAT); in cx25821_irq()
364 status = cx_read(PCI_INT_STAT); in cx25821_irq()
366 status = cx_read(PCI_INT_STAT); in cx25821_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()
[all …]
Dcx25821-gpio.c31 gpio_register = cx_read(gpio_oe_reg); in cx25821_set_gpiopin_direction()
61 value = cx_read(gpio_reg); in cx25821_set_gpiopin_logicvalue()
Dcx25821-i2c.c40 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()
Dcx25821-video.c72 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()
Dcx25821.h351 #define cx_read(reg) readl(dev->lmmio + ((reg)>>2)) macro
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-core.c441 name[i], cx_read(ch->cmds_start + 4 * i)); in cx88_sram_channel_dump()
443 risc = cx_read(ch->cmds_start + 4 * (i + 11)); in cx88_sram_channel_dump()
451 risc = cx_read(ch->ctrl_start + 4 * i); in cx88_sram_channel_dump()
455 risc = cx_read(ch->ctrl_start + 4 * (i + j)); in cx88_sram_channel_dump()
465 dprintk0(" ptr1_reg: 0x%08x\n", cx_read(ch->ptr1_reg)); in cx88_sram_channel_dump()
466 dprintk0(" ptr2_reg: 0x%08x\n", cx_read(ch->ptr2_reg)); in cx88_sram_channel_dump()
467 dprintk0(" cnt1_reg: 0x%08x\n", cx_read(ch->cnt1_reg)); in cx88_sram_channel_dump()
468 dprintk0(" cnt2_reg: 0x%08x\n", cx_read(ch->cnt2_reg)); in cx88_sram_channel_dump()
761 reg, cx_read(MO_PLL_REG), ofreq); in set_pll()
764 reg = cx_read(MO_DEVICE_STATUS); in set_pll()
[all …]
Dcx88-vp3054-i2c.c38 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()
Dcx88-i2c.c53 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()
Dcx88-blackbird.c230 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()
269 val = (unsigned char)cx_read(P1_MDATA3) << 24; in memory_read()
271 val |= (unsigned char)cx_read(P1_MDATA2) << 16; in memory_read()
273 val |= (unsigned char)cx_read(P1_MDATA1) << 8; 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()
[all …]
Dcx88-alsa.c135 buf->bpl, cx_read(audio_ch->cmds_start + 8) >> 1, in _cx88_start_audio_dma()
211 status = cx_read(MO_AUD_INTSTAT); in cx8801_aud_irq()
212 mask = cx_read(MO_AUD_INTMSK); in cx8801_aud_irq()
233 atomic_set(&chip->count, cx_read(MO_AUDD_GPCNT)); in cx8801_aud_irq()
250 status = cx_read(MO_PCI_INTSTAT) & in cx8801_irq()
635 int vol = 0x3f - (cx_read(AUD_VOL_CTL) & 0x3f), in snd_cx88_volume_get()
636 bal = cx_read(AUD_BAL_CTL); in snd_cx88_volume_get()
690 old = cx_read(AUD_VOL_CTL); in snd_cx88_volume_put()
695 if ((cx_read(AUD_BAL_CTL) & 0x7f) != b) { in snd_cx88_volume_put()
724 value->value.integer.value[0] = !(cx_read(AUD_VOL_CTL) & bit); in snd_cx88_switch_get()
[all …]
Dcx88-dsp.c247 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()
Dcx88-input.c74 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()
Dcx88-mpeg.c310 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()
547 dprintk(1, "Post acquire GPIO=%x\n", cx_read(MO_GP0_IO)); in cx8802_request_acquire()
569 dprintk(1, "Post release GPIO=%x\n", cx_read(MO_GP0_IO)); in cx8802_request_release()
Dcx88-tvaudio.c732 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()
Dcx88-video.c925 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()
Dcx88.h584 #define cx_read(reg) readl(core->lmmio + ((reg) >> 2)) macro

12