Searched refs:tc_offset (Results 1 - 8 of 8) sorted by relevance

/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_rss.h122 void hclge_comm_get_rss_tc_info(u16 rss_size, u8 hw_tc_map, u16 *tc_offset,
124 int hclge_comm_set_rss_tc_mode(struct hclge_comm_hw *hw, u16 *tc_offset,
H A Dhclge_comm_rss.c66 void hclge_comm_get_rss_tc_info(u16 rss_size, u8 hw_tc_map, u16 *tc_offset, argument
78 tc_offset[i] = (hw_tc_map & BIT(i)) ? rss_size * i : 0;
82 int hclge_comm_set_rss_tc_mode(struct hclge_comm_hw *hw, u16 *tc_offset, argument
104 HCLGE_COMM_RSS_TC_OFFSET_S, tc_offset[i]);
/linux-master/drivers/media/platform/allegro-dvt/
H A Dallegro-mail.h80 s8 tc_offset; member in struct:create_channel_param
H A Dallegro-mail.c146 FIELD_PREP(GENMASK(7, 0), param->tc_offset);
H A Dallegro-core.c1252 param->tc_offset = TC_OFFSET_DIV_2;
/linux-master/drivers/net/ethernet/realtek/
H A Dr8169_main.c644 struct rtl8169_tc_offsets tc_offset; member in struct:rtl8169_private
1807 if (tp->tc_offset.inited)
1814 tp->tc_offset.tx_errors = counters->tx_errors;
1815 tp->tc_offset.tx_multi_collision = counters->tx_multi_collision;
1816 tp->tc_offset.tx_aborted = counters->tx_aborted;
1817 tp->tc_offset.rx_missed = counters->rx_missed;
1820 tp->tc_offset.inited = true;
4926 le64_to_cpu(tp->tc_offset.tx_errors);
4928 le32_to_cpu(tp->tc_offset.tx_multi_collision);
4930 le16_to_cpu(tp->tc_offset
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c2116 u16 tc_offset[HCLGE_COMM_MAX_TC_NUM]; local
2139 tc_offset, tc_valid, tc_size);
2141 return hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset,
3088 u16 tc_offset[HCLGE_COMM_MAX_TC_NUM]; local
3100 tc_offset, tc_valid, tc_size);
3101 ret = hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset,
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c4840 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; local
4873 tc_offset[i] = tc_info->tqp_offset[i];
4876 return hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, tc_valid,
12259 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; local
12277 tc_offset[i] = vport->nic.kinfo.rss_size * i;
12280 return hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, tc_valid,

Completed in 236 milliseconds