Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_cmdq.c316 static void cmdq_fill_db(u32 *db_info, in cmdq_fill_db() argument
319 *db_info = HINIC_CMDQ_DB_INFO_SET(UPPER_8_BITS(prod_idx), HI_PROD_IDX) | in cmdq_fill_db()
328 u32 db_info; in cmdq_set_db() local
330 cmdq_fill_db(&db_info, cmdq_type, prod_idx); in cmdq_set_db()
333 db_info = cpu_to_be32(db_info); in cmdq_set_db()
337 writel(db_info, CMDQ_DB_ADDR(cmdq->db_base, prod_idx)); in cmdq_set_db()