36 switch (chip->
match.type) {
38 switch (chip->
match.addr) {
41 switch (dev->
pci->device) {
50 if (rev == 0x0e || rev == 0x0f)
59 chip->
revision = (dev->
pci->device << 16) | (rev << 8) |
103 #ifdef CONFIG_VIDEO_ADV_DEBUG
115 static int cx23417_g_register(
struct cx23885_dev *dev,
123 if ((reg->
reg & 0x3) != 0 || reg->
reg >= 0x10000)
134 int cx23885_g_register(
struct file *
file,
void *fh,
143 switch (reg->
match.addr) {
145 return cx23885_g_host_register(dev, reg);
147 return cx23417_g_register(dev, reg);
158 static int cx23885_s_host_register(
struct cx23885_dev *dev,
169 static int cx23417_s_register(
struct cx23885_dev *dev,
175 if ((reg->
reg & 0x3) != 0 || reg->
reg >= 0x10000)
185 int cx23885_s_register(
struct file *file,
void *fh,
194 switch (reg->
match.addr) {
196 return cx23885_s_host_register(dev, reg);
198 return cx23417_s_register(dev, reg);