| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | pagealloc.c | 50 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/firmware/scmi/ |
| H A D | smccc_agent.c | 26 ulong func_id; member 41 arm_smccc_smc(chan->func_id, 0, 0, 0, 0, 0, 0, 0, &res); in scmi_smccc_process_msg() 55 u32 func_id; in scmi_smccc_probe() local 58 func_id = dev_read_u32_default(dev, "arm,smc-id", -ENODATA); in scmi_smccc_probe() 59 if (func_id == -ENODATA) { in scmi_smccc_probe() 64 chan->func_id = func_id; in scmi_smccc_probe()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_port.h | 187 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 …]
|
| H A D | hinic_port.c | 388 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 …]
|
| H A D | hinic_sriov.c | 28 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 …]
|
| H A D | hinic_sriov.h | 60 u16 func_id; member 73 u16 func_id; member
|
| H A D | hinic_hw_dev.h | 262 u16 func_id; member 301 u16 func_id; member 310 u16 func_id; member 436 u16 func_id; member
|
| /OK3568_Linux_fs/kernel/drivers/firmware/arm_scmi/ |
| H A D | smc.c | 36 u32 func_id; member 68 u32 func_id; in smc_chan_setup() local 93 ret = of_property_read_u32(dev->of_node, "arm,smc-id", &func_id); in smc_chan_setup() 115 scmi_info->func_id = func_id; in smc_chan_setup() 149 arm_smccc_1_1_invoke(scmi_info->func_id, 0, 0, 0, 0, 0, 0, 0, &res); in smc_send_message()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | pcmcia.c | 255 uchar func_id = ~0; in check_ide_device() local 293 func_id = *p & 0x7F; in check_ide_device() 310 if (func_id != ((uchar)~0)) { in check_ide_device() 311 print_funcid (func_id); in check_ide_device() 313 if (func_id == CISTPL_FUNCID_FIXED) in check_ide_device()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | bpf_lsm.c | 55 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()
|
| H A D | verifier.c | 240 int func_id; member 453 static bool is_release_function(enum bpf_func_id func_id) in is_release_function() argument 455 return func_id == BPF_FUNC_sk_release || in is_release_function() 456 func_id == BPF_FUNC_ringbuf_submit || in is_release_function() 457 func_id == BPF_FUNC_ringbuf_discard; in is_release_function() 460 static bool may_be_acquire_function(enum bpf_func_id func_id) in may_be_acquire_function() argument 462 return func_id == BPF_FUNC_sk_lookup_tcp || in may_be_acquire_function() 463 func_id == BPF_FUNC_sk_lookup_udp || in may_be_acquire_function() 464 func_id == BPF_FUNC_skc_lookup_tcp || in may_be_acquire_function() 465 func_id == BPF_FUNC_map_lookup_elem || in may_be_acquire_function() [all …]
|
| H A D | cgroup.c | 1198 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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| H A D | bnx2x_sp.c | 850 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | pom.h | 57 unsigned char func_id; member 70 extern int pom_toggle_reg_on(unsigned char func_id, unsigned char reason);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | pom.h | 57 unsigned char func_id; member 70 extern int pom_toggle_reg_on(unsigned char func_id, unsigned char reason);
|
| /OK3568_Linux_fs/kernel/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() 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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/kvm/ |
| H A D | hypercalls.c | 14 u32 func_id = smccc_get_function(vcpu); in kvm_hvc_call_handler() local 19 switch (func_id) { in kvm_hvc_call_handler()
|
| 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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/kernel/trace/ |
| H A D | bpf_trace.c | 1238 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 …]
|
| /OK3568_Linux_fs/kernel/arch/ia64/kernel/ |
| H A D | palinfo.c | 840 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()
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | bpf_tcp_ca.c | 165 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()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | filter.c | 82 bpf_sk_base_func_proto(enum bpf_func_id func_id); 6924 sock_filter_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in sock_filter_func_proto() argument 6926 switch (func_id) { in sock_filter_func_proto() 6957 return bpf_base_func_proto(func_id); in sock_filter_func_proto() 6962 sock_addr_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in sock_addr_func_proto() argument 6964 switch (func_id) { in sock_addr_func_proto() 7031 return bpf_sk_base_func_proto(func_id); in sock_addr_func_proto() 7036 sk_filter_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in sk_filter_func_proto() argument 7038 switch (func_id) { in sk_filter_func_proto() 7050 return bpf_sk_base_func_proto(func_id); in sk_filter_func_proto() [all …]
|