/linux-6.1.9/drivers/net/wireless/silabs/wfx/ |
D | hif_tx_mib.c | 19 struct wfx_hif_mib_current_tx_power_level arg = { in wfx_hif_set_output_power() local 24 &arg, sizeof(arg)); in wfx_hif_set_output_power() 30 struct wfx_hif_mib_beacon_wake_up_period arg = { in wfx_hif_set_beacon_wakeup_period() local 39 &arg, sizeof(arg)); in wfx_hif_set_beacon_wakeup_period() 44 struct wfx_hif_mib_rcpi_rssi_threshold arg = { in wfx_hif_set_rcpi_rssi_threshold() local 50 arg.upperthresh = 1; in wfx_hif_set_rcpi_rssi_threshold() 51 arg.lowerthresh = 1; in wfx_hif_set_rcpi_rssi_threshold() 53 arg.upper_threshold = rssi_thold + rssi_hyst; in wfx_hif_set_rcpi_rssi_threshold() 54 arg.upper_threshold = (arg.upper_threshold + 110) * 2; in wfx_hif_set_rcpi_rssi_threshold() 55 arg.lower_threshold = rssi_thold; in wfx_hif_set_rcpi_rssi_threshold() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 87 static inline struct fixed31_32 dc_fixpt_from_int(int arg) in dc_fixpt_from_int() argument 91 res.value = (long long) arg << FIXED31_32_BITS_PER_FRACTIONAL_PART; in dc_fixpt_from_int() 105 static inline struct fixed31_32 dc_fixpt_neg(struct fixed31_32 arg) in dc_fixpt_neg() argument 109 res.value = -arg.value; in dc_fixpt_neg() 118 static inline struct fixed31_32 dc_fixpt_abs(struct fixed31_32 arg) in dc_fixpt_abs() argument 120 if (arg.value < 0) in dc_fixpt_abs() 121 return dc_fixpt_neg(arg); in dc_fixpt_abs() 123 return arg; in dc_fixpt_abs() 189 struct fixed31_32 arg, in dc_fixpt_clamp() argument 193 if (dc_fixpt_le(arg, min_value)) in dc_fixpt_clamp() [all …]
|
/linux-6.1.9/arch/ia64/kernel/ |
D | unwind_decoder.c | 86 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x1() argument 96 UNW_DEC_SPILL_SPREL(X1, t, abreg, off, arg); in unw_decode_x1() 98 UNW_DEC_SPILL_PSPREL(X1, t, abreg, off, arg); in unw_decode_x1() 103 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x2() argument 114 UNW_DEC_RESTORE(X2, t, abreg, arg); in unw_decode_x2() 116 UNW_DEC_SPILL_REG(X2, t, abreg, x, ytreg, arg); in unw_decode_x2() 121 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x3() argument 134 UNW_DEC_SPILL_SPREL_P(X3, qp, t, abreg, off, arg); in unw_decode_x3() 136 UNW_DEC_SPILL_PSPREL_P(X3, qp, t, abreg, off, arg); in unw_decode_x3() 141 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x4() argument [all …]
|
/linux-6.1.9/tools/lib/traceevent/ |
D | parse-filter.c | 184 static void free_arg(struct tep_filter_arg *arg) in free_arg() argument 186 if (!arg) in free_arg() 189 switch (arg->type) { in free_arg() 195 free_arg(arg->num.left); in free_arg() 196 free_arg(arg->num.right); in free_arg() 200 free_arg(arg->exp.left); in free_arg() 201 free_arg(arg->exp.right); in free_arg() 205 free(arg->str.val); in free_arg() 206 regfree(&arg->str.reg); in free_arg() 207 free(arg->str.buffer); in free_arg() [all …]
|
D | event-parse.c | 106 struct tep_event *event, struct tep_print_arg *arg); 862 static void free_arg(struct tep_print_arg *arg) in free_arg() argument 866 if (!arg) in free_arg() 869 switch (arg->type) { in free_arg() 871 free(arg->atom.atom); in free_arg() 874 free(arg->field.name); in free_arg() 877 free_arg(arg->flags.field); in free_arg() 878 free(arg->flags.delim); in free_arg() 879 free_flag_sym(arg->flags.flags); in free_arg() 882 free_arg(arg->symbol.field); in free_arg() [all …]
|
/linux-6.1.9/drivers/tee/optee/ |
D | rpc.c | 15 static void handle_rpc_func_cmd_get_time(struct optee_msg_arg *arg) in handle_rpc_func_cmd_get_time() argument 19 if (arg->num_params != 1) in handle_rpc_func_cmd_get_time() 21 if ((arg->params[0].attr & OPTEE_MSG_ATTR_TYPE_MASK) != in handle_rpc_func_cmd_get_time() 26 arg->params[0].u.value.a = ts.tv_sec; in handle_rpc_func_cmd_get_time() 27 arg->params[0].u.value.b = ts.tv_nsec; in handle_rpc_func_cmd_get_time() 29 arg->ret = TEEC_SUCCESS; in handle_rpc_func_cmd_get_time() 32 arg->ret = TEEC_ERROR_BAD_PARAMETERS; in handle_rpc_func_cmd_get_time() 37 struct optee_msg_arg *arg) in handle_rpc_func_cmd_i2c_transfer() argument 52 if (arg->num_params != ARRAY_SIZE(attr)) { in handle_rpc_func_cmd_i2c_transfer() 53 arg->ret = TEEC_ERROR_BAD_PARAMETERS; in handle_rpc_func_cmd_i2c_transfer() [all …]
|
/linux-6.1.9/tools/perf/trace/beauty/ |
D | fcntl.c | 18 static size_t syscall_arg__scnprintf_fcntl_getfd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_getfd() argument 20 return fcntl__scnprintf_getfd(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_getfd() 31 static size_t syscall_arg__scnprintf_fcntl_getlease(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_getlease() argument 33 return fcntl__scnprintf_getlease(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_getlease() 36 size_t syscall_arg__scnprintf_fcntl_cmd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_cmd() argument 38 if (arg->val == F_GETFL) { in syscall_arg__scnprintf_fcntl_cmd() 39 syscall_arg__set_ret_scnprintf(arg, syscall_arg__scnprintf_open_flags); in syscall_arg__scnprintf_fcntl_cmd() 42 if (arg->val == F_GETFD) { in syscall_arg__scnprintf_fcntl_cmd() 43 syscall_arg__set_ret_scnprintf(arg, syscall_arg__scnprintf_fcntl_getfd); in syscall_arg__scnprintf_fcntl_cmd() 46 if (arg->val == F_DUPFD_CLOEXEC || arg->val == F_DUPFD) { in syscall_arg__scnprintf_fcntl_cmd() [all …]
|
D | beauty.h | 123 unsigned long syscall_arg__val(struct syscall_arg *arg, u8 idx); 125 size_t syscall_arg__scnprintf_strarray_flags(char *bf, size_t size, struct syscall_arg *arg); 128 bool syscall_arg__strtoul_strarray(char *bf, size_t size, struct syscall_arg *arg, u64 *ret); 131 bool syscall_arg__strtoul_strarray_flags(char *bf, size_t size, struct syscall_arg *arg, u64 *ret); 134 bool syscall_arg__strtoul_strarrays(char *bf, size_t size, struct syscall_arg *arg, u64 *ret); 137 size_t syscall_arg__scnprintf_x86_irq_vectors(char *bf, size_t size, struct syscall_arg *arg); 140 bool syscall_arg__strtoul_x86_irq_vectors(char *bf, size_t size, struct syscall_arg *arg, u64 *ret); 143 size_t syscall_arg__scnprintf_x86_MSR(char *bf, size_t size, struct syscall_arg *arg); 146 bool syscall_arg__strtoul_x86_MSR(char *bf, size_t size, struct syscall_arg *arg, u64 *ret); 149 size_t syscall_arg__scnprintf_strarrays(char *bf, size_t size, struct syscall_arg *arg); [all …]
|
/linux-6.1.9/drivers/scsi/elx/libefc/ |
D | efc_fabric.h | 19 enum efc_sm_event evt, void *arg); 22 enum efc_sm_event evt, void *arg); 25 enum efc_sm_event evt, void *arg); 28 enum efc_sm_event evt, void *arg); 32 enum efc_sm_event evt, void *arg); 35 enum efc_sm_event evt, void *arg); 38 enum efc_sm_event evt, void *arg); 41 __efc_ns_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg); 44 enum efc_sm_event evt, void *arg); 47 enum efc_sm_event evt, void *arg); [all …]
|
D | efc_device.h | 26 enum efc_sm_event evt, void *arg); 29 enum efc_sm_event evt, void *arg); 31 __efc_d_init(struct efc_sm_ctx *ctx, enum efc_sm_event evt, void *arg); 34 enum efc_sm_event evt, void *arg); 37 enum efc_sm_event evt, void *arg); 40 enum efc_sm_event evt, void *arg); 43 enum efc_sm_event evt, void *arg); 46 enum efc_sm_event evt, void *arg); 49 enum efc_sm_event evt, void *arg); 52 enum efc_sm_event evt, void *arg); [all …]
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe_hdr.h | 84 static inline u8 __bth_opcode(void *arg) in __bth_opcode() argument 86 struct rxe_bth *bth = arg; in __bth_opcode() 91 static inline void __bth_set_opcode(void *arg, u8 opcode) in __bth_set_opcode() argument 93 struct rxe_bth *bth = arg; in __bth_set_opcode() 98 static inline u8 __bth_se(void *arg) in __bth_se() argument 100 struct rxe_bth *bth = arg; in __bth_se() 105 static inline void __bth_set_se(void *arg, int se) in __bth_set_se() argument 107 struct rxe_bth *bth = arg; in __bth_set_se() 115 static inline u8 __bth_mig(void *arg) in __bth_mig() argument 117 struct rxe_bth *bth = arg; in __bth_mig() [all …]
|
/linux-6.1.9/drivers/acpi/acpica/ |
D | dsfield.c | 39 union acpi_parse_object *arg); 123 union acpi_parse_object *arg; in acpi_ds_create_buffer_field() local 139 arg = acpi_ps_get_arg(op, 3); in acpi_ds_create_buffer_field() 143 arg = acpi_ps_get_arg(op, 2); in acpi_ds_create_buffer_field() 146 if (!arg) { in acpi_ds_create_buffer_field() 177 arg->common.value.string, ACPI_TYPE_ANY, in acpi_ds_create_buffer_field() 185 arg->common.value.string, status); in acpi_ds_create_buffer_field() 262 union acpi_parse_object *arg) in acpi_ds_get_field_names() argument 282 while (arg) { in acpi_ds_get_field_names() 290 switch (arg->common.aml_opcode) { in acpi_ds_get_field_names() [all …]
|
D | pstree.c | 39 union acpi_parse_object *arg = NULL; in acpi_ps_get_arg() local 71 arg = op->common.value.arg; in acpi_ps_get_arg() 72 while (arg && argn) { in acpi_ps_get_arg() 74 arg = arg->common.next; in acpi_ps_get_arg() 77 return (arg); in acpi_ps_get_arg() 94 acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg) in acpi_ps_append_arg() argument 128 if (op->common.value.arg) { in acpi_ps_append_arg() 132 prev_arg = op->common.value.arg; in acpi_ps_append_arg() 136 prev_arg->common.next = arg; in acpi_ps_append_arg() 140 op->common.value.arg = arg; in acpi_ps_append_arg() [all …]
|
D | psargs.c | 199 union acpi_parse_object *arg, u8 possible_method_call) in acpi_ps_get_next_namepath() argument 211 acpi_ps_init_op(arg, AML_INT_NAMEPATH_OP); in acpi_ps_get_next_namepath() 216 arg->common.value.name = path; in acpi_ps_get_next_namepath() 251 acpi_ps_init_op(arg, AML_INT_METHODCALL_OP); in acpi_ps_get_next_namepath() 268 acpi_ps_init_op(arg, AML_INT_METHODCALL_OP); in acpi_ps_get_next_namepath() 274 acpi_ps_append_arg(arg, name_op); in acpi_ps_get_next_namepath() 318 else if ((arg->common.parent) && in acpi_ps_get_next_namepath() 319 ((arg->common.parent->common.aml_opcode == in acpi_ps_get_next_namepath() 321 || (arg->common.parent->common.aml_opcode == in acpi_ps_get_next_namepath() 343 arg->common.value.name = path; in acpi_ps_get_next_namepath() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/basics/ |
D | fixpt31_32.c | 34 long long arg) in abs_i64() argument 36 if (arg > 0) in abs_i64() 37 return (unsigned long long)arg; in abs_i64() 39 return (unsigned long long)(-arg); in abs_i64() 174 struct fixed31_32 dc_fixpt_sqr(struct fixed31_32 arg) in dc_fixpt_sqr() argument 178 unsigned long long arg_value = abs_i64(arg.value); in dc_fixpt_sqr() 214 struct fixed31_32 dc_fixpt_recip(struct fixed31_32 arg) in dc_fixpt_recip() argument 221 ASSERT(arg.value); in dc_fixpt_recip() 225 arg.value); in dc_fixpt_recip() 228 struct fixed31_32 dc_fixpt_sinc(struct fixed31_32 arg) in dc_fixpt_sinc() argument [all …]
|
/linux-6.1.9/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-params.c | 56 const struct rkisp1_cif_isp_dpcc_config *arg) in rkisp1_dpcc_config() argument 69 mode |= arg->mode & RKISP1_CIF_ISP_DPCC_MODE_STAGE1_ENABLE; in rkisp1_dpcc_config() 73 arg->output_mode & RKISP1_CIF_ISP_DPCC_OUTPUT_MODE_MASK); in rkisp1_dpcc_config() 75 arg->set_use & RKISP1_CIF_ISP_DPCC_SET_USE_MASK); in rkisp1_dpcc_config() 79 arg->methods[i].method & in rkisp1_dpcc_config() 82 arg->methods[i].line_thresh & in rkisp1_dpcc_config() 85 arg->methods[i].line_mad_fac & in rkisp1_dpcc_config() 88 arg->methods[i].pg_fac & in rkisp1_dpcc_config() 91 arg->methods[i].rnd_thresh & in rkisp1_dpcc_config() 94 arg->methods[i].rg_fac & in rkisp1_dpcc_config() [all …]
|
/linux-6.1.9/drivers/net/wireless/st/cw1200/ |
D | wsm.c | 83 void *arg, u16 cmd, long tmo); 92 void *arg, in wsm_generic_confirm() argument 105 int wsm_configuration(struct cw1200_common *priv, struct wsm_configuration *arg) in wsm_configuration() argument 112 WSM_PUT32(buf, arg->dot11MaxTransmitMsduLifeTime); in wsm_configuration() 113 WSM_PUT32(buf, arg->dot11MaxReceiveLifeTime); in wsm_configuration() 114 WSM_PUT32(buf, arg->dot11RtsThreshold); in wsm_configuration() 117 WSM_PUT16(buf, arg->dpdData_size + 12); in wsm_configuration() 119 WSM_PUT(buf, arg->dot11StationId, ETH_ALEN); in wsm_configuration() 121 WSM_PUT(buf, arg->dpdData, arg->dpdData_size); in wsm_configuration() 123 ret = wsm_cmd_send(priv, buf, arg, in wsm_configuration() [all …]
|
/linux-6.1.9/sound/drivers/opl3/ |
D | opl3_oss.c | 11 static int snd_opl3_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure); 12 static int snd_opl3_close_seq_oss(struct snd_seq_oss_arg *arg); 13 static int snd_opl3_ioctl_seq_oss(struct snd_seq_oss_arg *arg, unsigned int cmd, unsigned long ioar… 14 static int snd_opl3_load_patch_seq_oss(struct snd_seq_oss_arg *arg, int format, const char __user *… 15 static int snd_opl3_reset_seq_oss(struct snd_seq_oss_arg *arg); 92 struct snd_seq_oss_reg *arg; in snd_opl3_init_seq_oss() local 101 arg = SNDRV_SEQ_DEVICE_ARGPTR(dev); in snd_opl3_init_seq_oss() 102 arg->type = SYNTH_TYPE_FM; in snd_opl3_init_seq_oss() 104 arg->subtype = FM_TYPE_ADLIB; in snd_opl3_init_seq_oss() 105 arg->nvoices = MAX_OPL2_VOICES; in snd_opl3_init_seq_oss() [all …]
|
/linux-6.1.9/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 339 int arg; in dsf() local 356 for (arg = 2; arg < argc; arg++) { in dsf() 357 if (!strcmp(argv[arg], "lip")) { in dsf() 358 if (++arg >= argc) in dsf() 361 params[0] = argv[arg]; in dsf() 362 } else if (!strcmp(argv[arg], "lport")) { in dsf() 363 if (++arg >= argc) in dsf() 366 params[1] = argv[arg]; in dsf() 367 } else if (!strcmp(argv[arg], "rip")) { in dsf() 368 if (++arg >= argc) in dsf() [all …]
|
/linux-6.1.9/tools/thermal/thermal-engine/ |
D | thermal-engine.c | 41 static int show_trip(struct thermal_trip *tt, __maybe_unused void *arg) in show_trip() argument 49 static int show_temp(struct thermal_zone *tz, __maybe_unused void *arg) in show_temp() argument 51 thermal_cmd_get_temp(arg, tz); in show_temp() 58 static int show_governor(struct thermal_zone *tz, __maybe_unused void *arg) in show_governor() argument 60 thermal_cmd_get_governor(arg, tz); in show_governor() 67 static int show_tz(struct thermal_zone *tz, __maybe_unused void *arg) in show_tz() argument 73 show_temp(tz, arg); in show_tz() 75 show_governor(tz, arg); in show_tz() 80 static int tz_create(const char *name, int tz_id, __maybe_unused void *arg) in tz_create() argument 87 static int tz_delete(int tz_id, __maybe_unused void *arg) in tz_delete() argument [all …]
|
/linux-6.1.9/drivers/tee/amdtee/ |
D | call.c | 240 int handle_invoke_cmd(struct tee_ioctl_invoke_arg *arg, u32 sinfo, in handle_invoke_cmd() argument 246 if (!arg || (!p && arg->num_params)) in handle_invoke_cmd() 249 arg->ret_origin = TEEC_ORIGIN_COMMS; in handle_invoke_cmd() 251 if (arg->session == 0) { in handle_invoke_cmd() 252 arg->ret = TEEC_ERROR_BAD_PARAMETERS; in handle_invoke_cmd() 256 ret = tee_params_to_amd_params(p, arg->num_params, &cmd.op); in handle_invoke_cmd() 259 arg->ret = TEEC_ERROR_BAD_PARAMETERS; in handle_invoke_cmd() 263 cmd.ta_handle = get_ta_handle(arg->session); in handle_invoke_cmd() 264 cmd.cmd_id = arg->func; in handle_invoke_cmd() 268 sizeof(cmd), &arg->ret); in handle_invoke_cmd() [all …]
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_nsp.c | 170 struct nfp_nsp_command_arg arg; member 359 __nfp_nsp_command(struct nfp_nsp *state, const struct nfp_nsp_command_arg *arg) in __nfp_nsp_command() argument 376 err = nfp_cpp_writeq(cpp, nsp_cpp, nsp_buffer, arg->buf); in __nfp_nsp_command() 381 FIELD_PREP(NSP_COMMAND_OPTION, arg->option) | in __nfp_nsp_command() 382 FIELD_PREP(NSP_COMMAND_CODE, arg->code) | in __nfp_nsp_command() 383 FIELD_PREP(NSP_COMMAND_DMA_BUF, arg->dma) | in __nfp_nsp_command() 393 err, arg->code); in __nfp_nsp_command() 399 0, arg->timeout_sec ?: NFP_NSP_TIMEOUT_DEFAULT); in __nfp_nsp_command() 402 err, arg->code); in __nfp_nsp_command() 413 if (!arg->error_quiet) in __nfp_nsp_command() [all …]
|
/linux-6.1.9/drivers/media/firewire/ |
D | firedtv-ci.c | 44 static int fdtv_ca_get_caps(void *arg) in fdtv_ca_get_caps() argument 46 struct ca_caps *cap = arg; in fdtv_ca_get_caps() 55 static int fdtv_ca_get_slot_info(struct firedtv *fdtv, void *arg) in fdtv_ca_get_slot_info() argument 58 struct ca_slot_info *slot = arg; in fdtv_ca_get_slot_info() 73 static int fdtv_ca_app_info(struct firedtv *fdtv, void *arg) in fdtv_ca_app_info() argument 75 struct ca_msg *reply = arg; in fdtv_ca_app_info() 80 static int fdtv_ca_info(struct firedtv *fdtv, void *arg) in fdtv_ca_info() argument 82 struct ca_msg *reply = arg; in fdtv_ca_info() 87 static int fdtv_ca_get_mmi(struct firedtv *fdtv, void *arg) in fdtv_ca_get_mmi() argument 89 struct ca_msg *reply = arg; in fdtv_ca_get_mmi() [all …]
|
/linux-6.1.9/tools/lib/thermal/include/ |
D | thermal.h | 17 int (*tz_temp)(int tz_id, int temp, void *arg); 21 int (*tz_create)(const char *name, int tz_id, void *arg); 22 int (*tz_delete)(int tz_id, void *arg); 23 int (*tz_enable)(int tz_id, void *arg); 24 int (*tz_disable)(int tz_id, void *arg); 25 int (*trip_high)(int tz_id, int trip_id, int temp, void *arg); 26 int (*trip_low)(int tz_id, int trip_id, int temp, void *arg); 27 int (*trip_add)(int tz_id, int trip_id, int type, int temp, int hyst, void *arg); 28 int (*trip_change)(int tz_id, int trip_id, int type, int temp, int hyst, void *arg); 29 int (*trip_delete)(int tz_id, int trip_id, void *arg); [all …]
|
/linux-6.1.9/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc_cmd_v5.c | 31 mfc_write(dev, args->arg[0], S5P_FIMV_HOST2RISC_ARG1); in s5p_mfc_cmd_host2risc_v5() 32 mfc_write(dev, args->arg[1], S5P_FIMV_HOST2RISC_ARG2); in s5p_mfc_cmd_host2risc_v5() 33 mfc_write(dev, args->arg[2], S5P_FIMV_HOST2RISC_ARG3); in s5p_mfc_cmd_host2risc_v5() 34 mfc_write(dev, args->arg[3], S5P_FIMV_HOST2RISC_ARG4); in s5p_mfc_cmd_host2risc_v5() 46 h2r_args.arg[0] = dev->fw_buf.size; in s5p_mfc_sys_init_cmd_v5() 83 h2r_args.arg[0] = S5P_FIMV_CODEC_H264_DEC; in s5p_mfc_open_inst_cmd_v5() 86 h2r_args.arg[0] = S5P_FIMV_CODEC_VC1_DEC; in s5p_mfc_open_inst_cmd_v5() 89 h2r_args.arg[0] = S5P_FIMV_CODEC_MPEG4_DEC; in s5p_mfc_open_inst_cmd_v5() 92 h2r_args.arg[0] = S5P_FIMV_CODEC_MPEG2_DEC; in s5p_mfc_open_inst_cmd_v5() 95 h2r_args.arg[0] = S5P_FIMV_CODEC_H263_DEC; in s5p_mfc_open_inst_cmd_v5() [all …]
|