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))
1507 struct pmcraid_config_table_entry *cfg_entry;
1520 cfg_entry = &ccn_hcam->cfg_entry;
1533 RES_IS_VSET(*cfg_entry) ? PMCRAID_VSET_BUS_ID :
1534 (RES_IS_GSCSI(*cfg_entry) ? PMCRAID_PHYS_BUS_ID :
1535 RES_BUS(cfg_entry->resource_address)),
1536 RES_IS_VSET(*cfg_entry) ?
1538 cfg_entry->unique_flags1 :
1539 le16_to_cpu(cfg_entry->array_id) & 0xFF) :
1540 RES_TARGET(cfg_entry->resource_address),
1541 RES_LUN(cfg_entry->resource_address));
1563 cfg_entry->resource_type == RES_TYPE_VSET) {
1564 hidden_entry = (cfg_entry->unique_flags1 & 0x80) != 0;
1565 } else if (!pmcraid_expose_resource(fw_version, cfg_entry)) {
1571 rc = memcmp(&res->cfg_entry.resource_address,
1572 &cfg_entry->resource_address,
1573 sizeof(cfg_entry->resource_address));
1614 memcpy(&res->cfg_entry, cfg_entry, pinstance->config_table_entry_size);
1620 res->cfg_entry.unique_flags1 &= 0x7F;
1622 res->cfg_entry.array_id &= cpu_to_le16(0xFF);
1624 res->cfg_entry.resource_handle =
2479 if (RES_IS_GSCSI(res->cfg_entry))
2515 if (RES_IS_VSET(res->cfg_entry) &&
2549 if (RES_IS_VSET(res->cfg_entry))
2597 if (!RES_IS_GSCSI(res->cfg_entry) &&
2659 if (RES_IS_GSCSI(res->cfg_entry))
2730 le32_to_cpu(res->cfg_entry.resource_address));
2742 ioarcb->resource_handle = res->cfg_entry.resource_handle;
3246 ioarcb->resource_handle = res->cfg_entry.resource_handle;
3258 if (RES_IS_GSCSI(res->cfg_entry) || RES_IS_VSET(res->cfg_entry)) {
3272 if (RES_IS_GSCSI(res->cfg_entry))
3281 RES_IS_VSET(res->cfg_entry) ? PMCRAID_VSET_BUS_ID :
3283 RES_IS_VSET(res->cfg_entry) ?
3285 res->cfg_entry.unique_flags1 :
3286 le16_to_cpu(res->cfg_entry.array_id) & 0xFF) :
3287 RES_TARGET(res->cfg_entry.resource_address),
3288 RES_LUN(res->cfg_entry.resource_address));
3821 res->cfg_entry.resource_address);
3845 &res->cfg_entry))
3848 if (RES_IS_VSET(res->cfg_entry)) {
3851 target = res->cfg_entry.unique_flags1;
3853 target = le16_to_cpu(res->cfg_entry.array_id) & 0xFF;
3859 res->cfg_entry.resource_address);
3860 lun = RES_LUN(res->cfg_entry.resource_address);
4995 rc = memcmp(&res->cfg_entry.resource_address,
5028 memcpy(&res->cfg_entry, cfgte,
5031 res->cfg_entry.resource_type,
5033 res->cfg_entry.unique_flags1 :
5034 le16_to_cpu(res->cfg_entry.array_id) & 0xFF),
5035 le32_to_cpu(res->cfg_entry.resource_address));
5044 res->cfg_entry.resource_handle =