Home
last modified time | relevance | path

Searched refs:sns_cmd (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_gs.c975 struct sns_cmd_pkt *sns_cmd; in qla2x00_prep_sns_cmd() local
978 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 …]
Dqla_os.c4278 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()
Dqla_def.h4363 struct sns_cmd_pkt *sns_cmd; member