| /linux/drivers/net/wireless/silabs/wfx/ |
| H A 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/drivers/gpu/drm/amd/display/include/ |
| H A D | fixed31_32.h | 85 * result = arg 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() 103 * result = -arg 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() 116 * result = abs(arg) := (arg >= 0) ? arg : -arg 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() [all …]
|
| /linux/drivers/tee/optee/ |
| H A D | rpc.c | 16 static void handle_rpc_func_cmd_get_time(struct optee_msg_arg *arg) in handle_rpc_func_cmd_get_time() argument 20 if (arg->num_params != 1) in handle_rpc_func_cmd_get_time() 22 if ((arg->params[0].attr & OPTEE_MSG_ATTR_TYPE_MASK) != in handle_rpc_func_cmd_get_time() 27 arg->params[0].u.value.a = ts.tv_sec; in handle_rpc_func_cmd_get_time() 28 arg->params[0].u.value.b = ts.tv_nsec; in handle_rpc_func_cmd_get_time() 30 arg->ret = TEEC_SUCCESS; in handle_rpc_func_cmd_get_time() 33 arg->ret = TEEC_ERROR_BAD_PARAMETERS; in handle_rpc_func_cmd_get_time() 38 struct optee_msg_arg *arg) in handle_rpc_func_cmd_i2c_transfer() argument 53 if (arg->num_params != ARRAY_SIZE(attr)) { in handle_rpc_func_cmd_i2c_transfer() 54 arg->ret = TEEC_ERROR_BAD_PARAMETERS; in handle_rpc_func_cmd_i2c_transfer() [all …]
|
| /linux/tools/perf/trace/beauty/ |
| H A 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 in syscall_arg__scnprintf_fcntl_cmd() 70 syscall_arg__scnprintf_fcntl_arg(char * bf,size_t size,struct syscall_arg * arg) syscall_arg__scnprintf_fcntl_arg() argument [all...] |
| H A D | beauty.h | 79 * @size: 8 if all we need is an integer, otherwise all of the augmented arg. 93 …or tracepoint dynamic arrays, if fmt->nr_entries == 0, then its not a fixed array, look at arg->len 94 * @args: All the args, use syscall_args__val(arg, nth) to access one 100 * @idx: syscall arg idx (is this the first?) 101 * @mask: a syscall arg may mask another arg, see syscall_arg__scnprintf_futex_op 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); [all …]
|
| /linux/drivers/scsi/elx/libefc/ |
| H A 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 …]
|
| H A 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/drivers/infiniband/sw/rxe/ |
| H A 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/arch/powerpc/perf/ |
| H A D | hv-gpci.c | 134 size_t *n, struct hv_gpci_request_buffer *arg) in systeminfo_gpci_request() argument 139 arg->params.counter_request = cpu_to_be32(req); in systeminfo_gpci_request() 140 arg->params.starting_index = cpu_to_be32(starting_index); in systeminfo_gpci_request() 141 arg->params.secondary_index = cpu_to_be16(secondary_index); in systeminfo_gpci_request() 144 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in systeminfo_gpci_request() 176 for (i = 0; i < be16_to_cpu(arg->params.returned_values); i++) { in systeminfo_gpci_request() 177 j = i * be16_to_cpu(arg->params.cv_element_size); in systeminfo_gpci_request() 179 for (; j < (i + 1) * be16_to_cpu(arg->params.cv_element_size); j++) in systeminfo_gpci_request() 180 *n += sprintf(buf + *n, "%02x", (u8)arg->bytes[j]); in systeminfo_gpci_request() 195 struct hv_gpci_request_buffer *arg; in processor_bus_topology_show() local [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A 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() 250 * arg - First parser arg for the field name list 262 union acpi_parse_object *arg) in acpi_ds_get_field_names() argument 282 while (arg) { in acpi_ds_get_field_names() [all …]
|
| H A D | pstree.c | 39 union acpi_parse_object *arg = NULL; in acpi_ps_get_arg() local 47 return (Op->Common.Value.Arg); in acpi_ps_get_arg() 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() 85 * arg - Argument Op to append 89 * DESCRIPTION: Append an argument to an op's argument list (a NULL arg is OK) 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() [all …]
|
| /linux/sound/drivers/opl3/ |
| H A 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/io_uring/ |
| H A D | register.c | 40 static __cold int io_probe(struct io_ring_ctx *ctx, void __user *arg, in io_probe() 51 p = memdup_user(arg, size); in io_probe() 68 if (copy_to_user(arg, p, size)) in io_probe() 106 static __cold int io_parse_restrictions(void __user *arg, unsigned int nr_args, in io_register_personality() 113 if (!arg || nr_args > IORING_MAX_RESTRICTIONS) in io_parse_restrictions() 120 res = memdup_user(arg, size); in io_parse_restrictions() 157 void __user *arg, unsigned int nr_args) 169 ret = io_parse_restrictions(arg, nr_args, &ctx->restrictions); in io_register_restrictions() 219 void __user *arg, unsigned len) 234 (const compat_ulong_t __user *)arg, in io_register_iowq_aff() 38 io_probe(struct io_ring_ctx * ctx,void __user * arg,unsigned nr_args) io_probe() argument 108 io_parse_restrictions(void __user * arg,unsigned int nr_args,struct io_restriction * restrictions) io_parse_restrictions() argument 159 io_register_restrictions(struct io_ring_ctx * ctx,void __user * arg,unsigned int nr_args) io_register_restrictions() argument 221 io_register_iowq_aff(struct io_ring_ctx * ctx,void __user * arg,unsigned len) io_register_iowq_aff() argument 258 io_register_iowq_max_workers(struct io_ring_ctx * ctx,void __user * arg) io_register_iowq_max_workers() argument 347 io_register_clock(struct io_ring_ctx * ctx,struct io_uring_clock_register __user * arg) io_register_clock() argument 401 io_register_resize_rings(struct io_ring_ctx * ctx,void __user * arg) io_register_resize_rings() argument 633 __io_uring_register(struct io_ring_ctx * ctx,unsigned opcode,void __user * arg,unsigned nr_args) __io_uring_register() argument 884 io_uring_register_blind(unsigned int opcode,void __user * arg,unsigned int nr_args) io_uring_register_blind() argument 907 SYSCALL_DEFINE4(io_uring_register,unsigned int,fd,unsigned int,opcode,void __user *,arg,unsigned int,nr_args) SYSCALL_DEFINE4() argument [all...] |
| /linux/drivers/net/wireless/st/cw1200/ |
| H A 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/drivers/tee/amdtee/ |
| H A 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/tools/testing/selftests/net/mptcp/ |
| H A D | pm_nl_ctl.c | 358 int arg; in dsf() local 375 for (arg = 2; arg < argc; arg++) { in dsf() 376 if (!strcmp(argv[arg], "lip")) { in dsf() 377 if (++arg >= argc) in dsf() 380 params[0] = argv[arg]; in dsf() 381 } else if (!strcmp(argv[arg], "lport")) { in dsf() 382 if (++arg >= argc) in dsf() 385 params[1] = argv[arg]; in dsf() 386 } else if (!strcmp(argv[arg], "rip")) { in dsf() 387 if (++arg >= argc) in dsf() [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| H A D | nfp_nsp.c | 164 * @arg: NFP command argument structure 171 struct nfp_nsp_command_arg arg; member 347 * @arg: NFP command argument structure 360 __nfp_nsp_command(struct nfp_nsp *state, const struct nfp_nsp_command_arg *arg) in __nfp_nsp_command() argument 377 err = nfp_cpp_writeq(cpp, nsp_cpp, nsp_buffer, arg->buf); in __nfp_nsp_command() 382 FIELD_PREP(NSP_COMMAND_OPTION, arg->option) | in __nfp_nsp_command() 383 FIELD_PREP(NSP_COMMAND_CODE, arg->code) | in __nfp_nsp_command() 384 FIELD_PREP(NSP_COMMAND_DMA_BUF, arg->dma) | in __nfp_nsp_command() 394 err, arg->code); in __nfp_nsp_command() 400 0, arg->timeout_sec ?: NFP_NSP_TIMEOUT_DEFAULT); in __nfp_nsp_command() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_mocs.c | 62 static int live_mocs_init(struct live_mocs *arg, struct intel_gt *gt) in live_mocs_init() argument 67 memset(arg, 0, sizeof(*arg)); in live_mocs_init() 69 flags = get_mocs_settings(gt->i915, &arg->table); in live_mocs_init() 74 arg->l3cc = &arg->table; in live_mocs_init() 77 arg->mocs = &arg->table; in live_mocs_init() 79 arg->scratch = in live_mocs_init() 81 if (IS_ERR(arg->scratch)) in live_mocs_init() 82 return PTR_ERR(arg->scratch); in live_mocs_init() 84 arg->vaddr = i915_gem_object_pin_map_unlocked(arg->scratch->obj, I915_MAP_WB); in live_mocs_init() 85 if (IS_ERR(arg->vaddr)) { in live_mocs_init() [all …]
|
| /linux/drivers/media/firewire/ |
| H A 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/drivers/gpu/drm/sti/ |
| H A D | sti_awg_utils.c | 29 long int arg, in awg_generate_instr() argument 37 long int arg_tmp = arg; in awg_generate_instr() 39 /* skip, repeat and replay arg should not exceed 1023. in awg_generate_instr() 41 * duplicate and arg should be adjust for each duplicated instruction. in awg_generate_instr() 47 arg = arg_tmp; in awg_generate_instr() 55 /* leave 'arg' + 1 pixel elapsing without changing 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() [all …]
|
| /linux/tools/perf/util/bpf_skel/ |
| H A D | augmented_raw_syscalls.bpf.c | 42 * Pointer arg payloads (filenames, etc) passed from userspace to the kernel 54 * Pointer arg payloads returned from the kernel (struct stat, etc) to userspace. 119 struct augmented_arg arg, arg2; // We have to reserve space for two arguments (rename, etc) member 167 unsigned int augmented_arg__read_str(struct augmented_arg *augmented_arg, const void *arg, unsigned… in augmented_arg__read_str() argument 170 int string_len = bpf_probe_read_user_str(&augmented_arg->value, arg_len, arg); in augmented_arg__read_str() 185 * to skip this augmented arg record in augmented_arg__read_str() 203 * on from there, reading the first syscall arg as a string, i.e. open's 217 …_Static_assert(is_power_of_2(sizeof(augmented_args->arg.saddr)), "sizeof(augmented_args->arg.saddr… in sys_enter_connect() 218 socklen &= sizeof(augmented_args->arg.saddr) - 1; in sys_enter_connect() 220 bpf_probe_read_user(&augmented_args->arg.saddr, socklen, sockaddr_arg); in sys_enter_connect() [all …]
|
| /linux/scripts/ |
| H A D | config | 56 ARG="$1" 57 if [ "$ARG" = "" ] ; then 60 case "$ARG" in 62 ARG="${ARG/${CONFIG_}/}" 66 ARG="`echo $ARG | tr a-z A-Z`" 161 A=$ARG 163 B=$ARG 173 set_var "${CONFIG_}$ARG" " [all...] |
| /linux/arch/arm64/kernel/ |
| H A D | pointer_auth.c | 11 int ptrauth_prctl_reset_keys(struct task_struct *tsk, unsigned long arg) in ptrauth_prctl_reset_keys() argument 24 if (!arg) { in ptrauth_prctl_reset_keys() 29 if (arg & ~key_mask) in ptrauth_prctl_reset_keys() 32 if (((arg & addr_key_mask) && !system_supports_address_auth()) || in ptrauth_prctl_reset_keys() 33 ((arg & PR_PAC_APGAKEY) && !system_supports_generic_auth())) in ptrauth_prctl_reset_keys() 36 if (arg & PR_PAC_APIAKEY) in ptrauth_prctl_reset_keys() 38 if (arg & PR_PAC_APIBKEY) in ptrauth_prctl_reset_keys() 40 if (arg & PR_PAC_APDAKEY) in ptrauth_prctl_reset_keys() 42 if (arg & PR_PAC_APDBKEY) in ptrauth_prctl_reset_keys() 44 if (arg & PR_PAC_APGAKEY) in ptrauth_prctl_reset_keys() [all …]
|
| /linux/drivers/media/platform/samsung/s5p-mfc/ |
| H A 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 …]
|
| /linux/drivers/watchdog/ |
| H A D | cros_ec_wdt.c | 25 union cros_ec_wdt_data *arg) in cros_ec_wdt_send_cmd() argument 33 msg->insize = (arg->req.command == EC_HANG_DETECT_CMD_GET_STATUS) ? in cros_ec_wdt_send_cmd() 37 *(struct ec_params_hang_detect *)msg->data = arg->req; in cros_ec_wdt_send_cmd() 43 arg->resp = *(struct ec_response_hang_detect *)msg->data; in cros_ec_wdt_send_cmd() 51 union cros_ec_wdt_data arg; in cros_ec_wdt_ping() local 54 arg.req.command = EC_HANG_DETECT_CMD_RELOAD; in cros_ec_wdt_ping() 55 ret = cros_ec_wdt_send_cmd(cros_ec, &arg); in cros_ec_wdt_ping() 65 union cros_ec_wdt_data arg; in cros_ec_wdt_start() local 69 arg.req.command = EC_HANG_DETECT_CMD_SET_TIMEOUT; in cros_ec_wdt_start() 70 arg.req.reboot_timeout_sec = wdd->timeout; in cros_ec_wdt_start() [all …]
|