Searched refs:func_class (Results 1 – 2 of 2) sorted by relevance
1479 u32 func_class; in lba_driver_probe() local1486 func_class = READ_REG32(addr + LBA_FCLASS); in lba_driver_probe()1489 func_class &= 0xf; in lba_driver_probe()1490 switch (func_class) { in lba_driver_probe()1501 version, func_class & 0xf, (long)dev->hpa.start); in lba_driver_probe()1503 if (func_class < 2) { in lba_driver_probe()1512 if (func_class > 4) { in lba_driver_probe()1523 func_class &= 0xff; in lba_driver_probe()1524 major = func_class >> 4, minor = func_class & 0xf; in lba_driver_probe()1531 minor, func_class, (long)dev->hpa.start); in lba_driver_probe()[all …]
1905 u32 func_class; in sba_driver_callback() local1916 func_class = READ_REG(sba_addr + SBA_FCLASS); in sba_driver_callback()1931 ike_rev[8] = '0' + (char) (func_class & 0xff); in sba_driver_callback()1935 pluto_rev[6] = '0' + (char) ((func_class & 0xf0) >> 4); in sba_driver_callback()1936 pluto_rev[8] = '0' + (char) (func_class & 0x0f); in sba_driver_callback()1940 reo_rev[8] = '0' + (char) (func_class & 0xff); in sba_driver_callback()1967 sba_dev->hw_rev = func_class; in sba_driver_callback()