Searched refs:cx18_read_reg (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/media/pci/cx18/ ! |
D | cx18-io.c | 47 cx->sw1_irq_mask = cx18_read_reg(cx, SW1_INT_ENABLE_PCI) | val; in cx18_sw1_irq_enable() 53 cx->sw1_irq_mask = cx18_read_reg(cx, SW1_INT_ENABLE_PCI) & ~val; in cx18_sw1_irq_disable() 60 cx->sw2_irq_mask = cx18_read_reg(cx, SW2_INT_ENABLE_PCI) | val; in cx18_sw2_irq_enable() 66 cx->sw2_irq_mask = cx18_read_reg(cx, SW2_INT_ENABLE_PCI) & ~val; in cx18_sw2_irq_disable() 73 r = cx18_read_reg(cx, SW2_INT_ENABLE_CPU); in cx18_sw2_irq_disable_cpu() 80 val = cx18_read_reg(cx, 0xD000F8); in cx18_setup_page()
|
D | cx18-i2c.c | 157 u32 r = cx18_read_reg(cx, addr); in cx18_setscl() 170 u32 r = cx18_read_reg(cx, addr); in cx18_setsda() 184 return cx18_read_reg(cx, addr) & GETSCL_BIT; in cx18_getscl() 193 return cx18_read_reg(cx, addr) & GETSDL_BIT; in cx18_getsda() 238 if (cx18_read_reg(cx, CX18_REG_I2C_2_WR) != 0x0003c02f) { in init_cx18_i2c() 292 cx18_write_reg(cx, cx18_read_reg(cx, CX18_REG_I2C_1_WR) | 4, in exit_cx18_i2c() 294 cx18_write_reg(cx, cx18_read_reg(cx, CX18_REG_I2C_2_WR) | 4, in exit_cx18_i2c()
|
D | cx18-irq.c | 36 sw1 = cx18_read_reg(cx, SW1_INT_STATUS) & cx->sw1_irq_mask; in cx18_irq_handler() 37 sw2 = cx18_read_reg(cx, SW2_INT_STATUS) & cx->sw2_irq_mask; in cx18_irq_handler() 38 hw2 = cx18_read_reg(cx, HW2_INT_CLR_STATUS) & cx->hw2_irq_mask; in cx18_irq_handler()
|
D | cx18-gpio.c | 271 cx18_read_reg(cx, CX18_REG_GPIO_DIR1), in cx18_gpio_init() 272 cx18_read_reg(cx, CX18_REG_GPIO_DIR2), in cx18_gpio_init() 273 cx18_read_reg(cx, CX18_REG_GPIO_OUT1), in cx18_gpio_init() 274 cx18_read_reg(cx, CX18_REG_GPIO_OUT2)); in cx18_gpio_init()
|
D | cx18-av-firmware.c | 171 v = cx18_read_reg(cx, CX18_AUDIO_ENABLE); in cx18_av_loadfw() 178 v = cx18_read_reg(cx, CX18_AUDIO_ENABLE); in cx18_av_loadfw()
|
D | cx18-firmware.c | 384 if ((cx18_read_reg(cx, CX18_PROC_SOFT_RESET) & 8) == 0) { in cx18_firmware_init() 411 retries < 50 && (cx18_read_reg(cx, CX18_PROC_SOFT_RESET) & 1) == 1; in cx18_firmware_init() 418 (cx18_read_reg(cx, CX18_PROC_SOFT_RESET) & 1) == 1) { in cx18_firmware_init()
|
D | cx18-audio.c | 45 u = cx18_read_reg(cx, CX18_AUDIO_ENABLE); in cx18_audio_set_io()
|
D | cx18-av-core.c | 20 u32 x = cx18_read_reg(cx, reg); in cx18_av_write() 31 u32 x = cx18_read_reg(cx, reg); in cx18_av_write_expect() 60 u32 x = cx18_read_reg(cx, 0xc40000 + (addr & ~3)); in cx18_av_read() 68 return cx18_read_reg(cx, 0xc40000 + addr); in cx18_av_read4()
|
D | cx18-io.h | 153 static inline u32 cx18_read_reg(struct cx18 *cx, u32 reg) in cx18_read_reg() function
|
D | cx18-dvb.c | 262 v = cx18_read_reg(cx, CX18_REG_DMUX_NUM_PORT_0_CONTROL); in cx18_dvb_start_feed()
|
D | cx18-driver.c | 951 devtype = cx18_read_reg(cx, 0xC72028); in cx18_probe()
|