/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
D | vhca_event.c | 22 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 27 MLX5_SET(query_vhca_state_in, in, function_id, function_id); in mlx5_cmd_query_vhca_state() 33 static int mlx5_cmd_modify_vhca_state(struct mlx5_core_dev *dev, u16 function_id, in mlx5_cmd_modify_vhca_state() argument 39 MLX5_SET(modify_vhca_state_in, in, function_id, function_id); in mlx5_cmd_modify_vhca_state() 45 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 51 MLX5_SET(modify_vhca_state_in, in, function_id, function_id); in mlx5_modify_vhca_sw_id() 59 int mlx5_vhca_event_arm(struct mlx5_core_dev *dev, u16 function_id) in mlx5_vhca_event_arm() argument 66 return mlx5_cmd_modify_vhca_state(dev, function_id, in, sizeof(in)); in mlx5_vhca_event_arm() 75 err = mlx5_cmd_query_vhca_state(dev, event->function_id, out, sizeof(out)); in mlx5_vhca_event_notify() 84 mlx5_vhca_event_arm(dev, event->function_id); in mlx5_vhca_event_notify() [all …]
|
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()
|
D | vhca_event.h | 10 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,
|
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);
|
D | mlx5_ifc_vhca_event.h | 46 u8 function_id[0x10]; member 75 u8 function_id[0x10]; member
|
D | hw_table.c | 317 hwc = mlx5_sf_table_fn_to_hwc(table, event->function_id); in mlx5_sf_hw_vhca_event() 321 sw_id = mlx5_sf_hw_to_sw_id(hwc, event->function_id); in mlx5_sf_hw_vhca_event()
|
D | devlink.c | 435 sf = mlx5_sf_lookup_by_function_id(table, event->function_id); in mlx5_sf_vhca_event()
|
/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
D | dev.c | 157 if (event->function_id < base_id || event->function_id >= (base_id + max_functions)) in mlx5_sf_dev_state_change_handler() 160 sf_index = event->function_id - base_id; in mlx5_sf_dev_state_change_handler() 190 u16 function_id; in mlx5_sf_dev_vhca_arm_all() local 195 function_id = MLX5_CAP_GEN(dev, sf_base_id); in mlx5_sf_dev_vhca_arm_all() 198 err = mlx5_vhca_event_arm(dev, function_id); in mlx5_sf_dev_vhca_arm_all() 202 function_id++; in mlx5_sf_dev_vhca_arm_all()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | ecpf.c | 26 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()
|
D | pagealloc.c | 197 *func_id = MLX5_GET(query_pages_out, out, function_id); in mlx5_cmd_query_pages() 325 MLX5_SET(manage_pages_in, in, function_id, func_id); in page_notify_fail() 369 MLX5_SET(manage_pages_in, in, function_id, func_id); in give_pages() 467 func_id = MLX5_GET(manage_pages_in, in, function_id); in reclaim_pages_cmd() 507 MLX5_SET(manage_pages_in, in, function_id, func_id); in reclaim_pages()
|
D | pci_irq.c | 87 int mlx5_set_msix_vec_count(struct mlx5_core_dev *dev, int function_id, in mlx5_set_msix_vec_count() argument 119 ret = mlx5_vport_get_other_func_cap(dev, function_id, query_cap); in mlx5_set_msix_vec_count() 130 MLX5_SET(set_hca_cap_in, hca_cap, function_id, function_id); in mlx5_set_msix_vec_count()
|
D | vport.c | 1152 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 1159 MLX5_SET(query_hca_cap_in, in, function_id, function_id); in mlx5_vport_get_other_func_cap()
|
D | mlx5_core.h | 272 int mlx5_vport_get_other_func_cap(struct mlx5_core_dev *dev, u16 function_id, void *out);
|
D | main.c | 674 MLX5_SET(enable_hca_in, in, function_id, func_id); in mlx5_core_enable_hca() 685 MLX5_SET(disable_hca_in, in, function_id, func_id); in mlx5_core_disable_hca()
|
/drivers/firmware/ |
D | arm_sdei.c | 38 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()
|
/drivers/firmware/psci/ |
D | psci.c | 117 static unsigned long __invoke_psci_fn_hvc(unsigned long function_id, in __invoke_psci_fn_hvc() argument 123 arm_smccc_hvc(function_id, arg0, arg1, arg2, 0, 0, 0, 0, &res); in __invoke_psci_fn_hvc() 127 static unsigned long __invoke_psci_fn_smc(unsigned long function_id, in __invoke_psci_fn_smc() argument 133 arm_smccc_smc(function_id, arg0, arg1, arg2, 0, 0, 0, 0, &res); in __invoke_psci_fn_smc()
|
/drivers/net/ethernet/qlogic/qed/ |
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 …]
|
D | qed_int.h | 219 u8 function_id; member
|
/drivers/misc/bcm-vk/ |
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() 708 entry->to_v_msg[0].function_id = VK_FID_SHUTDOWN; in bcm_vk_send_shutdown_msg() 880 if (data->function_id == VK_FID_SHUTDOWN) { in bcm_to_h_msg_dequeue() 906 msg_id, data->function_id, in bcm_to_h_msg_dequeue() 1149 if (entry->to_v_msg[0].function_id == VK_FID_TRANS_BUF) { in bcm_vk_write() 1196 } else if (entry->to_v_msg[0].function_id == VK_FID_INIT && in bcm_vk_write()
|
D | bcm_vk_msg.h | 57 u8 function_id; member
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_coredump.h | 24 __le16 function_id; member
|
D | bnxt_coredump.c | 188 seg_hdr->function_id = cpu_to_le16(bp->pdev->devfn); in bnxt_fill_coredump_seg_hdr()
|
/drivers/infiniband/hw/mlx5/ |
D | std_types.c | 96 MLX5_SET(query_hca_cap_in, in, function_id, vport); in fill_vport_vhca_id()
|
/drivers/hwmon/occ/ |
D | common.c | 71 u8 function_id; member 489 power->function_id, power->apss_channel); in occ_show_power_2()
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_cmd.c | 49 MLX5_SET(query_hca_cap_in, in, function_id, vport_number); in mlx5dr_cmd_query_gvmi()
|