Searched refs:param (Results 26 - 50 of 1537) sorted by relevance

1234567891011>>

/linux-master/arch/alpha/include/asm/
H A Dparam.h5 #include <uapi/asm/param.h>
/linux-master/include/asm-generic/
H A Dparam.h5 #include <uapi/asm-generic/param.h>
/linux-master/arch/hexagon/include/asm/
H A Ddelay.h9 #include <asm/param.h>
/linux-master/include/vdso/
H A Djiffies.h5 #include <asm/param.h> /* for HZ */
/linux-master/drivers/input/mouse/
H A Dlogips2pp.c113 static int ps2pp_cmd(struct psmouse *psmouse, u8 *param, u8 command) argument
121 error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_POLL | 0x0300);
139 u8 param[4]; local
141 ps2pp_cmd(psmouse, param, 0x32);
143 param[0] = 0;
144 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES);
145 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES);
146 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES);
148 param[0] = smartscroll;
149 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRE
190 u8 param = 3; local
361 u8 param[4]; local
[all...]
/linux-master/security/keys/trusted-keys/
H A Dtrusted_tee.c67 struct tee_param param[4]; local
71 memset(&param, 0, sizeof(param));
84 param[0].attr = TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_INPUT;
85 param[0].u.memref.shm = reg_shm;
86 param[0].u.memref.size = p->key_len;
87 param[0].u.memref.shm_offs = 0;
88 param[1].attr = TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_OUTPUT;
89 param[1].u.memref.shm = reg_shm;
90 param[
114 struct tee_param param[4]; local
161 struct tee_param param[4]; local
[all...]
/linux-master/drivers/gpu/drm/ast/
H A Dast_post.c589 static bool finetuneDQI_L(struct ast_device *ast, struct ast2300_dram_param *param) argument
778 static bool cbr_dll2(struct ast_device *ast, struct ast2300_dram_param *param) argument
784 if (finetuneDQI_L(ast, param) == false)
834 static void get_ddr3_info(struct ast_device *ast, struct ast2300_dram_param *param) argument
847 param->reg_MADJ = 0x00034C4C;
848 param->reg_SADJ = 0x00001800;
849 param->reg_DRV = 0x000000F0;
850 param->reg_PERIOD = param->dram_freq;
851 param
1076 ddr3_init(struct ast_device *ast, struct ast2300_dram_param *param) argument
1199 get_ddr2_info(struct ast_device *ast, struct ast2300_dram_param *param) argument
1446 ddr2_init(struct ast_device *ast, struct ast2300_dram_param *param) argument
1575 struct ast2300_dram_param param; local
1786 u32 addr, data, param; local
[all...]
/linux-master/include/sound/
H A Dhda_hwdep.h17 #define HDA_VERB(nid,verb,param) ((nid)<<24 | (verb)<<8 | (param))
/linux-master/drivers/md/
H A Ddm-ioctl.c426 static struct mapped_device *dm_hash_rename(struct dm_ioctl *param, argument
433 unsigned int change_uuid = (param->flags & DM_UUID_FLAG) ? 1 : 0;
456 param->name, new);
466 hc = __get_name_cell(param->name);
469 param->name, change_uuid ? "uuid " : "", new);
481 param->name, new, hc->uuid);
501 if (!dm_kobject_uevent(hc->md, KOBJ_CHANGE, param->event_nr, false))
502 param->flags |= DM_UEVENT_GENERATED_FLAG;
528 typedef int (*ioctl_fn)(struct file *filp, struct dm_ioctl *param, size_t param_size);
530 static int remove_all(struct file *filp, struct dm_ioctl *param, size_ argument
554 get_result_buffer(struct dm_ioctl *param, size_t param_size, size_t *len) argument
591 list_devices(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
681 list_version_get_info(struct target_type *tt, void *param) argument
704 __list_versions(struct dm_ioctl *param, size_t param_size, const char *name) argument
757 list_versions(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
762 get_target_version(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
812 dm_get_live_or_inactive_table(struct mapped_device *md, struct dm_ioctl *param, int *srcu_idx) argument
824 __dev_status(struct mapped_device *md, struct dm_ioctl *param) argument
879 dev_create(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
914 __find_device_hash_cell(struct dm_ioctl *param) argument
963 find_device(struct dm_ioctl *param) argument
977 dev_remove(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
1044 dev_rename(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
1074 dev_set_geometry(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
1120 do_suspend(struct dm_ioctl *param) argument
1149 do_resume(struct dm_ioctl *param) argument
1233 dev_suspend(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
1245 dev_status(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
1262 retrieve_status(struct dm_table *table, struct dm_ioctl *param, size_t param_size) argument
1338 dev_wait(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
1379 dev_arm_poll(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
1388 get_mode(struct dm_ioctl *param) argument
1432 populate_table(struct dm_table *table, struct dm_ioctl *param, size_t param_size) argument
1496 table_load(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
1583 table_clear(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
1624 retrieve_deps(struct dm_table *table, struct dm_ioctl *param, size_t param_size) argument
1666 table_deps(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
1692 table_status(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
1747 target_message(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
1922 free_params(struct dm_ioctl *param, size_t param_size, int param_flags) argument
1931 copy_params(struct dm_ioctl __user *user, struct dm_ioctl *param_kernel, int ioctl_flags, struct dm_ioctl **param, int *param_flags) argument
1997 validate_params(uint cmd, struct dm_ioctl *param) argument
2034 struct dm_ioctl *param; local
[all...]
/linux-master/net/devlink/
H A Dparam.c97 static int devlink_param_generic_verify(const struct devlink_param *param) argument
100 if (param->id > DEVLINK_PARAM_GENERIC_ID_MAX)
102 if (strcmp(param->name, devlink_param_generic[param->id].name))
105 WARN_ON(param->type != devlink_param_generic[param->id].type);
110 static int devlink_param_driver_verify(const struct devlink_param *param) argument
114 if (param->id <= DEVLINK_PARAM_GENERIC_ID_MAX)
118 if (!strcmp(param->name, devlink_param_generic[i].name))
131 if (!strcmp(param_item->param
144 devlink_param_cmode_is_supported(const struct devlink_param *param, enum devlink_param_cmode cmode) argument
150 devlink_param_get(struct devlink *devlink, const struct devlink_param *param, struct devlink_param_gset_ctx *ctx) argument
159 devlink_param_set(struct devlink *devlink, const struct devlink_param *param, struct devlink_param_gset_ctx *ctx, struct netlink_ext_ack *extack) argument
246 const struct devlink_param *param = param_item->param; local
446 devlink_param_value_get_from_info(const struct devlink_param *param, struct genl_info *info, union devlink_param_value *value) argument
539 const struct devlink_param *param; local
613 devlink_param_verify(const struct devlink_param *param) argument
623 devlink_param_register(struct devlink *devlink, const struct devlink_param *param) argument
655 devlink_param_unregister(struct devlink *devlink, const struct devlink_param *param) argument
681 const struct devlink_param *param = params; local
726 const struct devlink_param *param = params; local
[all...]
/linux-master/lib/zlib_dfltcc/
H A Ddfltcc_inflate.c44 struct dfltcc_param_v0 *param = &GET_DFLTCC_STATE(state)->param; local
46 return !param->nt;
74 struct dfltcc_param_v0 *param = &GET_DFLTCC_STATE(state)->param; local
80 param, &strm->next_out, &avail_out,
95 struct dfltcc_param_v0 *param = &dfltcc_state->param; local
119 if (strm->avail_in == 0 && !param->cf)
128 param
[all...]
/linux-master/fs/autofs/
H A Ddev-ioctl.c56 static int check_dev_ioctl_version(int cmd, struct autofs_dev_ioctl *param) argument
60 if ((param->ver_major != AUTOFS_DEV_IOCTL_VERSION_MAJOR) ||
61 (param->ver_minor > AUTOFS_DEV_IOCTL_VERSION_MINOR)) {
66 param->ver_major, param->ver_minor, cmd);
71 param->ver_major = AUTOFS_DEV_IOCTL_VERSION_MAJOR;
72 param->ver_minor = AUTOFS_DEV_IOCTL_VERSION_MINOR;
102 static inline void free_dev_ioctl(struct autofs_dev_ioctl *param) argument
104 kfree(param);
111 static int validate_dev_ioctl(int cmd, struct autofs_dev_ioctl *param) argument
154 autofs_dev_ioctl_version(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
165 autofs_dev_ioctl_protover(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
174 autofs_dev_ioctl_protosubver(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
258 autofs_dev_ioctl_openmount(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
289 autofs_dev_ioctl_closemount(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
300 autofs_dev_ioctl_ready(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
314 autofs_dev_ioctl_fail(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
338 autofs_dev_ioctl_setpipefd(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
391 autofs_dev_ioctl_catatonic(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
400 autofs_dev_ioctl_timeout(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
420 autofs_dev_ioctl_requester(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
459 autofs_dev_ioctl_expire(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
473 autofs_dev_ioctl_askumount(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
504 autofs_dev_ioctl_ismountpoint(struct file *fp, struct autofs_sb_info *sbi, struct autofs_dev_ioctl *param) argument
596 struct autofs_dev_ioctl *param; local
[all...]
/linux-master/security/tomoyo/
H A Denviron.c24 return tomoyo_path_matches_pattern(r->param.environ.name, acl->env);
37 r->param.environ.name->name);
60 r->param.environ.name = &environ;
88 * @param: Pointer to "struct tomoyo_acl_param".
94 static int tomoyo_write_env(struct tomoyo_acl_param *param) argument
98 const char *data = tomoyo_read_token(param);
105 error = tomoyo_update_domain(&e.head, sizeof(e), param,
114 * @param: Pointer to "struct tomoyo_acl_param".
118 int tomoyo_write_misc(struct tomoyo_acl_param *param) argument
120 if (tomoyo_str_starts(&param
[all...]
/linux-master/include/soc/arc/
H A Dmcip.h22 unsigned int pad:8, param:16, cmd:8; member in struct:mcip_cmd
24 unsigned int cmd:8, param:16, pad:8;
96 * - Simple commands write {cmd:8,param:16} to MCIP_CMD aux reg
97 * (param could be irq, common_irq, core_id ...)
101 static inline void __mcip_cmd(unsigned int cmd, unsigned int param) argument
107 buf.param = param;
116 static inline void __mcip_cmd_data(unsigned int cmd, unsigned int param, argument
121 __mcip_cmd(cmd, param);
127 static inline unsigned int __mcip_cmd_read(unsigned int cmd, unsigned int param) argument
[all...]
/linux-master/drivers/macintosh/
H A Dwindfarm_pid.c25 void wf_pid_init(struct wf_pid_state *st, struct wf_pid_param *param) argument
28 st->param = *param;
37 int i, hlen = st->param.history_len;
40 error = new_sample - st->param.itarget;
59 integ *= st->param.interval;
64 deriv /= st->param.interval;
67 target = (s32)((integ * (s64)st->param.gr + deriv * (s64)st->param.gd +
68 error * (s64)st->param
79 wf_cpu_pid_init(struct wf_cpu_pid_state *st, struct wf_cpu_pid_param *param) argument
[all...]
/linux-master/drivers/virt/
H A Dfsl_hypervisor.c57 struct fsl_hv_ioctl_restart param; local
60 if (copy_from_user(&param, p, sizeof(struct fsl_hv_ioctl_restart)))
63 param.ret = fh_partition_restart(param.partition);
65 if (copy_to_user(&p->ret, &param.ret, sizeof(__u32)))
78 struct fsl_hv_ioctl_status param; local
82 if (copy_from_user(&param, p, sizeof(struct fsl_hv_ioctl_status)))
85 param.ret = fh_partition_get_status(param.partition, &status);
86 if (!param
102 struct fsl_hv_ioctl_start param; local
124 struct fsl_hv_ioctl_stop param; local
149 struct fsl_hv_ioctl_memcpy param; local
317 struct fsl_hv_ioctl_doorbell param; local
333 struct fsl_hv_ioctl_prop param; local
[all...]
/linux-master/scripts/
H A DMakefile.kasan14 cc-param = $(call cc-option, -mllvm -$(1), $(call cc-option, --param $(1)))
43 $(call cc-param,asan-globals=1) \
44 $(call cc-param,asan-instrumentation-with-call-threshold=$(call_threshold)) \
45 $(call cc-param,asan-instrument-allocas=1)
48 CFLAGS_KASAN += $(call cc-param,asan-stack=$(stack_enable))
53 CFLAGS_KASAN += $(call cc-param,asan-kernel-mem-intrinsic-prefix=1)
60 instrumentation_flags := $(call cc-param,hwasan-mapping-offset=$(KASAN_SHADOW_OFFSET))
62 instrumentation_flags := $(call cc-param,hwasan-instrument-with-calls=1)
66 $(call cc-param,hwasa
[all...]
H A DMakefile.kmsan5 kmsan-cflags += -fsanitize-memory-param-retval
/linux-master/include/linux/platform_data/
H A Ddma-mcf-edma.h22 bool mcf_edma_filter_fn(struct dma_chan *chan, void *param);
/linux-master/drivers/staging/media/atomisp/pci/runtime/tagger/interface/
H A Dia_css_tagger_common.h34 u32 param; /* the param value stored in the element */ member in struct:__anon222
/linux-master/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_dec_hw.c60 static int mtk_jpeg_decide_format(struct mtk_jpeg_dec_param *param) argument
62 param->src_color = (param->sampling_w[0] << 20) |
63 (param->sampling_h[0] << 16) |
64 (param->sampling_w[1] << 12) |
65 (param->sampling_h[1] << 8) |
66 (param->sampling_w[2] << 4) |
67 (param->sampling_h[2]);
69 param->uv_brz_w = 0;
70 switch (param
98 mtk_jpeg_calc_mcu(struct mtk_jpeg_dec_param *param) argument
136 mtk_jpeg_calc_dma_group(struct mtk_jpeg_dec_param *param) argument
162 mtk_jpeg_calc_dst_size(struct mtk_jpeg_dec_param *param) argument
203 mtk_jpeg_dec_fill_param(struct mtk_jpeg_dec_param *param) argument
[all...]
/linux-master/drivers/nvmem/
H A Dstm32-bsec-optee-ta.c22 * TEE_ERROR_BAD_PARAMETERS - Incorrect input param
37 * TEE_ERROR_BAD_PARAMETERS - Incorrect input param
144 struct tee_param param[2]; local
155 memset(&param, 0, sizeof(param));
164 param[0].attr = TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_INPUT;
165 param[0].u.value.a = start;
166 param[0].u.value.b = SHADOW_ACCESS;
174 param[1].attr = TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_OUTPUT;
175 param[
209 struct tee_param param[2]; local
[all...]
/linux-master/drivers/platform/x86/
H A Dclassmate-laptop.c73 union acpi_object param[4]; local
77 param[0].type = ACPI_TYPE_INTEGER;
78 param[0].integer.value = 0x3;
79 param[1].type = ACPI_TYPE_INTEGER;
80 param[1].integer.value = 0;
81 param[2].type = ACPI_TYPE_INTEGER;
82 param[2].integer.value = 0;
83 param[3].type = ACPI_TYPE_INTEGER;
84 param[3].integer.value = 0;
86 input.pointer = param;
93 union acpi_object param[4]; local
113 union acpi_object param[4]; local
131 union acpi_object param[4]; local
152 union acpi_object param[4]; local
452 union acpi_object param[2]; local
467 union acpi_object param[2]; local
482 union acpi_object param[2]; local
499 union acpi_object param[2]; local
677 union acpi_object param; local
772 union acpi_object param; local
790 union acpi_object param[2]; local
844 union acpi_object param; local
862 union acpi_object param[2]; local
[all...]
/linux-master/drivers/scsi/
H A Dqlogicpti.c177 static int qlogicpti_mbox_command(struct qlogicpti *qpti, u_short param[], int force) argument
182 if (mbox_param[param[0]] == 0)
201 switch (mbox_param[param[0]] >> 4) {
202 case 6: sbus_writew(param[5], qpti->qregs + MBOX5);
204 case 5: sbus_writew(param[4], qpti->qregs + MBOX4);
206 case 4: sbus_writew(param[3], qpti->qregs + MBOX3);
208 case 3: sbus_writew(param[2], qpti->qregs + MBOX2);
210 case 2: sbus_writew(param[1], qpti->qregs + MBOX1);
212 case 1: sbus_writew(param[0], qpti->qregs + MBOX0);
235 qpti->qpti_id, param[
329 u_short param[6]; local
482 unsigned short param[6]; local
982 u_short param[6]; local
1228 u_short param[6]; local
1266 u_short param[6]; local
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ioctl.c40 struct drm_vmw_getparam_arg *param = local
44 switch (param->param) {
46 param->value = vmw_overlay_num_overlays(dev_priv);
49 param->value = vmw_overlay_num_free_overlays(dev_priv);
52 param->value = vmw_supports_3d(dev_priv) ? 1 : 0;
55 param->value = dev_priv->capabilities;
58 param->value = dev_priv->capabilities2;
61 param->value = vmw_fifo_caps(dev_priv);
64 param
[all...]

Completed in 407 milliseconds

1234567891011>>