Lines Matching refs:ldn
1103 atomic_set(&(cmd->drv_inst->ldn.ignore), 0); in pmcraid_send_hcam_cmd()
1146 dma = pinstance->ldn.baddr + PMCRAID_AEN_HDR_SIZE; in pmcraid_init_hcam()
1147 hcam = &pinstance->ldn; in pmcraid_init_hcam()
1244 &pinstance->ldn : &pinstance->ccn; in pmcraid_cancel_hcam()
1476 pinstance->ldn.msg, in pmcraid_notify_ldn()
1477 le32_to_cpu(pinstance->ldn.hcam->data_len) + in pmcraid_notify_ldn()
1697 hcam_ldn = (struct pmcraid_hcam_ldn *)pinstance->ldn.hcam; in pmcraid_handle_error_log()
1701 pinstance->ldn.hcam->ilid, in pmcraid_handle_error_log()
1702 pinstance->ldn.hcam->op_code, in pmcraid_handle_error_log()
1703 pinstance->ldn.hcam->notification_type, in pmcraid_handle_error_log()
1704 pinstance->ldn.hcam->notification_lost, in pmcraid_handle_error_log()
1705 pinstance->ldn.hcam->flags, in pmcraid_handle_error_log()
1706 pinstance->ldn.hcam->overlay_id); in pmcraid_handle_error_log()
1709 if (pinstance->ldn.hcam->notification_type != in pmcraid_handle_error_log()
1713 if (pinstance->ldn.hcam->notification_lost == in pmcraid_handle_error_log()
1781 (struct pmcraid_hcam_ldn *)pinstance->ldn.hcam; in pmcraid_process_ldn()
1787 pinstance->ldn.cmd = NULL; in pmcraid_process_ldn()
1852 atomic_set(&pinstance->ldn.ignore, 1); in pmcraid_unregister_hcams()
4250 if (pinstance->ldn.msg != NULL) { in pmcraid_release_hcams()
4254 pinstance->ldn.msg, in pmcraid_release_hcams()
4255 pinstance->ldn.baddr); in pmcraid_release_hcams()
4257 pinstance->ldn.msg = NULL; in pmcraid_release_hcams()
4258 pinstance->ldn.hcam = NULL; in pmcraid_release_hcams()
4259 pinstance->ldn.baddr = 0; in pmcraid_release_hcams()
4277 pinstance->ldn.msg = dma_alloc_coherent(&pinstance->pdev->dev, in pmcraid_allocate_hcams()
4280 &pinstance->ldn.baddr, GFP_KERNEL); in pmcraid_allocate_hcams()
4282 if (pinstance->ldn.msg == NULL || pinstance->ccn.msg == NULL) { in pmcraid_allocate_hcams()
4287 pinstance->ldn.hcam = in pmcraid_allocate_hcams()
4288 (void *)pinstance->ldn.msg + PMCRAID_AEN_HDR_SIZE; in pmcraid_allocate_hcams()
4291 atomic_set(&pinstance->ldn.ignore, 0); in pmcraid_allocate_hcams()
4294 return (pinstance->ldn.msg == NULL) ? -ENOMEM : 0; in pmcraid_allocate_hcams()