Home
last modified time | relevance | path

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

/drivers/media/platform/allegro-dvt/
Dallegro-mail.h77 s8 tc_offset; member
Dallegro-mail.c146 FIELD_PREP(GENMASK(7, 0), param->tc_offset); in allegro_encode_config_blob()
Dallegro-core.c1174 param->tc_offset = TC_OFFSET_DIV_2; in fill_create_channel_param()
/drivers/net/ethernet/realtek/
Dr8169_main.c633 struct rtl8169_tc_offsets tc_offset; member
1632 if (tp->tc_offset.inited) in rtl8169_init_counter_offsets()
1639 tp->tc_offset.tx_errors = counters->tx_errors; in rtl8169_init_counter_offsets()
1640 tp->tc_offset.tx_multi_collision = counters->tx_multi_collision; in rtl8169_init_counter_offsets()
1641 tp->tc_offset.tx_aborted = counters->tx_aborted; in rtl8169_init_counter_offsets()
1642 tp->tc_offset.rx_missed = counters->rx_missed; in rtl8169_init_counter_offsets()
1645 tp->tc_offset.inited = true; in rtl8169_init_counter_offsets()
4881 le64_to_cpu(tp->tc_offset.tx_errors); in rtl8169_get_stats64()
4883 le32_to_cpu(tp->tc_offset.tx_multi_collision); in rtl8169_get_stats64()
4885 le16_to_cpu(tp->tc_offset.tx_aborted); in rtl8169_get_stats64()
[all …]
/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c692 u16 tc_offset[HCLGEVF_MAX_TC_NUM]; in hclgevf_set_rss_tc_mode() local
708 tc_offset[i] = (hdev->hw_tc_map & BIT(i)) ? rss_size * i : 0; in hclgevf_set_rss_tc_mode()
723 HCLGEVF_RSS_TC_OFFSET_S, tc_offset[i]); in hclgevf_set_rss_tc_mode()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c4632 u16 *tc_size, u16 *tc_offset) in hclge_set_rss_tc_mode() argument
4651 HCLGE_RSS_TC_OFFSET_S, tc_offset[i]); in hclge_set_rss_tc_mode()
4997 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_init_rss_tc_mode() local
5030 tc_offset[i] = tc_info->tqp_offset[i]; in hclge_init_rss_tc_mode()
5033 return hclge_set_rss_tc_mode(hdev, tc_valid, tc_size, tc_offset); in hclge_init_rss_tc_mode()
12280 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_set_channels() local
12310 tc_offset[i] = kinfo->rss_size * i; in hclge_set_channels()
12312 ret = hclge_set_rss_tc_mode(hdev, tc_valid, tc_size, tc_offset); in hclge_set_channels()