Searched refs:psnet (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/drivers/vdpa/solidrun/ |
A D | snet_hwmon.c | 28 static void snet_hwmon_read_reg(struct psnet *psnet, u32 reg, long *out) in snet_hwmon_read_reg() argument 30 *out = psnet_read64(psnet, psnet->cfg.hwmon_off + reg); in snet_hwmon_read_reg() 43 struct psnet *psnet = dev_get_drvdata(dev); in snet_howmon_read() local 53 snet_hwmon_read_reg(psnet, SNET_MON_VOLT_CRIT_OFF, val); in snet_howmon_read() 56 snet_hwmon_read_reg(psnet, SNET_MON_VOLT_IN_OFF, val); in snet_howmon_read() 67 snet_hwmon_read_reg(psnet, SNET_MON_PWR_IN_OFF, val); in snet_howmon_read() 79 snet_hwmon_read_reg(psnet, SNET_MON_CURR_IN_OFF, val); in snet_howmon_read() 82 snet_hwmon_read_reg(psnet, SNET_MON_CURR_MAX_OFF, val); in snet_howmon_read() 97 snet_hwmon_read_reg(psnet, SNET_MON_TMP0_IN_OFF, val); in snet_howmon_read() 180 struct psnet *psnet = pci_get_drvdata(pdev); in psnet_create_hwmon() local [all …]
|
A D | snet_main.c | 107 struct psnet *psnet = snet->psnet; in snet_free_irqs() local 448 struct psnet *psnet = snet->psnet; in snet_set_status() local 642 if (psnet->bars[i] && i != psnet->barno) in psnet_unmap_unused_bars() 829 static int psnet_get_next_irq_num(struct psnet *psnet) in psnet_get_next_irq_num() argument 842 struct psnet *psnet = snet->psnet; in snet_reserve_irq_idx() local 875 struct psnet *psnet; in snet_vdpa_probe_pf() local 886 psnet = kzalloc(sizeof(*psnet), GFP_KERNEL); in snet_vdpa_probe_pf() 949 struct psnet *psnet = pci_get_drvdata(pdev_pf); in snet_vdpa_probe_vf() local 1002 snet->psnet = psnet; in snet_vdpa_probe_vf() 1061 struct psnet *psnet = pci_get_drvdata(pdev); in snet_vdpa_remove_pf() local [all …]
|
A D | snet_vdpa.h | 75 struct psnet *psnet; member 133 struct psnet { struct 159 static inline u32 psnet_read32(struct psnet *psnet, u32 off) in psnet_read32() argument 161 return ioread32(psnet->bars[psnet->barno] + off); in psnet_read32() 174 static inline u64 psnet_read64(struct psnet *psnet, u32 off) in psnet_read64() argument 178 val = (u64)psnet_read32(psnet, off); in psnet_read64() 179 val |= ((u64)psnet_read32(psnet, off + 4) << 32); in psnet_read64()
|
Completed in 7 milliseconds