Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_target.c115 *cmd, struct atio_from_isp *atio, int ha_locked, int ul_abort);
117 struct atio_from_isp *atio, uint16_t status, int qfull);
248 struct atio_from_isp *atio, uint8_t ha_locked) in qlt_queue_unknown_atio() argument
266 memcpy(&u->atio, atio, sizeof(*atio)); in qlt_queue_unknown_atio()
279 qlt_send_term_exchange(vha->hw->base_qpair, NULL, atio, ha_locked, 0); in qlt_queue_unknown_atio()
298 &u->atio, ha_locked, 0); in qlt_try_to_dequeue_unknown_atios()
302 host = qlt_find_host_by_d_id(vha, u->atio.u.isp24.fcp_hdr.d_id); in qlt_try_to_dequeue_unknown_atios()
306 qlt_24xx_atio_pkt(host, &u->atio, ha_locked); in qlt_try_to_dequeue_unknown_atios()
312 &u->atio, ha_locked, 0); in qlt_try_to_dequeue_unknown_atios()
341 struct atio_from_isp *atio, uint8_t ha_locked) in qlt_24xx_atio_pkt_all_vps() argument
[all …]
Dqla_target.h361 static inline int fcpcmd_is_corrupted(struct atio *atio) in fcpcmd_is_corrupted() argument
363 if (atio->entry_type == ATIO_TYPE7 && in fcpcmd_is_corrupted()
364 ((le16_to_cpu(atio->attr_n_length) & FCP_CMD_LENGTH_MASK) < in fcpcmd_is_corrupted()
372 static inline void adjust_corrupted_atio(struct atio_from_isp *atio) in adjust_corrupted_atio() argument
374 atio->u.raw.attr_n_length = cpu_to_le16(FCP_CMD_LENGTH_MIN); in adjust_corrupted_atio()
375 atio->u.isp24.fcp_cmnd.add_cdb_len = 0; in adjust_corrupted_atio()
378 static inline int get_datalen_for_atio(struct atio_from_isp *atio) in get_datalen_for_atio() argument
380 int len = atio->u.isp24.fcp_cmnd.add_cdb_len; in get_datalen_for_atio()
382 return get_unaligned_be32(&atio->u.isp24.fcp_cmnd.add_cdb[len * 4]); in get_datalen_for_atio()
821 struct atio_from_isp atio; member
[all …]
Dqla_tmpl.c367 struct atio *atr = ha->tgt.atio_ring; in qla27xx_fwdt_entry_t263()
661 struct atio *atr = ha->tgt.atio_ring_ptr; in qla27xx_fwdt_entry_t274()
Dqla_def.h1857 struct atio { struct
3635 struct atio_que *atio; member
3799 struct atio *atio_ring; /* Base virtual address */
3800 struct atio *atio_ring_ptr; /* Current address. */
/Linux-v5.10/drivers/scsi/aic7xxx/
Daic7xxx_core.c7800 struct ccb_accept_tio *atio; in ahc_handle_target_cmd() local
7822 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); in ahc_handle_target_cmd()
7823 if (atio == NULL) { in ahc_handle_target_cmd()
7842 atio->ccb_h.target_id = target; in ahc_handle_target_cmd()
7843 atio->ccb_h.target_lun = lun; in ahc_handle_target_cmd()
7850 atio->sense_len = 0; in ahc_handle_target_cmd()
7851 atio->init_id = initiator; in ahc_handle_target_cmd()
7854 atio->tag_action = *byte++; in ahc_handle_target_cmd()
7855 atio->tag_id = *byte++; in ahc_handle_target_cmd()
7856 atio->ccb_h.flags = CAM_TAG_ACTION_VALID; in ahc_handle_target_cmd()
[all …]
Daic79xx_core.c10621 struct ccb_accept_tio *atio; in ahd_handle_target_cmd() local
10643 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); in ahd_handle_target_cmd()
10644 if (atio == NULL) { in ahd_handle_target_cmd()
10662 atio->ccb_h.target_id = target; in ahd_handle_target_cmd()
10663 atio->ccb_h.target_lun = lun; in ahd_handle_target_cmd()
10670 atio->sense_len = 0; in ahd_handle_target_cmd()
10671 atio->init_id = initiator; in ahd_handle_target_cmd()
10674 atio->tag_action = *byte++; in ahd_handle_target_cmd()
10675 atio->tag_id = *byte++; in ahd_handle_target_cmd()
10676 atio->ccb_h.flags = CAM_TAG_ACTION_VALID; in ahd_handle_target_cmd()
[all …]