Home
last modified time | relevance | path

Searched refs:func_idx (Results 1 – 25 of 27) sorted by relevance

12

/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_mbox.c194 u16 func_idx; in check_func_id() local
205 if (src_func_idx != func_idx) { in check_func_id()
208 src_func_idx, func_idx); in check_func_id()
530 rand_info.func_idx = func_id; in set_vf_mbox_random_id()
1161 u16 func_idx, i; in alloc_mbox_info() local
1164 for (func_idx = 0; func_idx < HINIC_MAX_FUNCTIONS; func_idx++) { in alloc_mbox_info()
1168 func_idx); in alloc_mbox_info()
1176 for (i = 0; i < func_idx; i++) in alloc_mbox_info()
1184 u16 func_idx; in free_mbox_info() local
1186 for (func_idx = 0; func_idx < HINIC_MAX_FUNCTIONS; func_idx++) in free_mbox_info()
[all …]
A Dhinic_hw_dev.h197 u16 func_idx; member
208 u16 func_idx; member
230 u16 func_idx; member
241 u16 func_idx; member
251 u16 func_idx; member
273 u16 func_idx; member
282 u16 func_idx; member
327 u16 func_idx; member
A Dhinic_port.h129 u16 func_idx; member
140 u16 func_idx; member
150 u16 func_idx; member
159 u16 func_idx; member
169 u16 func_idx; member
223 u16 func_idx; member
234 u16 func_idx; member
A Dhinic_hw_io.h99 u16 func_idx; member
106 int hinic_set_wq_page_size(struct hinic_hwdev *hwdev, u16 func_idx,
A Dhinic_port.c53 port_mac_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in change_mac()
126 port_mac_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_get_mac()
169 port_mtu_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_set_mtu()
196 port_vlan_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_port_add_vlan()
216 port_vlan_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_port_del_vlan()
236 rx_mode_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_port_set_rx_mode()
261 link_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_link_state()
326 func_state.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_set_func_state()
357 port_cap->func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_get_cap()
A Dhinic_sriov.c35 mac_info.func_idx = func_id; in hinic_set_mac()
432 static bool check_func_table(struct hinic_hwdev *hwdev, u16 func_idx, in check_func_table() argument
437 if (!hinic_mbox_check_func_id_8B(hwdev, func_idx, buf_in, in_size) || in check_func_table()
1144 u16 func_idx, idx; in hinic_deinit_vf_hw() local
1149 func_idx = hinic_glb_pf_vf_offset(nic_dev->hwdev->hwif) + idx; in hinic_deinit_vf_hw()
1150 hinic_set_wq_page_size(nic_dev->hwdev, func_idx, in hinic_deinit_vf_hw()
1251 u16 i, func_idx; in hinic_init_vf_hw() local
1256 func_idx = hinic_glb_pf_vf_offset(hwdev->hwif) + i; in hinic_init_vf_hw()
1257 err = hinic_set_wq_page_size(hwdev, func_idx, in hinic_init_vf_hw()
A Dhinic_hw_dev.c254 fw_ctxt.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in init_fw_ctxt()
284 hw_ioctxt.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in set_hw_ioctxt()
365 cmd_clear_io_res.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in clear_io_resources()
395 res_state.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in set_resources_state()
422 cmd_base_qpn.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in get_base_qpn()
1160 hw_ci.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_hwdev_hw_ci_addr_set()
A Dhinic_hw_if.h149 #define HINIC_HWIF_FUNC_IDX(hwif) ((hwif)->attr.func_idx)
227 u16 func_idx; member
A Dhinic_hw_io.c492 int hinic_set_wq_page_size(struct hinic_hwdev *hwdev, u16 func_idx, in hinic_set_wq_page_size() argument
502 page_size_info.func_idx = func_idx; in hinic_set_wq_page_size()
A Dhinic_hw_cmdq.h131 u16 func_idx; member
A Dhinic_hw_mbox.h131 bool hinic_mbox_check_func_id_8B(struct hinic_hwdev *hwdev, u16 func_idx,
A Dhinic_hw_cmdq.c729 cmdq_ctxt->func_idx = HINIC_HWIF_FUNC_IDX(cmdqs->hwif); in cmdq_init_queue_ctxt()
861 hw_ioctxt.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_set_cmdq_depth()
A Dhinic_hw_if.c238 hwif->attr.func_idx = HINIC_FA0_GET(attr0, FUNC_IDX); in set_hwif_attr()
/linux/tools/lib/bpf/
A Dbpf_prog_linfo.c182 __u64 addr, __u32 func_idx, __u32 nr_skip) in bpf_prog_linfo__lfind_addr_func() argument
188 if (func_idx >= prog_linfo->nr_jited_func) in bpf_prog_linfo__lfind_addr_func()
191 nr_linfo = prog_linfo->nr_jited_linfo_per_func[func_idx]; in bpf_prog_linfo__lfind_addr_func()
195 start = prog_linfo->jited_linfo_func_idx[func_idx] + nr_skip; in bpf_prog_linfo__lfind_addr_func()
A Dlibbpf.h847 __u64 addr, __u32 func_idx, __u32 nr_skip);
/linux/tools/bpf/bpftool/
A Dcfg.c418 int func_idx = func->idx; in draw_bb_succ_edges() local
427 func_idx, e->src->idx, func_idx, e->dst->idx, in draw_bb_succ_edges()
444 int func_idx = func->idx; in func_output_edges() local
455 func_idx, ENTRY_BLOCK_INDEX, func_idx, EXIT_BLOCK_INDEX); in func_output_edges()
A Djit_disasm.c80 __u64 func_ksym, unsigned int func_idx, in disasm_print_insn() argument
145 func_idx, in disasm_print_insn()
A Dmain.h181 __u64 func_ksym, unsigned int func_idx,
190 __u64 func_ksym, unsigned int func_idx, in disasm_print_insn() argument
/linux/drivers/gpu/drm/i915/
A Di915_query.c503 unsigned long func_idx; in i915_query_ioctl() local
515 func_idx = item.query_id - 1; in i915_query_ioctl()
518 if (func_idx < ARRAY_SIZE(i915_query_funcs)) { in i915_query_ioctl()
519 func_idx = array_index_nospec(func_idx, in i915_query_ioctl()
521 ret = i915_query_funcs[func_idx](dev_priv, &item); in i915_query_ioctl()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Dtestmode.h78 __le32 func_idx; member
A Dtestmode.c523 u32 func_idx = en ? TX_CONT_START : TX_CONT_STOP; in mt7915_tm_set_tx_cont() local
529 .op.rf.func_idx = cpu_to_le32(func_idx), in mt7915_tm_set_tx_cont()
/linux/drivers/pinctrl/cirrus/
A Dpinctrl-lochnagar.c769 unsigned int func_idx) in lochnagar_get_func_name() argument
773 return priv->funcs[func_idx].name; in lochnagar_get_func_name()
777 unsigned int func_idx, in lochnagar_get_func_groups() argument
784 func_type = priv->funcs[func_idx].type; in lochnagar_get_func_groups()
908 unsigned int func_idx, unsigned int group_idx) in lochnagar_set_mux() argument
911 const struct lochnagar_func *func = &priv->funcs[func_idx]; in lochnagar_set_mux()
/linux/Documentation/bpf/
A Ddrgn.rst135 .func_idx = (u32)0,
/linux/arch/x86/net/
A Dbpf_jit_comp.c893 bpf_prog->aux->func_idx != 0); in do_jit()
/linux/include/linux/
A Dbpf.h861 u32 func_idx; /* 0 for non-func prog, the index in func array for func prog */ member

Completed in 69 milliseconds

12