Searched refs:func_class (Results 1 – 2 of 2) sorted by relevance
1476 u32 func_class; in lba_driver_probe() local1483 func_class = READ_REG32(addr + LBA_FCLASS); in lba_driver_probe()1486 func_class &= 0xf; in lba_driver_probe()1487 switch (func_class) { in lba_driver_probe()1498 version, func_class & 0xf, (long)dev->hpa.start); in lba_driver_probe()1500 if (func_class < 2) { in lba_driver_probe()1509 if (func_class > 4) { in lba_driver_probe()1520 func_class &= 0xff; in lba_driver_probe()1521 major = func_class >> 4, minor = func_class & 0xf; in lba_driver_probe()1528 minor, func_class, (long)dev->hpa.start); in lba_driver_probe()[all …]
1883 u32 func_class; in sba_driver_callback() local1894 func_class = READ_REG(sba_addr + SBA_FCLASS); in sba_driver_callback()1909 ike_rev[8] = '0' + (char) (func_class & 0xff); in sba_driver_callback()1913 pluto_rev[6] = '0' + (char) ((func_class & 0xf0) >> 4); in sba_driver_callback()1914 pluto_rev[8] = '0' + (char) (func_class & 0x0f); in sba_driver_callback()1918 reo_rev[8] = '0' + (char) (func_class & 0xff); in sba_driver_callback()1945 sba_dev->hw_rev = func_class; in sba_driver_callback()