Searched refs:hv_devhdl (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/char/ |
H A D | tile-srom.c | 64 int hv_devhdl; /* Handle for hypervisor device */ member in struct:srom_dev 86 static ssize_t _srom_read(int hv_devhdl, void *buf, _srom_read() argument 91 retval = hv_dev_pread(hv_devhdl, 0, (HV_VirtAddr)buf, _srom_read() 106 static ssize_t _srom_write(int hv_devhdl, const void *buf, _srom_write() argument 111 retval = hv_dev_pwrite(hv_devhdl, 0, (HV_VirtAddr)buf, _srom_write() 154 if (srom->hv_devhdl >= 0) srom_release() 155 _srom_write(srom->hv_devhdl, &dummy, SROM_FLUSH_OFF, 1); srom_release() 194 hv_retval = _srom_read(srom->hv_devhdl, kernbuf, srom_read() 254 hv_retval = _srom_write(srom->hv_devhdl, kernbuf, srom_write() 339 int devhdl = srom->hv_devhdl; srom_setup_minor() 390 srom_devices[i].hv_devhdl = devhdl; srom_init()
|
/linux-4.4.14/drivers/edac/ |
H A D | tile_edac.c | 50 int hv_devhdl; /* Hypervisor device handle. */ member in struct:tile_edac_priv 63 if (hv_dev_pread(priv->hv_devhdl, 0, (HV_VirtAddr)&mem_error, tile_edac_check() 92 if (hv_dev_pread(priv->hv_devhdl, 0, (HV_VirtAddr)&mem_info, tile_edac_init_csrows() 126 int hv_devhdl; tile_edac_mc_probe() local 133 hv_devhdl = hv_dev_open((HV_VirtAddr)hv_file, 0); tile_edac_mc_probe() 134 if (hv_devhdl < 0) tile_edac_mc_probe() 150 priv->hv_devhdl = hv_devhdl; tile_edac_mc_probe()
|
/linux-4.4.14/drivers/net/ethernet/tile/ |
H A D | tilepro.c | 205 int hv_devhdl; member in struct:tile_net_priv 915 ret = hv_dev_pread(priv->hv_devhdl, 0, tile_net_open_aux() 943 ret = hv_dev_pwrite(priv->hv_devhdl, 0, tile_net_open_aux() 954 if (hv_dev_pwrite(priv->hv_devhdl, 0, (HV_VirtAddr)&dummy, tile_net_open_aux() 1019 ret = hv_dev_pwrite(priv->hv_devhdl, 0, tile_net_register() 1039 ret = hv_dev_pread(priv->hv_devhdl, 0, tile_net_register() 1067 ret = hv_dev_pread(priv->hv_devhdl, 0, tile_net_register() 1133 ret = hv_dev_pwrite(priv->hv_devhdl, 0, (HV_VirtAddr)&dummy, tile_net_unregister() 1179 if (hv_dev_pwrite(priv->hv_devhdl, 0, (HV_VirtAddr)&dummy, 1335 if (hv_dev_pwrite(priv->hv_devhdl, 0, (HV_VirtAddr)&dummy, 1473 if (hv_dev_pread(priv->hv_devhdl, 0, (HV_VirtAddr)&buffer, tile_net_drain_lipp_buffers() 2173 priv->hv_devhdl = hv_dev_open((HV_VirtAddr)hv_dev_name, 0); tile_net_get_mac() 2175 hv_dev_name, priv->hv_devhdl, &priv->hv_devhdl); tile_net_get_mac() 2176 if (priv->hv_devhdl < 0) { tile_net_get_mac() 2177 if (priv->hv_devhdl == HV_ENODEV) tile_net_get_mac() 2182 hv_dev_name, priv->hv_devhdl); tile_net_get_mac() 2192 ret = hv_dev_pread(priv->hv_devhdl, 0, tile_net_get_mac()
|
Completed in 289 milliseconds