Home
last modified time | relevance | path

Searched refs:serNo (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/isdn/hardware/eicon/
Dos_4bri.c533 dword serNo; in _4bri_get_serial_number() local
561 serNo = data[32]; in _4bri_get_serial_number()
562 if (serNo == 0 || serNo == 0xffffffff) in _4bri_get_serial_number()
563 serNo = data[63]; in _4bri_get_serial_number()
565 if (!serNo) { in _4bri_get_serial_number()
567 serNo = a->resources.pci.bar[1] & 0xffff0000; in _4bri_get_serial_number()
568 serNo |= a->resources.pci.bus << 8; in _4bri_get_serial_number()
569 serNo |= a->resources.pci.func; in _4bri_get_serial_number()
572 a->xdi_adapter.serialNo = serNo; in _4bri_get_serial_number()
576 return (serNo); in _4bri_get_serial_number()
Dos_bri.c335 dword serNo = 0; in diva_bri_get_serial_number() local
343 serNo = ((dword) serHi << 16) | (dword) serLo; in diva_bri_get_serial_number()
346 if ((serNo == 0) || (serNo == 0xFFFFFFFF)) { in diva_bri_get_serial_number()
352 serNo = (((dword) serHi) << 16) | ((dword) serLo); in diva_bri_get_serial_number()
356 DBG_LOG(("Serial Number=%ld", serNo)) in diva_bri_get_serial_number()
358 return (serNo); in diva_bri_get_serial_number()
Dos_pri.c168 dword serNo; in diva_pri_init_card() local
169 serNo = a->resources.pci.bar[1] & 0xffff0000; in diva_pri_init_card()
170 serNo |= ((dword) a->resources.pci.bus) << 8; in diva_pri_init_card()
171 serNo += (a->resources.pci.func + a->controller + 1); in diva_pri_init_card()
172 a->xdi_adapter.serialNo = serNo & ~0xFF000000; in diva_pri_init_card()