Searched refs:param_size (Results 1 - 25 of 33) sorted by path

12

/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-sysparam.c25 u32 param_size; member in struct:param_attr
109 ret = opal_get_sys_param(attr->param_id, attr->param_size,
114 memcpy(buf, param_data_buf, attr->param_size);
116 ret = attr->param_size;
135 ret = opal_set_sys_param(attr->param_id, attr->param_size,
242 attr[i].param_size = size[i];
/linux-master/drivers/fpga/
H A Ddfl.c388 if (feature->param_size) {
389 ddev->params = kmemdup(feature->params, feature->param_size, GFP_KERNEL);
394 ddev->param_size = feature->param_size;
730 * @param_size: size DFH parameters.
742 unsigned int param_size; member in struct:dfl_feature_info
821 if (finfo->param_size) {
823 finfo->params, finfo->param_size,
828 feature->param_size = finfo->param_size;
[all...]
H A Ddfl.h281 * @param_size: size of dfh parameters
296 unsigned int param_size; member in struct:dfl_feature
/linux-master/drivers/gpu/drm/amd/pm/swsmu/
H A Damdgpu_smu.c2188 uint32_t param_size)
2193 ret = smu->ppt_funcs->set_power_profile_mode(smu, param, param_size);
3004 uint32_t param_size)
3012 return smu_bump_power_profile_mode(smu, param, param_size);
2186 smu_bump_power_profile_mode(struct smu_context *smu, long *param, uint32_t param_size) argument
3002 smu_set_power_profile_mode(void *handle, long *param, uint32_t param_size) argument
/linux-master/drivers/md/
H A Ddm-ioctl.c57 size_t param_size; member in struct:vers_iter
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) argument
554 static void *get_result_buffer(struct dm_ioctl *param, size_t param_size, argument
559 if (param->data_start < param_size)
560 *len = param_size - param->data_start;
591 static int list_devices(struct file *filp, struct dm_ioctl *param, size_t param_size) argument
619 nl = orig_nl = get_result_buffer(param, param_size, &len);
704 static int __list_versions(struct dm_ioctl *param, size_t param_size, const char *name) argument
729 vers = get_result_buffer(param, param_size,
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
879 dev_create(struct file *filp, struct dm_ioctl *param, size_t param_size) 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
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
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
[all...]
/linux-master/drivers/media/pci/intel/ivsc/
H A Dmei_ace.c89 u32 param_size : 20; member in struct:ace_cmd_hdr
116 u32 param_size : 20; member in struct:ace_notif_hdr::_confirm
207 hdr->param_size = sizeof(param->uuid);
212 hdr->param_size = sizeof(param->param);
221 return hdr->param_size + sizeof(cmd->hdr);
/linux-master/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-vpu.c29 vpu->param = dma_alloc_wc(dev, vpu->param_size,
55 dma_free_wc(dev, vpu->param_size, vpu->param, vpu->param_addr);
71 dma_free_wc(dev, vpu->param_size, vpu->param, vpu->param_addr);
214 vpu->param_size = ALIGN(sizeof(struct img_ipi_frameparam), 64);
225 vpu->param, &vpu->param_addr, vpu->param_size,
273 memset(vpu->param, 0, vpu->param_size);
H A Dmtk-mdp3-vpu.h47 size_t param_size; member in struct:mdp_vpu_dev
/linux-master/drivers/media/platform/st/sti/delta/
H A Ddelta-ipc.c73 u32 param_size; member in struct:delta_ipc_open_msg
79 u32 param_size; member in struct:delta_ipc_set_stream_msg
85 u32 param_size; member in struct:delta_ipc_decode_msg
180 msg.param_size = param->size;
181 memcpy(ctx->ipc_buf->vaddr, param->data, msg.param_size);
280 msg.param_size = param->size;
391 msg.param_size = param->size;
/linux-master/drivers/media/platform/ti/omap3isp/
H A Disppreview.c745 unsigned int param_size; member in struct:preview_update
893 size_t size = attr->param_size;
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_debug.c6926 u8 param_size = (u8)((format_ptr->data & param_mask) >> local
6932 if (!param_size)
6938 if (param_size == 3)
6939 param_size = 4;
6941 if (data_size < param_size)
6947 param_size);
6948 data_size -= param_size;
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Duap_cmd.c297 mwifiex_uap_bss_wpa(u8 **tlv_buf, void *cmd_buf, u16 *param_size) argument
304 u16 cmd_size = *param_size;
364 *param_size = cmd_size;
409 mwifiex_uap_bss_wep(u8 **tlv_buf, void *cmd_buf, u16 *param_size) argument
412 u16 cmd_size = *param_size;
437 *param_size = cmd_size;
469 mwifiex_uap_bss_param_prepare(u8 *tlv, void *cmd_buf, u16 *param_size) argument
489 u16 cmd_size = *param_size;
691 *param_size = cmd_size;
725 u16 cmd_size, param_size, ie_siz local
[all...]
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_mux_codec.c72 void *param, u32 param_size)
89 param_size);
92 memcpy(&cmdh->param, param, param_size);
103 void *param, u32 param_size)
114 param_size);
118 memcpy(&cmdh->param, param, param_size);
71 ipc_mux_acb_add_cmd(struct iosm_mux *ipc_mux, u32 cmd, void *param, u32 param_size) argument
101 ipc_mux_lite_add_cmd(struct iosm_mux *ipc_mux, u32 cmd, struct mux_acb *acb, void *param, u32 param_size) argument
/linux-master/drivers/phy/realtek/
H A Dphy-rtk-usb3.c64 int param_size; member in struct:phy_cfg
197 for (i = 0; i < phy_cfg->param_size; i++) {
383 for (i = 0; i < phy_cfg->param_size; i++) {
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-master/drivers/scsi/
H A D3w-xxxx.c1134 static int tw_setfeature(TW_Device_Extension *tw_dev, int parm, int param_size, argument
1156 param->parameter_size_bytes = param_size;
1157 memcpy(param->data, val, param_size);
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_target.c1670 const void *param, unsigned int param_size)
1686 type, prm, param, param_size, tgt);
1689 memcpy(&prm->tm_iocb, param, param_size);
1669 qlt_sched_sess_work(struct qla_tgt *tgt, int type, const void *param, unsigned int param_size) argument
/linux-master/drivers/staging/vc04_services/bcm2835-camera/
H A Dbcm2835-camera.c1493 u32 param_size = sizeof(cam_info); local
1507 &param_size)) {
1555 u32 param_size; local
1594 param_size = sizeof(supported_encodings);
1599 &param_size);
1603 for (i = 0; i < param_size / sizeof(u32); i++) {
/linux-master/drivers/ufs/core/
H A Dufs-sysfs.c835 u8 param_size)
840 if (param_size > 8)
851 param_offset, desc_buf, param_size);
858 switch (param_size) {
830 ufs_sysfs_read_desc_param(struct ufs_hba *hba, enum desc_idn desc_id, u8 desc_index, u8 param_offset, u8 *sysfs_buf, u8 param_size) argument
H A Dufshcd-priv.h55 u8 param_size);
H A Dufshcd.c3641 * @param_size: sizeof(param_read_buf)
3650 u8 param_size)
3658 if (desc_id >= QUERY_DESC_IDN_MAX || !param_size)
3662 if (param_offset != 0 || param_size < buff_len) {
3705 min_t(u32, param_size, buff_len - param_offset));
3821 * @param_size: sizeof(param_read_buf)
3829 u32 param_size)
3839 param_offset, param_read_buf, param_size);
3645 ufshcd_read_desc_param(struct ufs_hba *hba, enum desc_idn desc_id, int desc_index, u8 param_offset, u8 *param_read_buf, u8 param_size) argument
3825 ufshcd_read_unit_desc_param(struct ufs_hba *hba, int lun, enum unit_desc_param param_offset, u8 *param_read_buf, u32 param_size) argument
/linux-master/include/linux/
H A Ddfl.h37 * @param_size: size of the block parameters in bytes
52 unsigned int param_size; member in struct:dfl_device
/linux-master/sound/soc/codecs/
H A Dmax98390.c793 int param_size, param_start_addr; local
837 param_size = (dsm_param[2] & 0xff) | (dsm_param[3] & 0xff) << 8;
838 if (param_size > MAX98390_DSM_PARAM_MAX_SIZE ||
840 fw->size < param_size + MAX98390_DSM_PAYLOAD_OFFSET) {
849 dsm_param, param_size);
/linux-master/sound/soc/intel/avs/
H A Davs.h301 u8 core_id, u8 domain, void *param, u32 param_size,
H A Ddsp.c227 u8 core_id, u8 domain, void *param, u32 param_size,
257 core_id, domain, param, param_size);
226 avs_dsp_init_module(struct avs_dev *adev, u16 module_id, u8 ppl_instance_id, u8 core_id, u8 domain, void *param, u32 param_size, u8 *instance_id) argument
H A Dmessages.c134 * @param_size: Size of @param in bytes
144 void *param, u32 param_size)
152 msg.ext.init_instance.param_block_size = DIV_ROUND_UP(param_size, sizeof(u32));
159 request.size = param_size;
142 avs_ipc_init_instance(struct avs_dev *adev, u16 module_id, u8 instance_id, u8 ppl_id, u8 core_id, u8 domain, void *param, u32 param_size) argument

Completed in 399 milliseconds

12