Searched refs:serNo (Results 1 – 3 of 3) sorted by relevance
532 dword serNo; in _4bri_get_serial_number() local560 serNo = data[32]; in _4bri_get_serial_number()561 if (serNo == 0 || serNo == 0xffffffff) in _4bri_get_serial_number()562 serNo = data[63]; in _4bri_get_serial_number()564 if (!serNo) { in _4bri_get_serial_number()566 serNo = a->resources.pci.bar[1] & 0xffff0000; in _4bri_get_serial_number()567 serNo |= a->resources.pci.bus << 8; in _4bri_get_serial_number()568 serNo |= a->resources.pci.func; in _4bri_get_serial_number()571 a->xdi_adapter.serialNo = serNo; in _4bri_get_serial_number()575 return (serNo); in _4bri_get_serial_number()
334 dword serNo = 0; in diva_bri_get_serial_number() local342 serNo = ((dword) serHi << 16) | (dword) serLo; in diva_bri_get_serial_number()345 if ((serNo == 0) || (serNo == 0xFFFFFFFF)) { in diva_bri_get_serial_number()351 serNo = (((dword) serHi) << 16) | ((dword) serLo); in diva_bri_get_serial_number()355 DBG_LOG(("Serial Number=%ld", serNo)) in diva_bri_get_serial_number()357 return (serNo); in diva_bri_get_serial_number()
167 dword serNo; in diva_pri_init_card() local168 serNo = a->resources.pci.bar[1] & 0xffff0000; in diva_pri_init_card()169 serNo |= ((dword) a->resources.pci.bus) << 8; in diva_pri_init_card()170 serNo += (a->resources.pci.func + a->controller + 1); in diva_pri_init_card()171 a->xdi_adapter.serialNo = serNo & ~0xFF000000; in diva_pri_init_card()