Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c1663 u8 *req0 = (u8 *)desc[0].data; in hclge_dbg_dump_qos_dscp_map() local
1694 dscp_tc[i] = req0[i >> 1] >> HCLGE_DSCP_TC_SHIFT(i); in hclge_dbg_dump_qos_dscp_map()
1914 struct hclge_mac_ethertype_idx_rd_cmd *req0; in hclge_dbg_dump_mng_table() local
1926 req0 = (struct hclge_mac_ethertype_idx_rd_cmd *)desc.data; in hclge_dbg_dump_mng_table()
1927 req0->index = cpu_to_le16(i); in hclge_dbg_dump_mng_table()
1936 if (!req0->resp_code) in hclge_dbg_dump_mng_table()
1940 le16_to_cpu(req0->index), req0->mac_addr); in hclge_dbg_dump_mng_table()
1943 !!(req0->flags & HCLGE_DBG_MNG_MAC_MASK_B), in hclge_dbg_dump_mng_table()
1944 le16_to_cpu(req0->ethter_type), in hclge_dbg_dump_mng_table()
1945 !!(req0->flags & HCLGE_DBG_MNG_ETHER_MASK_B), in hclge_dbg_dump_mng_table()
[all …]
H A Dhclge_main.c1383 struct hclge_dev_specs_0_cmd *req0; in hclge_parse_dev_specs() local
1386 req0 = (struct hclge_dev_specs_0_cmd *)desc[0].data; in hclge_parse_dev_specs()
1389 ae_dev->dev_specs.max_non_tso_bd_num = req0->max_non_tso_bd_num; in hclge_parse_dev_specs()
1391 le16_to_cpu(req0->rss_ind_tbl_size); in hclge_parse_dev_specs()
1392 ae_dev->dev_specs.int_ql_max = le16_to_cpu(req0->int_ql_max); in hclge_parse_dev_specs()
1393 ae_dev->dev_specs.rss_key_size = le16_to_cpu(req0->rss_key_size); in hclge_parse_dev_specs()
1394 ae_dev->dev_specs.max_tm_rate = le32_to_cpu(req0->max_tm_rate); in hclge_parse_dev_specs()
3315 struct hclge_phy_link_ksetting_0_cmd *req0; in hclge_get_phy_link_ksettings() local
3334 req0 = (struct hclge_phy_link_ksetting_0_cmd *)desc[0].data; in hclge_get_phy_link_ksettings()
3335 cmd->base.autoneg = req0->autoneg; in hclge_get_phy_link_ksettings()
[all …]
H A Dhclge_tm.c282 u8 *req0 = (u8 *)desc[0].data; in hclge_dscp_to_tc_map() local
298 req0[i >> 1] |= tc_id << HCLGE_DSCP_TC_SHIFT(i); in hclge_dscp_to_tc_map()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c2744 struct hclgevf_dev_specs_0_cmd *req0; in hclgevf_parse_dev_specs() local
2747 req0 = (struct hclgevf_dev_specs_0_cmd *)desc[0].data; in hclgevf_parse_dev_specs()
2750 ae_dev->dev_specs.max_non_tso_bd_num = req0->max_non_tso_bd_num; in hclgevf_parse_dev_specs()
2752 le16_to_cpu(req0->rss_ind_tbl_size); in hclgevf_parse_dev_specs()
2753 ae_dev->dev_specs.int_ql_max = le16_to_cpu(req0->int_ql_max); in hclgevf_parse_dev_specs()
2754 ae_dev->dev_specs.rss_key_size = le16_to_cpu(req0->rss_key_size); in hclgevf_parse_dev_specs()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c8409 struct hwrm_stat_ctx_clr_stats_input *req0 = NULL; in bnxt_hwrm_stat_ctx_free() local
8422 if (hwrm_req_init(bp, req0, HWRM_STAT_CTX_CLR_STATS)) { in bnxt_hwrm_stat_ctx_free()
8426 hwrm_req_hold(bp, req0); in bnxt_hwrm_stat_ctx_free()
8435 if (req0) { in bnxt_hwrm_stat_ctx_free()
8436 req0->stat_ctx_id = req->stat_ctx_id; in bnxt_hwrm_stat_ctx_free()
8437 hwrm_req_send(bp, req0); in bnxt_hwrm_stat_ctx_free()
8445 if (req0) in bnxt_hwrm_stat_ctx_free()
8446 hwrm_req_drop(bp, req0); in bnxt_hwrm_stat_ctx_free()