Searched refs:vpi_bits (Results 1 – 17 of 17) sorted by relevance
166 if (ci.vpi_bits == ATM_CI_MAX) ci.vpi_bits = MAX_VPI_BITS; in atmtcp_v_ioctl()168 if (ci.vpi_bits > MAX_VPI_BITS || ci.vpi_bits < 0 || in atmtcp_v_ioctl()178 if ((vcc->vpi >> ci.vpi_bits) || in atmtcp_v_ioctl()374 dev->ci_range.vpi_bits = MAX_VPI_BITS; in atmtcp_create()
348 static unsigned short vpi_bits = 0; variable497 unsigned short vci_bits = 10 - vpi_bits; in vpivci_to_channel()498 if (0 <= vpi && vpi < 1<<vpi_bits && 0 <= vci && vci < 1<<vci_bits) { in vpivci_to_channel()1923 DISCARD_UNUSED_VPI_VCI_BITS_SET | NON_USER_CELLS_IN_ONE_CHANNEL | vpi_bits); in hrz_init()2741 dev->atm_dev->ci_range.vpi_bits = vpi_bits; in hrz_probe()2742 dev->atm_dev->ci_range.vci_bits = 10-vpi_bits; in hrz_probe()2786 if (vpi_bits > HRZ_MAX_VPI) in hrz_check_args()2788 vpi_bits = HRZ_MAX_VPI); in hrz_check_args()2805 module_param(vpi_bits, ushort, 0);2810 MODULE_PARM_DESC(vpi_bits, "number of bits (0..4) to allocate to VPIs");
83 dev->ci_range.vpi_bits = 4; in adummy_start()
1708 dev->ci_range.vpi_bits = 0; in eni_do_init()2023 if ((ci.vpi_bits == 0 || ci.vpi_bits == ATM_CI_MAX) && in eni_ioctl()2024 (ci.vci_bits == NR_VCI_LD || ci.vpi_bits == ATM_CI_MAX)) in eni_ioctl()
1769 dev->atm_dev->ci_range.vpi_bits = 12; in fs_init()1778 dev->atm_dev->ci_range.vpi_bits = FS155_VPI_BITS; in fs_init()
1376 card->atmdev[i]->ci_range.vpi_bits = 8; in atm_init()
1289 dev->ci_range.vpi_bits = 0; /* @@@ no VPI for now */ in zatm_start()
2252 dev->atm_dev->ci_range.vpi_bits = NUM_VPI_BITS; in amb_probe()
2127 atmdev->ci_range.vpi_bits = 0; in lanai_dev_open()
1513 he_dev->atm_dev->ci_range.vpi_bits = he_dev->vpibits; in he_start()
2466 atm_dev->ci_range.vpi_bits = FORE200E_VPI_BITS; in fore200e_register()
786 card->atmdev->ci_range.vpi_bits = card->vpibits; in ns_init_card()
3690 dev->ci_range.vpi_bits = card->vpibits; in idt77252_init_one()
2324 dev->ci_range.vpi_bits = 0;
170 signed char vpi_bits; /* 1..8, ATM_CI_MAX (-1) for maximum */ member
353 else if (p >= 1 << vcc->dev->ci_range.vpi_bits) in find_ci()375 if (p >= 1 << vcc->dev->ci_range.vpi_bits) in find_ci()389 vpi >> dev->ci_range.vpi_bits) || (vci != ATM_VCI_UNSPEC && in __vcc_connect()
920 atm_dev->ci_range.vpi_bits = ATM_CI_MAX; in usbatm_atm_init()