Home
last modified time | relevance | path

Searched refs:cfg_entry (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/drivers/xen/xen-pciback/
Dconf_space.c150 const struct config_field_entry *cfg_entry; in xen_pcibk_config_read() local
179 list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { in xen_pcibk_config_read()
180 field = cfg_entry->field; in xen_pcibk_config_read()
182 field_start = OFFSET(cfg_entry); in xen_pcibk_config_read()
183 field_end = OFFSET(cfg_entry) + field->size; in xen_pcibk_config_read()
186 err = conf_space_read(dev, cfg_entry, field_start, in xen_pcibk_config_read()
210 const struct config_field_entry *cfg_entry; in xen_pcibk_config_write() local
223 list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { in xen_pcibk_config_write()
224 field = cfg_entry->field; in xen_pcibk_config_write()
226 field_start = OFFSET(cfg_entry); in xen_pcibk_config_write()
[all …]
Dconf_space.h70 #define OFFSET(cfg_entry) ((cfg_entry)->base_offset+(cfg_entry)->field->offset) argument
Dconf_space_quirks.c53 struct config_field_entry *cfg_entry; in xen_pcibk_field_is_dup() local
55 list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { in xen_pcibk_field_is_dup()
56 if (OFFSET(cfg_entry) == reg) { in xen_pcibk_field_is_dup()
Dpci_stub.c1332 const struct config_field_entry *cfg_entry; in quirks_show() local
1350 list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { in quirks_show()
1351 field = cfg_entry->field; in quirks_show()
1357 cfg_entry->base_offset + in quirks_show()