Lines Matching refs:is_ver1
443 bool irq_idx, is_ver1; in hns_rcb_ring_get_cfg() local
446 is_ver1 = AE_IS_VER1(ring_pair_cb->rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_ring_get_cfg()
457 mdnum_ppkt = is_ver1 ? HNS_RCB_RING_MAX_TXBD_PER_PKT : in hns_rcb_ring_get_cfg()
497 bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_get_base_irq_idx() local
500 return SERVICE_RING_IRQ_IDX(is_ver1); in hns_rcb_get_base_irq_idx()
519 bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_get_cfg() local
531 is_ver1 ? platform_get_irq(pdev, base_irq_idx + i * 2) : in hns_rcb_get_cfg()
534 is_ver1 ? platform_get_irq(pdev, base_irq_idx + i * 2 + 1) : in hns_rcb_get_cfg()
969 bool is_ver1 = AE_IS_VER1(rcb_com->dsaf_dev->dsaf_ver); in hns_rcb_get_common_regs() local
1026 reg_tmp = is_ver1 ? RCB_CFG_OVERTIME_REG : RCB_PORT_CFG_OVERTIME_REG; in hns_rcb_get_common_regs()
1027 reg_num_tmp = (is_ver1 || is_dbg) ? 1 : 6; in hns_rcb_get_common_regs()