Home
last modified time | relevance | path

Searched refs:cx18_read_reg (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/media/pci/cx18/ !
Dcx18-io.c47 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()
Dcx18-i2c.c157 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()
Dcx18-irq.c36 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()
Dcx18-gpio.c271 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()
Dcx18-av-firmware.c171 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()
Dcx18-firmware.c384 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()
Dcx18-audio.c45 u = cx18_read_reg(cx, CX18_AUDIO_ENABLE); in cx18_audio_set_io()
Dcx18-av-core.c20 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()
Dcx18-io.h153 static inline u32 cx18_read_reg(struct cx18 *cx, u32 reg) in cx18_read_reg() function
Dcx18-dvb.c262 v = cx18_read_reg(cx, CX18_REG_DMUX_NUM_PORT_0_CONTROL); in cx18_dvb_start_feed()
Dcx18-driver.c951 devtype = cx18_read_reg(cx, 0xC72028); in cx18_probe()