Searched refs:tc_offset (Results 1 – 7 of 7) sorted by relevance
| /linux/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 | 67 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 79 tc_offset[i] = (hw_tc_map & BIT(i)) ? rss_size * i : 0; in hclge_comm_get_rss_tc_info() 84 int hclge_comm_set_rss_tc_mode(struct hclge_comm_hw *hw, u16 *tc_offset, in hclge_comm_set_rss_tc_mode() argument 106 HCLGE_COMM_RSS_TC_OFFSET_S, tc_offset[i]); in hclge_comm_set_rss_tc_mode()
|
| /linux/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 | 1302 param->tc_offset = TC_OFFSET_DIV_2; in fill_create_channel_param()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| H A D | hclgevf_main.c | 2190 u16 tc_offset[HCLGE_COMM_MAX_TC_NUM]; in hclgevf_rss_init_hw() local 2213 tc_offset, tc_valid, tc_size); in hclgevf_rss_init_hw() 2215 return hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, in hclgevf_rss_init_hw() 3160 u16 tc_offset[HCLGE_COMM_MAX_TC_NUM]; in hclgevf_set_channels() local 3172 tc_offset, tc_valid, tc_size); in hclgevf_set_channels() 3173 ret = hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, in hclgevf_set_channels()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.c | 4923 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_init_rss_tc_mode() local 4956 tc_offset[i] = tc_info->tqp_offset[i]; in hclge_init_rss_tc_mode() 4959 return hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, tc_valid, in hclge_init_rss_tc_mode() 12383 u16 tc_offset[HCLGE_MAX_TC_NUM] = {0}; in hclge_set_rss_tc_mode_cfg() local 12401 tc_offset[i] = vport->nic.kinfo.rss_size * i; in hclge_set_rss_tc_mode_cfg() 12404 return hclge_comm_set_rss_tc_mode(&hdev->hw.hw, tc_offset, tc_valid, in hclge_set_rss_tc_mode_cfg()
|