Home
last modified time | relevance | path

Searched refs:param_size (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.12.1/drivers/md/
Ddm-ioctl.c57 size_t param_size; member
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_t param_size) in remove_all() argument
554 static void *get_result_buffer(struct dm_ioctl *param, size_t param_size, in get_result_buffer() argument
559 if (param->data_start < param_size) in get_result_buffer()
560 *len = param_size - param->data_start; in get_result_buffer()
591 static int list_devices(struct file *filp, struct dm_ioctl *param, size_t param_size) in list_devices() argument
619 nl = orig_nl = get_result_buffer(param, param_size, &len); in list_devices()
704 static int __list_versions(struct dm_ioctl *param, size_t param_size, const char *name) in __list_versions() argument
729 vers = get_result_buffer(param, param_size, &len); in __list_versions()
[all …]
/linux-6.12.1/arch/powerpc/platforms/powernv/
Dopal-sysparam.c25 u32 param_size; member
109 ret = opal_get_sys_param(attr->param_id, attr->param_size, in sys_param_show()
114 memcpy(buf, param_data_buf, attr->param_size); in sys_param_show()
116 ret = attr->param_size; in sys_param_show()
135 ret = opal_set_sys_param(attr->param_id, attr->param_size, in sys_param_store()
242 attr[i].param_size = size[i]; in opal_sys_param_init()
/linux-6.12.1/sound/soc/qcom/qdsp6/
Daudioreach.c506 param_data->param_size = sg_sz - APM_MODULE_PARAM_DATA_SIZE; in audioreach_alloc_graph_pkt()
515 param_data->param_size = cont_sz - APM_MODULE_PARAM_DATA_SIZE; in audioreach_alloc_graph_pkt()
524 param_data->param_size = ml_sz - APM_MODULE_PARAM_DATA_SIZE; in audioreach_alloc_graph_pkt()
533 param_data->param_size = mp_sz - APM_MODULE_PARAM_DATA_SIZE; in audioreach_alloc_graph_pkt()
542 param_data->param_size = mc_sz - APM_MODULE_PARAM_DATA_SIZE; in audioreach_alloc_graph_pkt()
638 param_data->param_size = ep_sz - APM_MODULE_PARAM_DATA_SIZE; in audioreach_display_port_set_media_format()
651 param_data->param_size = fs_sz - APM_MODULE_PARAM_DATA_SIZE; in audioreach_display_port_set_media_format()
660 param_data->param_size = ic_sz - APM_MODULE_PARAM_DATA_SIZE; in audioreach_display_port_set_media_format()
707 param_data->param_size = ep_sz - APM_MODULE_PARAM_DATA_SIZE; in audioreach_codec_dma_set_media_format()
720 param_data->param_size = fs_sz - APM_MODULE_PARAM_DATA_SIZE; in audioreach_codec_dma_set_media_format()
[all …]
Dq6prm.c87 param_data->param_size = sizeof(*req) - APM_MODULE_PARAM_DATA_SIZE; in q6prm_set_hw_core_req()
134 param_data->param_size = sizeof(*req) - APM_MODULE_PARAM_DATA_SIZE; in q6prm_request_lpass_clock()
171 param_data->param_size = sizeof(*rel) - APM_MODULE_PARAM_DATA_SIZE; in q6prm_release_lpass_clock()
Daudioreach.h353 uint32_t param_size; member
361 uint32_t param_size; member
Dq6afe.c392 u16 param_size; member
1017 pdata->param_size = psize; in q6afe_set_param()
1072 pdata->param_size = psize; in q6afe_port_set_param_v2()
Dq6asm.c174 u32 param_size; member
1420 enc_cfg->encdec.param_size = sizeof(*enc_cfg) - sizeof(enc_cfg->encdec); in q6asm_enc_cfg_blk_pcm_format_support()
1422 enc_cfg->encblk.enc_cfg_blk_size = enc_cfg->encdec.param_size - in q6asm_enc_cfg_blk_pcm_format_support()
/linux-6.12.1/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-vpu.c29 vpu->param = dma_alloc_wc(dev, vpu->param_size, in mdp_vpu_shared_mem_alloc()
55 dma_free_wc(dev, vpu->param_size, vpu->param, vpu->param_addr); in mdp_vpu_shared_mem_alloc()
71 dma_free_wc(dev, vpu->param_size, vpu->param, vpu->param_addr); in mdp_vpu_shared_mem_free()
214 vpu->param_size = ALIGN(sizeof(struct img_ipi_frameparam), 64); in mdp_vpu_dev_init()
225 vpu->param, &vpu->param_addr, vpu->param_size, in mdp_vpu_dev_init()
273 memset(vpu->param, 0, vpu->param_size); in mdp_vpu_process()
Dmtk-mdp3-vpu.h47 size_t param_size; member
/linux-6.12.1/drivers/phy/realtek/
Dphy-rtk-usb3.c64 int param_size; member
197 for (i = 0; i < phy_cfg->param_size; i++) { in do_rtk_phy_init()
383 for (i = 0; i < phy_cfg->param_size; i++) { in rtk_usb3_parameter_show()
615 .param_size = MAX_USB_PHY_DATA_SIZE,
648 .param_size = MAX_USB_PHY_DATA_SIZE,
660 .param_size = MAX_USB_PHY_DATA_SIZE,
680 .param_size = MAX_USB_PHY_DATA_SIZE,
703 .param_size = MAX_USB_PHY_DATA_SIZE,
/linux-6.12.1/drivers/media/platform/st/sti/delta/
Ddelta-ipc.c73 u32 param_size; member
79 u32 param_size; member
85 u32 param_size; member
180 msg.param_size = param->size; in delta_ipc_open()
181 memcpy(ctx->ipc_buf->vaddr, param->data, msg.param_size); in delta_ipc_open()
280 msg.param_size = param->size; in delta_ipc_set_stream()
391 msg.param_size = param->size; in delta_ipc_decode()
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
Duap_cmd.c292 mwifiex_uap_bss_wpa(u8 **tlv_buf, void *cmd_buf, u16 *param_size) in mwifiex_uap_bss_wpa() argument
299 u16 cmd_size = *param_size; in mwifiex_uap_bss_wpa()
359 *param_size = cmd_size; in mwifiex_uap_bss_wpa()
404 mwifiex_uap_bss_wep(u8 **tlv_buf, void *cmd_buf, u16 *param_size) in mwifiex_uap_bss_wep() argument
407 u16 cmd_size = *param_size; in mwifiex_uap_bss_wep()
432 *param_size = cmd_size; in mwifiex_uap_bss_wep()
464 mwifiex_uap_bss_param_prepare(u8 *tlv, void *cmd_buf, u16 *param_size) in mwifiex_uap_bss_param_prepare() argument
484 u16 cmd_size = *param_size; in mwifiex_uap_bss_param_prepare()
686 *param_size = cmd_size; in mwifiex_uap_bss_param_prepare()
720 u16 cmd_size, param_size, ie_size; in mwifiex_cmd_uap_sys_config() local
[all …]
/linux-6.12.1/drivers/media/pci/intel/ivsc/
Dmei_ace.c89 u32 param_size : 20; member
116 u32 param_size : 20; member
207 hdr->param_size = sizeof(param->uuid); in construct_command()
212 hdr->param_size = sizeof(param->param); in construct_command()
221 return hdr->param_size + sizeof(cmd->hdr); in construct_command()
/linux-6.12.1/drivers/fpga/
Ddfl.c388 if (feature->param_size) { in dfl_dev_add()
389 ddev->params = kmemdup(feature->params, feature->param_size, GFP_KERNEL); in dfl_dev_add()
394 ddev->param_size = feature->param_size; in dfl_dev_add()
742 unsigned int param_size; member
821 if (finfo->param_size) { in build_info_commit_dev()
823 finfo->params, finfo->param_size, in build_info_commit_dev()
828 feature->param_size = finfo->param_size; in build_info_commit_dev()
996 u64 *phdr = find_param(dfl_dev->params, dfl_dev->param_size, param_id); in dfh_find_param()
1058 p = find_param(params, finfo->param_size, DFHv1_PARAM_ID_MSI_X); in parse_feature_irqs()
1174 finfo->param_size = dfh_psize; in create_feature_instance()
Ddfl.h296 unsigned int param_size; member
/linux-6.12.1/include/linux/
Ddfl.h52 unsigned int param_size; member
/linux-6.12.1/sound/soc/codecs/
Dmax98390.c792 int param_size, param_start_addr; in max98390_dsm_init() local
836 param_size = (dsm_param[2] & 0xff) | (dsm_param[3] & 0xff) << 8; in max98390_dsm_init()
837 if (param_size > MAX98390_DSM_PARAM_MAX_SIZE || in max98390_dsm_init()
839 fw->size < param_size + MAX98390_DSM_PAYLOAD_OFFSET) { in max98390_dsm_init()
848 dsm_param, param_size); in max98390_dsm_init()
/linux-6.12.1/sound/soc/intel/avs/
Ddsp.c227 u8 core_id, u8 domain, void *param, u32 param_size, in avs_dsp_init_module() argument
257 core_id, domain, param, param_size); in avs_dsp_init_module()
Dmessages.c144 void *param, u32 param_size) in avs_ipc_init_instance() argument
152 msg.ext.init_instance.param_block_size = DIV_ROUND_UP(param_size, sizeof(u32)); in avs_ipc_init_instance()
159 request.size = param_size; in avs_ipc_init_instance()
Davs.h298 u8 core_id, u8 domain, void *param, u32 param_size,
/linux-6.12.1/drivers/net/wwan/iosm/
Diosm_ipc_mux_codec.c72 void *param, u32 param_size) in ipc_mux_acb_add_cmd() argument
89 param_size); in ipc_mux_acb_add_cmd()
92 memcpy(&cmdh->param, param, param_size); in ipc_mux_acb_add_cmd()
103 void *param, u32 param_size) in ipc_mux_lite_add_cmd() argument
114 param_size); in ipc_mux_lite_add_cmd()
118 memcpy(&cmdh->param, param, param_size); in ipc_mux_lite_add_cmd()
/linux-6.12.1/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.c1493 u32 param_size = sizeof(cam_info); in get_num_cameras() local
1507 &param_size)) { in get_num_cameras()
1555 u32 param_size; in mmal_init() local
1594 param_size = sizeof(supported_encodings); in mmal_init()
1599 &param_size); in mmal_init()
1603 for (i = 0; i < param_size / sizeof(u32); i++) { in mmal_init()
/linux-6.12.1/drivers/ufs/core/
Dufs-sysfs.c893 u8 param_size) in ufs_sysfs_read_desc_param() argument
898 if (param_size > 8) in ufs_sysfs_read_desc_param()
909 param_offset, desc_buf, param_size); in ufs_sysfs_read_desc_param()
916 switch (param_size) { in ufs_sysfs_read_desc_param()
Dufshcd-priv.h55 u8 param_size);
/linux-6.12.1/drivers/scsi/
D3w-xxxx.c1134 static int tw_setfeature(TW_Device_Extension *tw_dev, int parm, int param_size, in tw_setfeature() argument
1156 param->parameter_size_bytes = param_size; in tw_setfeature()
1157 memcpy(param->data, val, param_size); in tw_setfeature()

12