/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_mbox.c | 189 u16 func_idx; in check_func_id() local 191 if (in_size < offset + sizeof(func_idx)) { 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() 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() 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 [all …]
|
H A D | hinic_hw_dev.h | 263 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
|
H A D | hinic_hw_io.h | 99 u16 func_idx; member 106 int hinic_set_wq_page_size(struct hinic_hwdev *hwdev, u16 func_idx,
|
H A D | hinic_port.h | 129 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
|
H A D | hinic_port.c | 50 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()
|
H A D | hinic_sriov.c | 36 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()
|
H A D | hinic_hw_dev.c | 247 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()
|
H A D | hinic_hw_if.h | 145 #define HINIC_HWIF_FUNC_IDX(hwif) ((hwif)->attr.func_idx) 223 u16 func_idx; member
|
H A D | hinic_hw_io.c | 491 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()
|
H A D | hinic_hw_cmdq.h | 131 u16 func_idx; member
|
H A D | hinic_hw_mbox.h | 131 bool hinic_mbox_check_func_id_8B(struct hinic_hwdev *hwdev, u16 func_idx,
|
H A D | hinic_hw_if.c | 203 hwif->attr.func_idx = HINIC_FA0_GET(attr0, FUNC_IDX); in set_hwif_attr()
|
H A D | hinic_hw_cmdq.c | 724 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()
|
/openbmc/linux/drivers/pinctrl/cirrus/ |
H A D | pinctrl-cs42l43.c | 169 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()
|
H A D | pinctrl-lochnagar.c | 771 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()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf_prog_linfo.c | 182 __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()
|
H A D | libbpf.h | 1462 __u64 addr, __u32 func_idx, __u32 nr_skip);
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | cfg.c | 417 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()
|
H A D | main.h | 181 __u64 func_ksym, unsigned int func_idx, 190 __u64 func_ksym, unsigned int func_idx, in disasm_print_insn() argument
|
H A D | jit_disasm.c | 323 __u64 func_ksym, unsigned int func_idx, in disasm_print_insn() argument 343 func_idx, in disasm_print_insn()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_query.c | 577 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()
|
/openbmc/linux/tools/arch/x86/kcpuid/ |
H A D | kcpuid.c | 518 u32 func_idx; in index_to_func() local 521 func_idx = index & 0xffff; in index_to_func() 523 if ((func_idx + 1) > (u32)range->nr) { in index_to_func() 527 return &range->funcs[func_idx]; in index_to_func()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | testmode.h | 78 __le32 func_idx; member
|
H A D | testmode.c | 518 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()
|
/openbmc/linux/Documentation/bpf/ |
H A D | drgn.rst | 135 .func_idx = (u32)0,
|