Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/atm/
Datmtcp.c165 if (ci.vpi_bits == ATM_CI_MAX) ci.vpi_bits = MAX_VPI_BITS; in atmtcp_v_ioctl()
167 if (ci.vpi_bits > MAX_VPI_BITS || ci.vpi_bits < 0 || in atmtcp_v_ioctl()
177 if ((vcc->vpi >> ci.vpi_bits) || in atmtcp_v_ioctl()
373 dev->ci_range.vpi_bits = MAX_VPI_BITS; in atmtcp_create()
Dhorizon.c363 static unsigned short vpi_bits = 0; variable
512 unsigned short vci_bits = 10 - vpi_bits; in vpivci_to_channel()
513 if (0 <= vpi && vpi < 1<<vpi_bits && 0 <= vci && vci < 1<<vci_bits) { in vpivci_to_channel()
1938 DISCARD_UNUSED_VPI_VCI_BITS_SET | NON_USER_CELLS_IN_ONE_CHANNEL | vpi_bits); in hrz_init()
2796 dev->atm_dev->ci_range.vpi_bits = vpi_bits; in hrz_probe()
2797 dev->atm_dev->ci_range.vci_bits = 10-vpi_bits; in hrz_probe()
2841 if (vpi_bits > HRZ_MAX_VPI) in hrz_check_args()
2843 vpi_bits = HRZ_MAX_VPI); in hrz_check_args()
2860 module_param(vpi_bits, ushort, 0);
2865 MODULE_PARM_DESC(vpi_bits, "number of bits (0..4) to allocate to VPIs");
Dadummy.c82 dev->ci_range.vpi_bits = 4; in adummy_start()
Deni.c1710 dev->ci_range.vpi_bits = 0; in eni_do_init()
2025 if ((ci.vpi_bits == 0 || ci.vpi_bits == ATM_CI_MAX) && in eni_ioctl()
2026 (ci.vci_bits == NR_VCI_LD || ci.vpi_bits == ATM_CI_MAX)) in eni_ioctl()
Dfirestream.c1782 dev->atm_dev->ci_range.vpi_bits = 12; in fs_init()
1791 dev->atm_dev->ci_range.vpi_bits = FS155_VPI_BITS; in fs_init()
Dsolos-pci.c1390 card->atmdev[i]->ci_range.vpi_bits = 8; in atm_init()
Dzatm.c1288 dev->ci_range.vpi_bits = 0; /* @@@ no VPI for now */ in zatm_start()
Dambassador.c2267 dev->atm_dev->ci_range.vpi_bits = NUM_VPI_BITS; in amb_probe()
Dlanai.c2131 atmdev->ci_range.vpi_bits = 0; in lanai_dev_open()
Dhe.c1514 he_dev->atm_dev->ci_range.vpi_bits = he_dev->vpibits; in he_start()
Dfore200e.c2571 atm_dev->ci_range.vpi_bits = FORE200E_VPI_BITS; in fore200e_register()
Dnicstar.c785 card->atmdev->ci_range.vpi_bits = card->vpibits; in ns_init_card()
Didt77252.c3690 dev->ci_range.vpi_bits = card->vpibits; in idt77252_init_one()
Diphase.c2323 dev->ci_range.vpi_bits = 0;
/Linux-v4.19/include/uapi/linux/
Datmdev.h170 signed char vpi_bits; /* 1..8, ATM_CI_MAX (-1) for maximum */ member
/Linux-v4.19/net/atm/
Dcommon.c352 else if (p >= 1 << vcc->dev->ci_range.vpi_bits) in find_ci()
374 if (p >= 1 << vcc->dev->ci_range.vpi_bits) in find_ci()
388 vpi >> dev->ci_range.vpi_bits) || (vci != ATM_VCI_UNSPEC && in __vcc_connect()
/Linux-v4.19/drivers/usb/atm/
Dusbatm.c918 atm_dev->ci_range.vpi_bits = ATM_CI_MAX; in usbatm_atm_init()