Searched refs:sns_cmd (Results 1 – 3 of 3) sorted by relevance
712 struct sns_cmd_pkt *sns_cmd; in qla2x00_prep_sns_cmd() local715 sns_cmd = ha->sns_cmd; in qla2x00_prep_sns_cmd()716 memset(sns_cmd, 0, sizeof(struct sns_cmd_pkt)); in qla2x00_prep_sns_cmd()718 sns_cmd->p.cmd.buffer_length = cpu_to_le16(wc); in qla2x00_prep_sns_cmd()719 sns_cmd->p.cmd.buffer_address[0] = cpu_to_le32(LSD(ha->sns_cmd_dma)); in qla2x00_prep_sns_cmd()720 sns_cmd->p.cmd.buffer_address[1] = cpu_to_le32(MSD(ha->sns_cmd_dma)); in qla2x00_prep_sns_cmd()721 sns_cmd->p.cmd.subcommand_length = cpu_to_le16(scmd_len); in qla2x00_prep_sns_cmd()722 sns_cmd->p.cmd.subcommand = cpu_to_le16(cmd); in qla2x00_prep_sns_cmd()724 sns_cmd->p.cmd.size = cpu_to_le16(wc); in qla2x00_prep_sns_cmd()726 return (sns_cmd); in qla2x00_prep_sns_cmd()[all …]
2695 ha->sns_cmd = dma_alloc_coherent(&ha->pdev->dev, in qla2x00_mem_alloc()2697 if (!ha->sns_cmd) in qla2x00_mem_alloc()2894 if (ha->sns_cmd) in qla2x00_mem_free()2896 ha->sns_cmd, ha->sns_cmd_dma); in qla2x00_mem_free()2958 ha->sns_cmd = NULL; in qla2x00_mem_free()
2602 struct sns_cmd_pkt *sns_cmd; member