/Linux-v4.19/drivers/target/iscsi/ |
D | iscsi_target_parameters.c | 120 struct iscsi_param *param; in iscsi_print_params() local 122 list_for_each_entry(param, ¶m_list->param_list, p_list) in iscsi_print_params() 123 pr_debug("%s: %s\n", param->name, param->value); in iscsi_print_params() 130 struct iscsi_param *param = NULL; in iscsi_set_default_param() local 132 param = kzalloc(sizeof(struct iscsi_param), GFP_KERNEL); in iscsi_set_default_param() 133 if (!param) { in iscsi_set_default_param() 137 INIT_LIST_HEAD(¶m->p_list); in iscsi_set_default_param() 139 param->name = kstrdup(name, GFP_KERNEL); in iscsi_set_default_param() 140 if (!param->name) { in iscsi_set_default_param() 145 param->value = kstrdup(value, GFP_KERNEL); in iscsi_set_default_param() [all …]
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | i915_params.h | 36 #define I915_PARAMS_FOR_EACH(param) \ argument 37 param(char *, vbt_firmware, NULL) \ 38 param(int, modeset, -1) \ 39 param(int, lvds_channel_mode, 0) \ 40 param(int, panel_use_ssc, -1) \ 41 param(int, vbt_sdvo_panel_type, -1) \ 42 param(int, enable_dc, -1) \ 43 param(int, enable_fbc, -1) \ 44 param(int, enable_ppgtt, -1) \ 45 param(int, enable_psr, -1) \ [all …]
|
/Linux-v4.19/drivers/gpu/drm/ast/ |
D | ast_post.c | 615 static bool finetuneDQI_L(struct ast_private *ast, struct ast2300_dram_param *param) in finetuneDQI_L() argument 804 static bool cbr_dll2(struct ast_private *ast, struct ast2300_dram_param *param) in cbr_dll2() argument 810 if (finetuneDQI_L(ast, param) == false) in cbr_dll2() 860 static void get_ddr3_info(struct ast_private *ast, struct ast2300_dram_param *param) in get_ddr3_info() argument 873 param->reg_MADJ = 0x00034C4C; in get_ddr3_info() 874 param->reg_SADJ = 0x00001800; in get_ddr3_info() 875 param->reg_DRV = 0x000000F0; in get_ddr3_info() 876 param->reg_PERIOD = param->dram_freq; in get_ddr3_info() 877 param->rodt = 0; in get_ddr3_info() 879 switch (param->dram_freq) { in get_ddr3_info() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | ppatomfwctrl.c | 277 struct pp_atomfwctrl_avfs_parameters *param) in pp_atomfwctrl_get_avfs_information() argument 297 param->ulMaxVddc = le32_to_cpu(profile->maxvddc); in pp_atomfwctrl_get_avfs_information() 298 param->ulMinVddc = le32_to_cpu(profile->minvddc); in pp_atomfwctrl_get_avfs_information() 299 param->ulMeanNsigmaAcontant0 = in pp_atomfwctrl_get_avfs_information() 301 param->ulMeanNsigmaAcontant1 = in pp_atomfwctrl_get_avfs_information() 303 param->ulMeanNsigmaAcontant2 = in pp_atomfwctrl_get_avfs_information() 305 param->usMeanNsigmaDcTolSigma = in pp_atomfwctrl_get_avfs_information() 307 param->usMeanNsigmaPlatformMean = in pp_atomfwctrl_get_avfs_information() 309 param->usMeanNsigmaPlatformSigma = in pp_atomfwctrl_get_avfs_information() 311 param->ulGbVdroopTableCksoffA0 = in pp_atomfwctrl_get_avfs_information() [all …]
|
/Linux-v4.19/drivers/media/platform/mtk-jpeg/ |
D | mtk_jpeg_hw.c | 44 static int mtk_jpeg_decide_format(struct mtk_jpeg_dec_param *param) in mtk_jpeg_decide_format() argument 46 param->src_color = (param->sampling_w[0] << 20) | in mtk_jpeg_decide_format() 47 (param->sampling_h[0] << 16) | in mtk_jpeg_decide_format() 48 (param->sampling_w[1] << 12) | in mtk_jpeg_decide_format() 49 (param->sampling_h[1] << 8) | in mtk_jpeg_decide_format() 50 (param->sampling_w[2] << 4) | in mtk_jpeg_decide_format() 51 (param->sampling_h[2]); in mtk_jpeg_decide_format() 53 param->uv_brz_w = 0; in mtk_jpeg_decide_format() 54 switch (param->src_color) { in mtk_jpeg_decide_format() 56 param->uv_brz_w = 1; in mtk_jpeg_decide_format() [all …]
|
D | mtk_jpeg_parse.c | 65 static bool mtk_jpeg_do_parse(struct mtk_jpeg_dec_param *param, u8 *src_addr_va, in mtk_jpeg_do_parse() argument 105 param->pic_h = word; in mtk_jpeg_do_parse() 109 param->pic_w = word; in mtk_jpeg_do_parse() 111 param->comp_num = read_byte(&stream); in mtk_jpeg_do_parse() 112 if (param->comp_num != 1 && param->comp_num != 3) in mtk_jpeg_do_parse() 115 for (i = 0; i < param->comp_num; i++) { in mtk_jpeg_do_parse() 116 param->comp_id[i] = read_byte(&stream); in mtk_jpeg_do_parse() 117 if (param->comp_id[i] == -1) in mtk_jpeg_do_parse() 124 param->sampling_w[i] = (byte >> 4) & 0x0F; in mtk_jpeg_do_parse() 125 param->sampling_h[i] = byte & 0x0F; in mtk_jpeg_do_parse() [all …]
|
/Linux-v4.19/crypto/ |
D | algboss.c | 64 struct cryptomgr_param *param = data; in cryptomgr_probe() local 69 tmpl = crypto_lookup_template(param->template); in cryptomgr_probe() 75 err = tmpl->create(tmpl, param->tb); in cryptomgr_probe() 79 inst = tmpl->alloc(param->tb); in cryptomgr_probe() 89 complete_all(¶m->larval->completion); in cryptomgr_probe() 90 crypto_alg_put(¶m->larval->alg); in cryptomgr_probe() 91 kfree(param); in cryptomgr_probe() 98 struct cryptomgr_param *param; in cryptomgr_schedule_probe() local 107 param = kzalloc(sizeof(*param), GFP_KERNEL); in cryptomgr_schedule_probe() 108 if (!param) in cryptomgr_schedule_probe() [all …]
|
/Linux-v4.19/drivers/md/ |
D | dm-ioctl.c | 369 static struct mapped_device *dm_hash_rename(struct dm_ioctl *param, in dm_hash_rename() argument 376 unsigned change_uuid = (param->flags & DM_UUID_FLAG) ? 1 : 0; in dm_hash_rename() 400 param->name, new); in dm_hash_rename() 410 hc = __get_name_cell(param->name); in dm_hash_rename() 413 param->name, change_uuid ? "uuid " : "", new); in dm_hash_rename() 425 param->name, new, hc->uuid); in dm_hash_rename() 445 if (!dm_kobject_uevent(hc->md, KOBJ_CHANGE, param->event_nr)) in dm_hash_rename() 446 param->flags |= DM_UEVENT_GENERATED_FLAG; in dm_hash_rename() 467 typedef int (*ioctl_fn)(struct file *filp, struct dm_ioctl *param, size_t param_size); 469 static int remove_all(struct file *filp, struct dm_ioctl *param, size_t param_size) in remove_all() argument [all …]
|
/Linux-v4.19/arch/arm/mach-omap2/ |
D | omap-secure.c | 41 u32 param[5]; in omap_secure_dispatcher() local 43 param[0] = nargs; in omap_secure_dispatcher() 44 param[1] = arg1; in omap_secure_dispatcher() 45 param[2] = arg2; in omap_secure_dispatcher() 46 param[3] = arg3; in omap_secure_dispatcher() 47 param[4] = arg4; in omap_secure_dispatcher() 54 outer_clean_range(__pa(param), __pa(param + 5)); in omap_secure_dispatcher() 55 ret = omap_smc2(idx, flag, __pa(param)); in omap_secure_dispatcher() 80 u32 param[5]; in omap3_save_secure_ram() local 85 param[0] = 4; /* Number of arguments */ in omap3_save_secure_ram() [all …]
|
/Linux-v4.19/fs/autofs/ |
D | dev-ioctl.c | 57 static int check_dev_ioctl_version(int cmd, struct autofs_dev_ioctl *param) in check_dev_ioctl_version() argument 61 if ((param->ver_major != AUTOFS_DEV_IOCTL_VERSION_MAJOR) || in check_dev_ioctl_version() 62 (param->ver_minor > AUTOFS_DEV_IOCTL_VERSION_MINOR)) { in check_dev_ioctl_version() 67 param->ver_major, param->ver_minor, cmd); in check_dev_ioctl_version() 72 param->ver_major = AUTOFS_DEV_IOCTL_VERSION_MAJOR; in check_dev_ioctl_version() 73 param->ver_minor = AUTOFS_DEV_IOCTL_VERSION_MINOR; in check_dev_ioctl_version() 103 static inline void free_dev_ioctl(struct autofs_dev_ioctl *param) in free_dev_ioctl() argument 105 kfree(param); in free_dev_ioctl() 112 static int validate_dev_ioctl(int cmd, struct autofs_dev_ioctl *param) in validate_dev_ioctl() argument 116 err = check_dev_ioctl_version(cmd, param); in validate_dev_ioctl() [all …]
|
/Linux-v4.19/drivers/input/mouse/ |
D | logips2pp.c | 116 static int ps2pp_cmd(struct psmouse *psmouse, u8 *param, u8 command) in ps2pp_cmd() argument 124 error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_POLL | 0x0300); in ps2pp_cmd() 142 u8 param[4]; in ps2pp_set_smartscroll() local 144 ps2pp_cmd(psmouse, param, 0x32); in ps2pp_set_smartscroll() 146 param[0] = 0; in ps2pp_set_smartscroll() 147 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll() 148 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll() 149 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll() 151 param[0] = smartscroll; in ps2pp_set_smartscroll() 152 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll() [all …]
|
D | cypress_ps2.c | 103 unsigned char *param) in cypress_ps2_read_cmd_status() argument 117 memset(param, 0, pktsize); in cypress_ps2_read_cmd_status() 127 memcpy(param, psmouse->packet, pktsize); in cypress_ps2_read_cmd_status() 130 cmd, pktsize, param); in cypress_ps2_read_cmd_status() 142 unsigned char cmd, unsigned char *param) in cypress_verify_cmd_state() argument 154 if ((~param[0] & DFLT_RESP_BITS_VALID) == DFLT_RESP_BITS_VALID && in cypress_verify_cmd_state() 155 (param[0] & DFLT_RESP_BIT_MODE) == DFLT_RESP_STREAM_MODE) { in cypress_verify_cmd_state() 157 if (cytp_resolution[i] == param[1]) in cypress_verify_cmd_state() 161 if (cytp_rate[i] == param[2]) in cypress_verify_cmd_state() 173 unsigned char *param) in cypress_send_ext_cmd() argument [all …]
|
/Linux-v4.19/drivers/virt/ |
D | fsl_hypervisor.c | 57 struct fsl_hv_ioctl_restart param; in ioctl_restart() local 60 if (copy_from_user(¶m, p, sizeof(struct fsl_hv_ioctl_restart))) in ioctl_restart() 63 param.ret = fh_partition_restart(param.partition); in ioctl_restart() 65 if (copy_to_user(&p->ret, ¶m.ret, sizeof(__u32))) in ioctl_restart() 78 struct fsl_hv_ioctl_status param; in ioctl_status() local 82 if (copy_from_user(¶m, p, sizeof(struct fsl_hv_ioctl_status))) in ioctl_status() 85 param.ret = fh_partition_get_status(param.partition, &status); in ioctl_status() 86 if (!param.ret) in ioctl_status() 87 param.status = status; in ioctl_status() 89 if (copy_to_user(p, ¶m, sizeof(struct fsl_hv_ioctl_status))) in ioctl_status() [all …]
|
/Linux-v4.19/drivers/macintosh/ |
D | windfarm_pid.c | 26 void wf_pid_init(struct wf_pid_state *st, struct wf_pid_param *param) in wf_pid_init() argument 29 st->param = *param; in wf_pid_init() 38 int i, hlen = st->param.history_len; in wf_pid_run() 41 error = new_sample - st->param.itarget; in wf_pid_run() 60 integ *= st->param.interval; in wf_pid_run() 65 deriv /= st->param.interval; in wf_pid_run() 68 target = (s32)((integ * (s64)st->param.gr + deriv * (s64)st->param.gd + in wf_pid_run() 69 error * (s64)st->param.gp) >> 36); in wf_pid_run() 70 if (st->param.additive) in wf_pid_run() 72 target = max(target, st->param.min); in wf_pid_run() [all …]
|
/Linux-v4.19/drivers/staging/media/davinci_vpfe/ |
D | dm365_resizer.c | 103 struct resizer_params *param = &resizer->config; in resizer_configure_passthru() local 105 param->rsz_rsc_param[RSZ_A].cen = DISABLE; in resizer_configure_passthru() 106 param->rsz_rsc_param[RSZ_A].yen = DISABLE; in resizer_configure_passthru() 107 param->rsz_rsc_param[RSZ_A].v_phs_y = 0; in resizer_configure_passthru() 108 param->rsz_rsc_param[RSZ_A].v_phs_c = 0; in resizer_configure_passthru() 109 param->rsz_rsc_param[RSZ_A].v_dif = 256; in resizer_configure_passthru() 110 param->rsz_rsc_param[RSZ_A].v_lpf_int_y = 0; in resizer_configure_passthru() 111 param->rsz_rsc_param[RSZ_A].v_lpf_int_c = 0; in resizer_configure_passthru() 112 param->rsz_rsc_param[RSZ_A].h_phs = 0; in resizer_configure_passthru() 113 param->rsz_rsc_param[RSZ_A].h_dif = 256; in resizer_configure_passthru() [all …]
|
/Linux-v4.19/drivers/scsi/ |
D | qlogicpti.c | 176 static int qlogicpti_mbox_command(struct qlogicpti *qpti, u_short param[], int force) in qlogicpti_mbox_command() argument 181 if (mbox_param[param[0]] == 0) in qlogicpti_mbox_command() 200 switch (mbox_param[param[0]] >> 4) { in qlogicpti_mbox_command() 201 case 6: sbus_writew(param[5], qpti->qregs + MBOX5); in qlogicpti_mbox_command() 202 case 5: sbus_writew(param[4], qpti->qregs + MBOX4); in qlogicpti_mbox_command() 203 case 4: sbus_writew(param[3], qpti->qregs + MBOX3); in qlogicpti_mbox_command() 204 case 3: sbus_writew(param[2], qpti->qregs + MBOX2); in qlogicpti_mbox_command() 205 case 2: sbus_writew(param[1], qpti->qregs + MBOX1); in qlogicpti_mbox_command() 206 case 1: sbus_writew(param[0], qpti->qregs + MBOX0); in qlogicpti_mbox_command() 229 qpti->qpti_id, param[0]); in qlogicpti_mbox_command() [all …]
|
/Linux-v4.19/drivers/hwmon/ |
D | asc7621.c | 165 struct asc7621_param *param = to_asc7621_param(sda) 171 struct asc7621_param *param = to_asc7621_param(sda) 182 return sprintf(buf, "%u\n", data->reg[param->msb[0]]); in show_u8() 197 data->reg[param->msb[0]] = reqval; in store_u8() 198 write_byte(client, param->msb[0], reqval); in store_u8() 212 (data->reg[param->msb[0]] >> param-> in show_bitmask() 213 shift[0]) & param->mask[0]); in show_bitmask() 227 reqval = clamp_val(reqval, 0, param->mask[0]); in store_bitmask() 229 reqval = (reqval & param->mask[0]) << param->shift[0]; in store_bitmask() 232 currval = read_byte(client, param->msb[0]); in store_bitmask() [all …]
|
/Linux-v4.19/drivers/platform/x86/ |
D | classmate-laptop.c | 88 union acpi_object param[4]; in cmpc_start_accel_v4() local 92 param[0].type = ACPI_TYPE_INTEGER; in cmpc_start_accel_v4() 93 param[0].integer.value = 0x3; in cmpc_start_accel_v4() 94 param[1].type = ACPI_TYPE_INTEGER; in cmpc_start_accel_v4() 95 param[1].integer.value = 0; in cmpc_start_accel_v4() 96 param[2].type = ACPI_TYPE_INTEGER; in cmpc_start_accel_v4() 97 param[2].integer.value = 0; in cmpc_start_accel_v4() 98 param[3].type = ACPI_TYPE_INTEGER; in cmpc_start_accel_v4() 99 param[3].integer.value = 0; in cmpc_start_accel_v4() 101 input.pointer = param; in cmpc_start_accel_v4() [all …]
|
/Linux-v4.19/security/tomoyo/ |
D | file.c | 169 [r->param.path.operation], in tomoyo_audit_path_log() 170 r->param.path.filename->name); in tomoyo_audit_path_log() 183 [tomoyo_pp2mac[r->param.path2.operation]], in tomoyo_audit_path2_log() 184 r->param.path2.filename1->name, in tomoyo_audit_path2_log() 185 r->param.path2.filename2->name); in tomoyo_audit_path2_log() 199 [tomoyo_pnnn2mac[r->param.mkdev.operation]], in tomoyo_audit_mkdev_log() 200 r->param.mkdev.filename->name, in tomoyo_audit_mkdev_log() 201 r->param.mkdev.mode, r->param.mkdev.major, in tomoyo_audit_mkdev_log() 202 r->param.mkdev.minor); in tomoyo_audit_mkdev_log() 214 const u8 type = r->param.path_number.operation; in tomoyo_audit_path_number_log() [all …]
|
/Linux-v4.19/drivers/media/platform/sti/delta/ |
D | delta-ipc.c | 111 struct delta_ipc_param *param, u32 ipc_buf_size, in delta_ipc_open() argument 136 if (!param || !param->data || !param->size) { in delta_ipc_open() 150 if (param->size > ipc_buf_size) { in delta_ipc_open() 154 param->size, ctx->ipc_buf->size); in delta_ipc_open() 181 msg.param_size = param->size; in delta_ipc_open() 182 memcpy(ctx->ipc_buf->vaddr, param->data, msg.param_size); in delta_ipc_open() 191 ret, name, param->size, param->data); in delta_ipc_open() 201 name, param->size, param->data); in delta_ipc_open() 211 ctx->cb_err, name, param->size, param->data); in delta_ipc_open() 231 int delta_ipc_set_stream(void *hdl, struct delta_ipc_param *param) in delta_ipc_set_stream() argument [all …]
|
/Linux-v4.19/drivers/usb/misc/ |
D | usbtest.c | 1067 struct usbtest_param_32 *param; member 1149 for (i = 1; i < ctx->param->sglen; i++) { in ctrl_complete() 1152 % ctx->param->sglen]; in ctrl_complete() 1193 test_ctrl_queue(struct usbtest_dev *dev, struct usbtest_param_32 *param) in test_ctrl_queue() argument 1200 if (param->sglen == 0 || param->iterations > UINT_MAX / param->sglen) in test_ctrl_queue() 1206 context.count = param->sglen * param->iterations; in test_ctrl_queue() 1209 context.param = param; in test_ctrl_queue() 1216 urb = kcalloc(param->sglen, sizeof(struct urb *), GFP_KERNEL); in test_ctrl_queue() 1219 for (i = 0; i < param->sglen; i++) { in test_ctrl_queue() 1380 for (i = 0; i < param->sglen; i++) { in test_ctrl_queue() [all …]
|
/Linux-v4.19/tools/power/cpupower/utils/ |
D | cpuidle-set.c | 29 int ret = 0, cont = 1, param = 0, disabled; in cmd_idle_set() local 40 param = '?'; in cmd_idle_set() 44 if (param) { in cmd_idle_set() 45 param = -1; in cmd_idle_set() 49 param = ret; in cmd_idle_set() 53 if (param) { in cmd_idle_set() 54 param = -1; in cmd_idle_set() 58 param = ret; in cmd_idle_set() 62 if (param) { in cmd_idle_set() 63 param = -1; in cmd_idle_set() [all …]
|
/Linux-v4.19/drivers/clk/ |
D | clk-xgene.c | 454 struct xgene_dev_parameters param; member 468 if (pclk->param.csr_reg) { in xgene_clk_enable() 471 data = xgene_clk_read(pclk->param.csr_reg + in xgene_clk_enable() 472 pclk->param.reg_clk_offset); in xgene_clk_enable() 473 data |= pclk->param.reg_clk_mask; in xgene_clk_enable() 474 xgene_clk_write(data, pclk->param.csr_reg + in xgene_clk_enable() 475 pclk->param.reg_clk_offset); in xgene_clk_enable() 478 pclk->param.reg_clk_offset, pclk->param.reg_clk_mask, in xgene_clk_enable() 482 data = xgene_clk_read(pclk->param.csr_reg + in xgene_clk_enable() 483 pclk->param.reg_csr_offset); in xgene_clk_enable() [all …]
|
/Linux-v4.19/drivers/platform/chrome/ |
D | cros_ec_lightbar.c | 123 struct ec_params_lightbar *param; in get_lightbar_version() local 132 param = (struct ec_params_lightbar *)msg->data; in get_lightbar_version() 133 param->cmd = LIGHTBAR_CMD_VERSION; in get_lightbar_version() 191 struct ec_params_lightbar *param; in brightness_store() local 204 param = (struct ec_params_lightbar *)msg->data; in brightness_store() 205 param->cmd = LIGHTBAR_CMD_SET_BRIGHTNESS; in brightness_store() 206 param->set_brightness.num = val; in brightness_store() 237 struct ec_params_lightbar *param; in led_rgb_store() local 260 param = (struct ec_params_lightbar *)msg->data; in led_rgb_store() 261 param->cmd = LIGHTBAR_CMD_SET_RGB; in led_rgb_store() [all …]
|
/Linux-v4.19/drivers/tee/optee/ |
D | rpc.c | 182 struct tee_param param; in cmd_alloc_suppl() local 186 param.attr = TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_INOUT; in cmd_alloc_suppl() 187 param.u.value.a = OPTEE_MSG_RPC_SHM_TYPE_APPL; in cmd_alloc_suppl() 188 param.u.value.b = sz; in cmd_alloc_suppl() 189 param.u.value.c = 0; in cmd_alloc_suppl() 191 ret = optee_supp_thrd_req(ctx, OPTEE_MSG_RPC_CMD_SHM_ALLOC, 1, ¶m); in cmd_alloc_suppl() 197 shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c); in cmd_alloc_suppl() 300 struct tee_param param; in cmd_free_suppl() local 302 param.attr = TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_INOUT; in cmd_free_suppl() 303 param.u.value.a = OPTEE_MSG_RPC_SHM_TYPE_APPL; in cmd_free_suppl() [all …]
|