/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
H A D | hclge_comm_rss.h | 122 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 D | hclge_comm_rss.c | 66 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()
|
/kernel/linux/linux-5.10/drivers/staging/media/allegro-dvt/ |
H A D | allegro-mail.h | 76 s8 tc_offset; member
|
H A D | allegro-mail.c | 137 FIELD_PREP(GENMASK(7, 0), param->tc_offset); in allegro_encode_config_blob()
|
H A D | allegro-core.c | 950 param->tc_offset = -1; in fill_create_channel_param()
|
/kernel/linux/linux-6.6/drivers/media/platform/allegro-dvt/ |
H A D | allegro-mail.h | 80 s8 tc_offset; member
|
H A D | allegro-mail.c | 146 FIELD_PREP(GENMASK(7, 0), param->tc_offset); in allegro_encode_config_blob()
|
H A D | allegro-core.c | 1252 param->tc_offset = TC_OFFSET_DIV_2; in fill_create_channel_param()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/ |
H A D | r8169_main.c | 628 struct rtl8169_tc_offsets tc_offset; member 1639 if (tp->tc_offset.inited) in rtl8169_init_counter_offsets() 1645 tp->tc_offset.tx_errors = counters->tx_errors; in rtl8169_init_counter_offsets() 1646 tp->tc_offset.tx_multi_collision = counters->tx_multi_collision; in rtl8169_init_counter_offsets() 1647 tp->tc_offset.tx_aborted = counters->tx_aborted; in rtl8169_init_counter_offsets() 1648 tp->tc_offset.rx_missed = counters->rx_missed; in rtl8169_init_counter_offsets() 1649 tp->tc_offset.inited = true; in rtl8169_init_counter_offsets() 4908 le64_to_cpu(tp->tc_offset.tx_errors); in rtl8169_get_stats64() 4910 le32_to_cpu(tp->tc_offset.tx_multi_collision); in rtl8169_get_stats64() 4912 le16_to_cpu(tp->tc_offset in rtl8169_get_stats64() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/realtek/ |
H A D | r8169_main.c | 632 struct rtl8169_tc_offsets tc_offset; member 1669 if (tp->tc_offset.inited) in rtl8169_init_counter_offsets() 1676 tp->tc_offset.tx_errors = counters->tx_errors; in rtl8169_init_counter_offsets() 1677 tp->tc_offset.tx_multi_collision = counters->tx_multi_collision; in rtl8169_init_counter_offsets() 1678 tp->tc_offset.tx_aborted = counters->tx_aborted; in rtl8169_init_counter_offsets() 1679 tp->tc_offset.rx_missed = counters->rx_missed; in rtl8169_init_counter_offsets() 1682 tp->tc_offset.inited = true; in rtl8169_init_counter_offsets() 4815 le64_to_cpu(tp->tc_offset.tx_errors); in rtl8169_get_stats64() 4817 le32_to_cpu(tp->tc_offset.tx_multi_collision); in rtl8169_get_stats64() 4819 le16_to_cpu(tp->tc_offset in rtl8169_get_stats64() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 2116 u16 tc_offset[HCLGE_COMM_MAX_TC_NUM]; in hclgevf_rss_init_hw() local 2139 tc_offset, tc_valid, tc_size); in hclgevf_rss_init_hw() 2141 return hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, in hclgevf_rss_init_hw() 3088 u16 tc_offset[HCLGE_COMM_MAX_TC_NUM]; in hclgevf_set_channels() local 3100 tc_offset, tc_valid, tc_size); in hclgevf_set_channels() 3101 ret = hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, in hclgevf_set_channels()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 668 u16 tc_offset[HCLGEVF_MAX_TC_NUM]; in hclgevf_set_rss_tc_mode() local 684 tc_offset[i] = (hdev->hw_tc_map & BIT(i)) ? rss_size * i : 0; in hclgevf_set_rss_tc_mode() 694 HCLGEVF_RSS_TC_OFFSET_S, tc_offset[i]); in hclgevf_set_rss_tc_mode()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 4281 u16 *tc_size, u16 *tc_offset) in hclge_set_rss_tc_mode() 4298 HCLGE_RSS_TC_OFFSET_S, tc_offset[i]); in hclge_set_rss_tc_mode() 4610 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_rss_init_hw() local 4653 tc_offset[i] = rss_size * i; in hclge_rss_init_hw() 4656 return hclge_set_rss_tc_mode(hdev, tc_valid, tc_size, tc_offset); in hclge_rss_init_hw() 10710 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_set_channels() local 10740 tc_offset[i] = kinfo->rss_size * i; in hclge_set_channels() 10742 ret = hclge_set_rss_tc_mode(hdev, tc_valid, tc_size, tc_offset); in hclge_set_channels() 4280 hclge_set_rss_tc_mode(struct hclge_dev *hdev, u16 *tc_valid, u16 *tc_size, u16 *tc_offset) hclge_set_rss_tc_mode() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 4828 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_init_rss_tc_mode() local 4861 tc_offset[i] = tc_info->tqp_offset[i]; in hclge_init_rss_tc_mode() 4864 return hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, tc_valid, in hclge_init_rss_tc_mode() 12241 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_set_rss_tc_mode_cfg() local 12259 tc_offset[i] = vport->nic.kinfo.rss_size * i; in hclge_set_rss_tc_mode_cfg() 12262 return hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, tc_valid, in hclge_set_rss_tc_mode_cfg()
|