Lines Matching refs:hw_revision
85 u8 hw_revision, old_ver;
97 hw_revision = ene_hw_read_reg(dev, ENE_HW_VERSION);
111 if (hw_revision == 0xFF) {
125 if (chip_major == 0x39 && chip_minor == 0x26 && hw_revision == 0xC0) {
126 dev->hw_revision = ENE_HW_C;
127 } else if (old_ver == 0x24 && hw_revision == 0xC0) {
128 dev->hw_revision = ENE_HW_B;
131 dev->hw_revision = ENE_HW_D;
141 chip_major, chip_minor, old_ver, hw_revision);
144 if (dev->hw_revision < ENE_HW_C)
231 if (dev->hw_revision <= ENE_HW_B)
281 if (dev->hw_revision < ENE_HW_C) {
338 if (dev->hw_revision == ENE_HW_C)
475 if (dev->hw_revision < ENE_HW_C) {
834 if (dev->hw_revision == ENE_HW_B)
852 if (dev->hw_revision == ENE_HW_B && enable_idle)