cfg_entry 992 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c u16 vlan_id, struct mac_configuration_entry *cfg_entry) cfg_entry 997 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cfg_entry->clients_bit_vector = cpu_to_le32(cl_bit_vec); cfg_entry 998 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cfg_entry->pf_id = r->func_id; cfg_entry 999 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cfg_entry->vlan_id = cpu_to_le16(vlan_id); cfg_entry 1002 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c SET_FLAG(cfg_entry->flags, MAC_CONFIGURATION_ENTRY_ACTION_TYPE, cfg_entry 1004 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c SET_FLAG(cfg_entry->flags, cfg_entry 1008 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c bnx2x_set_fw_mac_addr(&cfg_entry->msb_mac_addr, cfg_entry 1009 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c &cfg_entry->middle_mac_addr, cfg_entry 1010 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c &cfg_entry->lsb_mac_addr, mac); cfg_entry 1012 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c SET_FLAG(cfg_entry->flags, MAC_CONFIGURATION_ENTRY_ACTION_TYPE, cfg_entry 1020 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c struct mac_configuration_entry *cfg_entry = &config->config_table[0]; cfg_entry 1026 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cfg_entry); cfg_entry 159 drivers/scsi/pmcraid.c if (RES_IS_VSET(temp->cfg_entry)) { cfg_entry 161 drivers/scsi/pmcraid.c target = temp->cfg_entry.unique_flags1; cfg_entry 163 drivers/scsi/pmcraid.c target = le16_to_cpu(temp->cfg_entry.array_id) & 0xFF; cfg_entry 169 drivers/scsi/pmcraid.c } else if (RES_IS_GSCSI(temp->cfg_entry)) { cfg_entry 170 drivers/scsi/pmcraid.c target = RES_TARGET(temp->cfg_entry.resource_address); cfg_entry 172 drivers/scsi/pmcraid.c lun = RES_LUN(temp->cfg_entry.resource_address); cfg_entry 218 drivers/scsi/pmcraid.c if (RES_IS_GSCSI(res->cfg_entry) && cfg_entry 228 drivers/scsi/pmcraid.c if (RES_IS_GSCSI(res->cfg_entry)) { cfg_entry 230 drivers/scsi/pmcraid.c } else if (RES_IS_VSET(res->cfg_entry)) { cfg_entry 241 drivers/scsi/pmcraid.c if (!RES_IS_GSCSI(res->cfg_entry) && !RES_IS_VSET(res->cfg_entry)) cfg_entry 1513 drivers/scsi/pmcraid.c struct pmcraid_config_table_entry *cfg_entry; cfg_entry 1526 drivers/scsi/pmcraid.c cfg_entry = &ccn_hcam->cfg_entry; cfg_entry 1539 drivers/scsi/pmcraid.c RES_IS_VSET(*cfg_entry) ? PMCRAID_VSET_BUS_ID : cfg_entry 1540 drivers/scsi/pmcraid.c (RES_IS_GSCSI(*cfg_entry) ? PMCRAID_PHYS_BUS_ID : cfg_entry 1541 drivers/scsi/pmcraid.c RES_BUS(cfg_entry->resource_address)), cfg_entry 1542 drivers/scsi/pmcraid.c RES_IS_VSET(*cfg_entry) ? cfg_entry 1544 drivers/scsi/pmcraid.c cfg_entry->unique_flags1 : cfg_entry 1545 drivers/scsi/pmcraid.c le16_to_cpu(cfg_entry->array_id) & 0xFF) : cfg_entry 1546 drivers/scsi/pmcraid.c RES_TARGET(cfg_entry->resource_address), cfg_entry 1547 drivers/scsi/pmcraid.c RES_LUN(cfg_entry->resource_address)); cfg_entry 1569 drivers/scsi/pmcraid.c cfg_entry->resource_type == RES_TYPE_VSET) { cfg_entry 1570 drivers/scsi/pmcraid.c hidden_entry = (cfg_entry->unique_flags1 & 0x80) != 0; cfg_entry 1571 drivers/scsi/pmcraid.c } else if (!pmcraid_expose_resource(fw_version, cfg_entry)) { cfg_entry 1577 drivers/scsi/pmcraid.c rc = memcmp(&res->cfg_entry.resource_address, cfg_entry 1578 drivers/scsi/pmcraid.c &cfg_entry->resource_address, cfg_entry 1579 drivers/scsi/pmcraid.c sizeof(cfg_entry->resource_address)); cfg_entry 1620 drivers/scsi/pmcraid.c memcpy(&res->cfg_entry, cfg_entry, pinstance->config_table_entry_size); cfg_entry 1626 drivers/scsi/pmcraid.c res->cfg_entry.unique_flags1 &= 0x7F; cfg_entry 1628 drivers/scsi/pmcraid.c res->cfg_entry.array_id &= cpu_to_le16(0xFF); cfg_entry 1630 drivers/scsi/pmcraid.c res->cfg_entry.resource_handle = cfg_entry 2486 drivers/scsi/pmcraid.c if (RES_IS_GSCSI(res->cfg_entry)) cfg_entry 2522 drivers/scsi/pmcraid.c if (RES_IS_VSET(res->cfg_entry) && cfg_entry 2556 drivers/scsi/pmcraid.c if (RES_IS_VSET(res->cfg_entry)) cfg_entry 2604 drivers/scsi/pmcraid.c if (!RES_IS_GSCSI(res->cfg_entry) && cfg_entry 2666 drivers/scsi/pmcraid.c if (RES_IS_GSCSI(res->cfg_entry)) cfg_entry 2737 drivers/scsi/pmcraid.c le32_to_cpu(res->cfg_entry.resource_address)); cfg_entry 2749 drivers/scsi/pmcraid.c ioarcb->resource_handle = res->cfg_entry.resource_handle; cfg_entry 3378 drivers/scsi/pmcraid.c ioarcb->resource_handle = res->cfg_entry.resource_handle; cfg_entry 3390 drivers/scsi/pmcraid.c if (RES_IS_GSCSI(res->cfg_entry) || RES_IS_VSET(res->cfg_entry)) { cfg_entry 3404 drivers/scsi/pmcraid.c if (RES_IS_GSCSI(res->cfg_entry)) cfg_entry 3413 drivers/scsi/pmcraid.c RES_IS_VSET(res->cfg_entry) ? PMCRAID_VSET_BUS_ID : cfg_entry 3415 drivers/scsi/pmcraid.c RES_IS_VSET(res->cfg_entry) ? cfg_entry 3417 drivers/scsi/pmcraid.c res->cfg_entry.unique_flags1 : cfg_entry 3418 drivers/scsi/pmcraid.c le16_to_cpu(res->cfg_entry.array_id) & 0xFF) : cfg_entry 3419 drivers/scsi/pmcraid.c RES_TARGET(res->cfg_entry.resource_address), cfg_entry 3420 drivers/scsi/pmcraid.c RES_LUN(res->cfg_entry.resource_address)); cfg_entry 4323 drivers/scsi/pmcraid.c res->cfg_entry.resource_address); cfg_entry 4347 drivers/scsi/pmcraid.c &res->cfg_entry)) cfg_entry 4350 drivers/scsi/pmcraid.c if (RES_IS_VSET(res->cfg_entry)) { cfg_entry 4353 drivers/scsi/pmcraid.c target = res->cfg_entry.unique_flags1; cfg_entry 4355 drivers/scsi/pmcraid.c target = le16_to_cpu(res->cfg_entry.array_id) & 0xFF; cfg_entry 4361 drivers/scsi/pmcraid.c res->cfg_entry.resource_address); cfg_entry 4362 drivers/scsi/pmcraid.c lun = RES_LUN(res->cfg_entry.resource_address); cfg_entry 5525 drivers/scsi/pmcraid.c rc = memcmp(&res->cfg_entry.resource_address, cfg_entry 5558 drivers/scsi/pmcraid.c memcpy(&res->cfg_entry, cfgte, cfg_entry 5561 drivers/scsi/pmcraid.c res->cfg_entry.resource_type, cfg_entry 5563 drivers/scsi/pmcraid.c res->cfg_entry.unique_flags1 : cfg_entry 5564 drivers/scsi/pmcraid.c le16_to_cpu(res->cfg_entry.array_id) & 0xFF), cfg_entry 5565 drivers/scsi/pmcraid.c le32_to_cpu(res->cfg_entry.resource_address)); cfg_entry 5574 drivers/scsi/pmcraid.c res->cfg_entry.resource_handle = cfg_entry 410 drivers/scsi/pmcraid.h struct pmcraid_config_table_entry cfg_entry; cfg_entry 417 drivers/scsi/pmcraid.h struct pmcraid_config_table_entry_ext cfg_entry; cfg_entry 797 drivers/scsi/pmcraid.h struct pmcraid_config_table_entry cfg_entry; cfg_entry 150 drivers/xen/xen-pciback/conf_space.c const struct config_field_entry *cfg_entry; cfg_entry 179 drivers/xen/xen-pciback/conf_space.c list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { cfg_entry 180 drivers/xen/xen-pciback/conf_space.c field = cfg_entry->field; cfg_entry 182 drivers/xen/xen-pciback/conf_space.c field_start = OFFSET(cfg_entry); cfg_entry 183 drivers/xen/xen-pciback/conf_space.c field_end = OFFSET(cfg_entry) + field->size; cfg_entry 186 drivers/xen/xen-pciback/conf_space.c err = conf_space_read(dev, cfg_entry, field_start, cfg_entry 210 drivers/xen/xen-pciback/conf_space.c const struct config_field_entry *cfg_entry; cfg_entry 223 drivers/xen/xen-pciback/conf_space.c list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { cfg_entry 224 drivers/xen/xen-pciback/conf_space.c field = cfg_entry->field; cfg_entry 226 drivers/xen/xen-pciback/conf_space.c field_start = OFFSET(cfg_entry); cfg_entry 227 drivers/xen/xen-pciback/conf_space.c field_end = OFFSET(cfg_entry) + field->size; cfg_entry 230 drivers/xen/xen-pciback/conf_space.c err = conf_space_read(dev, cfg_entry, field_start, cfg_entry 238 drivers/xen/xen-pciback/conf_space.c err = conf_space_write(dev, cfg_entry, field_start, cfg_entry 292 drivers/xen/xen-pciback/conf_space.c struct config_field_entry *cfg_entry, *t; cfg_entry 300 drivers/xen/xen-pciback/conf_space.c list_for_each_entry_safe(cfg_entry, t, &dev_data->config_fields, list) { cfg_entry 301 drivers/xen/xen-pciback/conf_space.c field = cfg_entry->field; cfg_entry 306 drivers/xen/xen-pciback/conf_space.c kfree(cfg_entry->data); cfg_entry 308 drivers/xen/xen-pciback/conf_space.c list_del(&cfg_entry->list); cfg_entry 309 drivers/xen/xen-pciback/conf_space.c kfree(cfg_entry); cfg_entry 318 drivers/xen/xen-pciback/conf_space.c const struct config_field_entry *cfg_entry; cfg_entry 325 drivers/xen/xen-pciback/conf_space.c list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { cfg_entry 326 drivers/xen/xen-pciback/conf_space.c field = cfg_entry->field; cfg_entry 329 drivers/xen/xen-pciback/conf_space.c field->reset(dev, OFFSET(cfg_entry), cfg_entry->data); cfg_entry 336 drivers/xen/xen-pciback/conf_space.c struct config_field_entry *cfg_entry, *t; cfg_entry 343 drivers/xen/xen-pciback/conf_space.c list_for_each_entry_safe(cfg_entry, t, &dev_data->config_fields, list) { cfg_entry 344 drivers/xen/xen-pciback/conf_space.c list_del(&cfg_entry->list); cfg_entry 346 drivers/xen/xen-pciback/conf_space.c field = cfg_entry->field; cfg_entry 349 drivers/xen/xen-pciback/conf_space.c field->release(dev, OFFSET(cfg_entry), cfg_entry->data); cfg_entry 351 drivers/xen/xen-pciback/conf_space.c kfree(cfg_entry); cfg_entry 361 drivers/xen/xen-pciback/conf_space.c struct config_field_entry *cfg_entry; cfg_entry 364 drivers/xen/xen-pciback/conf_space.c cfg_entry = kmalloc(sizeof(*cfg_entry), GFP_KERNEL); cfg_entry 365 drivers/xen/xen-pciback/conf_space.c if (!cfg_entry) { cfg_entry 370 drivers/xen/xen-pciback/conf_space.c cfg_entry->data = NULL; cfg_entry 371 drivers/xen/xen-pciback/conf_space.c cfg_entry->field = field; cfg_entry 372 drivers/xen/xen-pciback/conf_space.c cfg_entry->base_offset = base_offset; cfg_entry 375 drivers/xen/xen-pciback/conf_space.c err = xen_pcibk_field_is_dup(dev, OFFSET(cfg_entry)); cfg_entry 380 drivers/xen/xen-pciback/conf_space.c tmp = field->init(dev, OFFSET(cfg_entry)); cfg_entry 387 drivers/xen/xen-pciback/conf_space.c cfg_entry->data = tmp; cfg_entry 391 drivers/xen/xen-pciback/conf_space.c OFFSET(cfg_entry)); cfg_entry 392 drivers/xen/xen-pciback/conf_space.c list_add_tail(&cfg_entry->list, &dev_data->config_fields); cfg_entry 396 drivers/xen/xen-pciback/conf_space.c kfree(cfg_entry); cfg_entry 70 drivers/xen/xen-pciback/conf_space.h #define OFFSET(cfg_entry) ((cfg_entry)->base_offset+(cfg_entry)->field->offset) cfg_entry 53 drivers/xen/xen-pciback/conf_space_quirks.c struct config_field_entry *cfg_entry; cfg_entry 55 drivers/xen/xen-pciback/conf_space_quirks.c list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { cfg_entry 56 drivers/xen/xen-pciback/conf_space_quirks.c if (OFFSET(cfg_entry) == reg) { cfg_entry 1332 drivers/xen/xen-pciback/pci_stub.c const struct config_field_entry *cfg_entry; cfg_entry 1350 drivers/xen/xen-pciback/pci_stub.c list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { cfg_entry 1351 drivers/xen/xen-pciback/pci_stub.c field = cfg_entry->field; cfg_entry 1357 drivers/xen/xen-pciback/pci_stub.c cfg_entry->base_offset +