Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mbox.c189 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()
[all …]
Dhinic_hw_dev.h263 u16 func_idx; member
274 u16 func_idx; member
296 u16 func_idx; member
307 u16 func_idx; member
317 u16 func_idx; member
339 u16 func_idx; member
348 u16 func_idx; member
393 u16 func_idx; member
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
359 u16 func_idx; member
Dhinic_hw_io.h99 u16 func_idx; member
106 int hinic_set_wq_page_size(struct hinic_hwdev *hwdev, u16 func_idx,
Dhinic_port.c50 port_mac_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in change_mac()
123 port_mac_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_get_mac()
154 port_mtu_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_set_mtu()
181 port_vlan_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_port_add_vlan()
201 port_vlan_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_port_del_vlan()
221 rx_mode_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_port_set_rx_mode()
246 link_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_link_state()
311 func_state.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_set_func_state()
342 port_cap->func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_get_cap()
459 vlan_filter.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_set_vlan_fliter()
Dhinic_sriov.c36 mac_info.func_idx = func_id; in hinic_set_mac()
433 static bool check_func_table(struct hinic_hwdev *hwdev, u16 func_idx, in check_func_table() argument
438 if (!hinic_mbox_check_func_id_8B(hwdev, func_idx, buf_in, in_size) || in check_func_table()
1157 u16 func_idx, idx; in hinic_deinit_vf_hw() local
1162 func_idx = hinic_glb_pf_vf_offset(nic_dev->hwdev->hwif) + idx; in hinic_deinit_vf_hw()
1163 hinic_set_wq_page_size(nic_dev->hwdev, func_idx, in hinic_deinit_vf_hw()
1261 u16 i, func_idx; in hinic_init_vf_hw() local
1266 func_idx = hinic_glb_pf_vf_offset(hwdev->hwif) + i; in hinic_init_vf_hw()
1267 err = hinic_set_wq_page_size(hwdev, func_idx, in hinic_init_vf_hw()
Dhinic_hw_dev.c247 fw_ctxt.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in init_fw_ctxt()
277 hw_ioctxt.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in set_hw_ioctxt()
358 cmd_clear_io_res.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in clear_io_resources()
388 res_state.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in set_resources_state()
415 cmd_base_qpn.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in get_base_qpn()
1146 hw_ci.func_idx = HINIC_HWIF_FUNC_IDX(hwif); in hinic_hwdev_hw_ci_addr_set()
Dhinic_hw_if.h145 #define HINIC_HWIF_FUNC_IDX(hwif) ((hwif)->attr.func_idx)
223 u16 func_idx; member
Dhinic_hw_io.c491 int hinic_set_wq_page_size(struct hinic_hwdev *hwdev, u16 func_idx, in hinic_set_wq_page_size() argument
501 page_size_info.func_idx = func_idx; in hinic_set_wq_page_size()
Dhinic_hw_cmdq.h131 u16 func_idx; member
Dhinic_hw_mbox.h131 bool hinic_mbox_check_func_id_8B(struct hinic_hwdev *hwdev, u16 func_idx,
Dhinic_hw_if.c203 hwif->attr.func_idx = HINIC_FA0_GET(attr0, FUNC_IDX); in set_hwif_attr()
Dhinic_hw_cmdq.c724 cmdq_ctxt->func_idx = HINIC_HWIF_FUNC_IDX(cmdqs->hwif); in cmdq_init_queue_ctxt()
855 hw_ioctxt.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_set_cmdq_depth()
/linux-6.6.21/drivers/pinctrl/cirrus/
Dpinctrl-cs42l43.c169 unsigned int func_idx) in cs42l43_pin_get_func_name() argument
171 return cs42l43_pin_funcs[func_idx]; in cs42l43_pin_get_func_name()
175 unsigned int func_idx, in cs42l43_pin_get_func_groups() argument
179 *groups = cs42l43_pin_func_groups[func_idx].groups; in cs42l43_pin_get_func_groups()
180 *num_groups = cs42l43_pin_func_groups[func_idx].ngroups; in cs42l43_pin_get_func_groups()
186 unsigned int func_idx, unsigned int group_idx) in cs42l43_pin_set_mux() argument
192 cs42l43_pin_groups[group_idx].name, cs42l43_pin_funcs[func_idx]); in cs42l43_pin_set_mux()
194 switch (func_idx) { in cs42l43_pin_set_mux()
208 val = (func_idx == CS42L43_FUNC_GPIO) ? in cs42l43_pin_set_mux()
Dpinctrl-lochnagar.c771 unsigned int func_idx) in lochnagar_get_func_name() argument
775 return priv->funcs[func_idx].name; in lochnagar_get_func_name()
779 unsigned int func_idx, in lochnagar_get_func_groups() argument
786 func_type = priv->funcs[func_idx].type; in lochnagar_get_func_groups()
910 unsigned int func_idx, unsigned int group_idx) in lochnagar_set_mux() argument
913 const struct lochnagar_func *func = &priv->funcs[func_idx]; in lochnagar_set_mux()
/linux-6.6.21/tools/lib/bpf/
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()
Dlibbpf.h1462 __u64 addr, __u32 func_idx, __u32 nr_skip);
/linux-6.6.21/tools/bpf/bpftool/
Dcfg.c417 int func_idx = func->idx; in draw_bb_succ_edges() local
426 func_idx, e->src->idx, func_idx, e->dst->idx, in draw_bb_succ_edges()
445 int func_idx = func->idx; in func_output_edges() local
456 func_idx, ENTRY_BLOCK_INDEX, func_idx, EXIT_BLOCK_INDEX); in func_output_edges()
Dmain.h180 __u64 func_ksym, unsigned int func_idx,
189 __u64 func_ksym, unsigned int func_idx, in disasm_print_insn() argument
Djit_disasm.c323 __u64 func_ksym, unsigned int func_idx, in disasm_print_insn() argument
343 func_idx, in disasm_print_insn()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_query.c577 unsigned long func_idx; in i915_query_ioctl() local
589 func_idx = item.query_id - 1; in i915_query_ioctl()
592 if (func_idx < ARRAY_SIZE(i915_query_funcs)) { in i915_query_ioctl()
593 func_idx = array_index_nospec(func_idx, in i915_query_ioctl()
595 ret = i915_query_funcs[func_idx](dev_priv, &item); in i915_query_ioctl()
/linux-6.6.21/tools/arch/x86/kcpuid/
Dkcpuid.c520 u32 func_idx; in index_to_func() local
523 func_idx = index & 0xffff; in index_to_func()
525 if ((func_idx + 1) > (u32)range->nr) { in index_to_func()
529 return &range->funcs[func_idx]; in index_to_func()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.h78 __le32 func_idx; member
Dtestmode.c518 u32 func_idx = en ? TX_CONT_START : TX_CONT_STOP; in mt7915_tm_set_tx_cont() local
525 .op.rf.func_idx = cpu_to_le32(func_idx), in mt7915_tm_set_tx_cont()
/linux-6.6.21/Documentation/bpf/
Ddrgn.rst135 .func_idx = (u32)0,

12