Home
last modified time | relevance | path

Searched refs:vpi_bits (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/atm/
A Datmtcp.c166 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()
A Dhorizon.c348 static unsigned short vpi_bits = 0; variable
497 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");
A Dadummy.c83 dev->ci_range.vpi_bits = 4; in adummy_start()
A Deni.c1708 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()
A Dfirestream.c1770 dev->atm_dev->ci_range.vpi_bits = 12; in fs_init()
1779 dev->atm_dev->ci_range.vpi_bits = FS155_VPI_BITS; in fs_init()
A Dsolos-pci.c1376 card->atmdev[i]->ci_range.vpi_bits = 8; in atm_init()
A Dzatm.c1289 dev->ci_range.vpi_bits = 0; /* @@@ no VPI for now */ in zatm_start()
A Dambassador.c2252 dev->atm_dev->ci_range.vpi_bits = NUM_VPI_BITS; in amb_probe()
A Dlanai.c2126 atmdev->ci_range.vpi_bits = 0; in lanai_dev_open()
A Dhe.c1513 he_dev->atm_dev->ci_range.vpi_bits = he_dev->vpibits; in he_start()
A Dfore200e.c2464 atm_dev->ci_range.vpi_bits = FORE200E_VPI_BITS; in fore200e_register()
A Dnicstar.c788 card->atmdev->ci_range.vpi_bits = card->vpibits; in ns_init_card()
A Didt77252.c3684 dev->ci_range.vpi_bits = card->vpibits; in idt77252_init_one()
A Diphase.c2327 dev->ci_range.vpi_bits = 0;
/linux/include/uapi/linux/
A Datmdev.h170 signed char vpi_bits; /* 1..8, ATM_CI_MAX (-1) for maximum */ member
/linux/net/atm/
A Dcommon.c353 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()
/linux/drivers/usb/atm/
A Dusbatm.c920 atm_dev->ci_range.vpi_bits = ATM_CI_MAX; in usbatm_atm_init()

Completed in 60 milliseconds