Lines Matching refs:reg
32 struct v4l2_dbg_register *reg) in cx23417_g_register() argument
39 if ((reg->reg & 0x3) != 0 || reg->reg >= 0x10000) in cx23417_g_register()
42 if (mc417_register_read(dev, (u16) reg->reg, &value)) in cx23417_g_register()
45 reg->size = 4; in cx23417_g_register()
46 reg->val = value; in cx23417_g_register()
51 struct v4l2_dbg_register *reg) in cx23885_g_register() argument
55 if (reg->match.addr > 1) in cx23885_g_register()
57 if (reg->match.addr) in cx23885_g_register()
58 return cx23417_g_register(dev, reg); in cx23885_g_register()
60 if ((reg->reg & 0x3) != 0 || reg->reg >= pci_resource_len(dev->pci, 0)) in cx23885_g_register()
63 reg->size = 4; in cx23885_g_register()
64 reg->val = cx_read(reg->reg); in cx23885_g_register()
69 const struct v4l2_dbg_register *reg) in cx23417_s_register() argument
74 if ((reg->reg & 0x3) != 0 || reg->reg >= 0x10000) in cx23417_s_register()
77 if (mc417_register_write(dev, (u16) reg->reg, (u32) reg->val)) in cx23417_s_register()
83 const struct v4l2_dbg_register *reg) in cx23885_s_register() argument
87 if (reg->match.addr > 1) in cx23885_s_register()
89 if (reg->match.addr) in cx23885_s_register()
90 return cx23417_s_register(dev, reg); in cx23885_s_register()
92 if ((reg->reg & 0x3) != 0 || reg->reg >= pci_resource_len(dev->pci, 0)) in cx23885_s_register()
95 cx_write(reg->reg, reg->val); in cx23885_s_register()