Lines Matching refs:hwcfg
277 static void get_hwcfg(struct etzpc_hwcfg *hwcfg) in get_hwcfg() argument
281 hwcfg->num_tzma = (reg & ETZPC_HWCFGR_NUM_TZMA_MASK) >> in get_hwcfg()
283 hwcfg->num_per_sec = (reg & ETZPC_HWCFGR_NUM_PER_SEC_MASK) >> in get_hwcfg()
285 hwcfg->num_ahb_sec = (reg & ETZPC_HWCFGR_NUM_AHB_SEC_MASK) >> in get_hwcfg()
287 hwcfg->chunk_size = (reg & ETZPC_HWCFGR_CHUNCKS1N4_MASK) >> in get_hwcfg()
294 struct etzpc_hwcfg hwcfg = { }; in init_device_from_hw_config() local
301 get_hwcfg(&hwcfg); in init_device_from_hw_config()
302 dev->num_tzma = hwcfg.num_tzma; in init_device_from_hw_config()
303 dev->num_per_sec = hwcfg.num_per_sec; in init_device_from_hw_config()
304 dev->num_ahb_sec = hwcfg.num_ahb_sec; in init_device_from_hw_config()
308 hwcfg.num_per_sec, hwcfg.num_ahb_sec, hwcfg.num_tzma); in init_device_from_hw_config()