Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/media/allegro-dvt/
Dallegro-mail.h76 s8 tc_offset; member
Dallegro-mail.c137 FIELD_PREP(GENMASK(7, 0), param->tc_offset); in allegro_encode_config_blob()
Dallegro-core.c950 param->tc_offset = -1; in fill_create_channel_param()
/Linux-v5.10/drivers/net/ethernet/realtek/
Dr8169_main.c624 struct rtl8169_tc_offsets tc_offset; member
1635 if (tp->tc_offset.inited) in rtl8169_init_counter_offsets()
1641 tp->tc_offset.tx_errors = counters->tx_errors; in rtl8169_init_counter_offsets()
1642 tp->tc_offset.tx_multi_collision = counters->tx_multi_collision; in rtl8169_init_counter_offsets()
1643 tp->tc_offset.tx_aborted = counters->tx_aborted; in rtl8169_init_counter_offsets()
1644 tp->tc_offset.rx_missed = counters->rx_missed; in rtl8169_init_counter_offsets()
1645 tp->tc_offset.inited = true; in rtl8169_init_counter_offsets()
4809 le64_to_cpu(tp->tc_offset.tx_errors); in rtl8169_get_stats64()
4811 le32_to_cpu(tp->tc_offset.tx_multi_collision); in rtl8169_get_stats64()
4813 le16_to_cpu(tp->tc_offset.tx_aborted); in rtl8169_get_stats64()
[all …]
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c668 u16 tc_offset[HCLGEVF_MAX_TC_NUM]; in hclgevf_set_rss_tc_mode() local
684 tc_offset[i] = rss_size * i; in hclgevf_set_rss_tc_mode()
694 HCLGEVF_RSS_TC_OFFSET_S, tc_offset[i]); in hclgevf_set_rss_tc_mode()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c4271 u16 *tc_size, u16 *tc_offset) in hclge_set_rss_tc_mode() argument
4288 HCLGE_RSS_TC_OFFSET_S, tc_offset[i]); in hclge_set_rss_tc_mode()
4585 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_rss_init_hw() local
4628 tc_offset[i] = rss_size * i; in hclge_rss_init_hw()
4631 return hclge_set_rss_tc_mode(hdev, tc_valid, tc_size, tc_offset); in hclge_rss_init_hw()
10635 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_set_channels() local
10665 tc_offset[i] = kinfo->rss_size * i; in hclge_set_channels()
10667 ret = hclge_set_rss_tc_mode(hdev, tc_valid, tc_size, tc_offset); in hclge_set_channels()