| /linux/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
| H A D | vhca_event.c | 27 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 32 MLX5_SET(query_vhca_state_in, in, function_id, function_id); in mlx5_cmd_query_vhca_state() 38 static int mlx5_cmd_modify_vhca_state(struct mlx5_core_dev *dev, u16 function_id, in mlx5_cmd_modify_vhca_state() argument 44 MLX5_SET(modify_vhca_state_in, in, function_id, function_id); in mlx5_cmd_modify_vhca_state() 50 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 56 MLX5_SET(modify_vhca_state_in, in, function_id, function_id); in mlx5_modify_vhca_sw_id() 64 int mlx5_vhca_event_arm(struct mlx5_core_dev *dev, u16 function_id) in mlx5_vhca_event_arm() argument 71 return mlx5_cmd_modify_vhca_state(dev, function_id, in, sizeof(in)); in mlx5_vhca_event_arm() 80 err = mlx5_cmd_query_vhca_state(dev, event->function_id, out, sizeof(out)); in mlx5_vhca_event_notify() 89 mlx5_vhca_event_arm(dev, event->function_id); in mlx5_vhca_event_notify() [all …]
|
| H A D | cmd.c | 7 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()
|
| H A D | priv.h | 9 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);
|
| H A D | mlx5_ifc_vhca_event.h | 46 u8 function_id[0x10]; member 75 u8 function_id[0x10]; member
|
| H A D | hw_table.c | 362 hwc = mlx5_sf_table_fn_to_hwc(table, event->function_id); in mlx5_sf_hw_vhca_event() 366 sw_id = mlx5_sf_hw_to_sw_id(hwc, event->function_id); in mlx5_sf_hw_vhca_event()
|
| H A D | devlink.c | 402 sf = mlx5_sf_lookup_by_function_id(table, event->function_id); in mlx5_sf_vhca_event()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
| H A D | dev.c | 175 if (event->function_id < base_id || event->function_id >= (base_id + max_functions)) in mlx5_sf_dev_state_change_handler() 178 sf_index = event->function_id - base_id; in mlx5_sf_dev_state_change_handler() 196 mlx5_sf_dev_add(dev, sf_index, event->function_id, in mlx5_sf_dev_state_change_handler() 209 u16 function_id; in mlx5_sf_dev_vhca_arm_all() local 214 function_id = mlx5_sf_start_function_id(dev); in mlx5_sf_dev_vhca_arm_all() 217 err = mlx5_vhca_event_arm(dev, function_id); in mlx5_sf_dev_vhca_arm_all() 221 function_id++; in mlx5_sf_dev_vhca_arm_all() 236 work_ctx->event.function_id, work_ctx->event.sw_function_id); in mlx5_sf_dev_add_active_work() 260 u16 function_id; in mlx5_sf_dev_queue_active_works() local 268 function_id = mlx5_sf_start_function_id(dev); in mlx5_sf_dev_queue_active_works() [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_pmu.c | 176 unsigned int engine_class, engine_instance, function_id; in event_param_valid() local 186 function_id = config_to_function_id(config); in event_param_valid() 192 if (engine_class || engine_instance || function_id) in event_param_valid() 202 if (function_id > xe_sriov_pf_get_totalvfs(xe)) in event_param_valid() 204 } else if (function_id) { in event_param_valid() 279 unsigned int function_id; in read_engine_events() local 283 function_id = config_to_function_id(config); in read_engine_events() 287 val = xe_guc_engine_activity_active_ticks(>->uc.guc, hwe, function_id); in read_engine_events() 289 val = xe_guc_engine_activity_total_ticks(>->uc.guc, hwe, function_id); in read_engine_events()
|
| /linux/drivers/firmware/ |
| H A D | arm_sdei.c | 38 static asmlinkage void (*sdei_firmware_call)(unsigned long function_id, 136 static int invoke_sdei_fn(unsigned long function_id, unsigned long arg0, in invoke_sdei_fn() argument 145 sdei_firmware_call(function_id, arg0, arg1, arg2, arg3, arg4, in invoke_sdei_fn() 838 static void sdei_smccc_smc(unsigned long function_id, in sdei_smccc_smc() argument 843 arm_smccc_smc(function_id, arg0, arg1, arg2, arg3, arg4, 0, 0, res); in sdei_smccc_smc() 847 static void sdei_smccc_hvc(unsigned long function_id, in sdei_smccc_hvc() argument 852 arm_smccc_hvc(function_id, arg0, arg1, arg2, arg3, arg4, 0, 0, res); in sdei_smccc_hvc()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | pagealloc.c | 216 *func_id = MLX5_GET(query_pages_out, out, function_id); in mlx5_cmd_query_pages() 344 MLX5_SET(manage_pages_in, in, function_id, func_id); in page_notify_fail() 392 MLX5_SET(manage_pages_in, in, function_id, func_id); in give_pages() 501 func_id = MLX5_GET(manage_pages_in, in, function_id); in reclaim_pages_cmd() 542 MLX5_SET(manage_pages_in, in, function_id, func_id); in reclaim_pages() 711 u32 function_id = mlx5_get_func_id(function); in mlx5_reclaim_root_pages() local 715 err = reclaim_pages(dev, function_id, optimal_reclaimed_pages(), in mlx5_reclaim_root_pages() 719 err, function_id, ec_function); in mlx5_reclaim_root_pages()
|
| H A D | vport.c | 1299 u16 vhca_id = 0, function_id = 0; in mlx5_vport_get_other_func_cap() local 1308 function_id = mlx5_vport_to_func_id(dev, vport, ec_vf_func); in mlx5_vport_get_other_func_cap() 1312 function_id = vhca_id; in mlx5_vport_get_other_func_cap() 1323 MLX5_SET(query_hca_cap_in, in, function_id, function_id); in mlx5_vport_get_other_func_cap() 1360 u16 vhca_id = 0, function_id = 0; in mlx5_vport_set_other_func_cap() local 1376 function_id = mlx5_vport_to_func_id(dev, vport, ec_vf_func); in mlx5_vport_set_other_func_cap() 1380 function_id = vhca_id; in mlx5_vport_set_other_func_cap() 1392 MLX5_SET(set_hca_cap_in, set_ctx, function_id, function_id); in mlx5_vport_set_other_func_cap()
|
| H A D | pci_irq.c | 86 int mlx5_set_msix_vec_count(struct mlx5_core_dev *dev, int function_id, in mlx5_set_msix_vec_count() argument 121 vport = mlx5_core_func_to_vport(dev, function_id, ec_vf_function); in mlx5_set_msix_vec_count() 134 MLX5_SET(set_hca_cap_in, hca_cap, function_id, function_id); in mlx5_set_msix_vec_count()
|
| /linux/tools/testing/selftests/kvm/lib/arm64/ |
| H A D | processor.c | 626 #define __smccc_call(insn, function_id, arg0, arg1, arg2, arg3, arg4, arg5, \ in aarch64_get_supported_page_sizes() 628 asm volatile("mov w0, %w[function_id]\n" \ 643 : [function_id] "r"(function_id), [arg0] "r"(arg0), \ 649 void smccc_hvc(uint32_t function_id, uint64_t arg0, uint64_t arg1, 653 __smccc_call(hvc, function_id, arg0, arg1, arg2, arg3, arg4, arg5, in smccc_hvc() 657 void smccc_smc(uint32_t function_id, uint64_t arg0, uint64_t arg1, in smccc_hvc() 661 __smccc_call(smc, function_id, arg0, arg1, arg2, arg3, arg4, arg5, in smccc_smc() 629 __smccc_call(insn,function_id,arg0,arg1,arg2,arg3,arg4,arg5,arg6,res) global() argument 652 smccc_hvc(uint32_t function_id,uint64_t arg0,uint64_t arg1,uint64_t arg2,uint64_t arg3,uint64_t arg4,uint64_t arg5,uint64_t arg6,struct arm_smccc_res * res) smccc_hvc() argument 660 smccc_smc(uint32_t function_id,uint64_t arg0,uint64_t arg1,uint64_t arg2,uint64_t arg3,uint64_t arg4,uint64_t arg5,uint64_t arg6,struct arm_smccc_res * res) smccc_smc() argument
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | ipsec.c | 109 MLX5_SET(set_hca_cap_in, hca_cap, function_id, vport_num); in esw_ipsec_vf_set_generic() 160 MLX5_SET(set_hca_cap_in, hca_cap, function_id, vport->vport); in esw_ipsec_vf_set_bytype() 196 MLX5_SET(set_hca_cap_in, hca_cap, function_id, vport_num); in esw_ipsec_vf_crypto_aux_caps_set()
|
| H A D | devlink_port.c | 48 func_id = vport->adj_info.function_id; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set()
|
| /linux/tools/testing/selftests/kvm/lib/riscv/ |
| H A D | ucall.c | 20 switch (run->riscv_sbi.function_id) { in ucall_arch_get_ucall()
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_int.c | 1966 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() 2178 p_block->function_id = GET_FIELD(val, IGU_MAPPING_LINE_FUNCTION_NUMBER); in qed_int_igu_read_cam_block() 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() [all …]
|
| H A D | qed_int.h | 232 u8 function_id; member
|
| /linux/drivers/misc/bcm-vk/ |
| H A D | bcm_vk_msg.c | 382 msg->function_id, msg->size, in bcm_vk_drain_all_pend() 613 src->function_id, in bcm_to_v_msg_enqueue() 709 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() 1150 if (entry->to_v_msg[0].function_id == VK_FID_TRANS_BUF) { in bcm_vk_write() 1197 } else if (entry->to_v_msg[0].function_id == VK_FID_INIT && in bcm_vk_write()
|
| H A D | bcm_vk_msg.h | 57 u8 function_id; member
|
| /linux/tools/testing/selftests/kvm/include/arm64/ |
| H A D | processor.h | 285 * @function_id: the SMCCC function to be called 290 void smccc_hvc(uint32_t function_id, uint64_t arg0, uint64_t arg1, 296 * @function_id: the SMCCC function to be called 301 void smccc_smc(uint32_t function_id, uint64_t arg0, uint64_t arg1,
|
| /linux/Documentation/arch/s390/ |
| H A D | pci.rst | 64 - function_id
|
| /linux/drivers/vfio/pci/mlx5/ |
| H A D | cmd.c | 33 static int mlx5vf_cmd_get_vhca_id(struct mlx5_core_dev *mdev, u16 function_id, 284 static int mlx5vf_cmd_get_vhca_id(struct mlx5_core_dev *mdev, u16 function_id, in mlx5vf_cmd_get_vhca_id() argument 299 MLX5_SET(query_hca_cap_in, in, function_id, function_id); in mlx5vf_cmd_get_vhca_id()
|
| /linux/drivers/hwmon/occ/ |
| H A D | common.c | 72 u8 function_id; member 488 power->function_id, power->apss_channel); in occ_show_power_2()
|
| /linux/arch/riscv/kvm/ |
| H A D | vcpu_sbi.c | 137 run->riscv_sbi.function_id = cp->a6; in kvm_riscv_vcpu_sbi_forward_handler()
|