Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_target.c117 *cmd, struct atio_from_isp *atio, int ha_locked, int ul_abort);
119 struct atio_from_isp *atio, uint16_t status, int qfull);
250 struct atio_from_isp *atio, uint8_t ha_locked) in qlt_queue_unknown_atio() argument
268 memcpy(&u->atio, atio, sizeof(*atio)); in qlt_queue_unknown_atio()
281 qlt_send_term_exchange(vha->hw->base_qpair, NULL, atio, ha_locked, 0); in qlt_queue_unknown_atio()
300 &u->atio, ha_locked, 0); in qlt_try_to_dequeue_unknown_atios()
304 host = qlt_find_host_by_d_id(vha, u->atio.u.isp24.fcp_hdr.d_id); in qlt_try_to_dequeue_unknown_atios()
308 qlt_24xx_atio_pkt(host, &u->atio, ha_locked); in qlt_try_to_dequeue_unknown_atios()
314 &u->atio, ha_locked, 0); in qlt_try_to_dequeue_unknown_atios()
343 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()
383 &atio->u.isp24.fcp_cmnd.add_cdb[len * 4]))); in get_datalen_for_atio()
820 struct atio_from_isp atio; member
[all …]
Dqla_tmpl.c360 struct atio *atr = ha->tgt.atio_ring; in qla27xx_fwdt_entry_t263()
654 struct atio *atr = ha->tgt.atio_ring_ptr; in qla27xx_fwdt_entry_t274()
Dqla_def.h1787 struct atio { struct
3520 struct atio_que *atio; member
3552 struct atio *atio_ring; /* Base virtual address */
3553 struct atio *atio_ring_ptr; /* Current address. */
/Linux-v5.4/drivers/scsi/aic7xxx/
Daic7xxx_core.c7829 struct ccb_accept_tio *atio; in ahc_handle_target_cmd() local
7851 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); in ahc_handle_target_cmd()
7852 if (atio == NULL) { in ahc_handle_target_cmd()
7871 atio->ccb_h.target_id = target; in ahc_handle_target_cmd()
7872 atio->ccb_h.target_lun = lun; in ahc_handle_target_cmd()
7879 atio->sense_len = 0; in ahc_handle_target_cmd()
7880 atio->init_id = initiator; in ahc_handle_target_cmd()
7883 atio->tag_action = *byte++; in ahc_handle_target_cmd()
7884 atio->tag_id = *byte++; in ahc_handle_target_cmd()
7885 atio->ccb_h.flags = CAM_TAG_ACTION_VALID; in ahc_handle_target_cmd()
[all …]
Daic79xx_core.c10662 struct ccb_accept_tio *atio; in ahd_handle_target_cmd() local
10684 atio = (struct ccb_accept_tio*)SLIST_FIRST(&lstate->accept_tios); in ahd_handle_target_cmd()
10685 if (atio == NULL) { in ahd_handle_target_cmd()
10703 atio->ccb_h.target_id = target; in ahd_handle_target_cmd()
10704 atio->ccb_h.target_lun = lun; in ahd_handle_target_cmd()
10711 atio->sense_len = 0; in ahd_handle_target_cmd()
10712 atio->init_id = initiator; in ahd_handle_target_cmd()
10715 atio->tag_action = *byte++; in ahd_handle_target_cmd()
10716 atio->tag_id = *byte++; in ahd_handle_target_cmd()
10717 atio->ccb_h.flags = CAM_TAG_ACTION_VALID; in ahd_handle_target_cmd()
[all …]