Lines Matching refs:func_idx

189 	u16 func_idx;  in check_func_id()  local
191 if (in_size < offset + sizeof(func_idx)) { in check_func_id()
198 func_idx = *((u16 *)((u8 *)buf_in + offset)); in check_func_id()
200 if (src_func_idx != func_idx) { in check_func_id()
203 src_func_idx, func_idx); in check_func_id()
210 bool hinic_mbox_check_func_id_8B(struct hinic_hwdev *hwdev, u16 func_idx, in hinic_mbox_check_func_id_8B() argument
213 return check_func_id(hwdev, func_idx, buf_in, in_size, in hinic_mbox_check_func_id_8B()
525 rand_info.func_idx = func_id; in set_vf_mbox_random_id()
1156 u16 func_idx, i; in alloc_mbox_info() local
1159 for (func_idx = 0; func_idx < HINIC_MAX_FUNCTIONS; func_idx++) { in alloc_mbox_info()
1160 err = init_mbox_info(&mbox_info[func_idx]); in alloc_mbox_info()
1163 func_idx); in alloc_mbox_info()
1171 for (i = 0; i < func_idx; i++) in alloc_mbox_info()
1179 u16 func_idx; in free_mbox_info() local
1181 for (func_idx = 0; func_idx < HINIC_MAX_FUNCTIONS; func_idx++) in free_mbox_info()
1182 clean_mbox_info(&mbox_info[func_idx]); in free_mbox_info()
1279 static bool check_cmdq_ctxt(struct hinic_hwdev *hwdev, u16 func_idx, in check_cmdq_ctxt() argument
1282 if (!hinic_mbox_check_func_id_8B(hwdev, func_idx, buf_in, in_size)) in check_cmdq_ctxt()
1307 static bool check_hwctxt(struct hinic_hwdev *hwdev, u16 func_idx, in check_hwctxt() argument
1312 if (!hinic_mbox_check_func_id_8B(hwdev, func_idx, buf_in, in_size)) in check_hwctxt()
1329 static bool check_set_wq_page_size(struct hinic_hwdev *hwdev, u16 func_idx, in check_set_wq_page_size() argument
1334 if (!hinic_mbox_check_func_id_8B(hwdev, func_idx, buf_in, in_size)) in check_set_wq_page_size()