Lines Matching defs:cfg_entry
159 if (RES_IS_VSET(temp->cfg_entry)) {
161 target = temp->cfg_entry.unique_flags1;
163 target = le16_to_cpu(temp->cfg_entry.array_id) & 0xFF;
169 } else if (RES_IS_GSCSI(temp->cfg_entry)) {
170 target = RES_TARGET(temp->cfg_entry.resource_address);
172 lun = RES_LUN(temp->cfg_entry.resource_address);
218 if (RES_IS_GSCSI(res->cfg_entry) &&
228 if (RES_IS_GSCSI(res->cfg_entry)) {
230 } else if (RES_IS_VSET(res->cfg_entry)) {
241 if (!RES_IS_GSCSI(res->cfg_entry) && !RES_IS_VSET(res->cfg_entry))
1513 struct pmcraid_config_table_entry *cfg_entry;
1526 cfg_entry = &ccn_hcam->cfg_entry;
1539 RES_IS_VSET(*cfg_entry) ? PMCRAID_VSET_BUS_ID :
1540 (RES_IS_GSCSI(*cfg_entry) ? PMCRAID_PHYS_BUS_ID :
1541 RES_BUS(cfg_entry->resource_address)),
1542 RES_IS_VSET(*cfg_entry) ?
1544 cfg_entry->unique_flags1 :
1545 le16_to_cpu(cfg_entry->array_id) & 0xFF) :
1546 RES_TARGET(cfg_entry->resource_address),
1547 RES_LUN(cfg_entry->resource_address));
1569 cfg_entry->resource_type == RES_TYPE_VSET) {
1570 hidden_entry = (cfg_entry->unique_flags1 & 0x80) != 0;
1571 } else if (!pmcraid_expose_resource(fw_version, cfg_entry)) {
1577 rc = memcmp(&res->cfg_entry.resource_address,
1578 &cfg_entry->resource_address,
1579 sizeof(cfg_entry->resource_address));
1620 memcpy(&res->cfg_entry, cfg_entry, pinstance->config_table_entry_size);
1626 res->cfg_entry.unique_flags1 &= 0x7F;
1628 res->cfg_entry.array_id &= cpu_to_le16(0xFF);
1630 res->cfg_entry.resource_handle =
2486 if (RES_IS_GSCSI(res->cfg_entry))
2522 if (RES_IS_VSET(res->cfg_entry) &&
2556 if (RES_IS_VSET(res->cfg_entry))
2604 if (!RES_IS_GSCSI(res->cfg_entry) &&
2666 if (RES_IS_GSCSI(res->cfg_entry))
2737 le32_to_cpu(res->cfg_entry.resource_address));
2749 ioarcb->resource_handle = res->cfg_entry.resource_handle;
3376 ioarcb->resource_handle = res->cfg_entry.resource_handle;
3388 if (RES_IS_GSCSI(res->cfg_entry) || RES_IS_VSET(res->cfg_entry)) {
3402 if (RES_IS_GSCSI(res->cfg_entry))
3411 RES_IS_VSET(res->cfg_entry) ? PMCRAID_VSET_BUS_ID :
3413 RES_IS_VSET(res->cfg_entry) ?
3415 res->cfg_entry.unique_flags1 :
3416 le16_to_cpu(res->cfg_entry.array_id) & 0xFF) :
3417 RES_TARGET(res->cfg_entry.resource_address),
3418 RES_LUN(res->cfg_entry.resource_address));
4319 res->cfg_entry.resource_address);
4343 &res->cfg_entry))
4346 if (RES_IS_VSET(res->cfg_entry)) {
4349 target = res->cfg_entry.unique_flags1;
4351 target = le16_to_cpu(res->cfg_entry.array_id) & 0xFF;
4357 res->cfg_entry.resource_address);
4358 lun = RES_LUN(res->cfg_entry.resource_address);
5518 rc = memcmp(&res->cfg_entry.resource_address,
5551 memcpy(&res->cfg_entry, cfgte,
5554 res->cfg_entry.resource_type,
5556 res->cfg_entry.unique_flags1 :
5557 le16_to_cpu(res->cfg_entry.array_id) & 0xFF),
5558 le32_to_cpu(res->cfg_entry.resource_address));
5567 res->cfg_entry.resource_handle =