Searched refs:devhdl (Results 1 – 1 of 1) sorted by relevance
337 static int srom_setup_minor(struct srom_dev *srom, int devhdl) in srom_setup_minor() argument339 srom->hv_devhdl = devhdl; in srom_setup_minor()342 if (_srom_read(devhdl, &srom->total_size, in srom_setup_minor()345 if (_srom_read(devhdl, &srom->sector_size, in srom_setup_minor()348 if (_srom_read(devhdl, &srom->page_size, in srom_setup_minor()369 int devhdl; in srom_init() local380 devhdl = hv_dev_open((HV_VirtAddr)buf, 0); in srom_init()381 if (devhdl < 0) { in srom_init()382 if (devhdl != HV_ENODEV) in srom_init()384 i, devhdl); in srom_init()[all …]