Home
last modified time | relevance | path

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

123

/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()
317 static void page_notify_fail(struct mlx5_core_dev *dev, u16 func_id, in page_notify_fail() argument
325 MLX5_SET(manage_pages_in, in, function_id, func_id); in page_notify_fail()
331 func_id, err); in page_notify_fail()
334 static int give_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in give_pages() argument
337 u32 function = get_function(func_id, ec_function); in give_pages()
[all …]
Dmlx5_core.h144 int mlx5_core_enable_hca(struct mlx5_core_dev *dev, u16 func_id);
145 int mlx5_core_disable_hca(struct mlx5_core_dev *dev, u16 func_id);
/drivers/net/ethernet/huawei/hinic/
Dhinic_port.h188 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 …]
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
Dhinic_hw_mbox.c519 static int set_vf_mbox_random_id(struct hinic_hwdev *hwdev, u16 func_id) in set_vf_mbox_random_id() argument
530 rand_info.func_idx = func_id; in set_vf_mbox_random_id()
531 rand_info.vf_in_pf = func_id - hinic_glb_pf_vf_offset(hwdev->hwif); in set_vf_mbox_random_id()
534 func_to_func->vf_mbx_rand_id[func_id] = rand_info.random_id; in set_vf_mbox_random_id()
550 func_to_func->vf_mbx_old_rand_id[func_id] = in set_vf_mbox_random_id()
551 func_to_func->vf_mbx_rand_id[func_id]; in set_vf_mbox_random_id()
/drivers/firmware/arm_scmi/
Dsmc.c36 u32 func_id; member
68 u32 func_id; in smc_chan_setup() local
98 ret = of_property_read_u32(dev->of_node, "arm,smc-id", &func_id); in smc_chan_setup()
120 scmi_info->func_id = func_id; in smc_chan_setup()
154 arm_smccc_1_1_invoke(scmi_info->func_id, 0, 0, 0, 0, 0, 0, 0, &res); in smc_send_message()
/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dcmd.c29 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()
Dpriv.h12 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);
/drivers/firmware/smccc/
Dkvm_guest.c47 bool kvm_arm_hyp_service_available(u32 func_id) in kvm_arm_hyp_service_available() argument
49 if (func_id >= ARM_SMCCC_KVM_NUM_FUNCS) in kvm_arm_hyp_service_available()
52 return test_bit(func_id, __kvm_arm_hyp_services); in kvm_arm_hyp_service_available()
/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 …]
/drivers/firmware/arm_ffa/
Ddriver.c301 static int ffa_mem_first_frag(u32 func_id, phys_addr_t buf, u32 buf_sz, in ffa_mem_first_frag() argument
307 .a0 = func_id, .a1 = len, .a2 = frag_len, in ffa_mem_first_frag()
355 ffa_transmit_fragment(u32 func_id, phys_addr_t buf, u32 buf_sz, u32 frag_len, in ffa_transmit_fragment() argument
361 return ffa_mem_first_frag(func_id, buf, buf_sz, frag_len, len, handle); in ffa_transmit_fragment()
376 ffa_setup_and_transmit(u32 func_id, void *buffer, u32 max_fragsize, in ffa_setup_and_transmit() argument
426 rc = ffa_transmit_fragment(func_id, addr, buf_sz, in ffa_setup_and_transmit()
450 return ffa_transmit_fragment(func_id, addr, buf_sz, frag_len, in ffa_setup_and_transmit()
454 static int ffa_memory_ops(u32 func_id, struct ffa_mem_ops_args *args) in ffa_memory_ops() argument
468 ret = ffa_setup_and_transmit(func_id, buffer, RXTX_BUFFER_SIZE, args); in ffa_memory_ops()
/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()
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 …]
/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()
Dfw.h31 __le32 func_id; member
/drivers/crypto/qat/qat_common/
Dicp_qat_fw_pke.h11 __u32 func_id; member
Dqat_asym_algs.c246 msg->pke_hdr.cd_pars.func_id = qat_dh_fn_id(ctx->p_size, in qat_dh_compute_value()
248 if (unlikely(!msg->pke_hdr.cd_pars.func_id)) in qat_dh_compute_value()
672 msg->pke_hdr.cd_pars.func_id = qat_rsa_enc_fn_id(ctx->key_sz); in qat_rsa_enc()
673 if (unlikely(!msg->pke_hdr.cd_pars.func_id)) in qat_rsa_enc()
806 msg->pke_hdr.cd_pars.func_id = ctx->crt_mode ? in qat_rsa_dec()
809 if (unlikely(!msg->pke_hdr.cd_pars.func_id)) in qat_rsa_dec()
/drivers/net/ethernet/intel/ice/
Dice_sbq_cmd.h70 u8 func_id; member
/drivers/media/rc/
Dbpf-lirc.c83 lirc_mode2_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in lirc_mode2_func_proto() argument
85 switch (func_id) { in lirc_mode2_func_proto()
/drivers/s390/crypto/
Dzcrypt_msgtype6.h140 .func_id = {0x54, 0x32}, in rng_type6CPRB_msgX()
/drivers/char/tpm/
Dtpm_crb.c336 static int tpm_crb_smc_start(struct device *dev, unsigned long func_id) in tpm_crb_smc_start() argument
340 arm_smccc_smc(func_id, 0, 0, 0, 0, 0, 0, 0, &res); in tpm_crb_smc_start()
351 static int tpm_crb_smc_start(struct device *dev, unsigned long func_id) in tpm_crb_smc_start() argument
/drivers/pinctrl/
Dpinctrl-at91-pio4.c530 unsigned int pin_id, func_id; in atmel_pctl_xlate_pinfunc() local
534 func_id = ATMEL_GET_PIN_FUNC(pinfunc); in atmel_pctl_xlate_pinfunc()
536 if (func_id >= ARRAY_SIZE(atmel_functions)) in atmel_pctl_xlate_pinfunc()
539 *func_name = atmel_functions[func_id]; in atmel_pctl_xlate_pinfunc()
546 atmel_pioctrl->pins[pin_id]->mux = func_id; in atmel_pctl_xlate_pinfunc()

123