Home
last modified time | relevance | path

Searched refs:page_size_info (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_io.c494 struct hinic_wq_page_size page_size_info = {0}; in hinic_set_wq_page_size() local
495 u16 out_size = sizeof(page_size_info); in hinic_set_wq_page_size()
501 page_size_info.func_idx = func_idx; in hinic_set_wq_page_size()
502 page_size_info.ppf_idx = HINIC_HWIF_PPF_IDX(hwdev->hwif); in hinic_set_wq_page_size()
503 page_size_info.page_size = HINIC_PAGE_SIZE_HW(page_size); in hinic_set_wq_page_size()
506 HINIC_COMM_CMD_PAGESIZE_SET, &page_size_info, in hinic_set_wq_page_size()
507 sizeof(page_size_info), &page_size_info, in hinic_set_wq_page_size()
509 if (err || !out_size || page_size_info.status) { in hinic_set_wq_page_size()
511 err, page_size_info.status, out_size); in hinic_set_wq_page_size()
Dhinic_hw_mbox.c1332 struct hinic_wq_page_size *page_size_info = buf_in; in check_set_wq_page_size() local
1337 if (page_size_info->ppf_idx != HINIC_HWIF_PPF_IDX(hwdev->hwif)) in check_set_wq_page_size()
1340 if (((1U << page_size_info->page_size) * SZ_4K) != in check_set_wq_page_size()