| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | psci-relay.c | 44 #define is_psci_0_1(what, func_id) \ argument 46 (func_id) == kvm_host_psci_config.function_ids_0_1.what) 48 static bool is_psci_0_1_call(u64 func_id) in is_psci_0_1_call() argument 50 return (is_psci_0_1(cpu_suspend, func_id) || in is_psci_0_1_call() 51 is_psci_0_1(cpu_on, func_id) || in is_psci_0_1_call() 52 is_psci_0_1(cpu_off, func_id) || in is_psci_0_1_call() 53 is_psci_0_1(migrate, func_id)); in is_psci_0_1_call() 56 static bool is_psci_0_2_call(u64 func_id) in is_psci_0_2_call() argument 59 return (PSCI_0_2_FN(0) <= func_id && func_id <= PSCI_0_2_FN(31)) || in is_psci_0_2_call() 60 (PSCI_0_2_FN64(0) <= func_id && func_id <= PSCI_0_2_FN64(31)); in is_psci_0_2_call() [all …]
|
| H A D | ffa.c | 138 static bool is_ffa_call(u64 func_id) in is_ffa_call() argument 140 return ARM_SMCCC_IS_FAST_CALL(func_id) && in is_ffa_call() 141 ARM_SMCCC_OWNER_NUM(func_id) == ARM_SMCCC_OWNER_STANDARD && in is_ffa_call() 142 ARM_SMCCC_FUNC_NUM(func_id) >= FFA_MIN_FUNC_NUM && in is_ffa_call() 143 ARM_SMCCC_FUNC_NUM(func_id) <= FFA_MAX_FUNC_NUM; in is_ffa_call() 196 static void ffa_mem_xfer(struct arm_smccc_1_2_regs *res, u64 func_id, u32 len, in ffa_mem_xfer() argument 200 .a0 = func_id, in ffa_mem_xfer() 471 static void __do_ffa_mem_xfer(const u64 func_id, in __do_ffa_mem_xfer() argument 541 ffa_mem_xfer(res, func_id, len, fraglen); in __do_ffa_mem_xfer() 658 static bool ffa_call_supported(u64 func_id) in ffa_call_supported() argument [all …]
|
| H A D | hyp-main.c | 675 DECLARE_REG(u64, func_id, host_ctxt, 0); in handle_host_smc() 678 func_id &= ~ARM_SMCCC_CALL_HINTS; in handle_host_smc() 680 handled = kvm_host_psci_handler(host_ctxt, func_id); in handle_host_smc() 682 handled = kvm_host_ffa_handler(host_ctxt, func_id); in handle_host_smc()
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_port.h | 188 u16 func_id; member 198 u16 func_id; member 213 u16 func_id; member 249 u16 func_id; member 260 u16 func_id; member 269 u16 func_id; member 278 u16 func_id; member 293 u16 func_id; member 304 u16 func_id; member 314 u16 func_id; member [all …]
|
| H A D | hinic_sriov.c | 30 u16 vlan_id, u16 func_id) in hinic_set_mac() argument 36 mac_info.func_idx = func_id; in hinic_set_mac() 62 link.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_notify_vf_link_status() 114 vf_vlan.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_set_vf_vlan() 142 rate_cfg.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_set_vf_tx_rate_max_min() 172 rate_cfg.func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_set_vf_rate_limit() 215 u16 func_id, vlan_id; in hinic_init_vf_config() local 220 func_id = hinic_glb_pf_vf_offset(hwdev->hwif) + vf_id; in hinic_init_vf_config() 225 func_id); in hinic_init_vf_config() 536 u8 *new_mac, u16 vlan_id, u16 func_id) in hinic_update_mac() argument [all …]
|
| H A D | hinic_sriov.h | 60 u16 func_id; member 73 u16 func_id; member
|
| H A D | hinic_hw_dev.h | 328 u16 func_id; member 367 u16 func_id; member 376 u16 func_id; member 502 u16 func_id; member
|
| /linux/drivers/virt/coco/pkvm-guest/ |
| H A D | arm-pkvm-guest.c | 21 static int arm_smccc_do_one_page(u32 func_id, phys_addr_t phys) in arm_smccc_do_one_page() argument 28 arm_smccc_1_1_invoke(func_id, phys, 0, 0, &res); in arm_smccc_do_one_page() 38 static int __set_memory_range(u32 func_id, unsigned long start, int numpages) in __set_memory_range() argument 45 err = arm_smccc_do_one_page(func_id, virt_to_phys(addr)); in __set_memory_range() 89 const int func_id = ARM_SMCCC_VENDOR_HYP_KVM_MMIO_GUARD_FUNC_ID; in mmio_guard_ioremap_hook() local 91 WARN_ON_ONCE(arm_smccc_do_one_page(func_id, phys)); in mmio_guard_ioremap_hook()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
| H A D | cmd.c | 29 int mlx5_cmd_sf_enable_hca(struct mlx5_core_dev *dev, u16 func_id) in mlx5_cmd_sf_enable_hca() argument 35 MLX5_SET(enable_hca_in, in, function_id, func_id); in mlx5_cmd_sf_enable_hca() 40 int mlx5_cmd_sf_disable_hca(struct mlx5_core_dev *dev, u16 func_id) in mlx5_cmd_sf_disable_hca() argument 46 MLX5_SET(disable_hca_in, in, function_id, func_id); in mlx5_cmd_sf_disable_hca()
|
| H A D | priv.h | 12 int mlx5_cmd_sf_enable_hca(struct mlx5_core_dev *dev, u16 func_id); 13 int mlx5_cmd_sf_disable_hca(struct mlx5_core_dev *dev, u16 func_id);
|
| /linux/drivers/char/tpm/ |
| H A D | tpm_crb_ffa.c | 200 static int __tpm_crb_ffa_try_send_receive(unsigned long func_id, in __tpm_crb_ffa_try_send_receive() argument 211 .data = { func_id, a0, a1, a2 }, in __tpm_crb_ffa_try_send_receive() 220 .data1 = func_id, in __tpm_crb_ffa_try_send_receive() 235 static int __tpm_crb_ffa_send_receive(unsigned long func_id, unsigned long a0, in __tpm_crb_ffa_send_receive() argument 248 ret = __tpm_crb_ffa_try_send_receive(func_id, a0, a1, a2); in __tpm_crb_ffa_send_receive()
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 287 int func_id; member 300 u32 func_id; member 473 static bool is_acquire_function(enum bpf_func_id func_id, in is_acquire_function() argument 478 if (func_id == BPF_FUNC_sk_lookup_tcp || in is_acquire_function() 479 func_id == BPF_FUNC_sk_lookup_udp || in is_acquire_function() 480 func_id == BPF_FUNC_skc_lookup_tcp || in is_acquire_function() 481 func_id == BPF_FUNC_ringbuf_reserve || in is_acquire_function() 482 func_id == BPF_FUNC_kptr_xchg) in is_acquire_function() 485 if (func_id == BPF_FUNC_map_lookup_elem && in is_acquire_function() 493 static bool is_ptr_cast_function(enum bpf_func_id func_id) in is_ptr_cast_function() argument [all …]
|
| H A D | bpf_lsm.c | 224 bpf_lsm_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_lsm_func_proto() 229 func_proto = cgroup_common_func_proto(func_id, prog); in bpf_lsm_func_proto() 234 switch (func_id) { in bpf_lsm_func_proto() 280 return tracing_prog_func_proto(func_id, prog); in bpf_lsm_func_proto() 223 bpf_lsm_func_proto(enum bpf_func_id func_id,const struct bpf_prog * prog) bpf_lsm_func_proto() argument
|
| /linux/drivers/firmware/smccc/ |
| H A D | kvm_guest.c | 43 bool kvm_arm_hyp_service_available(u32 func_id) in kvm_arm_hyp_service_available() argument 45 if (func_id >= ARM_SMCCC_KVM_NUM_FUNCS) in kvm_arm_hyp_service_available() 48 return test_bit(func_id, __kvm_arm_hyp_services); in kvm_arm_hyp_service_available()
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_sp.h | 77 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 …]
|
| /linux/drivers/pcmcia/ |
| H A D | ds.c | 100 __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() 401 cistpl_funcid_t func_id; in pcmcia_device_query() local 420 CISTPL_FUNCID, &func_id)) { in pcmcia_device_query() 422 p_dev->func_id = func_id.func; in pcmcia_device_query() 442 p_dev->func_id = CISTPL_FUNCID_MEMORY; in pcmcia_device_query() 858 if ((!dev->has_func_id) || (dev->func_id != did->func_id)) in pcmcia_devmatch() 962 p_dev->has_func_id ? p_dev->func_id : 0, in pcmcia_bus_uevent() 1017 pcmcia_device_attr(func_id, has_func_id, "0x%02x\n"); [all …]
|
| /linux/arch/arm64/kvm/ |
| H A D | trng.c | 54 u32 func_id = smccc_get_function(vcpu); in kvm_trng_call() local 58 switch (func_id) { in kvm_trng_call()
|
| /linux/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | verifier.c | 178 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()
|
| /linux/net/ipv4/ |
| H A D | bpf_tcp_ca.c | 152 bpf_tcp_ca_get_func_proto(enum bpf_func_id func_id, in bpf_tcp_ca_get_func_proto() argument 155 switch (func_id) { in bpf_tcp_ca_get_func_proto() 187 return bpf_base_func_proto(func_id, prog); in bpf_tcp_ca_get_func_proto()
|
| /linux/arch/arm/include/asm/ |
| H A D | hypervisor.h | 8 bool kvm_arm_hyp_service_available(u32 func_id);
|
| /linux/arch/arm64/kvm/hyp/include/nvhe/ |
| H A D | ffa.h | 15 bool kvm_host_ffa_handler(struct kvm_cpu_context *host_ctxt, u32 func_id);
|
| /linux/drivers/firmware/arm_ffa/ |
| H A D | driver.c | 559 static int ffa_mem_first_frag(u32 func_id, phys_addr_t buf, u32 buf_sz, in ffa_mem_first_frag() argument 565 .a0 = func_id, .a1 = len, .a2 = frag_len, in ffa_mem_first_frag() 619 ffa_transmit_fragment(u32 func_id, phys_addr_t buf, u32 buf_sz, u32 frag_len, in ffa_transmit_fragment() argument 625 return ffa_mem_first_frag(func_id, buf, buf_sz, frag_len, len, handle); in ffa_transmit_fragment() 639 static u16 ffa_memory_attributes_get(u32 func_id) in ffa_memory_attributes_get() argument 645 if (func_id == FFA_FN_NATIVE(MEM_LEND) || in ffa_memory_attributes_get() 646 func_id == FFA_MEM_LEND) in ffa_memory_attributes_get() 673 ffa_setup_and_transmit(u32 func_id, void *buffer, u32 max_fragsize, in ffa_setup_and_transmit() argument 689 mem_region->attributes = ffa_memory_attributes_get(func_id); in ffa_setup_and_transmit() 728 rc = ffa_transmit_fragment(func_id, addr, buf_sz, in ffa_setup_and_transmit() [all …]
|
| /linux/arch/s390/include/uapi/asm/ |
| H A D | zcrypt.h | 90 __u8 func_id[2]; /* function id 0x5432 */ member 167 __u8 func_id[2]; member
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 1244 bpf_tracing_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_tracing_func_proto() argument 1248 switch (func_id) { in bpf_tracing_func_proto() 1265 func_proto = bpf_base_func_proto(func_id, prog); in bpf_tracing_func_proto() 1272 switch (func_id) { in bpf_tracing_func_proto() 1304 kprobe_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in kprobe_prog_func_proto() argument 1306 switch (func_id) { in kprobe_prog_func_proto() 1330 return bpf_tracing_func_proto(func_id, prog); in kprobe_prog_func_proto() 1431 tp_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in tp_prog_func_proto() argument 1433 switch (func_id) { in tp_prog_func_proto() 1443 return bpf_tracing_func_proto(func_id, pro in tp_prog_func_proto() 1535 pe_prog_func_proto(enum bpf_func_id func_id,const struct bpf_prog * prog) pe_prog_func_proto() argument 1670 raw_tp_prog_func_proto(enum bpf_func_id func_id,const struct bpf_prog * prog) raw_tp_prog_func_proto() argument 1687 tracing_prog_func_proto(enum bpf_func_id func_id,const struct bpf_prog * prog) tracing_prog_func_proto() argument [all...] |
| /linux/net/core/ |
| H A D | filter.c | 95 bpf_sk_base_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog); 8096 bool bpf_helper_changes_pkt_data(enum bpf_func_id func_id) in bpf_helper_changes_pkt_data() argument 8098 switch (func_id) { in bpf_helper_changes_pkt_data() 8133 sock_filter_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in sock_filter_func_proto() argument 8137 func_proto = cgroup_common_func_proto(func_id, prog); in sock_filter_func_proto() 8141 switch (func_id) { in sock_filter_func_proto() 8167 return bpf_base_func_proto(func_id, prog); in sock_filter_func_proto() 8172 sock_addr_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in sock_addr_func_proto() argument 8176 func_proto = cgroup_common_func_proto(func_id, prog); in sock_addr_func_proto() 8180 switch (func_id) { in sock_addr_func_proto() [all …]
|