Home
last modified time | relevance | path

Searched refs:atio (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_target.c126 *cmd, struct atio_from_isp *atio, int ha_locked, int ul_abort);
128 struct atio_from_isp *atio, uint16_t status, int qfull);
257 struct atio_from_isp *atio, uint8_t ha_locked) in qlt_queue_unknown_atio() argument
275 memcpy(&u->atio, atio, sizeof(*atio)); in qlt_queue_unknown_atio()
288 qlt_send_term_exchange(vha->hw->base_qpair, NULL, atio, ha_locked, 0); in qlt_queue_unknown_atio()
307 &u->atio, ha_locked, 0); in qlt_try_to_dequeue_unknown_atios()
311 host = qlt_find_host_by_d_id(vha, u->atio.u.isp24.fcp_hdr.d_id); in qlt_try_to_dequeue_unknown_atios()
315 qlt_24xx_atio_pkt(host, &u->atio, ha_locked); in qlt_try_to_dequeue_unknown_atios()
321 &u->atio, ha_locked, 0); in qlt_try_to_dequeue_unknown_atios()
350 struct atio_from_isp *atio, uint8_t ha_locked) in qlt_24xx_atio_pkt_all_vps() argument
[all …]
Dqla_target.h374 static inline int fcpcmd_is_corrupted(struct atio *atio) in fcpcmd_is_corrupted() argument
376 if (atio->entry_type == ATIO_TYPE7 && in fcpcmd_is_corrupted()
377 ((le16_to_cpu(atio->attr_n_length) & FCP_CMD_LENGTH_MASK) < in fcpcmd_is_corrupted()
385 static inline void adjust_corrupted_atio(struct atio_from_isp *atio) in adjust_corrupted_atio() argument
387 atio->u.raw.attr_n_length = cpu_to_le16(FCP_CMD_LENGTH_MIN); in adjust_corrupted_atio()
388 atio->u.isp24.fcp_cmnd.add_cdb_len = 0; in adjust_corrupted_atio()
391 static inline int get_datalen_for_atio(struct atio_from_isp *atio) in get_datalen_for_atio() argument
393 int len = atio->u.isp24.fcp_cmnd.add_cdb_len; in get_datalen_for_atio()
396 &atio->u.isp24.fcp_cmnd.add_cdb[len * 4]))); in get_datalen_for_atio()
844 struct atio_from_isp atio; member
[all …]
Dqla_tmpl.c431 struct atio *atr = ha->tgt.atio_ring; in qla27xx_fwdt_entry_t263()
727 struct atio *atr = ha->tgt.atio_ring_ptr; in qla27xx_fwdt_entry_t274()
Dqla_def.h1702 struct atio { struct
3479 struct atio_que *atio; member
3508 struct atio *atio_ring; /* Base virtual address */
3509 struct atio *atio_ring_ptr; /* Current address. */
/Linux-v4.19/drivers/scsi/aic7xxx/
Daic7xxx_core.c7862 struct ccb_accept_tio *atio; in ahc_handle_target_cmd() local
7884 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); in ahc_handle_target_cmd()
7885 if (atio == NULL) { in ahc_handle_target_cmd()
7904 atio->ccb_h.target_id = target; in ahc_handle_target_cmd()
7905 atio->ccb_h.target_lun = lun; in ahc_handle_target_cmd()
7912 atio->sense_len = 0; in ahc_handle_target_cmd()
7913 atio->init_id = initiator; in ahc_handle_target_cmd()
7916 atio->tag_action = *byte++; in ahc_handle_target_cmd()
7917 atio->tag_id = *byte++; in ahc_handle_target_cmd()
7918 atio->ccb_h.flags = CAM_TAG_ACTION_VALID; in ahc_handle_target_cmd()
[all …]
Daic79xx_core.c10702 struct ccb_accept_tio *atio; in ahd_handle_target_cmd() local
10724 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); in ahd_handle_target_cmd()
10725 if (atio == NULL) { in ahd_handle_target_cmd()
10743 atio->ccb_h.target_id = target; in ahd_handle_target_cmd()
10744 atio->ccb_h.target_lun = lun; in ahd_handle_target_cmd()
10751 atio->sense_len = 0; in ahd_handle_target_cmd()
10752 atio->init_id = initiator; in ahd_handle_target_cmd()
10755 atio->tag_action = *byte++; in ahd_handle_target_cmd()
10756 atio->tag_id = *byte++; in ahd_handle_target_cmd()
10757 atio->ccb_h.flags = CAM_TAG_ACTION_VALID; in ahd_handle_target_cmd()
[all …]