Lines Matching refs:cfg_entry

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