Home
last modified time | relevance | path

Searched refs:db_info (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_cmdq.c311 static void cmdq_fill_db(u32 *db_info, in cmdq_fill_db() argument
314 *db_info = HINIC_CMDQ_DB_INFO_SET(UPPER_8_BITS(prod_idx), HI_PROD_IDX) | in cmdq_fill_db()
323 u32 db_info; in cmdq_set_db() local
325 cmdq_fill_db(&db_info, cmdq_type, prod_idx); in cmdq_set_db()
328 db_info = cpu_to_be32(db_info); in cmdq_set_db()
332 writel(db_info, CMDQ_DB_ADDR(cmdq->db_base, prod_idx)); in cmdq_set_db()