Home
last modified time | relevance | path

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

/Linux-v5.10/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()
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");
Dadummy.c83 dev->ci_range.vpi_bits = 4; in adummy_start()
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()
Dfirestream.c1769 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()
Dsolos-pci.c1376 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()
Dfore200e.c2466 atm_dev->ci_range.vpi_bits = FORE200E_VPI_BITS; in fore200e_register()
Dnicstar.c786 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.c2324 dev->ci_range.vpi_bits = 0;
/Linux-v5.10/include/uapi/linux/
Datmdev.h170 signed char vpi_bits; /* 1..8, ATM_CI_MAX (-1) for maximum */ member
/Linux-v5.10/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.10/drivers/usb/atm/
Dusbatm.c920 atm_dev->ci_range.vpi_bits = ATM_CI_MAX; in usbatm_atm_init()