Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/atm/
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()
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()
2781 dev->atm_dev->ci_range.vpi_bits = vpi_bits; in hrz_probe()
2782 dev->atm_dev->ci_range.vci_bits = 10-vpi_bits; in hrz_probe()
2826 if (vpi_bits > HRZ_MAX_VPI) in hrz_check_args()
2828 vpi_bits = HRZ_MAX_VPI); in hrz_check_args()
2845 module_param(vpi_bits, ushort, 0);
2850 MODULE_PARM_DESC(vpi_bits, "number of bits (0..4) to allocate to VPIs");
Dadummy.c83 dev->ci_range.vpi_bits = 4; in adummy_start()
Deni.c1712 dev->ci_range.vpi_bits = 0; in eni_do_init()
2027 if ((ci.vpi_bits == 0 || ci.vpi_bits == ATM_CI_MAX) && in eni_ioctl()
2028 (ci.vci_bits == NR_VCI_LD || ci.vpi_bits == ATM_CI_MAX)) in eni_ioctl()
Dfirestream.c1767 dev->atm_dev->ci_range.vpi_bits = 12; in fs_init()
1776 dev->atm_dev->ci_range.vpi_bits = FS155_VPI_BITS; in fs_init()
Dsolos-pci.c1378 card->atmdev[i]->ci_range.vpi_bits = 8; in atm_init()
Dzatm.c1289 dev->ci_range.vpi_bits = 0; /* @@@ no VPI for now */ in zatm_start()
Dambassador.c2252 dev->atm_dev->ci_range.vpi_bits = NUM_VPI_BITS; in amb_probe()
Dlanai.c2127 atmdev->ci_range.vpi_bits = 0; in lanai_dev_open()
Dhe.c1513 he_dev->atm_dev->ci_range.vpi_bits = he_dev->vpibits; in he_start()
Dnicstar.c786 card->atmdev->ci_range.vpi_bits = card->vpibits; in ns_init_card()
Dfore200e.c2480 atm_dev->ci_range.vpi_bits = FORE200E_VPI_BITS; in fore200e_register()
Didt77252.c3689 dev->ci_range.vpi_bits = card->vpibits; in idt77252_init_one()
Diphase.c2324 dev->ci_range.vpi_bits = 0;
/Linux-v5.4/include/uapi/linux/
Datmdev.h170 signed char vpi_bits; /* 1..8, ATM_CI_MAX (-1) for maximum */ member
/Linux-v5.4/net/atm/
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-v5.4/drivers/usb/atm/
Dusbatm.c918 atm_dev->ci_range.vpi_bits = ATM_CI_MAX; in usbatm_atm_init()