/drivers/gpu/drm/amd/display/dc/inc/ |
D | bw_fixed.h | 43 const struct bw_fixed arg2) in bw_min2() argument 45 return (arg1.value <= arg2.value) ? arg1 : arg2; in bw_min2() 49 const struct bw_fixed arg2) in bw_max2() argument 51 return (arg2.value <= arg1.value) ? arg1 : arg2; in bw_max2() 102 const struct bw_fixed arg2) in bw_add() argument 106 res.value = arg1.value + arg2.value; in bw_add() 111 static inline struct bw_fixed bw_sub(const struct bw_fixed arg1, const struct bw_fixed arg2) in bw_sub() argument 115 res.value = arg1.value - arg2.value; in bw_sub() 120 struct bw_fixed bw_mul(const struct bw_fixed arg1, const struct bw_fixed arg2); 121 static inline struct bw_fixed bw_div(const struct bw_fixed arg1, const struct bw_fixed arg2) in bw_div() argument [all …]
|
D | dcn_calc_math.h | 29 float dcn_bw_mod(const float arg1, const float arg2); 30 float dcn_bw_min2(const float arg1, const float arg2); 31 unsigned int dcn_bw_max(const unsigned int arg1, const unsigned int arg2); 32 float dcn_bw_max2(const float arg1, const float arg2);
|
/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 135 static inline bool dc_fixpt_lt(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_lt() argument 137 return arg1.value < arg2.value; in dc_fixpt_lt() 144 static inline bool dc_fixpt_le(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_le() argument 146 return arg1.value <= arg2.value; in dc_fixpt_le() 153 static inline bool dc_fixpt_eq(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_eq() argument 155 return arg1.value == arg2.value; in dc_fixpt_eq() 162 static inline struct fixed31_32 dc_fixpt_min(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_min() argument 164 if (arg1.value <= arg2.value) in dc_fixpt_min() 167 return arg2; in dc_fixpt_min() 174 static inline struct fixed31_32 dc_fixpt_max(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_max() argument [all …]
|
/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dcn_calc_math.c | 39 float dcn_bw_mod(const float arg1, const float arg2) in dcn_bw_mod() argument 42 return arg2; in dcn_bw_mod() 43 if (isNaN(arg2)) in dcn_bw_mod() 45 return arg1 - arg1 * ((int) (arg1 / arg2)); in dcn_bw_mod() 48 float dcn_bw_min2(const float arg1, const float arg2) in dcn_bw_min2() argument 51 return arg2; in dcn_bw_min2() 52 if (isNaN(arg2)) in dcn_bw_min2() 54 return arg1 < arg2 ? arg1 : arg2; in dcn_bw_min2() 57 unsigned int dcn_bw_max(const unsigned int arg1, const unsigned int arg2) in dcn_bw_max() argument 59 return arg1 > arg2 ? arg1 : arg2; in dcn_bw_max() [all …]
|
D | bw_fixed.c | 142 struct bw_fixed bw_mul(const struct bw_fixed arg1, const struct bw_fixed arg2) in bw_mul() argument 147 bool arg2_negative = arg2.value < 0; in bw_mul() 150 uint64_t arg2_value = abs_i64(arg2.value); in bw_mul()
|
/drivers/firmware/efi/ |
D | runtime-wrappers.c | 72 efi_rts_work.arg2 = _arg2; \ 181 void *arg1, *arg2, *arg3, *arg4, *arg5; in efi_call_rts() local 185 arg2 = efi_rts_work.arg2; in efi_call_rts() 193 (efi_time_cap_t *)arg2); in efi_call_rts() 200 (efi_bool_t *)arg2, (efi_time_t *)arg3); in efi_call_rts() 204 (efi_time_t *)arg2); in efi_call_rts() 208 (efi_guid_t *)arg2, (u32 *)arg3, in efi_call_rts() 213 (efi_char16_t *)arg2, in efi_call_rts() 218 (efi_guid_t *)arg2, *(u32 *)arg3, in efi_call_rts() 223 (u64 *)arg2, (u64 *)arg3, (u64 *)arg4); in efi_call_rts() [all …]
|
/drivers/firmware/meson/ |
D | meson_sm.c | 70 static u32 __meson_sm_call(u32 cmd, u32 arg0, u32 arg1, u32 arg2, in __meson_sm_call() argument 75 arm_smccc_smc(cmd, arg0, arg1, arg2, arg3, arg4, 0, 0, &res); in __meson_sm_call() 105 u32 *ret, u32 arg0, u32 arg1, u32 arg2, u32 arg3, u32 arg4) in meson_sm_call() argument 116 lret = __meson_sm_call(cmd, arg0, arg1, arg2, arg3, arg4); in meson_sm_call() 144 u32 arg1, u32 arg2, u32 arg3, u32 arg4) in meson_sm_call_read() argument 158 if (meson_sm_call(fw, cmd_index, &size, arg0, arg1, arg2, arg3, arg4) < 0) in meson_sm_call_read() 193 u32 arg1, u32 arg2, u32 arg3, u32 arg4) in meson_sm_call_write() argument 208 if (meson_sm_call(fw, cmd_index, &written, arg0, arg1, arg2, arg3, arg4) < 0) in meson_sm_call_write()
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ctx.c | 49 NXWR32(adapter, NX_ARG2_CRB_OFFSET, cmd->req.arg2); in netxen_issue_cmd() 69 if (cmd->rsp.arg2) in netxen_issue_cmd() 70 cmd->rsp.arg2 = NXRD32(adapter, NX_ARG2_CRB_OFFSET); in netxen_issue_cmd() 96 adapter->mdump.md_template_size = cmd.rsp.arg2; in netxen_get_minidump_template_size() 127 cmd.req.arg2 = MSD(md_template_addr); in netxen_get_minidump_template() 131 if ((cmd.rsp.cmd == NX_RCODE_SUCCESS) && (size == cmd.rsp.arg2)) { in netxen_get_minidump_template() 135 cmd.rsp.cmd, size, cmd.rsp.arg2); in netxen_get_minidump_template() 226 cmd.req.arg2 = mtu; in nx_fw_cmd_set_mtu() 247 cmd.req.arg2 = duplex; in nx_fw_cmd_set_gbe_port() 349 cmd.req.arg2 = (u32)(phys_addr & 0xffffffff); in nx_fw_cmd_create_rx_ctx() [all …]
|
/drivers/net/ethernet/ibm/ehea/ |
D | ehea_phyp.c | 37 unsigned long arg2, in ehea_plpar_hcall_norets() argument 48 ret = plpar_hcall_norets(opcode, arg1, arg2, arg3, arg4, in ehea_plpar_hcall_norets() 62 arg1, arg2, arg3, arg4, arg5, arg6, arg7); in ehea_plpar_hcall_norets() 73 unsigned long arg2, in ehea_plpar_hcall9() argument 88 arg1, arg2, arg3, arg4, arg5, in ehea_plpar_hcall9() 97 cb_cat = EHEA_BMASK_GET(H_MEHEAPORT_CAT, arg2); in ehea_plpar_hcall9() 112 arg1, arg2, arg3, arg4, arg5, in ehea_plpar_hcall9()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 177 u32 arg1, arg2, arg3; in qlcnic_fw_cmd_set_drv_version() local 191 memcpy(&arg2, drv_string + 4, sizeof(u32)); in qlcnic_fw_cmd_set_drv_version() 195 cmd.req.arg[2] = arg2; in qlcnic_fw_cmd_set_drv_version() 1289 u32 *arg1, u32 *arg2) in __qlcnic_get_eswitch_port_config() argument 1304 *arg2 = cmd.rsp.arg[2]; in __qlcnic_get_eswitch_port_config() 1328 u32 arg1, arg2 = 0; in qlcnic_config_switch_port() local 1344 if (__qlcnic_get_eswitch_port_config(adapter, &arg1, &arg2)) in qlcnic_config_switch_port() 1352 arg2 |= (BIT_0 | BIT_1); in qlcnic_config_switch_port() 1354 arg2 |= (BIT_2 | BIT_3); in qlcnic_config_switch_port() 1362 arg2 &= ~BIT_0; in qlcnic_config_switch_port() [all …]
|
/drivers/net/wan/lmc/ |
D | lmc_debug.c | 54 void lmcEventLog(u32 EventNum, u32 arg2, u32 arg3) in lmcEventLog() argument 57 lmcEventLogBuf[lmcEventLogIndex++] = arg2; in lmcEventLog()
|
D | lmc.h | 30 static void lmcEventLog(u32 EventNum, u32 arg2, u32 arg3);
|
D | lmc_debug.h | 50 void lmcEventLog(u32 EventNum, u32 arg2, u32 arg3);
|
/drivers/gpu/drm/amd/display/dc/basics/ |
D | fixpt31_32.c | 123 struct fixed31_32 dc_fixpt_mul(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_mul() argument 128 bool arg2_negative = arg2.value < 0; in dc_fixpt_mul() 131 unsigned long long arg2_value = arg2_negative ? -arg2.value : arg2.value; in dc_fixpt_mul()
|
/drivers/firmware/xilinx/ |
D | zynqmp.c | 80 static noinline int do_fw_call_fail(u64 arg0, u64 arg1, u64 arg2, in do_fw_call_fail() argument 103 static noinline int do_fw_call_smc(u64 arg0, u64 arg1, u64 arg2, in do_fw_call_smc() argument 108 arm_smccc_smc(arg0, arg1, arg2, 0, 0, 0, 0, 0, &res); in do_fw_call_smc() 133 static noinline int do_fw_call_hvc(u64 arg0, u64 arg1, u64 arg2, in do_fw_call_hvc() argument 138 arm_smccc_hvc(arg0, arg1, arg2, 0, 0, 0, 0, 0, &res); in do_fw_call_hvc() 220 u32 arg2, u32 arg3, u32 *ret_payload) in zynqmp_pm_invoke_fn() argument 236 smc_arg[2] = ((u64)arg3 << 32) | arg2; in zynqmp_pm_invoke_fn() 362 qdata.arg2, qdata.arg3, out); in zynqmp_pm_query_data()
|
/drivers/net/fddi/skfp/h/ |
D | targetos.h | 63 #define FDDI_TRACE(string, arg1, arg2, arg3) // Performance analysis. argument 65 #define NDD_TRACE(string, arg1, arg2, arg3) // Performance analysis. argument
|
/drivers/firmware/ |
D | arm_sdei.c | 40 unsigned long arg2, unsigned long arg3, 137 unsigned long arg1, unsigned long arg2, in invoke_sdei_fn() argument 145 sdei_firmware_call(function_id, arg0, arg1, arg2, arg3, arg4, in invoke_sdei_fn() 840 unsigned long arg2, unsigned long arg3, in sdei_smccc_smc() argument 843 arm_smccc_smc(function_id, arg0, arg1, arg2, arg3, arg4, 0, 0, res); in sdei_smccc_smc() 849 unsigned long arg2, unsigned long arg3, in sdei_smccc_hvc() argument 852 arm_smccc_hvc(function_id, arg0, arg1, arg2, arg3, arg4, 0, 0, res); in sdei_smccc_hvc()
|
D | trusted_foundations.c | 36 static void tf_generic_smc(u32 type, u32 arg1, u32 arg2) in tf_generic_smc() argument 40 register u32 r2 asm("r2") = arg2; in tf_generic_smc()
|
/drivers/firmware/psci/ |
D | psci.c | 119 unsigned long arg2) 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() 129 unsigned long arg2) 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_init_ops.c | 485 u8 arg1, arg2, tree_val; in qed_init_cmd_mode_match() local 494 arg2 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match() 495 return arg1 | arg2; in qed_init_cmd_mode_match() 498 arg2 = qed_init_cmd_mode_match(p_hwfn, p_offset, modes); in qed_init_cmd_mode_match() 499 return arg1 & arg2; in qed_init_cmd_mode_match()
|
/drivers/platform/surface/ |
D | surface3_power.c | 99 u8 arg2; member 158 mshw0011_notify(struct mshw0011_data *cdata, u8 arg1, u8 arg2, in mshw0011_notify() argument 170 obj = acpi_evaluate_dsm_typed(handle, &mshw0011_guid, arg1, arg2, NULL, in mshw0011_notify() 428 cdata->trip_point = gsb->cmd.arg2; in mshw0011_space_handler()
|
/drivers/crypto/marvell/octeontx2/ |
D | otx2_cpt_reqmgr.h | 78 void (*callback)(int status, void *arg1, void *arg2); 118 void (*callback)(int status, void *arg1, void *arg2);
|
/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_reqmgr.h | 142 void (*callback)(int status, void *arg1, void *arg2); 159 void (*callback)(int status, void *arg1, void *arg2);
|
/drivers/platform/x86/ |
D | lg-laptop.c | 130 static union acpi_object *lg_wmab(u32 method, u32 arg1, u32 arg2) in lg_wmab() argument 143 args[2].integer.value = arg2; in lg_wmab() 163 static union acpi_object *lg_wmbb(u32 method_id, u32 arg1, u32 arg2) in lg_wmbb() argument 174 *(u32 *)(buf + 16) = arg2; in lg_wmbb()
|
/drivers/net/ethernet/netronome/nfp/bpf/ |
D | verifier.c | 74 if (meta->arg2.reg.var_off.value != imm) in nfp_record_adjust_head() 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() 305 meta->arg2.reg = *reg2; in nfp_bpf_check_helper_call()
|