Lines Matching refs:reg
105 struct v4l2_dbg_register *reg)
107 if ((reg->reg & 0x3) != 0 || reg->reg >= pci_resource_len(dev->pci, 0))
110 reg->size = 4;
111 reg->val = cx_read(reg->reg);
116 struct v4l2_dbg_register *reg)
123 if ((reg->reg & 0x3) != 0 || reg->reg >= 0x10000)
126 if (mc417_register_read(dev, (u16) reg->reg, &value))
129 reg->size = 4;
130 reg->val = value;
135 struct v4l2_dbg_register *reg)
142 if (reg->match.type == V4L2_CHIP_MATCH_HOST) {
143 switch (reg->match.addr) {
145 return cx23885_g_host_register(dev, reg);
147 return cx23417_g_register(dev, reg);
153 call_all(dev, core, g_register, reg);
158 struct v4l2_dbg_register *reg)
160 if ((reg->reg & 0x3) != 0 || reg->reg >= pci_resource_len(dev->pci, 0))
163 reg->size = 4;
164 cx_write(reg->reg, reg->val);
169 struct v4l2_dbg_register *reg)
174 if ((reg->reg & 0x3) != 0 || reg->reg >= 0x10000)
177 if (mc417_register_write(dev, (u16) reg->reg, (u32) reg->val))
180 reg->size = 4;
185 struct v4l2_dbg_register *reg)
192 if (reg->match.type == V4L2_CHIP_MATCH_HOST) {
193 switch (reg->match.addr) {
195 return cx23885_s_host_register(dev, reg);
197 return cx23417_s_register(dev, reg);
203 call_all(dev, core, s_register, reg);