Home
last modified time | relevance | path

Searched refs:ct_pkt (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/scsi/qla2xxx/
Dqla_gs.c71 struct ct_entry_24xx *ct_pkt; in qla24xx_prep_ms_iocb() local
73 ct_pkt = (struct ct_entry_24xx *)arg->iocb; in qla24xx_prep_ms_iocb()
74 memset(ct_pkt, 0, sizeof(struct ct_entry_24xx)); in qla24xx_prep_ms_iocb()
76 ct_pkt->entry_type = CT_IOCB_TYPE; in qla24xx_prep_ms_iocb()
77 ct_pkt->entry_count = 1; in qla24xx_prep_ms_iocb()
78 ct_pkt->nport_handle = cpu_to_le16(arg->nport_handle); in qla24xx_prep_ms_iocb()
79 ct_pkt->timeout = cpu_to_le16(ha->r_a_tov / 10 * 2); in qla24xx_prep_ms_iocb()
80 ct_pkt->cmd_dsd_count = cpu_to_le16(1); in qla24xx_prep_ms_iocb()
81 ct_pkt->rsp_dsd_count = cpu_to_le16(1); in qla24xx_prep_ms_iocb()
82 ct_pkt->rsp_byte_count = cpu_to_le32(arg->rsp_size); in qla24xx_prep_ms_iocb()
[all …]
Dqla_iocb.c3714 qla2x00_ctpthru_cmd_iocb(srb_t *sp, struct ct_entry_24xx *ct_pkt) in qla2x00_ctpthru_cmd_iocb() argument
3716 sp->u.iocb_cmd.u.ctarg.iocb = ct_pkt; in qla2x00_ctpthru_cmd_iocb()
3718 ct_pkt->handle = sp->handle; in qla2x00_ctpthru_cmd_iocb()