Lines Matching refs:is_ver1
447 bool irq_idx, is_ver1; in hns_rcb_ring_get_cfg() local
450 is_ver1 = AE_IS_VER1(ring_pair_cb->rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_ring_get_cfg()
461 mdnum_ppkt = is_ver1 ? HNS_RCB_RING_MAX_TXBD_PER_PKT : in hns_rcb_ring_get_cfg()
501 bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_get_base_irq_idx() local
504 return SERVICE_RING_IRQ_IDX(is_ver1); in hns_rcb_get_base_irq_idx()
523 bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_get_cfg() local
535 is_ver1 ? platform_get_irq(pdev, base_irq_idx + i * 2) : in hns_rcb_get_cfg()
538 is_ver1 ? platform_get_irq(pdev, base_irq_idx + i * 2 + 1) : in hns_rcb_get_cfg()
973 bool is_ver1 = AE_IS_VER1(rcb_com->dsaf_dev->dsaf_ver); in hns_rcb_get_common_regs() local
1030 reg_tmp = is_ver1 ? RCB_CFG_OVERTIME_REG : RCB_PORT_CFG_OVERTIME_REG; in hns_rcb_get_common_regs()
1031 reg_num_tmp = (is_ver1 || is_dbg) ? 1 : 6; in hns_rcb_get_common_regs()