Searched refs:cfg_entry (Results 1 – 7 of 7) sorted by relevance
/drivers/xen/xen-pciback/ |
D | conf_space.c | 152 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() 208 const struct config_field_entry *cfg_entry; in xen_pcibk_config_write() local 219 list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { in xen_pcibk_config_write() 220 field = cfg_entry->field; in xen_pcibk_config_write() 222 field_start = OFFSET(cfg_entry); in xen_pcibk_config_write() [all …]
|
D | conf_space.h | 75 #define OFFSET(cfg_entry) ((cfg_entry)->base_offset+(cfg_entry)->field->offset) argument
|
D | conf_space_quirks.c | 55 struct config_field_entry *cfg_entry; in xen_pcibk_field_is_dup() local 57 list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { in xen_pcibk_field_is_dup() 58 if (OFFSET(cfg_entry) == reg) { in xen_pcibk_field_is_dup()
|
D | pci_stub.c | 1328 const struct config_field_entry *cfg_entry; in quirks_show() local 1346 list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { in quirks_show() 1347 field = cfg_entry->field; in quirks_show() 1353 cfg_entry->base_offset + in quirks_show()
|
/drivers/scsi/ |
D | pmcraid.c | 159 if (RES_IS_VSET(temp->cfg_entry)) { in pmcraid_slave_alloc() 161 target = temp->cfg_entry.unique_flags1; in pmcraid_slave_alloc() 163 target = le16_to_cpu(temp->cfg_entry.array_id) & 0xFF; in pmcraid_slave_alloc() 169 } else if (RES_IS_GSCSI(temp->cfg_entry)) { in pmcraid_slave_alloc() 170 target = RES_TARGET(temp->cfg_entry.resource_address); in pmcraid_slave_alloc() 172 lun = RES_LUN(temp->cfg_entry.resource_address); in pmcraid_slave_alloc() 218 if (RES_IS_GSCSI(res->cfg_entry) && in pmcraid_slave_configure() 228 if (RES_IS_GSCSI(res->cfg_entry)) { in pmcraid_slave_configure() 230 } else if (RES_IS_VSET(res->cfg_entry)) { in pmcraid_slave_configure() 241 if (!RES_IS_GSCSI(res->cfg_entry) && !RES_IS_VSET(res->cfg_entry)) in pmcraid_slave_configure() [all …]
|
D | pmcraid.h | 410 struct pmcraid_config_table_entry cfg_entry; member 417 struct pmcraid_config_table_entry_ext cfg_entry; member 797 struct pmcraid_config_table_entry cfg_entry; member
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sp.c | 994 u16 vlan_id, struct mac_configuration_entry *cfg_entry) in bnx2x_vlan_mac_set_cfg_entry_e1x() argument 999 cfg_entry->clients_bit_vector = cpu_to_le32(cl_bit_vec); in bnx2x_vlan_mac_set_cfg_entry_e1x() 1000 cfg_entry->pf_id = r->func_id; in bnx2x_vlan_mac_set_cfg_entry_e1x() 1001 cfg_entry->vlan_id = cpu_to_le16(vlan_id); in bnx2x_vlan_mac_set_cfg_entry_e1x() 1004 SET_FLAG(cfg_entry->flags, MAC_CONFIGURATION_ENTRY_ACTION_TYPE, in bnx2x_vlan_mac_set_cfg_entry_e1x() 1006 SET_FLAG(cfg_entry->flags, in bnx2x_vlan_mac_set_cfg_entry_e1x() 1010 bnx2x_set_fw_mac_addr(&cfg_entry->msb_mac_addr, in bnx2x_vlan_mac_set_cfg_entry_e1x() 1011 &cfg_entry->middle_mac_addr, in bnx2x_vlan_mac_set_cfg_entry_e1x() 1012 &cfg_entry->lsb_mac_addr, mac); in bnx2x_vlan_mac_set_cfg_entry_e1x() 1014 SET_FLAG(cfg_entry->flags, MAC_CONFIGURATION_ENTRY_ACTION_TYPE, in bnx2x_vlan_mac_set_cfg_entry_e1x() [all …]
|