/drivers/staging/wfx/ |
D | hif_tx_mib.c | 19 struct hif_mib_current_tx_power_level arg = { in hif_set_output_power() local 25 &arg, sizeof(arg)); in hif_set_output_power() 32 struct hif_mib_beacon_wake_up_period arg = { in hif_set_beacon_wakeup_period() local 42 &arg, sizeof(arg)); in hif_set_beacon_wakeup_period() 48 struct hif_mib_rcpi_rssi_threshold arg = { in hif_set_rcpi_rssi_threshold() local 54 arg.upperthresh = 1; in hif_set_rcpi_rssi_threshold() 55 arg.lowerthresh = 1; in hif_set_rcpi_rssi_threshold() 57 arg.upper_threshold = rssi_thold + rssi_hyst; in hif_set_rcpi_rssi_threshold() 58 arg.upper_threshold = (arg.upper_threshold + 110) * 2; in hif_set_rcpi_rssi_threshold() 59 arg.lower_threshold = rssi_thold; in hif_set_rcpi_rssi_threshold() [all …]
|
/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 …]
|
/drivers/tee/optee/ |
D | rpc.c | 34 static void handle_rpc_func_cmd_get_time(struct optee_msg_arg *arg) in handle_rpc_func_cmd_get_time() argument 38 if (arg->num_params != 1) in handle_rpc_func_cmd_get_time() 40 if ((arg->params[0].attr & OPTEE_MSG_ATTR_TYPE_MASK) != in handle_rpc_func_cmd_get_time() 45 arg->params[0].u.value.a = ts.tv_sec; in handle_rpc_func_cmd_get_time() 46 arg->params[0].u.value.b = ts.tv_nsec; in handle_rpc_func_cmd_get_time() 48 arg->ret = TEEC_SUCCESS; in handle_rpc_func_cmd_get_time() 51 arg->ret = TEEC_ERROR_BAD_PARAMETERS; in handle_rpc_func_cmd_get_time() 56 struct optee_msg_arg *arg) in handle_rpc_func_cmd_i2c_transfer() argument 70 if (arg->num_params != ARRAY_SIZE(attr)) { in handle_rpc_func_cmd_i2c_transfer() 71 arg->ret = TEEC_ERROR_BAD_PARAMETERS; in handle_rpc_func_cmd_i2c_transfer() [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
D | efc_fabric.c | 52 enum efc_sm_event evt, void *arg) in __efc_fabric_common() argument 68 __efc_node_common(funcname, ctx, evt, arg); in __efc_fabric_common() 74 void *arg) in __efc_fabric_init() argument 95 __efc_fabric_common(__func__, ctx, evt, arg); in __efc_fabric_init() 132 enum efc_sm_event evt, void *arg) in __efc_fabric_flogi_wait_rsp() argument 134 struct efc_node_cb *cbdata = arg; in __efc_fabric_flogi_wait_rsp() 143 if (efc_node_check_els_req(ctx, evt, arg, ELS_FLOGI, in __efc_fabric_flogi_wait_rsp() 218 if (efc_node_check_els_req(ctx, evt, arg, ELS_FLOGI, in __efc_fabric_flogi_wait_rsp() 232 __efc_fabric_common(__func__, ctx, evt, arg); in __efc_fabric_flogi_wait_rsp() 238 enum efc_sm_event evt, void *arg) in __efc_vport_fabric_init() argument [all …]
|
/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 …]
|
/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-params.c | 54 const struct rkisp1_cif_isp_dpcc_config *arg) in rkisp1_dpcc_config() argument 62 mode |= arg->mode & ~RKISP1_CIF_ISP_DPCC_ENA; in rkisp1_dpcc_config() 64 rkisp1_write(params->rkisp1, arg->output_mode, in rkisp1_dpcc_config() 66 rkisp1_write(params->rkisp1, arg->set_use, in rkisp1_dpcc_config() 69 rkisp1_write(params->rkisp1, arg->methods[0].method, in rkisp1_dpcc_config() 71 rkisp1_write(params->rkisp1, arg->methods[1].method, in rkisp1_dpcc_config() 73 rkisp1_write(params->rkisp1, arg->methods[2].method, in rkisp1_dpcc_config() 76 rkisp1_write(params->rkisp1, arg->methods[i].line_thresh, in rkisp1_dpcc_config() 78 rkisp1_write(params->rkisp1, arg->methods[i].line_mad_fac, in rkisp1_dpcc_config() 80 rkisp1_write(params->rkisp1, arg->methods[i].pg_fac, in rkisp1_dpcc_config() [all …]
|
/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 …]
|
D | wsm.h | 652 struct wsm_configuration *arg); 662 int wsm_reset(struct cw1200_common *priv, const struct wsm_reset *arg); 737 int wsm_scan(struct cw1200_common *priv, const struct wsm_scan *arg); 884 struct wsm_event *arg); 947 int wsm_join(struct cw1200_common *priv, struct wsm_join *arg); 972 int wsm_set_pm(struct cw1200_common *priv, const struct wsm_set_pm *arg); 999 const struct wsm_set_bss_params *arg); 1062 int wsm_add_key(struct cw1200_common *priv, const struct wsm_add_key *arg); 1072 const struct wsm_remove_key *arg); 1104 const struct wsm_set_tx_queue_params *arg, u8 id); [all …]
|
/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 …]
|
/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 …]
|
/drivers/media/v4l2-core/ |
D | v4l2-ioctl.c | 210 static void v4l_print_querycap(const void *arg, bool write_only) in v4l_print_querycap() argument 212 const struct v4l2_capability *p = arg; in v4l_print_querycap() 221 static void v4l_print_enuminput(const void *arg, bool write_only) in v4l_print_enuminput() argument 223 const struct v4l2_input *p = arg; in v4l_print_enuminput() 231 static void v4l_print_enumoutput(const void *arg, bool write_only) in v4l_print_enumoutput() argument 233 const struct v4l2_output *p = arg; in v4l_print_enumoutput() 240 static void v4l_print_audio(const void *arg, bool write_only) in v4l_print_audio() argument 242 const struct v4l2_audio *p = arg; in v4l_print_audio() 252 static void v4l_print_audioout(const void *arg, bool write_only) in v4l_print_audioout() argument 254 const struct v4l2_audioout *p = arg; in v4l_print_audioout() [all …]
|
/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 …]
|
/drivers/gpu/drm/i915/gt/ |
D | selftest_mocs.c | 61 static int live_mocs_init(struct live_mocs *arg, struct intel_gt *gt) in live_mocs_init() argument 66 memset(arg, 0, sizeof(*arg)); in live_mocs_init() 68 flags = get_mocs_settings(gt->i915, &arg->table); in live_mocs_init() 73 arg->l3cc = &arg->table; in live_mocs_init() 76 arg->mocs = &arg->table; in live_mocs_init() 78 arg->scratch = in live_mocs_init() 80 if (IS_ERR(arg->scratch)) in live_mocs_init() 81 return PTR_ERR(arg->scratch); in live_mocs_init() 83 arg->vaddr = i915_gem_object_pin_map_unlocked(arg->scratch->obj, I915_MAP_WB); in live_mocs_init() 84 if (IS_ERR(arg->vaddr)) { in live_mocs_init() [all …]
|
/drivers/media/dvb-frontends/ |
D | cx24120.c | 158 u8 arg[CX24120_MAX_CMD_LEN]; member 384 cx24120_writeregs(state, CX24120_REG_CMD_ARGS, &cmd->arg[0], in cx24120_message_send() 422 cmd->arg[i] = cx24120_readreg(state, (cmd->len + i + 1)); in cx24120_message_sendrcv() 448 cmd.arg[0] = 0x01; in cx24120_msg_mpeg_output_global_config() 449 cmd.arg[1] = 0x00; in cx24120_msg_mpeg_output_global_config() 450 cmd.arg[2] = enable ? 0 : (u8)(-1); in cx24120_msg_mpeg_output_global_config() 451 cmd.arg[3] = 0x01; in cx24120_msg_mpeg_output_global_config() 475 cmd.arg[0] = seq; /* sequental number - can be 0,1,2 */ in cx24120_msg_mpeg_output_config() 476 cmd.arg[1] = ((i.x1 & 0x01) << 1) | ((i.x1 >> 1) & 0x01); in cx24120_msg_mpeg_output_config() 477 cmd.arg[2] = 0x05; in cx24120_msg_mpeg_output_config() [all …]
|
/drivers/media/platform/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 …]
|
/drivers/net/wireless/ath/ath10k/ |
D | wmi.c | 1699 const struct wmi_channel_arg *arg) in ath10k_wmi_put_wmi_channel() argument 1706 if (arg->passive) in ath10k_wmi_put_wmi_channel() 1708 if (arg->allow_ibss) in ath10k_wmi_put_wmi_channel() 1710 if (arg->allow_ht) in ath10k_wmi_put_wmi_channel() 1712 if (arg->allow_vht) in ath10k_wmi_put_wmi_channel() 1714 if (arg->ht40plus) in ath10k_wmi_put_wmi_channel() 1716 if (arg->chan_radar) in ath10k_wmi_put_wmi_channel() 1720 ch->mhz = __cpu_to_le32(arg->freq); in ath10k_wmi_put_wmi_channel() 1721 ch->band_center_freq1 = __cpu_to_le32(arg->band_center_freq1); in ath10k_wmi_put_wmi_channel() 1722 if (arg->mode == MODE_11AC_VHT80_80) { in ath10k_wmi_put_wmi_channel() [all …]
|
/drivers/gpu/drm/sti/ |
D | sti_awg_utils.c | 29 long int arg, in awg_generate_instr() argument 37 long int arg_tmp = arg; in awg_generate_instr() 47 arg = arg_tmp; in awg_generate_instr() 57 arg--; /* pixel adjustment */ in awg_generate_instr() 60 if (arg < 0) { in awg_generate_instr() 65 if (arg == 0) { in awg_generate_instr() 75 arg &= AWG_MAX_ARG; in awg_generate_instr() 79 if (arg == 0) { in awg_generate_instr() 86 arg &= AWG_MAX_ARG; in awg_generate_instr() 91 arg |= 0x40; /* for jump instruction 7th bit is 1 */ in awg_generate_instr() [all …]
|
/drivers/misc/ |
D | kgdbts.c | 217 static unsigned long lookup_addr(char *arg) in lookup_addr() argument 222 if (strcmp(arg, cached_arg)) { in lookup_addr() 223 strscpy(cached_arg, arg, KSYM_NAME_LEN); in lookup_addr() 224 cached_addr = kallsyms_lookup_name(arg); in lookup_addr() 231 static void break_helper(char *bp_type, char *arg, unsigned long vaddr) in break_helper() argument 235 if (arg) in break_helper() 236 addr = lookup_addr(arg); in break_helper() 245 static void sw_break(char *arg) in sw_break() argument 247 break_helper(force_hwbrks ? "Z1" : "Z0", arg, 0); in sw_break() 250 static void sw_rem_break(char *arg) in sw_rem_break() argument [all …]
|
/drivers/usb/atm/ |
D | usbatm.h | 29 #define usb_err(instance, format, arg...) \ argument 30 dev_err(&(instance)->usb_intf->dev , format , ## arg) 31 #define usb_info(instance, format, arg...) \ argument 32 dev_info(&(instance)->usb_intf->dev , format , ## arg) 33 #define usb_warn(instance, format, arg...) \ argument 34 dev_warn(&(instance)->usb_intf->dev , format , ## arg) 35 #define usb_dbg(instance, format, arg...) \ argument 36 dev_dbg(&(instance)->usb_intf->dev , format , ## arg) 39 #define atm_printk(level, instance, format, arg...) \ argument 41 (instance)->atm_dev->number , ## arg) [all …]
|