Home
last modified time | relevance | path

Searched refs:function_id (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/sf/
A Dvhca_event.c24 int mlx5_cmd_query_vhca_state(struct mlx5_core_dev *dev, u16 function_id, u32 *out, u32 outlen) in mlx5_cmd_query_vhca_state() argument
29 MLX5_SET(query_vhca_state_in, in, function_id, function_id); in mlx5_cmd_query_vhca_state()
35 static int mlx5_cmd_modify_vhca_state(struct mlx5_core_dev *dev, u16 function_id, in mlx5_cmd_modify_vhca_state() argument
41 MLX5_SET(modify_vhca_state_in, in, function_id, function_id); in mlx5_cmd_modify_vhca_state()
47 int mlx5_modify_vhca_sw_id(struct mlx5_core_dev *dev, u16 function_id, u32 sw_fn_id) in mlx5_modify_vhca_sw_id() argument
53 MLX5_SET(modify_vhca_state_in, in, function_id, function_id); in mlx5_modify_vhca_sw_id()
61 int mlx5_vhca_event_arm(struct mlx5_core_dev *dev, u16 function_id) in mlx5_vhca_event_arm() argument
68 return mlx5_cmd_modify_vhca_state(dev, function_id, in, sizeof(in)); in mlx5_vhca_event_arm()
77 err = mlx5_cmd_query_vhca_state(dev, event->function_id, out, sizeof(out)); in mlx5_vhca_event_notify()
86 mlx5_vhca_event_arm(dev, event->function_id); in mlx5_vhca_event_notify()
[all …]
A Dcmd.c7 int mlx5_cmd_alloc_sf(struct mlx5_core_dev *dev, u16 function_id) in mlx5_cmd_alloc_sf() argument
13 MLX5_SET(alloc_sf_in, in, function_id, function_id); in mlx5_cmd_alloc_sf()
18 int mlx5_cmd_dealloc_sf(struct mlx5_core_dev *dev, u16 function_id) in mlx5_cmd_dealloc_sf() argument
24 MLX5_SET(dealloc_sf_in, in, function_id, function_id); in mlx5_cmd_dealloc_sf()
35 MLX5_SET(enable_hca_in, in, function_id, func_id); in mlx5_cmd_sf_enable_hca()
46 MLX5_SET(disable_hca_in, in, function_id, func_id); in mlx5_cmd_sf_disable_hca()
A Dvhca_event.h10 u16 function_id; member
27 int mlx5_modify_vhca_sw_id(struct mlx5_core_dev *dev, u16 function_id, u32 sw_fn_id);
28 int mlx5_vhca_event_arm(struct mlx5_core_dev *dev, u16 function_id);
29 int mlx5_cmd_query_vhca_state(struct mlx5_core_dev *dev, u16 function_id,
A Dpriv.h9 int mlx5_cmd_alloc_sf(struct mlx5_core_dev *dev, u16 function_id);
10 int mlx5_cmd_dealloc_sf(struct mlx5_core_dev *dev, u16 function_id);
A Dmlx5_ifc_vhca_event.h46 u8 function_id[0x10]; member
75 u8 function_id[0x10]; member
A Dhw_table.c321 hwc = mlx5_sf_table_fn_to_hwc(table, event->function_id); in mlx5_sf_hw_vhca_event()
325 sw_id = mlx5_sf_hw_to_sw_id(hwc, event->function_id); in mlx5_sf_hw_vhca_event()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
A Ddev.c171 if (event->function_id < base_id || event->function_id >= (base_id + max_functions)) in mlx5_sf_dev_state_change_handler()
174 sf_index = event->function_id - base_id; in mlx5_sf_dev_state_change_handler()
193 mlx5_sf_dev_add(table->dev, sf_index, event->function_id, in mlx5_sf_dev_state_change_handler()
207 u16 function_id; in mlx5_sf_dev_vhca_arm_all() local
212 function_id = MLX5_CAP_GEN(dev, sf_base_id); in mlx5_sf_dev_vhca_arm_all()
215 err = mlx5_vhca_event_arm(dev, function_id); in mlx5_sf_dev_vhca_arm_all()
219 function_id++; in mlx5_sf_dev_vhca_arm_all()
230 u16 function_id; in mlx5_sf_dev_add_active_work() local
237 function_id = MLX5_CAP_GEN(dev, sf_base_id); in mlx5_sf_dev_add_active_work()
238 for (i = 0; i < max_functions; i++, function_id++) { in mlx5_sf_dev_add_active_work()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Decpf.c26 MLX5_SET(enable_hca_in, in, function_id, 0); in mlx5_cmd_host_pf_enable_hca()
37 MLX5_SET(disable_hca_in, in, function_id, 0); in mlx5_cmd_host_pf_disable_hca()
A Dpci_irq.c73 int mlx5_set_msix_vec_count(struct mlx5_core_dev *dev, int function_id, in mlx5_set_msix_vec_count() argument
105 ret = mlx5_vport_get_other_func_general_cap(dev, function_id, query_cap); in mlx5_set_msix_vec_count()
116 MLX5_SET(set_hca_cap_in, hca_cap, function_id, function_id); in mlx5_set_msix_vec_count()
A Dpagealloc.c200 *func_id = MLX5_GET(query_pages_out, out, function_id); in mlx5_cmd_query_pages()
328 MLX5_SET(manage_pages_in, in, function_id, func_id); in page_notify_fail()
376 MLX5_SET(manage_pages_in, in, function_id, func_id); in give_pages()
482 func_id = MLX5_GET(manage_pages_in, in, function_id); in reclaim_pages_cmd()
523 MLX5_SET(manage_pages_in, in, function_id, func_id); in reclaim_pages()
A Dvport.c1163 int mlx5_vport_get_other_func_cap(struct mlx5_core_dev *dev, u16 function_id, void *out, in mlx5_vport_get_other_func_cap() argument
1171 MLX5_SET(query_hca_cap_in, in, function_id, function_id); in mlx5_vport_get_other_func_cap()
1178 u16 function_id, u16 opmod) in mlx5_vport_set_other_func_cap() argument
1193 MLX5_SET(set_hca_cap_in, set_ctx, function_id, function_id); in mlx5_vport_set_other_func_cap()
/linux-6.3-rc2/drivers/firmware/
A Darm_sdei.c38 static asmlinkage void (*sdei_firmware_call)(unsigned long function_id,
134 static int invoke_sdei_fn(unsigned long function_id, unsigned long arg0, in invoke_sdei_fn() argument
143 sdei_firmware_call(function_id, arg0, arg1, arg2, arg3, arg4, in invoke_sdei_fn()
837 static void sdei_smccc_smc(unsigned long function_id, in sdei_smccc_smc() argument
842 arm_smccc_smc(function_id, arg0, arg1, arg2, arg3, arg4, 0, 0, res); in sdei_smccc_smc()
846 static void sdei_smccc_hvc(unsigned long function_id, in sdei_smccc_hvc() argument
851 arm_smccc_hvc(function_id, arg0, arg1, arg2, arg3, arg4, 0, 0, res); in sdei_smccc_hvc()
/linux-6.3-rc2/sound/hda/
A Dhdac_device.c376 int i, total_nodes, function_id; in setup_fg_nodes() local
381 function_id = snd_hdac_read_parm(codec, nid, in setup_fg_nodes()
383 switch (function_id & 0xff) { in setup_fg_nodes()
386 codec->afg_function_id = function_id & 0xff; in setup_fg_nodes()
387 codec->afg_unsol = (function_id >> 8) & 1; in setup_fg_nodes()
391 codec->mfg_function_id = function_id & 0xff; in setup_fg_nodes()
392 codec->mfg_unsol = (function_id >> 8) & 1; in setup_fg_nodes()
/linux-6.3-rc2/drivers/firmware/psci/
A Dpsci.c112 __invoke_psci_fn_hvc(unsigned long function_id, in __invoke_psci_fn_hvc() argument
118 arm_smccc_hvc(function_id, arg0, arg1, arg2, 0, 0, 0, 0, &res); in __invoke_psci_fn_hvc()
123 __invoke_psci_fn_smc(unsigned long function_id, in __invoke_psci_fn_smc() argument
129 arm_smccc_smc(function_id, arg0, arg1, arg2, 0, 0, 0, 0, &res); in __invoke_psci_fn_smc()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/sf/diag/
A Dvhca_tracepoint.h24 __entry->hw_fn_id = event->function_id;
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/
A Dqed_int.c1966 p_block->function_id, in qed_int_igu_init_pure_rt_single()
2109 p_block->function_id = p_hwfn->rel_pf_id; in qed_int_igu_reset_cam()
2117 p_block->function_id = p_hwfn->rel_pf_id; in qed_int_igu_reset_cam()
2124 p_block->function_id = in qed_int_igu_reset_cam()
2133 p_block->function_id = 0; in qed_int_igu_reset_cam()
2139 p_block->function_id); in qed_int_igu_reset_cam()
2159 p_block->function_id, in qed_int_igu_reset_cam()
2215 (p_block->function_id == p_hwfn->rel_pf_id)) { in qed_int_igu_read_cam()
2223 (p_block->function_id >= min_vf) && in qed_int_igu_read_cam()
2224 (p_block->function_id < max_vf)) { in qed_int_igu_read_cam()
[all …]
A Dqed_int.h232 u8 function_id; member
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/riscv/
A Ducall.c56 switch (run->riscv_sbi.function_id) { in ucall_arch_get_ucall()
/linux-6.3-rc2/drivers/misc/bcm-vk/
A Dbcm_vk_msg.c382 msg->function_id, msg->size, in bcm_vk_drain_all_pend()
613 src->function_id, in bcm_to_v_msg_enqueue()
708 entry->to_v_msg[0].function_id = VK_FID_SHUTDOWN; in bcm_vk_send_shutdown_msg()
879 if (data->function_id == VK_FID_SHUTDOWN) { in bcm_to_h_msg_dequeue()
905 msg_id, data->function_id, in bcm_to_h_msg_dequeue()
1146 if (entry->to_v_msg[0].function_id == VK_FID_TRANS_BUF) { in bcm_vk_write()
1193 } else if (entry->to_v_msg[0].function_id == VK_FID_INIT && in bcm_vk_write()
A Dbcm_vk_msg.h57 u8 function_id; member
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_coredump.h24 __le16 function_id; member
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/aarch64/
A Dprocessor.c511 void smccc_hvc(uint32_t function_id, uint64_t arg0, uint64_t arg1, in smccc_hvc() argument
530 : [function_id] "r"(function_id), [arg0] "r"(arg0), in smccc_hvc()
/linux-6.3-rc2/tools/testing/selftests/kvm/include/aarch64/
A Dprocessor.h213 void smccc_hvc(uint32_t function_id, uint64_t arg0, uint64_t arg1,
/linux-6.3-rc2/include/linux/mlx5/
A Dvport.h135 int mlx5_vport_get_other_func_cap(struct mlx5_core_dev *dev, u16 function_id, void *out,
/linux-6.3-rc2/arch/riscv/kvm/
A Dvcpu_sbi.c54 run->riscv_sbi.function_id = cp->a6; in kvm_riscv_vcpu_sbi_forward()

Completed in 55 milliseconds

12