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 …]
4278 ha->sns_cmd = dma_alloc_coherent(&ha->pdev->dev, in qla2x00_mem_alloc()4280 if (!ha->sns_cmd) in qla2x00_mem_alloc()4283 "sns_cmd: %p.\n", ha->sns_cmd); in qla2x00_mem_alloc()4486 if (ha->sns_cmd) in qla2x00_mem_alloc()4488 ha->sns_cmd, ha->sns_cmd_dma); in qla2x00_mem_alloc()4851 if (ha->sns_cmd) in qla2x00_mem_free()4853 ha->sns_cmd, ha->sns_cmd_dma); in qla2x00_mem_free()4854 ha->sns_cmd = NULL; in qla2x00_mem_free()
4363 struct sns_cmd_pkt *sns_cmd; member