is_ver1 462 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); is_ver1 477 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c drv->mac_pausefrm_cfg(drv, !is_ver1, !is_ver1); is_ver1 608 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); is_ver1 611 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c if (is_ver1 && (tx_en || rx_en)) { is_ver1 1219 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c bool is_ver1 = AE_IS_VER1(dsaf_dev->dsaf_ver); is_ver1 1247 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hns_dsaf_set_pfc_pause(dsaf_dev, i, is_ver1, is_ver1); is_ver1 2202 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c bool is_ver1 = AE_IS_VER1(dsaf_dev->dsaf_ver); is_ver1 2215 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c reg_tmp = is_ver1 ? DSAF_INODE_FINAL_IN_PAUSE_NUM_0_REG : is_ver1 2239 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if ((node_num < DSAF_SERVICE_NW_NUM) && !is_ver1) { is_ver1 2265 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c bool is_ver1 = AE_IS_VER1(ddev->dsaf_ver); is_ver1 2330 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c reg_tmp = is_ver1 ? DSAF_INODE_FINAL_IN_PAUSE_NUM_0_REG : is_ver1 2579 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if (!is_ver1) is_ver1 2592 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c bool is_ver1 = AE_IS_VER1(dsaf_dev->dsaf_ver); is_ver1 2620 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if (node < DSAF_SERVICE_NW_NUM && !is_ver1) { is_ver1 2644 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c bool is_ver1 = AE_IS_VER1(ddev->dsaf_ver); is_ver1 2659 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if (node_num < DSAF_SERVICE_NW_NUM && !is_ver1) { is_ver1 2698 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c bool is_ver1 = AE_IS_VER1(dsaf_dev->dsaf_ver); is_ver1 2701 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if (is_ver1) is_ver1 510 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); is_ver1 514 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c if (is_ver1) { is_ver1 446 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c bool irq_idx, is_ver1; is_ver1 449 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c is_ver1 = AE_IS_VER1(ring_pair_cb->rcb_common->dsaf_dev->dsaf_ver); is_ver1 460 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c mdnum_ppkt = is_ver1 ? HNS_RCB_RING_MAX_TXBD_PER_PKT : is_ver1 500 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); is_ver1 503 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c return SERVICE_RING_IRQ_IDX(is_ver1); is_ver1 522 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); is_ver1 534 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c is_ver1 ? platform_get_irq(pdev, base_irq_idx + i * 2) : is_ver1 537 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c is_ver1 ? platform_get_irq(pdev, base_irq_idx + i * 2 + 1) : is_ver1 999 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c bool is_ver1 = AE_IS_VER1(rcb_com->dsaf_dev->dsaf_ver); is_ver1 1056 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c reg_tmp = is_ver1 ? RCB_CFG_OVERTIME_REG : RCB_PORT_CFG_OVERTIME_REG; is_ver1 1057 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c reg_num_tmp = (is_ver1 || is_dbg) ? 1 : 6; is_ver1 2105 drivers/net/ethernet/hisilicon/hns/hns_enet.c bool is_ver1 = AE_IS_VER1(priv->enet_ver); is_ver1 2124 drivers/net/ethernet/hisilicon/hns/hns_enet.c rd->fini_process = is_ver1 ? hns_nic_tx_fini_pro : is_ver1 2137 drivers/net/ethernet/hisilicon/hns/hns_enet.c rd->fini_process = is_ver1 ? hns_nic_rx_fini_pro :