Lines Matching defs:s

63 XenPTRegGroup *xen_pt_find_reg_grp(XenPCIPassthroughState *s, uint32_t address)  in xen_pt_find_reg_grp()
101 static uint32_t get_throughable_mask(const XenPCIPassthroughState *s, in get_throughable_mask()
119 static int xen_pt_common_reg_init(XenPCIPassthroughState *s, in xen_pt_common_reg_init()
129 static int xen_pt_byte_reg_read(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_byte_reg_read()
142 static int xen_pt_word_reg_read(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_word_reg_read()
155 static int xen_pt_long_reg_read(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_long_reg_read()
171 static int xen_pt_byte_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_byte_reg_write()
190 static int xen_pt_word_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_word_reg_write()
209 static int xen_pt_long_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_long_reg_write()
241 static int xen_pt_vendor_reg_init(XenPCIPassthroughState *s, in xen_pt_vendor_reg_init()
248 static int xen_pt_device_reg_init(XenPCIPassthroughState *s, in xen_pt_device_reg_init()
255 static int xen_pt_status_reg_init(XenPCIPassthroughState *s, in xen_pt_status_reg_init()
290 static int xen_pt_header_type_reg_init(XenPCIPassthroughState *s, in xen_pt_header_type_reg_init()
303 static int xen_pt_irqpin_reg_init(XenPCIPassthroughState *s, in xen_pt_irqpin_reg_init()
314 static int xen_pt_cmd_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_cmd_reg_write()
364 static XenPTBarFlag xen_pt_bar_reg_parse(XenPCIPassthroughState *s, in xen_pt_bar_reg_parse()
412 static int xen_pt_bar_reg_init(XenPCIPassthroughState *s, XenPTRegInfo *reg, in xen_pt_bar_reg_init()
433 static int xen_pt_bar_reg_read(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_bar_reg_read()
472 static int xen_pt_bar_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_bar_reg_write()
546 static int xen_pt_exp_rom_bar_reg_write(XenPCIPassthroughState *s, in xen_pt_exp_rom_bar_reg_write()
577 static int xen_pt_intel_opregion_read(XenPCIPassthroughState *s, in xen_pt_intel_opregion_read()
585 static int xen_pt_intel_opregion_write(XenPCIPassthroughState *s, in xen_pt_intel_opregion_write()
839 static inline uint8_t get_capability_version(XenPCIPassthroughState *s, in get_capability_version()
849 static inline uint8_t get_device_type(XenPCIPassthroughState *s, in get_device_type()
860 static int xen_pt_linkctrl_reg_init(XenPCIPassthroughState *s, in xen_pt_linkctrl_reg_init()
878 static int xen_pt_devctrl2_reg_init(XenPCIPassthroughState *s, in xen_pt_devctrl2_reg_init()
893 static int xen_pt_linkctrl2_reg_init(XenPCIPassthroughState *s, in xen_pt_linkctrl2_reg_init()
1072 static int xen_pt_msgctrl_reg_init(XenPCIPassthroughState *s, in xen_pt_msgctrl_reg_init()
1098 static int xen_pt_msgctrl_reg_write(XenPCIPassthroughState *s, in xen_pt_msgctrl_reg_write()
1154 static int xen_pt_msgaddr64_reg_init(XenPCIPassthroughState *s, in xen_pt_msgaddr64_reg_init()
1169 static int xen_pt_msgdata_reg_init(XenPCIPassthroughState *s, in xen_pt_msgdata_reg_init()
1187 static int xen_pt_mask_reg_init(XenPCIPassthroughState *s, in xen_pt_mask_reg_init()
1206 static int xen_pt_pending_reg_init(XenPCIPassthroughState *s, in xen_pt_pending_reg_init()
1224 static int xen_pt_msgaddr32_reg_write(XenPCIPassthroughState *s, in xen_pt_msgaddr32_reg_write()
1251 static int xen_pt_msgaddr64_reg_write(XenPCIPassthroughState *s, in xen_pt_msgaddr64_reg_write()
1289 static int xen_pt_msgdata_reg_write(XenPCIPassthroughState *s, in xen_pt_msgdata_reg_write()
1326 static int xen_pt_mask_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, in xen_pt_mask_reg_write()
1466 static int xen_pt_msixctrl_reg_init(XenPCIPassthroughState *s, in xen_pt_msixctrl_reg_init()
1489 static int xen_pt_msixctrl_reg_write(XenPCIPassthroughState *s, in xen_pt_msixctrl_reg_write()
1577 static int xen_pt_reg_grp_size_init(XenPCIPassthroughState *s, in xen_pt_reg_grp_size_init()
1585 static int xen_pt_vendor_size_init(XenPCIPassthroughState *s, in xen_pt_vendor_size_init()
1592 static int xen_pt_pcie_size_init(XenPCIPassthroughState *s, in xen_pt_pcie_size_init()
1664 static int xen_pt_msi_size_init(XenPCIPassthroughState *s, in xen_pt_msi_size_init()
1692 static int xen_pt_msix_size_init(XenPCIPassthroughState *s, in xen_pt_msix_size_init()
1823 static int xen_pt_ptr_reg_init(XenPCIPassthroughState *s, in xen_pt_ptr_reg_init()
1877 static uint8_t find_cap_offset(XenPCIPassthroughState *s, uint8_t cap) in find_cap_offset()
1917 static void xen_pt_config_reg_init(XenPCIPassthroughState *s, in xen_pt_config_reg_init()
2014 void xen_pt_config_init(XenPCIPassthroughState *s, Error **errp) in xen_pt_config_init()
2097 void xen_pt_config_delete(XenPCIPassthroughState *s) in xen_pt_config_delete()