Searched refs:sns_cmd (Results 1 – 3 of 3) sorted by relevance
975 struct sns_cmd_pkt *sns_cmd; in qla2x00_prep_sns_cmd() local978 sns_cmd = ha->sns_cmd; in qla2x00_prep_sns_cmd()979 memset(sns_cmd, 0, sizeof(struct sns_cmd_pkt)); in qla2x00_prep_sns_cmd()981 sns_cmd->p.cmd.buffer_length = cpu_to_le16(wc); in qla2x00_prep_sns_cmd()982 put_unaligned_le64(ha->sns_cmd_dma, &sns_cmd->p.cmd.buffer_address); in qla2x00_prep_sns_cmd()983 sns_cmd->p.cmd.subcommand_length = cpu_to_le16(scmd_len); in qla2x00_prep_sns_cmd()984 sns_cmd->p.cmd.subcommand = cpu_to_le16(cmd); in qla2x00_prep_sns_cmd()986 sns_cmd->p.cmd.size = cpu_to_le16(wc); in qla2x00_prep_sns_cmd()990 return (sns_cmd); in qla2x00_prep_sns_cmd()1007 struct sns_cmd_pkt *sns_cmd; in qla2x00_sns_ga_nxt() local[all …]
4318 ha->sns_cmd = dma_alloc_coherent(&ha->pdev->dev, in qla2x00_mem_alloc()4320 if (!ha->sns_cmd) in qla2x00_mem_alloc()4323 "sns_cmd: %p.\n", ha->sns_cmd); in qla2x00_mem_alloc()4539 if (ha->sns_cmd) in qla2x00_mem_alloc()4541 ha->sns_cmd, ha->sns_cmd_dma); in qla2x00_mem_alloc()4907 if (ha->sns_cmd) in qla2x00_mem_free()4909 ha->sns_cmd, ha->sns_cmd_dma); in qla2x00_mem_free()4910 ha->sns_cmd = NULL; in qla2x00_mem_free()
4450 struct sns_cmd_pkt *sns_cmd; member