Home
last modified time | relevance | path

Searched refs:func_id (Results 1 – 25 of 82) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dpagealloc.c50 u16 func_id; member
77 static u32 get_function(u16 func_id, bool ec_function) in get_function() argument
79 return (u32)func_id | (ec_function << 16); in get_function()
179 static int mlx5_cmd_query_pages(struct mlx5_core_dev *dev, u16 *func_id, in mlx5_cmd_query_pages() argument
197 *func_id = MLX5_GET(query_pages_out, out, function_id); in mlx5_cmd_query_pages()
316 static void page_notify_fail(struct mlx5_core_dev *dev, u16 func_id, in page_notify_fail() argument
324 MLX5_SET(manage_pages_in, in, function_id, func_id); in page_notify_fail()
330 func_id, err); in page_notify_fail()
333 static int give_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in give_pages() argument
336 u32 function = get_function(func_id, ec_function); in give_pages()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_port.h187 u16 func_id; member
197 u16 func_id; member
212 u16 func_id; member
248 u16 func_id; member
259 u16 func_id; member
268 u16 func_id; member
277 u16 func_id; member
292 u16 func_id; member
303 u16 func_id; member
313 u16 func_id; member
[all …]
Dhinic_port.c388 tso_cfg.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_port_set_tso()
418 rx_csum_cfg.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_set_rx_csum_offload()
449 vlan_cfg.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_set_rx_vlan_offload()
474 rq_num.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_set_max_qnum()
501 lro_cfg.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_set_rx_lro()
663 rss_cfg.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_get_indir_tbl()
759 ctx_tbl.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_get_rss_type()
794 rss_key.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_set_template_tbl()
827 temp_key.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_get_template_tbl()
854 rss_engine.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_set_hash_engine()
[all …]
Dhinic_sriov.c28 u16 vlan_id, u16 func_id) in hinic_set_mac() argument
34 mac_info.func_idx = func_id; in hinic_set_mac()
60 link.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_notify_vf_link_status()
112 vf_vlan.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_set_vf_vlan()
140 rate_cfg.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_set_vf_tx_rate_max_min()
170 rate_cfg.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_set_vf_rate_limit()
213 u16 func_id, vlan_id; in hinic_init_vf_config() local
218 func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_init_vf_config()
223 func_id); in hinic_init_vf_config()
516 u8 *new_mac, u16 vlan_id, u16 func_id) in hinic_update_mac() argument
[all …]
Dhinic_sriov.h60 u16 func_id; member
73 u16 func_id; member
Dhinic_hw_dev.h262 u16 func_id; member
301 u16 func_id; member
310 u16 func_id; member
436 u16 func_id; member
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/
Dsmc.c32 u32 func_id; member
53 u32 func_id; in smc_chan_setup() local
78 ret = of_property_read_u32(dev->of_node, "arm,smc-id", &func_id); in smc_chan_setup()
82 scmi_info->func_id = func_id; in smc_chan_setup()
113 arm_smccc_1_1_invoke(scmi_info->func_id, 0, 0, 0, 0, 0, 0, 0, &res); in smc_send_message()
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/nvhe/
Dhyp-main.c17 static void handle_host_hcall(unsigned long func_id, in handle_host_hcall() argument
22 switch (func_id) { in handle_host_hcall()
110 unsigned long func_id; in handle_trap() local
115 func_id = host_ctxt->regs.regs[0]; in handle_trap()
116 handle_host_hcall(func_id, host_ctxt); in handle_trap()
/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_lsm.c55 bpf_lsm_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_lsm_func_proto() argument
57 switch (func_id) { in bpf_lsm_func_proto()
67 return tracing_prog_func_proto(func_id, prog); in bpf_lsm_func_proto()
Dverifier.c240 int func_id; member
439 static bool is_release_function(enum bpf_func_id func_id) in is_release_function() argument
441 return func_id == BPF_FUNC_sk_release || in is_release_function()
442 func_id == BPF_FUNC_ringbuf_submit || in is_release_function()
443 func_id == BPF_FUNC_ringbuf_discard; in is_release_function()
446 static bool may_be_acquire_function(enum bpf_func_id func_id) in may_be_acquire_function() argument
448 return func_id == BPF_FUNC_sk_lookup_tcp || in may_be_acquire_function()
449 func_id == BPF_FUNC_sk_lookup_udp || in may_be_acquire_function()
450 func_id == BPF_FUNC_skc_lookup_tcp || in may_be_acquire_function()
451 func_id == BPF_FUNC_map_lookup_elem || in may_be_acquire_function()
[all …]
Dcgroup.c1198 cgroup_base_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_base_func_proto() argument
1200 switch (func_id) { in cgroup_base_func_proto()
1210 return bpf_base_func_proto(func_id); in cgroup_base_func_proto()
1215 cgroup_dev_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_dev_func_proto() argument
1217 return cgroup_base_func_proto(func_id, prog); in cgroup_dev_func_proto()
1697 sysctl_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in sysctl_func_proto() argument
1699 switch (func_id) { in sysctl_func_proto()
1713 return cgroup_base_func_proto(func_id, prog); in sysctl_func_proto()
1816 cg_sockopt_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cg_sockopt_func_proto() argument
1818 switch (func_id) { in cg_sockopt_func_proto()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.h77 u8 func_id; member
481 u8 func_id; member
1052 u8 func_id; member
1404 u8 cid_cnt, u8 func_id, void *rdata,
1416 u8 cl_id, u32 cid, u8 func_id, void *rdata,
1423 u8 cl_id, u32 cid, u8 func_id, void *rdata,
1430 u8 cl_id, u32 cid, u8 func_id, void *rdata,
1470 u8 mcast_cl_id, u32 mcast_cid, u8 func_id,
1501 struct bnx2x_credit_pool_obj *p, u8 func_id,
1504 struct bnx2x_credit_pool_obj *p, u8 func_id,
[all …]
Dbnx2x_sp.c850 hdr->func_id = raw->func_id; in bnx2x_vlan_mac_set_cmd_hdr_e2()
1000 cfg_entry->pf_id = r->func_id; in bnx2x_vlan_mac_set_cfg_entry_e1x()
2097 u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, in bnx2x_init_raw_obj() argument
2100 raw->func_id = func_id; in bnx2x_init_raw_obj()
2115 u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, in bnx2x_init_vlan_mac_common() argument
2133 bnx2x_init_raw_obj(&o->raw, cl_id, cid, func_id, rdata, rdata_mapping, in bnx2x_init_vlan_mac_common()
2139 u8 cl_id, u32 cid, u8 func_id, void *rdata, in bnx2x_init_mac_obj() argument
2146 bnx2x_init_vlan_mac_common(mac_obj, cl_id, cid, func_id, rdata, in bnx2x_init_mac_obj()
2193 u8 cl_id, u32 cid, u8 func_id, void *rdata, in bnx2x_init_vlan_obj() argument
2200 bnx2x_init_vlan_mac_common(vlan_obj, cl_id, cid, func_id, rdata, in bnx2x_init_vlan_obj()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dhypercalls.c14 u32 func_id = smccc_get_function(vcpu); in kvm_hvc_call_handler() local
19 switch (func_id) { in kvm_hvc_call_handler()
/kernel/linux/linux-5.10/drivers/pcmcia/
Dds.c100 __u8 func_id, function, device_no; in new_id_store() local
106 &match_flags, &manf_id, &card_id, &func_id, &function, &device_no, in new_id_store()
118 dynid->id.func_id = func_id; in new_id_store()
406 cistpl_funcid_t func_id; in pcmcia_device_query() local
425 CISTPL_FUNCID, &func_id)) { in pcmcia_device_query()
427 p_dev->func_id = func_id.func; in pcmcia_device_query()
447 p_dev->func_id = CISTPL_FUNCID_MEMORY; in pcmcia_device_query()
859 if ((!dev->has_func_id) || (dev->func_id != did->func_id)) in pcmcia_devmatch()
963 p_dev->has_func_id ? p_dev->func_id : 0, in pcmcia_bus_uevent()
1018 pcmcia_device_attr(func_id, has_func_id, "0x%02x\n");
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c178 u32 func_id = meta->insn.imm; in nfp_bpf_check_helper_call() local
180 switch (func_id) { in nfp_bpf_check_helper_call()
205 meta->func_id ? &meta->arg2 : NULL)) in nfp_bpf_check_helper_call()
213 meta->func_id ? &meta->arg2 : NULL) || in nfp_bpf_check_helper_call()
223 meta->func_id ? &meta->arg2 : NULL)) in nfp_bpf_check_helper_call()
288 if (!meta->func_id) in nfp_bpf_check_helper_call()
299 pr_vlog(env, "unsupported function id: %d\n", func_id); in nfp_bpf_check_helper_call()
303 meta->func_id = func_id; in nfp_bpf_check_helper_call()
/kernel/linux/linux-5.10/net/ipv4/
Dbpf_tcp_ca.c165 bpf_tcp_ca_get_func_proto(enum bpf_func_id func_id, in bpf_tcp_ca_get_func_proto() argument
168 switch (func_id) { in bpf_tcp_ca_get_func_proto()
176 return bpf_base_func_proto(func_id); in bpf_tcp_ca_get_func_proto()
/kernel/linux/linux-5.10/kernel/trace/
Dbpf_trace.c1238 bpf_tracing_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_tracing_func_proto() argument
1240 switch (func_id) { in bpf_tracing_func_proto()
1340 kprobe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in kprobe_prog_func_proto() argument
1342 switch (func_id) { in kprobe_prog_func_proto()
1354 return bpf_tracing_func_proto(func_id, prog); in kprobe_prog_func_proto()
1454 tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in tp_prog_func_proto() argument
1456 switch (func_id) { in tp_prog_func_proto()
1464 return bpf_tracing_func_proto(func_id, prog); in tp_prog_func_proto()
1553 pe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in pe_prog_func_proto() argument
1555 switch (func_id) { in pe_prog_func_proto()
[all …]
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dpalinfo.c840 unsigned func_id: 32; /* which function is requested */ member
845 #define func_id pal_func_cpu.func_id macro
882 ptr.func = palinfo_entries[f->func_id].proc_read; in palinfo_handle_smp()
890 "error %d\n", smp_processor_id(), f->req_cpu, f->func_id, ret); in palinfo_handle_smp()
916 (*palinfo_entries[f->func_id].proc_read)(m); in proc_palinfo_show()
939 f.func_id = j; in palinfo_add_proc()
/kernel/linux/common_modules/qos_auth/include/
Drtg_auth.h30 bool check_authorized(unsigned int func_id, unsigned int type);
Dqos_auth.h30 bool check_authorized(unsigned int func_id, unsigned int type);
Dauth_ctrl.h118 bool check_authorized(unsigned int func_id, unsigned int type);
/kernel/linux/common_modules/qos_auth/auth_ctl/
Dauth_ctrl.c479 #define get_authority_flag(func_id) (1 << (func_id - 1)) argument
520 bool check_authorized(unsigned int func_id, unsigned int type) in check_authorized() argument
524 unsigned int af = get_authority_flag(func_id); in check_authorized()
/kernel/linux/linux-5.10/kernel/sched/rtg/
Drtg_ctrl.c889 unsigned int func_id = _IOC_NR(cmd); in do_proc_rtg_ioctl() local
905 if (!atomic_read(&g_rtg_enable) && (func_id != SET_ENABLE) && (func_id != GET_ENABLE)) { in do_proc_rtg_ioctl()
910 if (func_id >= RTG_CTRL_MAX_NR) { in do_proc_rtg_ioctl()
917 authorized = check_authorized(func_id, RTG_AUTH_FLAG); in do_proc_rtg_ioctl()
923 if (g_func_array[func_id] != NULL) in do_proc_rtg_ioctl()
924 return (*g_func_array[func_id])(abi, uarg); in do_proc_rtg_ioctl()
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Dzcrypt.h89 __u8 func_id[2]; /* function id 0x5432 */ member
168 __u8 func_id[2]; member

1234