Lines Matching refs:num
194 int num, struct pci_dev *pci_dev) in netup_unidvb_ci_register() argument
199 if (num < 0 || num > 1) { in netup_unidvb_ci_register()
201 __func__, num); in netup_unidvb_ci_register()
204 state = &dev->ci[num]; in netup_unidvb_ci_register()
205 state->nr = num; in netup_unidvb_ci_register()
207 ((num == 0) ? CAM0_CONFIG : CAM1_CONFIG); in netup_unidvb_ci_register()
209 ((num == 0) ? CAM0_IO : CAM1_IO); in netup_unidvb_ci_register()
221 result = dvb_ca_en50221_init(&dev->frontends[num].adapter, in netup_unidvb_ci_register()
231 "%s(): CI adapter %d init done\n", __func__, num); in netup_unidvb_ci_register()
235 void netup_unidvb_ci_unregister(struct netup_unidvb_dev *dev, int num) in netup_unidvb_ci_unregister() argument
240 if (num < 0 || num > 1) { in netup_unidvb_ci_unregister()
242 __func__, num); in netup_unidvb_ci_unregister()
245 state = &dev->ci[num]; in netup_unidvb_ci_unregister()