Searched refs:smgr (Results 1 – 3 of 3) sorted by relevance
14 if (smgr && smgr->rsu_control) in set_rsu_control()20 if (smgr && smgr->rsu_control) in get_rsu_control()28 if (smgr && smgr->rsu_status) in set_rsu_status()35 if (smgr && smgr->rsu_status) { in get_rsu_status()85 if (!smgr->ops || !smgr->ops->prepare) in start_flash_update()88 return smgr->ops->prepare(smgr); in start_flash_update()108 if (!smgr->ops || !smgr->ops->write_blk) in write_flash_image()202 if (!smgr->ops || !smgr->ops->write_done || !smgr->ops->check_complete) in apply_flash_update()254 return smgr->ops->cancel(smgr); in secure_update_cancel()296 if (!smgr || !smgr->max10_dev) { in fpga_update_flash()[all …]
160 if (!smgr || !smgr->max10_dev) in n3000_cancel()188 if (!smgr || !smgr->max10_dev) in n3000_prepare()252 if (!smgr || !smgr->max10_dev) in n3000_write_blk()292 if (!smgr || !smgr->max10_dev) in n3000_write_done()359 if (!smgr || !smgr->max10_dev) in n3000_check_complete()525 if (!smgr || !smgr->max10_dev) in n3000_reload()550 if (!smgr || !smgr->max10_dev) in n3000_get_hw_errinfo()596 smgr = (struct ifpga_sec_mgr *)malloc(sizeof(*smgr)); in init_sec_mgr()597 if (!smgr) { in init_sec_mgr()634 if (smgr) { in release_sec_mgr()[all …]
61 int (*prepare)(struct ifpga_sec_mgr *smgr);62 int (*write_blk)(struct ifpga_sec_mgr *smgr, char *buf, uint32_t offset,64 int (*write_done)(struct ifpga_sec_mgr *smgr);65 int (*check_complete)(struct ifpga_sec_mgr *smgr);66 int (*reload)(struct ifpga_sec_mgr *smgr, int type, int page);67 int (*cancel)(struct ifpga_sec_mgr *smgr);68 void (*cleanup)(struct ifpga_sec_mgr *smgr);69 u64 (*get_hw_errinfo)(struct ifpga_sec_mgr *smgr);