/linux/drivers/target/iscsi/ |
H A D | iscsi_target_parameters.c | 112 struct iscsi_param *param; in iscsi_print_params() local 114 list_for_each_entry(param, ¶m_list->param_list, p_list) in iscsi_print_params() 115 pr_debug("%s: %s\n", param->name, param->value); in iscsi_print_params() 122 struct iscsi_param *param = NULL; in iscsi_set_default_param() local 124 param = kzalloc(sizeof(struct iscsi_param), GFP_KERNEL); in iscsi_set_default_param() 125 if (!param) { in iscsi_set_default_param() 129 INIT_LIST_HEAD(¶m->p_list); in iscsi_set_default_param() 131 param->name = kstrdup(name, GFP_KERNEL); in iscsi_set_default_param() 132 if (!param->name) { in iscsi_set_default_param() 137 param->value = kstrdup(value, GFP_KERNEL); in iscsi_set_default_param() [all …]
|
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppatomfwctrl.c | 229 * @param hwmgr 241 * @param hwmgr input parameter: pointer to HwMgr 242 * @param clock_type input parameter: Clock type: 1 - GFXCLK, 2 - UCLK, 0 - All other clocks 243 * @param clock_value input parameter: Clock 244 * @param dividers output parameter:Clock dividers 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() [all …]
|
/linux/drivers/gpu/drm/ast/ |
H A D | ast_post.c | 584 static bool finetuneDQI_L(struct ast_device *ast, struct ast2300_dram_param *param) in finetuneDQI_L() argument 773 static bool cbr_dll2(struct ast_device *ast, struct ast2300_dram_param *param) in cbr_dll2() argument 779 if (finetuneDQI_L(ast, param) == false) in cbr_dll2() 829 static void get_ddr3_info(struct ast_device *ast, struct ast2300_dram_param *param) in get_ddr3_info() argument 842 param->reg_MADJ = 0x00034C4C; in get_ddr3_info() 843 param->reg_SADJ = 0x00001800; in get_ddr3_info() 844 param->reg_DRV = 0x000000F0; in get_ddr3_info() 845 param->reg_PERIOD = param->dram_freq; in get_ddr3_info() 846 param->rodt = 0; in get_ddr3_info() 848 switch (param->dram_freq) { in get_ddr3_info() [all …]
|
/linux/crypto/ |
H A D | algboss.c | 52 struct cryptomgr_param *param = data; in cryptomgr_probe() local 56 tmpl = crypto_lookup_template(param->template); in cryptomgr_probe() 61 err = tmpl->create(tmpl, param->tb); in cryptomgr_probe() 67 param->larval->adult = ERR_PTR(err); in cryptomgr_probe() 68 param->larval->alg.cra_flags |= CRYPTO_ALG_DEAD; in cryptomgr_probe() 69 complete_all(¶m->larval->completion); in cryptomgr_probe() 70 crypto_alg_put(¶m->larval->alg); in cryptomgr_probe() 71 kfree(param); in cryptomgr_probe() 78 struct cryptomgr_param *param; in cryptomgr_schedule_probe() local 87 param = kzalloc(sizeof(*param), GFP_KERNEL); in cryptomgr_schedule_probe() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display_params.h | 14 * Invoke param, a function-like macro, for each intel display param, with 17 * param(type, name, value, mode) 25 #define INTEL_DISPLAY_PARAMS_FOR_EACH(param) \ argument 26 param(char *, dmc_firmware_path, NULL, 0400) \ 27 param(char *, vbt_firmware, NULL, 0400) \ 28 param(int, lvds_channel_mode, 0, 0400) \ 29 param(int, panel_use_ssc, -1, 0600) \ 30 param(int, vbt_sdvo_panel_type, -1, 0400) \ 31 param(int, enable_dc, -1, 0400) \ 32 param(bool, enable_dpt, true, 0400) \ [all …]
|
/linux/drivers/media/platform/allegro-dvt/ |
H A D | allegro-mail.c | 63 static inline u32 settings_get_mcu_codec(struct create_channel_param *param) in settings_get_mcu_codec() argument 65 enum mcu_msg_version version = param->version; in settings_get_mcu_codec() 66 u32 pixelformat = param->codec; in settings_get_mcu_codec() 88 allegro_encode_config_blob(u32 *dst, struct create_channel_param *param) in allegro_encode_config_blob() argument 90 enum mcu_msg_version version = param->version; in allegro_encode_config_blob() 94 unsigned int codec = settings_get_mcu_codec(param); in allegro_encode_config_blob() 97 dst[i++] = param->layer_id; in allegro_encode_config_blob() 98 dst[i++] = FIELD_PREP(GENMASK(31, 16), param->height) | in allegro_encode_config_blob() 99 FIELD_PREP(GENMASK(15, 0), param->width); in allegro_encode_config_blob() 101 dst[i++] = param->videomode; in allegro_encode_config_blob() [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_mbx.c | 196 if (req->msg.param[i].tqp_index >= vport->nic.kinfo.rss_size) { in hclge_get_ring_chain_from_mbx() 198 req->msg.param[i].tqp_index, in hclge_get_ring_chain_from_mbx() 205 req->msg.param[0].ring_type); in hclge_get_ring_chain_from_mbx() 208 [req->msg.param[0].tqp_index]); in hclge_get_ring_chain_from_mbx() 210 HNAE3_RING_GL_IDX_S, req->msg.param[0].int_gl_index); in hclge_get_ring_chain_from_mbx() 220 req->msg.param[i].ring_type); in hclge_get_ring_chain_from_mbx() 224 [req->msg.param[i].tqp_index]); in hclge_get_ring_chain_from_mbx() 228 req->msg.param[i].int_gl_index); in hclge_get_ring_chain_from_mbx() 323 resp->data[HCLGE_RING_TYPE_OFFSET] = req->msg.param[0].ring_type; in hclge_get_vf_ring_vector_map() 324 resp->data[HCLGE_TQP_INDEX_OFFSET] = req->msg.param[0].tqp_index; in hclge_get_vf_ring_vector_map() [all …]
|
/linux/drivers/scsi/qedi/ |
H A D | qedi_fw_iscsi.h | 33 * @param task_params - Pointer to task parameters struct 34 * @param conn_params - Connection Parameters 35 * @param cmd_params - command specific parameters 36 * @param cmd_pdu_header - PDU Header Parameters 37 * @param sgl_task_params - Pointer to SGL task params 38 * @param dif_task_params - Pointer to DIF parameters struct 51 * @param task_params - Pointer to task parameters struct 52 * @param login_req_pdu_header - PDU Header Parameters 53 * @param tx_sgl_task_params - Pointer to SGL task params 54 * @param rx_sgl_task_params - Pointer to SGL task params [all …]
|
/linux/net/devlink/ |
H A D | param.c | 97 static int devlink_param_generic_verify(const struct devlink_param *param) in devlink_param_generic_verify() argument 100 if (param->id > DEVLINK_PARAM_GENERIC_ID_MAX) in devlink_param_generic_verify() 102 if (strcmp(param->name, devlink_param_generic[param->id].name)) in devlink_param_generic_verify() 105 WARN_ON(param->type != devlink_param_generic[param->id].type); in devlink_param_generic_verify() 110 static int devlink_param_driver_verify(const struct devlink_param *param) in devlink_param_driver_verify() argument 114 if (param->id <= DEVLINK_PARAM_GENERIC_ID_MAX) in devlink_param_driver_verify() 118 if (!strcmp(param->name, devlink_param_generic[i].name)) in devlink_param_driver_verify() 131 if (!strcmp(param_item->param->name, param_name)) in devlink_param_find_by_name() 144 devlink_param_cmode_is_supported(const struct devlink_param *param, in devlink_param_cmode_is_supported() argument 147 return test_bit(cmode, ¶m->supported_cmodes); in devlink_param_cmode_is_supported() [all …]
|
/linux/fs/autofs/ |
H A D | dev-ioctl.c | 56 static int check_dev_ioctl_version(int cmd, struct autofs_dev_ioctl *param) in check_dev_ioctl_version() argument 60 if ((param->ver_major != AUTOFS_DEV_IOCTL_VERSION_MAJOR) || in check_dev_ioctl_version() 61 (param->ver_minor > AUTOFS_DEV_IOCTL_VERSION_MINOR)) { in check_dev_ioctl_version() 66 param->ver_major, param->ver_minor, cmd); in check_dev_ioctl_version() 71 param->ver_major = AUTOFS_DEV_IOCTL_VERSION_MAJOR; in check_dev_ioctl_version() 72 param->ver_minor = AUTOFS_DEV_IOCTL_VERSION_MINOR; in check_dev_ioctl_version() 102 static inline void free_dev_ioctl(struct autofs_dev_ioctl *param) in free_dev_ioctl() argument 104 kfree(param); in free_dev_ioctl() 111 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/lib/zlib_dfltcc/ |
H A D | dfltcc_deflate.c | 64 struct dfltcc_param_v0 *param = &GET_DFLTCC_STATE(state)->param; in dfltcc_gdht() local 68 param, NULL, NULL, in dfltcc_gdht() 77 struct dfltcc_param_v0 *param = &GET_DFLTCC_STATE(state)->param; in dfltcc_cmpr() local 83 param, &strm->next_out, &avail_out, in dfltcc_cmpr() 94 const struct dfltcc_param_v0 *param in send_eobs() argument 101 bi_reverse(param->eobs >> (15 - param->eobl), param->eobl), in send_eobs() 102 param->eobl); in send_eobs() 115 state->compressed_len += param->eobl; in send_eobs() 127 struct dfltcc_param_v0 *param = &dfltcc_state->common.param; in dfltcc_deflate() local 137 param->hl = 0; in dfltcc_deflate() [all …]
|
/linux/include/linux/qed/ |
H A D | qed_nvmetcp_if.h | 114 * @param cdev 115 * @param info 118 * @param cdev 119 * @param ops - specified using qed_nvmetcp_cb_ops 120 * @param cookie - driver private 122 * @param cdev 123 * @param tasks - qed will fill information about tasks 126 * @param cdev 129 * @param cdev 130 * @param handle - qed will fill handle that should be [all …]
|
H A D | qed_iscsi_if.h | 134 * @param cdev 135 * @param info 138 * @param cdev 139 * @param ops - specified using qed_iscsi_cb_ops 140 * @param cookie - driver private 142 * @param cdev 143 * @param tasks - qed will fill information about tasks 146 * @param cdev 149 * @param cdev 150 * @param handle - qed will fill handle that should be [all …]
|
H A D | qed_fcoe_if.h | 74 * @param cdev 75 * @param info 78 * @param cdev 79 * @param ops - specified using qed_iscsi_cb_ops 80 * @param cookie - driver private 83 * @param cdev 84 * @param tasks - qed will fill information about tasks 87 * @param cdev 90 * @param cdev 91 * @param handle - qed will fill handle that should be [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_params.h | 38 * Invoke param, a function-like macro, for each i915 param, with arguments: 40 * param(type, name, value, mode) 48 #define I915_PARAMS_FOR_EACH(param) \ argument 49 param(int, modeset, -1, 0400) \ 50 param(int, enable_guc, -1, 0400) \ 51 param(int, guc_log_level, -1, 0400) \ 52 param(char *, guc_firmware_path, NULL, 0400) \ 53 param(char *, huc_firmware_path, NULL, 0400) \ 54 param(char *, gsc_firmware_path, NULL, 0400) \ 55 param(bool, memtest, false, 0400) \ [all …]
|
/linux/security/keys/trusted-keys/ |
H A D | trusted_tee.c | 67 struct tee_param param[4]; in trusted_tee_seal() local 71 memset(¶m, 0, sizeof(param)); in trusted_tee_seal() 84 param[0].attr = TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_INPUT; in trusted_tee_seal() 85 param[0].u.memref.shm = reg_shm; in trusted_tee_seal() 86 param[0].u.memref.size = p->key_len; in trusted_tee_seal() 87 param[0].u.memref.shm_offs = 0; in trusted_tee_seal() 88 param[1].attr = TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_OUTPUT; in trusted_tee_seal() 89 param[1].u.memref.shm = reg_shm; in trusted_tee_seal() 90 param[1].u.memref.size = sizeof(p->blob); in trusted_tee_seal() 91 param[1].u.memref.shm_offs = sizeof(p->key); in trusted_tee_seal() [all …]
|
/linux/drivers/input/mouse/ |
H A D | logips2pp.c | 113 static int ps2pp_cmd(struct psmouse *psmouse, u8 *param, u8 command) in ps2pp_cmd() argument 121 error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_POLL | 0x0300); in ps2pp_cmd() 139 u8 param[4]; in ps2pp_set_smartscroll() local 141 ps2pp_cmd(psmouse, param, 0x32); in ps2pp_set_smartscroll() 143 param[0] = 0; in ps2pp_set_smartscroll() 144 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll() 145 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll() 146 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll() 148 param[0] = smartscroll; in ps2pp_set_smartscroll() 149 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll() [all …]
|
/linux/include/xen/ |
H A D | hvm.h | 11 #define PARAM(x) [HVM_PARAM_##x] = #x in param_name() macro 13 PARAM(CALLBACK_IRQ), in param_name() 14 PARAM(STORE_PFN), in param_name() 15 PARAM(STORE_EVTCHN), in param_name() 16 PARAM(PAE_ENABLED), in param_name() 17 PARAM(IOREQ_PFN), in param_name() 18 PARAM(BUFIOREQ_PFN), in param_name() 19 PARAM(TIMER_MODE), in param_name() 20 PARAM(HPET_ENABLED), in param_name() 21 PARAM(IDENT_PT), in param_name() [all …]
|
/linux/drivers/macintosh/ |
H A D | windfarm_pid.c | 25 void wf_pid_init(struct wf_pid_state *st, struct wf_pid_param *param) in wf_pid_init() argument 28 st->param = *param; in wf_pid_init() 37 int i, hlen = st->param.history_len; in wf_pid_run() 40 error = new_sample - st->param.itarget; in wf_pid_run() 59 integ *= st->param.interval; in wf_pid_run() 64 deriv /= st->param.interval; in wf_pid_run() 67 target = (s32)((integ * (s64)st->param.gr + deriv * (s64)st->param.gd + in wf_pid_run() 68 error * (s64)st->param.gp) >> 36); in wf_pid_run() 69 if (st->param.additive) in wf_pid_run() 71 target = max(target, st->param.min); in wf_pid_run() [all …]
|
/linux/drivers/hwmon/ |
H A D | asc7621.c | 152 struct asc7621_param *param = to_asc7621_param(sda) 158 struct asc7621_param *param = to_asc7621_param(sda) 169 return sprintf(buf, "%u\n", data->reg[param->msb[0]]); in show_u8() 184 data->reg[param->msb[0]] = reqval; in store_u8() 185 write_byte(client, param->msb[0], reqval); in store_u8() 199 (data->reg[param->msb[0]] >> param-> in show_bitmask() 200 shift[0]) & param->mask[0]); in show_bitmask() 214 reqval = clamp_val(reqval, 0, param->mask[0]); in store_bitmask() 216 reqval = (reqval & param->mask[0]) << param->shift[0]; in store_bitmask() 219 currval = read_byte(client, param->msb[0]); in store_bitmask() [all …]
|
/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-comp.c | 116 reg = CFG_COMP(MT8183, ctx->param, rdma.src_ctrl); in config_rdma_frame() 118 reg = CFG_COMP(MT8195, ctx->param, rdma.src_ctrl); in config_rdma_frame() 126 reg = CFG_COMP(MT8183, ctx->param, rdma.ufo_dec_y); in config_rdma_frame() 128 reg = CFG_COMP(MT8195, ctx->param, rdma.ufo_dec_y); in config_rdma_frame() 134 reg = CFG_COMP(MT8183, ctx->param, rdma.ufo_dec_c); in config_rdma_frame() 136 reg = CFG_COMP(MT8195, ctx->param, rdma.ufo_dec_c); in config_rdma_frame() 144 reg = CFG_COMP(MT8183, ctx->param, rdma.mf_bkgd_in_pxl); in config_rdma_frame() 146 reg = CFG_COMP(MT8195, ctx->param, rdma.mf_bkgd_in_pxl); in config_rdma_frame() 154 reg = CFG_COMP(MT8183, ctx->param, rdma.control); in config_rdma_frame() 157 reg = CFG_COMP(MT8195, ctx->param, rdma.control); in config_rdma_frame() [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | omap-secure.c | 63 u32 *param; in omap_secure_dispatcher() local 68 param = buf[cpu]; in omap_secure_dispatcher() 70 param[0] = nargs; in omap_secure_dispatcher() 71 param[1] = arg1; in omap_secure_dispatcher() 72 param[2] = arg2; in omap_secure_dispatcher() 73 param[3] = arg3; in omap_secure_dispatcher() 74 param[4] = arg4; in omap_secure_dispatcher() 81 outer_clean_range(__pa(param), __pa(param + 5)); in omap_secure_dispatcher() 82 ret = omap_smc2(idx, flag, __pa(param)); in omap_secure_dispatcher() 124 static u32 param[5]; in omap3_save_secure_ram() local [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_stream_public.h | 144 * @param[in,out] stream_config The stream configuration. 161 * @param[in] stream_config The stream configuration. 162 * @param[in] num_pipes The number of pipes to incorporate in the stream. 163 * @param[in] pipes The pipes. 164 * @param[out] stream The stream. 176 * @param[in] stream The stream. 185 * @param[in] stream The stream. 186 * @param[out] stream_info The information about the stream. 197 * @param[in] stream The stream. 210 * @param[in] stream The stream. [all …]
|
/linux/drivers/virt/ |
H A 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/security/tomoyo/ |
H A 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 …]
|