/linux-6.6.21/drivers/media/pci/cx25821/ |
D | cx25821-core.c | 345 cx_write(DEV_CNTRL2, 0x20); in cx25821_registers_init() 350 cx_write(PCI_INT_MSK, 0x2001FFFF); in cx25821_registers_init() 354 cx_write(RDR_TLCTL0, tmp); in cx25821_registers_init() 357 cx_write(PLL_A_INT_FRAC, 0x9807A58B); in cx25821_registers_init() 360 cx_write(PLL_A_POST_STAT_BIST, 0x8000019C); in cx25821_registers_init() 364 cx_write(PLL_A_INT_FRAC, tmp & 0x7FFFFFFF); in cx25821_registers_init() 367 cx_write(PLL_B_INT_FRAC, 0x9883A86F); in cx25821_registers_init() 370 cx_write(PLL_B_POST_STAT_BIST, 0x8000018D); in cx25821_registers_init() 374 cx_write(PLL_B_INT_FRAC, tmp & 0x7FFFFFFF); in cx25821_registers_init() 377 cx_write(PLL_C_INT_FRAC, 0x96A0EA3F); in cx25821_registers_init() [all …]
|
D | cx25821-i2c.c | 82 cx_write(bus->reg_addr, msg->addr << 25); in i2c_sendbytes() 83 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2)); in i2c_sendbytes() 106 cx_write(bus->reg_addr, addr); in i2c_sendbytes() 107 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes() 108 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes() 132 cx_write(bus->reg_addr, addr); in i2c_sendbytes() 133 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes() 134 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes() 173 cx_write(bus->reg_addr, msg->addr << 25); in i2c_readbytes() 174 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2) | 1); in i2c_readbytes() [all …]
|
D | cx25821-alsa.c | 234 cx_write(AUD_A_LNGTH, buf->bpl); in _cx25821_start_audio_dma() 238 cx_write(AUD_A_GPCNT_CTL, GP_COUNT_CONTROL_RESET); in _cx25821_start_audio_dma() 243 cx_write(AUD_A_CFG, tmp | FLD_AUD_DST_PK_MODE | FLD_AUD_DST_ENABLE | in _cx25821_start_audio_dma() 254 cx_write(AUD_A_INT_MSK, FLD_AUD_DST_RISCI1 | FLD_AUD_DST_OF | in _cx25821_start_audio_dma() 258 cx_write(AUD_A_INT_STAT, ~0); in _cx25821_start_audio_dma() 320 cx_write(AUD_A_INT_STAT, status); in cx25821_aud_irq() 336 cx_write(AUD_A_GPCNT_CTL, GP_COUNT_CONTROL_RESET); in cx25821_aud_irq() 371 cx_write(PCI_INT_STAT, status); in cx25821_irq() 382 cx_write(PCI_INT_STAT, status); in cx25821_irq() 390 cx_write(PCI_INT_STAT, pci_status); in cx25821_irq()
|
D | cx25821-gpio.c | 38 cx_write(gpio_oe_reg, value); in cx25821_set_gpiopin_direction() 68 cx_write(gpio_reg, value); in cx25821_set_gpiopin_logicvalue()
|
D | cx25821-video.c | 69 cx_write(channel->gpcnt_ctl, 3); in cx25821_start_video_dma() 76 cx_write(channel->dma_ctl, 0x11); /* FIFO and RISC enable */ in cx25821_start_video_dma() 80 cx_write(VID_CH_MODE_SEL, tmp & 0xFFFFFE00); in cx25821_start_video_dma() 95 cx_write(channel->int_stat, status); in cx25821_video_irq() 281 cx_write(chan->sram_channels->dma_ctl, 0); /* FIFO and RISC disable */ in cx25821_stop_streaming() 722 cx_write(chan->sram_channels->int_stat, 0xffffffff); in cx25821_video_register()
|
/linux-6.6.21/drivers/media/pci/cx88/ |
D | cx88-core.c | 358 cx_write(cdt + 16 * i, ch->fifo_start + bpl * i); in cx88_sram_channel_setup() 361 cx_write(ch->cmds_start + 0, risc); in cx88_sram_channel_setup() 362 cx_write(ch->cmds_start + 4, cdt); in cx88_sram_channel_setup() 363 cx_write(ch->cmds_start + 8, (lines * 16) >> 3); in cx88_sram_channel_setup() 364 cx_write(ch->cmds_start + 12, ch->ctrl_start); in cx88_sram_channel_setup() 365 cx_write(ch->cmds_start + 16, 64 >> 2); in cx88_sram_channel_setup() 367 cx_write(ch->cmds_start + i, 0); in cx88_sram_channel_setup() 370 cx_write(ch->ptr1_reg, ch->fifo_start); in cx88_sram_channel_setup() 371 cx_write(ch->ptr2_reg, cdt); in cx88_sram_channel_setup() 372 cx_write(ch->cnt1_reg, (bpl >> 3) - 1); in cx88_sram_channel_setup() [all …]
|
D | cx88-mpeg.c | 86 cx_write(MO_TS_LNGTH, dev->ts_packet_size); in cx8802_start_dma() 99 cx_write(TS_GEN_CNTRL, 0x0040 | dev->ts_gen_cntrl); in cx8802_start_dma() 101 cx_write(MO_PINMUX_IO, 0x00); in cx8802_start_dma() 102 cx_write(TS_HW_SOP_CNTRL, 0x47 << 16 | 188 << 4 | 0x01); in cx8802_start_dma() 108 cx_write(TS_SOP_STAT, 1 << 13); in cx8802_start_dma() 111 cx_write(TS_SOP_STAT, 0x00); in cx8802_start_dma() 116 cx_write(MO_PINMUX_IO, 0x88); in cx8802_start_dma() 121 cx_write(MO_PINMUX_IO, 0x88); in cx8802_start_dma() 122 cx_write(TS_SOP_STAT, 0); in cx8802_start_dma() 123 cx_write(TS_VALERR_CNTRL, 0); in cx8802_start_dma() [all …]
|
D | cx88-tvaudio.c | 107 cx_write(l[i].reg, l[i].val); in set_audio_registers() 116 cx_write(AUD_VOL_CTL, (1 << 6)); in set_audio_start() 119 cx_write(AUD_INIT, mode); in set_audio_start() 120 cx_write(AUD_INIT_LD, 0x0001); in set_audio_start() 121 cx_write(AUD_SOFT_RESET, 0x0001); in set_audio_start() 130 cx_write(AUD_RATE_THRES_DMD, 0x000000C0); in set_audio_finish() 134 cx_write(AUD_I2SINPUTCNTL, 4); in set_audio_finish() 135 cx_write(AUD_BAUDRATE, 1); in set_audio_finish() 141 cx_write(AUD_I2SOUTPUTCNTL, 1); in set_audio_finish() 142 cx_write(AUD_I2SCNTL, 0); in set_audio_finish() [all …]
|
D | cx88-cards.c | 3010 cx_write(MO_GP0_IO, 0x101000); in cx88_dvico_xc2028_callback() 3035 cx_write(MO_GP1_IO, 0x030302); in cx88_xc3028_geniatech_tuner_callback() 3039 cx_write(MO_GP1_IO, 0x030301); in cx88_xc3028_geniatech_tuner_callback() 3042 cx_write(MO_GP1_IO, 0x101010); in cx88_xc3028_geniatech_tuner_callback() 3044 cx_write(MO_GP1_IO, 0x101000); in cx88_xc3028_geniatech_tuner_callback() 3046 cx_write(MO_GP1_IO, 0x101010); in cx88_xc3028_geniatech_tuner_callback() 3095 cx_write(MO_GP2_IO, 0xcf7); in cx88_pv_8000gt_callback() 3097 cx_write(MO_GP2_IO, 0xef5); in cx88_pv_8000gt_callback() 3099 cx_write(MO_GP2_IO, 0xcf7); in cx88_pv_8000gt_callback() 3171 cx_write(MO_GP0_IO, 0x4ff); in cx88_xc2028_tuner_callback() [all …]
|
D | cx88-blackbird.c | 192 cx_write(MO_GPHST_SOFT_RST, 1); in host_setup() 194 cx_write(MO_GPHST_SOFT_RST, 0); in host_setup() 198 cx_write(MO_GPHST_WSC, 0x44444444U); in host_setup() 199 cx_write(MO_GPHST_XFR, 0); in host_setup() 200 cx_write(MO_GPHST_WDTH, 15); in host_setup() 201 cx_write(MO_GPHST_HDSHK, 0); in host_setup() 202 cx_write(MO_GPHST_MUX16, 0x44448888U); in host_setup() 203 cx_write(MO_GPHST_MODE, 0); in host_setup() 560 cx_write(MO_SRST_IO, 0); /* SYS_RSTO=0 */ in blackbird_initialize_codec() 561 cx_write(MO_SRST_IO, 1); /* SYS_RSTO=1 */ in blackbird_initialize_codec() [all …]
|
D | cx88-alsa.c | 126 cx_write(MO_AUDD_LNGTH, buf->bpl); in _cx88_start_audio_dma() 129 cx_write(MO_AUDD_GPCNTRL, GP_COUNT_CONTROL_RESET); in _cx88_start_audio_dma() 138 cx_write(MO_AUD_INTMSK, AUD_INT_OPC_ERR | AUD_INT_DN_SYNC | in _cx88_start_audio_dma() 142 cx_write(MO_AUD_INTSTAT, ~0); in _cx88_start_audio_dma() 214 cx_write(MO_AUD_INTSTAT, status); in cx8801_aud_irq() 227 cx_write(MO_AUDD_GPCNTRL, GP_COUNT_CONTROL_RESET); in cx8801_aud_irq() 256 cx_write(MO_PCI_INTSTAT, status); in cx8801_irq() 695 cx_write(AUD_BAL_CTL, b); in snd_cx88_volume_put()
|
D | cx88-video.c | 292 cx_write(MO_GP3_IO, INPUT(input).gpio3); in cx88_video_mux() 293 cx_write(MO_GP0_IO, INPUT(input).gpio0); in cx88_video_mux() 294 cx_write(MO_GP1_IO, INPUT(input).gpio1); in cx88_video_mux() 295 cx_write(MO_GP2_IO, INPUT(input).gpio2); in cx88_video_mux() 338 cx_write(AUD_I2SCNTL, 0x0); in cx88_video_mux() 359 cx_write(MO_COLOR_CTRL, dev->fmt->cxformat | ColorFormatGamma); in start_video_dma() 362 cx_write(MO_VIDY_GPCNTRL, GP_COUNT_CONTROL_RESET); in start_video_dma() 582 cx_write(MO_GP3_IO, core->board.radio.gpio3); in radio_open() 583 cx_write(MO_GP0_IO, core->board.radio.gpio0); in radio_open() 584 cx_write(MO_GP1_IO, core->board.radio.gpio1); in radio_open() [all …]
|
D | cx88-vp3054-i2c.c | 37 cx_write(MO_GP0_IO, 0x010000 | vp3054_i2c->state); in vp3054_bit_setscl() 54 cx_write(MO_GP0_IO, 0x020000 | vp3054_i2c->state); in vp3054_bit_setsda()
|
D | cx88-i2c.c | 52 cx_write(MO_I2C, core->i2c_state); in cx8800_bit_setscl() 64 cx_write(MO_I2C, core->i2c_state); in cx8800_bit_setsda()
|
D | cx88-dvb.c | 452 cx_write(MO_GP0_IO, 0x000006fb); in kworld_dvbs_100_set_voltage() 454 cx_write(MO_GP0_IO, 0x000006f9); in kworld_dvbs_100_set_voltage() 469 cx_write(MO_GP0_IO, 0x0000efff); in geniatech_dvbs_set_voltage() 510 cx_write(MO_GP0_IO, 0x00001220); in vp1027_set_voltage() 514 cx_write(MO_GP0_IO, 0x00001222); in vp1027_set_voltage() 518 cx_write(MO_GP0_IO, 0x00001230); in vp1027_set_voltage() 702 cx_write(MO_SRST_IO, 0); in cx24116_reset_device() 705 cx_write(MO_SRST_IO, 1); in cx24116_reset_device() 1687 cx_write(MO_SRST_IO, 1); in cx8802_dvb_advise_acquire() 1692 cx_write(MO_SRST_IO, 0); in cx8802_dvb_advise_acquire() [all …]
|
D | cx88-vbi.c | 61 cx_write(MO_VBOS_CONTROL, (1 << 18) | /* comb filter delay fixup */ in cx8800_start_vbi_dma() 66 cx_write(MO_VBI_GPCNTRL, GP_COUNT_CONTROL_RESET); in cx8800_start_vbi_dma()
|
D | cx88-input.c | 201 cx_write(MO_DDS_IO, 0x33F286 * ir_samplerate); /* samplerate */ in __cx88_ir_start() 202 cx_write(MO_DDSCFG_IO, 0x5); /* enable */ in __cx88_ir_start() 217 cx_write(MO_DDSCFG_IO, 0x0); in __cx88_ir_stop()
|
/linux-6.6.21/drivers/media/pci/cx23885/ |
D | cx23885-417.c | 283 cx_write(MC417_CTL, regval); in cx23885_mc417_init() 287 cx_write(MC417_OEN, regval); in cx23885_mc417_init() 291 cx_write(MC417_RWD, regval); in cx23885_mc417_init() 316 cx_write(MC417_OEN, MC417_MIRDY); in mc417_register_write() 321 cx_write(MC417_RWD, regval); in mc417_register_write() 325 cx_write(MC417_RWD, regval); in mc417_register_write() 330 cx_write(MC417_RWD, regval); in mc417_register_write() 332 cx_write(MC417_RWD, regval); in mc417_register_write() 337 cx_write(MC417_RWD, regval); in mc417_register_write() 339 cx_write(MC417_RWD, regval); in mc417_register_write() [all …]
|
D | cx23885-core.c | 464 cx_write(ch->ptr1_reg, 0); in cx23885_sram_channel_setup() 465 cx_write(ch->ptr2_reg, 0); in cx23885_sram_channel_setup() 466 cx_write(ch->cnt2_reg, 0); in cx23885_sram_channel_setup() 467 cx_write(ch->cnt1_reg, 0); in cx23885_sram_channel_setup() 481 cx_write(8 + 0, RISC_JUMP | RISC_CNT_RESET); in cx23885_sram_channel_setup() 482 cx_write(8 + 4, 12); in cx23885_sram_channel_setup() 483 cx_write(8 + 8, 0); in cx23885_sram_channel_setup() 489 cx_write(cdt + 16*i, ch->fifo_start + bpl*i); in cx23885_sram_channel_setup() 490 cx_write(cdt + 16*i + 4, 0); in cx23885_sram_channel_setup() 491 cx_write(cdt + 16*i + 8, 0); in cx23885_sram_channel_setup() [all …]
|
D | cx23885-i2c.c | 83 cx_write(bus->reg_addr, msg->addr << 25); in i2c_sendbytes() 84 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2)); in i2c_sendbytes() 105 cx_write(bus->reg_addr, addr); in i2c_sendbytes() 106 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes() 107 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes() 127 cx_write(bus->reg_addr, addr); in i2c_sendbytes() 128 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes() 129 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes() 162 cx_write(bus->reg_addr, msg->addr << 25); in i2c_readbytes() 163 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2) | 1); in i2c_readbytes() [all …]
|
D | cx23885-alsa.c | 168 cx_write(AUD_INT_A_LNGTH, buf->bpl); in cx23885_start_audio_dma() 171 cx_write(AUD_INT_A_MODE, 1); in cx23885_start_audio_dma() 174 cx_write(AUD_INT_A_GPCNT_CTL, GP_COUNT_CONTROL_RESET); in cx23885_start_audio_dma() 182 cx_write(AUDIO_INT_INT_MSK, AUD_INT_OPC_ERR | AUD_INT_DN_SYNC | in cx23885_start_audio_dma() 186 cx_write(AUDIO_INT_INT_STAT, ~0); in cx23885_start_audio_dma() 234 cx_write(AUDIO_INT_INT_STAT, status); in cx23885_audio_irq() 246 cx_write(AUD_INT_A_GPCNT_CTL, GP_COUNT_CONTROL_RESET); in cx23885_audio_irq()
|
D | cx23885-cards.c | 1661 cx_write(MC417_CTL, 0x00000036); in cx23885_gpio_setup() 1662 cx_write(MC417_OEN, 0x00001000); in cx23885_gpio_setup() 1688 cx_write(MC417_CTL, 0x00000037);/* enable GPIO3-18 pins */ in cx23885_gpio_setup() 1690 cx_write(MC417_OEN, 0x00001000); in cx23885_gpio_setup() 1692 cx_write(MC417_RWD, 0x0000c300); in cx23885_gpio_setup() 1694 cx_write(GPIO_ISM, 0x00000000);/* INTERRUPTS active low*/ in cx23885_gpio_setup() 1786 cx_write(MC417_CTL, 0x00000037);/* enable GPIO-3..18 pins */ in cx23885_gpio_setup() 1788 cx_write(MC417_OEN, 0x00005000); in cx23885_gpio_setup() 1790 cx_write(MC417_RWD, 0x00000d00); in cx23885_gpio_setup() 1792 cx_write(GPIO_ISM, 0x00000000);/* INTERRUPTS active low*/ in cx23885_gpio_setup() [all …]
|
D | cimax2.c | 200 cx_write(MC417_OEN, NETUP_EN_ALL); in netup_ci_op_cam() 201 cx_write(MC417_RWD, NETUP_CTRL_OFF | in netup_ci_op_cam() 204 cx_write(MC417_RWD, NETUP_CTRL_OFF | in netup_ci_op_cam() 209 cx_write(MC417_OEN, NETUP_EN_ALL | NETUP_DATA); in netup_ci_op_cam() 211 cx_write(MC417_RWD, NETUP_CTRL_OFF | data); in netup_ci_op_cam()
|
D | cx23885-vbi.c | 97 cx_write(VID_A_VBI_CTRL, 3); in cx23885_start_vbi_dma() 98 cx_write(VBI_A_GPCNT_CTL, 3); in cx23885_start_vbi_dma()
|
D | cx23885-ioctl.c | 95 cx_write(reg->reg, reg->val); in cx23885_s_register()
|