Searched refs:hw_ioctxt (Results 1 – 2 of 2) sorted by relevance
280 struct hinic_cmd_hw_ioctxt hw_ioctxt; in set_hw_ioctxt() local283 hw_ioctxt.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in set_hw_ioctxt()284 hw_ioctxt.ppf_idx = HINIC_HWIF_PPF_IDX(hwif); in set_hw_ioctxt()286 hw_ioctxt.set_cmdq_depth = HW_IOCTXT_SET_CMDQ_DEPTH_DEFAULT; in set_hw_ioctxt()287 hw_ioctxt.cmdq_depth = 0; in set_hw_ioctxt()289 hw_ioctxt.lro_en = 1; in set_hw_ioctxt()291 hw_ioctxt.rq_depth = ilog2(rq_depth); in set_hw_ioctxt()293 hw_ioctxt.rx_buf_sz_idx = HINIC_RX_BUF_SZ_IDX; in set_hw_ioctxt()295 hw_ioctxt.sq_depth = ilog2(sq_depth); in set_hw_ioctxt()301 &hw_ioctxt, sizeof(hw_ioctxt), NULL, in set_hw_ioctxt()
855 struct hinic_cmd_hw_ioctxt hw_ioctxt = { 0 }; in hinic_set_cmdq_depth() local860 hw_ioctxt.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_set_cmdq_depth()861 hw_ioctxt.ppf_idx = HINIC_HWIF_PPF_IDX(hwdev->hwif); in hinic_set_cmdq_depth()863 hw_ioctxt.set_cmdq_depth = HW_IOCTXT_SET_CMDQ_DEPTH_ENABLE; in hinic_set_cmdq_depth()864 hw_ioctxt.cmdq_depth = (u8)ilog2(cmdq_depth); in hinic_set_cmdq_depth()868 &hw_ioctxt, sizeof(hw_ioctxt), NULL, in hinic_set_cmdq_depth()