Home
last modified time | relevance | path

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

/openbmc/linux/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, in hclge_comm_get_rss_tc_info() argument
78 tc_offset[i] = (hw_tc_map & BIT(i)) ? rss_size * i : 0; in hclge_comm_get_rss_tc_info()
82 int hclge_comm_set_rss_tc_mode(struct hclge_comm_hw *hw, u16 *tc_offset, in hclge_comm_set_rss_tc_mode() argument
104 HCLGE_COMM_RSS_TC_OFFSET_S, tc_offset[i]); in hclge_comm_set_rss_tc_mode()
/openbmc/linux/drivers/media/platform/allegro-dvt/
H A Dallegro-mail.h80 s8 tc_offset; member
H A Dallegro-mail.c146 FIELD_PREP(GENMASK(7, 0), param->tc_offset); in allegro_encode_config_blob()
H A Dallegro-core.c1252 param->tc_offset = TC_OFFSET_DIV_2; in fill_create_channel_param()
/openbmc/linux/drivers/net/ethernet/realtek/
H A Dr8169_main.c659 struct rtl8169_tc_offsets tc_offset; member
1719 if (tp->tc_offset.inited) in rtl8169_init_counter_offsets()
1726 tp->tc_offset.tx_errors = counters->tx_errors; in rtl8169_init_counter_offsets()
1727 tp->tc_offset.tx_multi_collision = counters->tx_multi_collision; in rtl8169_init_counter_offsets()
1728 tp->tc_offset.tx_aborted = counters->tx_aborted; in rtl8169_init_counter_offsets()
1729 tp->tc_offset.rx_missed = counters->rx_missed; in rtl8169_init_counter_offsets()
1732 tp->tc_offset.inited = true; in rtl8169_init_counter_offsets()
4868 le64_to_cpu(tp->tc_offset.tx_errors); in rtl8169_get_stats64()
4870 le32_to_cpu(tp->tc_offset.tx_multi_collision); in rtl8169_get_stats64()
4872 le16_to_cpu(tp->tc_offset.tx_aborted); in rtl8169_get_stats64()
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c2117 u16 tc_offset[HCLGE_COMM_MAX_TC_NUM]; in hclgevf_rss_init_hw() local
2140 tc_offset, tc_valid, tc_size); in hclgevf_rss_init_hw()
2142 return hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, in hclgevf_rss_init_hw()
3086 u16 tc_offset[HCLGE_COMM_MAX_TC_NUM]; in hclgevf_set_channels() local
3098 tc_offset, tc_valid, tc_size); in hclgevf_set_channels()
3099 ret = hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, in hclgevf_set_channels()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c4850 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_init_rss_tc_mode() local
4883 tc_offset[i] = tc_info->tqp_offset[i]; in hclge_init_rss_tc_mode()
4886 return hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, tc_valid, in hclge_init_rss_tc_mode()
12272 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_set_rss_tc_mode_cfg() local
12290 tc_offset[i] = vport->nic.kinfo.rss_size * i; in hclge_set_rss_tc_mode_cfg()
12293 return hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, tc_valid, in hclge_set_rss_tc_mode_cfg()
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0001-ffmpeg-5.1.4-rpi_24.patch8653 + .slice_tc_offset_div2 = sh->tc_offset / 2,
8908 + .pps_tc_offset_div2 = pps->tc_offset / 2,