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.c495 struct hinic_wq_page_size page_size_info = {0}; in hinic_set_wq_page_size() local
496 u16 out_size = sizeof(page_size_info); in hinic_set_wq_page_size()
502 page_size_info.func_idx = func_idx; in hinic_set_wq_page_size()
503 page_size_info.ppf_idx = HINIC_HWIF_PPF_IDX(hwdev->hwif); in hinic_set_wq_page_size()
504 page_size_info.page_size = HINIC_PAGE_SIZE_HW(page_size); in hinic_set_wq_page_size()
507 HINIC_COMM_CMD_PAGESIZE_SET, &page_size_info, in hinic_set_wq_page_size()
508 sizeof(page_size_info), &page_size_info, in hinic_set_wq_page_size()
510 if (err || !out_size || page_size_info.status) { in hinic_set_wq_page_size()
512 err, page_size_info.status, out_size); in hinic_set_wq_page_size()
Dhinic_hw_mbox.c1337 struct hinic_wq_page_size *page_size_info = buf_in; in check_set_wq_page_size() local
1342 if (page_size_info->ppf_idx != HINIC_HWIF_PPF_IDX(hwdev->hwif)) in check_set_wq_page_size()
1345 if (((1U << page_size_info->page_size) * SZ_4K) != in check_set_wq_page_size()