Searched refs:hv_devhdl (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/edac/ |
D | tile_edac.c | 50 int hv_devhdl; /* Hypervisor device handle. */ member 63 if (hv_dev_pread(priv->hv_devhdl, 0, (HV_VirtAddr)&mem_error, in tile_edac_check() 92 if (hv_dev_pread(priv->hv_devhdl, 0, (HV_VirtAddr)&mem_info, in tile_edac_init_csrows() 126 int hv_devhdl; in tile_edac_mc_probe() local 133 hv_devhdl = hv_dev_open((HV_VirtAddr)hv_file, 0); in tile_edac_mc_probe() 134 if (hv_devhdl < 0) in tile_edac_mc_probe() 150 priv->hv_devhdl = hv_devhdl; in tile_edac_mc_probe()
|
/linux-4.1.27/drivers/char/ |
D | tile-srom.c | 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() [all …]
|
/linux-4.1.27/drivers/net/ethernet/tile/ |
D | tilepro.c | 205 int hv_devhdl; member 918 ret = hv_dev_pread(priv->hv_devhdl, 0, in tile_net_open_aux() 946 ret = hv_dev_pwrite(priv->hv_devhdl, 0, in tile_net_open_aux() 957 if (hv_dev_pwrite(priv->hv_devhdl, 0, (HV_VirtAddr)&dummy, in tile_net_open_aux() 1022 ret = hv_dev_pwrite(priv->hv_devhdl, 0, in tile_net_register() 1042 ret = hv_dev_pread(priv->hv_devhdl, 0, in tile_net_register() 1070 ret = hv_dev_pread(priv->hv_devhdl, 0, in tile_net_register() 1136 ret = hv_dev_pwrite(priv->hv_devhdl, 0, (HV_VirtAddr)&dummy, in tile_net_unregister() 1182 if (hv_dev_pwrite(priv->hv_devhdl, 0, (HV_VirtAddr)&dummy, in tile_net_stop_aux() 1338 if (hv_dev_pwrite(priv->hv_devhdl, 0, (HV_VirtAddr)&dummy, in tile_net_open_inner() [all …]
|