Lines Matching refs:hv_devhdl
64 int hv_devhdl; /* Handle for hypervisor device */ member
86 static ssize_t _srom_read(int hv_devhdl, void *buf, in _srom_read() argument
91 retval = hv_dev_pread(hv_devhdl, 0, (HV_VirtAddr)buf, in _srom_read()
106 static ssize_t _srom_write(int hv_devhdl, const void *buf, in _srom_write() argument
111 retval = hv_dev_pwrite(hv_devhdl, 0, (HV_VirtAddr)buf, in _srom_write()
154 if (srom->hv_devhdl >= 0) in srom_release()
155 _srom_write(srom->hv_devhdl, &dummy, SROM_FLUSH_OFF, 1); in srom_release()
194 hv_retval = _srom_read(srom->hv_devhdl, kernbuf, in srom_read()
254 hv_retval = _srom_write(srom->hv_devhdl, kernbuf, in srom_write()
339 int devhdl = srom->hv_devhdl; in srom_setup_minor()
390 srom_devices[i].hv_devhdl = devhdl; in srom_init()