Home
last modified time | relevance | path

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

/Linux-v4.19/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.c1331 const struct config_field_entry *cfg_entry; in quirks_show() local
1349 list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { in quirks_show()
1350 field = cfg_entry->field; in quirks_show()
1356 cfg_entry->base_offset + in quirks_show()
/Linux-v4.19/drivers/scsi/
Dpmcraid.c174 if (RES_IS_VSET(temp->cfg_entry)) { in pmcraid_slave_alloc()
176 target = temp->cfg_entry.unique_flags1; in pmcraid_slave_alloc()
178 target = le16_to_cpu(temp->cfg_entry.array_id) & 0xFF; in pmcraid_slave_alloc()
184 } else if (RES_IS_GSCSI(temp->cfg_entry)) { in pmcraid_slave_alloc()
185 target = RES_TARGET(temp->cfg_entry.resource_address); in pmcraid_slave_alloc()
187 lun = RES_LUN(temp->cfg_entry.resource_address); in pmcraid_slave_alloc()
233 if (RES_IS_GSCSI(res->cfg_entry) && in pmcraid_slave_configure()
243 if (RES_IS_GSCSI(res->cfg_entry)) { in pmcraid_slave_configure()
245 } else if (RES_IS_VSET(res->cfg_entry)) { in pmcraid_slave_configure()
256 if (!RES_IS_GSCSI(res->cfg_entry) && !RES_IS_VSET(res->cfg_entry)) in pmcraid_slave_configure()
[all …]
Dpmcraid.h423 struct pmcraid_config_table_entry cfg_entry; member
430 struct pmcraid_config_table_entry_ext cfg_entry; member
810 struct pmcraid_config_table_entry cfg_entry; member
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c992 u16 vlan_id, struct mac_configuration_entry *cfg_entry) in bnx2x_vlan_mac_set_cfg_entry_e1x() argument
997 cfg_entry->clients_bit_vector = cpu_to_le32(cl_bit_vec); in bnx2x_vlan_mac_set_cfg_entry_e1x()
998 cfg_entry->pf_id = r->func_id; in bnx2x_vlan_mac_set_cfg_entry_e1x()
999 cfg_entry->vlan_id = cpu_to_le16(vlan_id); in bnx2x_vlan_mac_set_cfg_entry_e1x()
1002 SET_FLAG(cfg_entry->flags, MAC_CONFIGURATION_ENTRY_ACTION_TYPE, in bnx2x_vlan_mac_set_cfg_entry_e1x()
1004 SET_FLAG(cfg_entry->flags, in bnx2x_vlan_mac_set_cfg_entry_e1x()
1008 bnx2x_set_fw_mac_addr(&cfg_entry->msb_mac_addr, in bnx2x_vlan_mac_set_cfg_entry_e1x()
1009 &cfg_entry->middle_mac_addr, in bnx2x_vlan_mac_set_cfg_entry_e1x()
1010 &cfg_entry->lsb_mac_addr, mac); in bnx2x_vlan_mac_set_cfg_entry_e1x()
1012 SET_FLAG(cfg_entry->flags, MAC_CONFIGURATION_ENTRY_ACTION_TYPE, in bnx2x_vlan_mac_set_cfg_entry_e1x()
[all …]