Lines Matching refs:cfg_entry

161 		if (RES_IS_VSET(temp->cfg_entry)) {
163 target = temp->cfg_entry.unique_flags1;
165 target = le16_to_cpu(temp->cfg_entry.array_id) & 0xFF;
171 } else if (RES_IS_GSCSI(temp->cfg_entry)) {
172 target = RES_TARGET(temp->cfg_entry.resource_address);
174 lun = RES_LUN(temp->cfg_entry.resource_address);
222 if (RES_IS_GSCSI(res->cfg_entry) &&
232 if (RES_IS_GSCSI(res->cfg_entry)) {
234 } else if (RES_IS_VSET(res->cfg_entry)) {
244 if (!RES_IS_GSCSI(res->cfg_entry) && !RES_IS_VSET(res->cfg_entry))
1510 struct pmcraid_config_table_entry *cfg_entry;
1523 cfg_entry = &ccn_hcam->cfg_entry;
1536 RES_IS_VSET(*cfg_entry) ? PMCRAID_VSET_BUS_ID :
1537 (RES_IS_GSCSI(*cfg_entry) ? PMCRAID_PHYS_BUS_ID :
1538 RES_BUS(cfg_entry->resource_address)),
1539 RES_IS_VSET(*cfg_entry) ?
1541 cfg_entry->unique_flags1 :
1542 le16_to_cpu(cfg_entry->array_id) & 0xFF) :
1543 RES_TARGET(cfg_entry->resource_address),
1544 RES_LUN(cfg_entry->resource_address));
1566 cfg_entry->resource_type == RES_TYPE_VSET) {
1567 hidden_entry = (cfg_entry->unique_flags1 & 0x80) != 0;
1568 } else if (!pmcraid_expose_resource(fw_version, cfg_entry)) {
1574 rc = memcmp(&res->cfg_entry.resource_address,
1575 &cfg_entry->resource_address,
1576 sizeof(cfg_entry->resource_address));
1617 memcpy(&res->cfg_entry, cfg_entry, pinstance->config_table_entry_size);
1623 res->cfg_entry.unique_flags1 &= 0x7F;
1625 res->cfg_entry.array_id &= cpu_to_le16(0xFF);
1627 res->cfg_entry.resource_handle =
2482 if (RES_IS_GSCSI(res->cfg_entry))
2518 if (RES_IS_VSET(res->cfg_entry) &&
2552 if (RES_IS_VSET(res->cfg_entry))
2600 if (!RES_IS_GSCSI(res->cfg_entry) &&
2662 if (RES_IS_GSCSI(res->cfg_entry))
2733 le32_to_cpu(res->cfg_entry.resource_address));
2745 ioarcb->resource_handle = res->cfg_entry.resource_handle;
3046 RES_IS_VSET(temp->cfg_entry)) {
3050 RES_IS_GSCSI(temp->cfg_entry)) {
3294 ioarcb->resource_handle = res->cfg_entry.resource_handle;
3306 if (RES_IS_GSCSI(res->cfg_entry) || RES_IS_VSET(res->cfg_entry)) {
3320 if (RES_IS_GSCSI(res->cfg_entry))
3329 RES_IS_VSET(res->cfg_entry) ? PMCRAID_VSET_BUS_ID :
3331 RES_IS_VSET(res->cfg_entry) ?
3333 res->cfg_entry.unique_flags1 :
3334 le16_to_cpu(res->cfg_entry.array_id) & 0xFF) :
3335 RES_TARGET(res->cfg_entry.resource_address),
3336 RES_LUN(res->cfg_entry.resource_address));
3869 res->cfg_entry.resource_address);
3893 &res->cfg_entry))
3896 if (RES_IS_VSET(res->cfg_entry)) {
3899 target = res->cfg_entry.unique_flags1;
3901 target = le16_to_cpu(res->cfg_entry.array_id) & 0xFF;
3907 res->cfg_entry.resource_address);
3908 lun = RES_LUN(res->cfg_entry.resource_address);
5043 rc = memcmp(&res->cfg_entry.resource_address,
5076 memcpy(&res->cfg_entry, cfgte,
5079 res->cfg_entry.resource_type,
5081 res->cfg_entry.unique_flags1 :
5082 le16_to_cpu(res->cfg_entry.array_id) & 0xFF),
5083 le32_to_cpu(res->cfg_entry.resource_address));
5092 res->cfg_entry.resource_handle =