Lines Matching refs:nchan
3520 u32 mailbox, status, nchan; in cyz_load_fw() local
3641 nchan = readl(&pt_zfwctrl->board_ctrl.n_channel); in cyz_load_fw()
3643 readl(&pt_zfwctrl->board_ctrl.fw_version), nchan); in cyz_load_fw()
3645 if (nchan == 0) { in cyz_load_fw()
3671 return nchan; in cyz_load_fw()
3685 unsigned int device_id, nchan = 0, card_no, i, j; in cy_pci_probe() local
3744 nchan = CyPORTS_PER_CHIP * cyy_init_card(addr2, 1); in cy_pci_probe()
3745 if (nchan == 0) { in cy_pci_probe()
3805 nchan = retval; in cy_pci_probe()
3808 if ((cy_next_channel + nchan) > NR_PORTS) { in cy_pci_probe()
3836 card->num_chips = nchan / CyPORTS_PER_CHIP; in cy_pci_probe()
3865 card->nports = nchan; in cy_pci_probe()
3895 "port %d.\n", card_name, card_no + 1, nchan, cy_next_channel); in cy_pci_probe()
3896 for (j = 0, i = cy_next_channel; i < cy_next_channel + nchan; i++, j++) in cy_pci_probe()
3899 cy_next_channel += nchan; in cy_pci_probe()