Home
last modified time | relevance | path

Searched refs:state_size (Results 1 – 11 of 11) sorted by relevance

/linux/include/linux/
H A Dproc_fs.h99 unsigned int state_size, void *data);
135 unsigned int state_size, void *data);
136 #define proc_create_net(name, mode, parent, ops, state_size) \ argument
137 proc_create_net_data(name, mode, parent, ops, state_size, NULL)
145 unsigned int state_size, void *data);
218 #define proc_create_net_data(name, mode, parent, ops, state_size, data) ({NULL;}) argument
219 #define proc_create_net_data_write(name, mode, parent, ops, write, state_size, data) ({NULL;}) argument
220 #define proc_create_net(name, mode, parent, state_size, ops) ({NULL;}) argument
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_vf_mig.c35 mdev->state_size = ADF_GEN4_VF_MSTATE_SIZE; in adf_gen4_vfmig_init_device()
66 vfmig->mstate_mgr = adf_mstate_mgr_new(mdev->state, mdev->state_size); in adf_gen4_vfmig_open_device()
841 mdev->state_size - mdev->setup_size); in adf_gen4_vfmig_save_state()
882 ret = adf_gen4_vfmig_load_setup(mdev, mdev->state_size); in adf_gen4_vfmig_load_state()
891 mdev->state_size - mdev->remote_setup_size, in adf_gen4_vfmig_load_state()
937 adf_mstate_mgr_init(vfmig->mstate_mgr, mdev->state, mdev->state_size); in adf_gen4_vfmig_save_setup()
969 adf_mstate_mgr_init(vfmig->mstate_mgr, mdev->state, mdev->state_size); in adf_gen4_vfmig_load_setup()
971 if (setup_size > mdev->state_size) in adf_gen4_vfmig_load_setup()
/linux/include/linux/qat/
H A Dqat_mig_dev.h13 u32 state_size; member
/linux/sound/soc/intel/catpt/
H A Dloader.c126 if (!type->loaded || !type->state_size) in catpt_store_module_states()
131 i, off, type->state_size); in catpt_store_module_states()
136 ALIGN(type->state_size, 4)); in catpt_store_module_states()
445 type->state_size = blk->size; in catpt_load_module()
H A Dcore.h57 u32 state_size; member
/linux/drivers/media/pci/ddbridge/
H A Dddbridge-mci.h236 u32 state_size; member
H A Dddbridge-mci.c128 state = kzalloc(cfg->state_size, GFP_KERNEL); in ddb_mci_attach()
H A Dddbridge-sx8.c474 .state_size = sizeof(struct sx8),
/linux/drivers/gpu/drm/radeon/
H A Dsi_dpm.c5222 size_t state_size = struct_size(smc_state, levels, in si_upload_sw_state() local
5225 memset(smc_state, 0, state_size); in si_upload_sw_state()
5232 state_size, si_pi->sram_end); in si_upload_sw_state()
5247 u32 state_size = sizeof(struct SISLANDS_SMC_SWSTATE_SINGLE); in si_upload_ulv_state() local
5249 memset(smc_state, 0, state_size); in si_upload_ulv_state()
5254 state_size, si_pi->sram_end); in si_upload_ulv_state()
H A Dni_dpm.c2694 size_t state_size = struct_size(smc_state, levels, in ni_upload_sw_state() local
2698 smc_state = kzalloc(state_size, GFP_KERNEL); in ni_upload_sw_state()
2706 ret = rv770_copy_bytes_to_smc(rdev, address, (u8 *)smc_state, state_size, pi->sram_end); in ni_upload_sw_state()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c5809 size_t state_size = struct_size(smc_state, levels, in si_upload_sw_state() local
5811 memset(smc_state, 0, state_size); in si_upload_sw_state()
5818 state_size, si_pi->sram_end); in si_upload_sw_state()
5831 u32 state_size = sizeof(struct SISLANDS_SMC_SWSTATE_SINGLE); in si_upload_ulv_state() local
5833 memset(smc_state, 0, state_size); in si_upload_ulv_state()
5838 state_size, si_pi->sram_end); in si_upload_ulv_state()