Lines Matching full:ccn
791 * lost CCN. It returns the command block back to free pool and schedules
939 pmcraid_info("response for Cancel CCN CDB[0] = %x ioasc = %x\n", in pmcraid_ioa_shutdown()
1104 atomic_set(&(cmd->drv_inst->ccn.ignore), 0); in pmcraid_send_hcam_cmd()
1144 dma = pinstance->ccn.baddr + PMCRAID_AEN_HDR_SIZE; in pmcraid_init_hcam()
1145 hcam = &pinstance->ccn; in pmcraid_init_hcam()
1247 &pinstance->ldn : &pinstance->ccn; in pmcraid_cancel_hcam()
1266 * pmcraid_cancel_ccn - cancel CCN HCAM already registered with IOA
1455 * pmcraid_notify_ccn - notifies about CCN event msg to user space
1464 pinstance->ccn.msg, in pmcraid_notify_ccn()
1465 le32_to_cpu(pinstance->ccn.hcam->data_len) + in pmcraid_notify_ccn()
1470 * pmcraid_notify_ldn - notifies about CCN event msg to user space
1522 ccn_hcam = (struct pmcraid_hcam_ccn *)pinstance->ccn.hcam; in pmcraid_handle_config_change()
1526 pmcraid_info("CCN(%x): %x timestamp: %llx type: %x lost: %x flags: %x \ in pmcraid_handle_config_change()
1528 le32_to_cpu(pinstance->ccn.hcam->ilid), in pmcraid_handle_config_change()
1529 pinstance->ccn.hcam->op_code, in pmcraid_handle_config_change()
1530 (le32_to_cpu(pinstance->ccn.hcam->timestamp1) | in pmcraid_handle_config_change()
1531 ((le32_to_cpu(pinstance->ccn.hcam->timestamp2) & 0xffffffffLL) << 32)), in pmcraid_handle_config_change()
1532 pinstance->ccn.hcam->notification_type, in pmcraid_handle_config_change()
1533 pinstance->ccn.hcam->notification_lost, in pmcraid_handle_config_change()
1534 pinstance->ccn.hcam->flags, in pmcraid_handle_config_change()
1548 if (pinstance->ccn.hcam->notification_lost) { in pmcraid_handle_config_change()
1551 pmcraid_info("lost CCN, reading config table\b"); in pmcraid_handle_config_change()
1555 pmcraid_err("lost CCN, no free cmd for querycfg\n"); in pmcraid_handle_config_change()
1564 if (pinstance->ccn.hcam->notification_type == in pmcraid_handle_config_change()
1592 * manage, do not notify the applications about the CCN. Just in pmcraid_handle_config_change()
1619 if (pinstance->ccn.hcam->notification_type == in pmcraid_handle_config_change()
1735 * pmcraid_process_ccn - Op done function for a CCN.
1750 pinstance->ccn.cmd = NULL; in pmcraid_process_ccn()
1758 atomic_read(&pinstance->ccn.ignore) == 1) { in pmcraid_process_ccn()
1762 "Host RCB (CCN) failed with IOASC: 0x%08X\n", ioasc); in pmcraid_process_ccn()
1798 atomic_read(&pinstance->ccn.ignore) == 1) { in pmcraid_process_ldn()
1828 * pmcraid_register_hcams - register HCAMs for CCN and LDN
1854 atomic_set(&pinstance->ccn.ignore, 1); in pmcraid_unregister_hcams()
1871 * one after the other. So CCN cancellation will be triggered by in pmcraid_unregister_hcams()
3112 * two HCAM (CCN and LDN). in pmcraid_eh_host_reset_handler()
4286 if (pinstance->ccn.msg != NULL) { in pmcraid_release_hcams()
4290 pinstance->ccn.msg, in pmcraid_release_hcams()
4291 pinstance->ccn.baddr); in pmcraid_release_hcams()
4293 pinstance->ccn.msg = NULL; in pmcraid_release_hcams()
4294 pinstance->ccn.hcam = NULL; in pmcraid_release_hcams()
4295 pinstance->ccn.baddr = 0; in pmcraid_release_hcams()
4320 pinstance->ccn.msg = dma_alloc_coherent(&pinstance->pdev->dev, in pmcraid_allocate_hcams()
4323 &pinstance->ccn.baddr, GFP_KERNEL); in pmcraid_allocate_hcams()
4330 if (pinstance->ldn.msg == NULL || pinstance->ccn.msg == NULL) { in pmcraid_allocate_hcams()
4333 pinstance->ccn.hcam = in pmcraid_allocate_hcams()
4334 (void *)pinstance->ccn.msg + PMCRAID_AEN_HDR_SIZE; in pmcraid_allocate_hcams()
4338 atomic_set(&pinstance->ccn.ignore, 0); in pmcraid_allocate_hcams()
4912 * lost CCN, it is enough to return the command block back to free pool in pmcraid_set_supported_devs()
5329 /* Schedule worker thread to handle CCN and take care of adding and in pmcraid_probe()