Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_target.c108 *cmd, struct atio_from_isp *atio, int ha_locked, int ul_abort);
110 struct atio_from_isp *atio, uint16_t status, int qfull);
224 struct atio_from_isp *atio, uint8_t ha_locked) in qlt_queue_unknown_atio() argument
242 memcpy(&u->atio, atio, sizeof(*atio)); in qlt_queue_unknown_atio()
255 qlt_send_term_exchange(vha->hw->base_qpair, NULL, atio, ha_locked, 0); in qlt_queue_unknown_atio()
274 &u->atio, ha_locked, 0); in qlt_try_to_dequeue_unknown_atios()
278 host = qla_find_host_by_d_id(vha, u->atio.u.isp24.fcp_hdr.d_id); in qlt_try_to_dequeue_unknown_atios()
282 qlt_24xx_atio_pkt(host, &u->atio, ha_locked); in qlt_try_to_dequeue_unknown_atios()
288 &u->atio, ha_locked, 0); in qlt_try_to_dequeue_unknown_atios()
317 struct atio_from_isp *atio, uint8_t ha_locked) in qlt_24xx_atio_pkt_all_vps() argument
[all …]
Dqla_target.h366 static inline int fcpcmd_is_corrupted(struct atio *atio) in fcpcmd_is_corrupted() argument
368 if (atio->entry_type == ATIO_TYPE7 && in fcpcmd_is_corrupted()
369 ((le16_to_cpu(atio->attr_n_length) & FCP_CMD_LENGTH_MASK) < in fcpcmd_is_corrupted()
377 static inline void adjust_corrupted_atio(struct atio_from_isp *atio) in adjust_corrupted_atio() argument
379 atio->u.raw.attr_n_length = cpu_to_le16(FCP_CMD_LENGTH_MIN); in adjust_corrupted_atio()
380 atio->u.isp24.fcp_cmnd.add_cdb_len = 0; in adjust_corrupted_atio()
383 static inline int get_datalen_for_atio(struct atio_from_isp *atio) in get_datalen_for_atio() argument
385 int len = atio->u.isp24.fcp_cmnd.add_cdb_len; in get_datalen_for_atio()
387 return get_unaligned_be32(&atio->u.isp24.fcp_cmnd.add_cdb[len * 4]); in get_datalen_for_atio()
832 struct atio_from_isp atio; member
[all …]
Dqla_tmpl.c367 struct atio *atr = ha->tgt.atio_ring; in qla27xx_fwdt_entry_t263()
666 struct atio *atr = ha->tgt.atio_ring_ptr; in qla27xx_fwdt_entry_t274()
Dqla_def.h1973 struct atio { struct
3851 struct atio_que *atio; member
4020 struct atio *atio_ring; /* Base virtual address */
4021 struct atio *atio_ring_ptr; /* Current address. */
/linux-6.12.1/drivers/scsi/aic7xxx/
Daic7xxx_core.c7793 struct ccb_accept_tio *atio; in ahc_handle_target_cmd() local
7815 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); in ahc_handle_target_cmd()
7816 if (atio == NULL) { in ahc_handle_target_cmd()
7835 atio->ccb_h.target_id = target; in ahc_handle_target_cmd()
7836 atio->ccb_h.target_lun = lun; in ahc_handle_target_cmd()
7843 atio->sense_len = 0; in ahc_handle_target_cmd()
7844 atio->init_id = initiator; in ahc_handle_target_cmd()
7847 atio->tag_action = *byte++; in ahc_handle_target_cmd()
7848 atio->tag_id = *byte++; in ahc_handle_target_cmd()
7849 atio->ccb_h.flags = CAM_TAG_ACTION_VALID; in ahc_handle_target_cmd()
[all …]
Daic79xx_core.c10616 struct ccb_accept_tio *atio; in ahd_handle_target_cmd() local
10638 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); in ahd_handle_target_cmd()
10639 if (atio == NULL) { in ahd_handle_target_cmd()
10657 atio->ccb_h.target_id = target; in ahd_handle_target_cmd()
10658 atio->ccb_h.target_lun = lun; in ahd_handle_target_cmd()
10665 atio->sense_len = 0; in ahd_handle_target_cmd()
10666 atio->init_id = initiator; in ahd_handle_target_cmd()
10669 atio->tag_action = *byte++; in ahd_handle_target_cmd()
10670 atio->tag_id = *byte++; in ahd_handle_target_cmd()
10671 atio->ccb_h.flags = CAM_TAG_ACTION_VALID; in ahd_handle_target_cmd()
[all …]