sha               134 drivers/crypto/ccp/ccp-crypto-sha.c 	rctx->cmd.u.sha.type = rctx->type;
sha               135 drivers/crypto/ccp/ccp-crypto-sha.c 	rctx->cmd.u.sha.ctx = &rctx->ctx_sg;
sha               139 drivers/crypto/ccp/ccp-crypto-sha.c 		rctx->cmd.u.sha.ctx_len = SHA1_DIGEST_SIZE;
sha               142 drivers/crypto/ccp/ccp-crypto-sha.c 		rctx->cmd.u.sha.ctx_len = SHA224_DIGEST_SIZE;
sha               145 drivers/crypto/ccp/ccp-crypto-sha.c 		rctx->cmd.u.sha.ctx_len = SHA256_DIGEST_SIZE;
sha               148 drivers/crypto/ccp/ccp-crypto-sha.c 		rctx->cmd.u.sha.ctx_len = SHA384_DIGEST_SIZE;
sha               151 drivers/crypto/ccp/ccp-crypto-sha.c 		rctx->cmd.u.sha.ctx_len = SHA512_DIGEST_SIZE;
sha               158 drivers/crypto/ccp/ccp-crypto-sha.c 	rctx->cmd.u.sha.src = sg;
sha               159 drivers/crypto/ccp/ccp-crypto-sha.c 	rctx->cmd.u.sha.src_len = rctx->hash_cnt;
sha               160 drivers/crypto/ccp/ccp-crypto-sha.c 	rctx->cmd.u.sha.opad = ctx->u.sha.key_len ?
sha               161 drivers/crypto/ccp/ccp-crypto-sha.c 		&ctx->u.sha.opad_sg : NULL;
sha               162 drivers/crypto/ccp/ccp-crypto-sha.c 	rctx->cmd.u.sha.opad_len = ctx->u.sha.key_len ?
sha               163 drivers/crypto/ccp/ccp-crypto-sha.c 		ctx->u.sha.opad_count : 0;
sha               164 drivers/crypto/ccp/ccp-crypto-sha.c 	rctx->cmd.u.sha.first = rctx->first;
sha               165 drivers/crypto/ccp/ccp-crypto-sha.c 	rctx->cmd.u.sha.final = rctx->final;
sha               166 drivers/crypto/ccp/ccp-crypto-sha.c 	rctx->cmd.u.sha.msg_bits = rctx->msg_bits;
sha               195 drivers/crypto/ccp/ccp-crypto-sha.c 	if (ctx->u.sha.key_len) {
sha               197 drivers/crypto/ccp/ccp-crypto-sha.c 		memcpy(rctx->buf, ctx->u.sha.ipad, block_size);
sha               274 drivers/crypto/ccp/ccp-crypto-sha.c 	struct crypto_shash *shash = ctx->u.sha.hmac_tfm;
sha               283 drivers/crypto/ccp/ccp-crypto-sha.c 	ctx->u.sha.key_len = 0;
sha               288 drivers/crypto/ccp/ccp-crypto-sha.c 	memset(ctx->u.sha.key, 0, sizeof(ctx->u.sha.key));
sha               295 drivers/crypto/ccp/ccp-crypto-sha.c 					  ctx->u.sha.key);
sha               303 drivers/crypto/ccp/ccp-crypto-sha.c 		memcpy(ctx->u.sha.key, key, key_len);
sha               307 drivers/crypto/ccp/ccp-crypto-sha.c 		ctx->u.sha.ipad[i] = ctx->u.sha.key[i] ^ HMAC_IPAD_VALUE;
sha               308 drivers/crypto/ccp/ccp-crypto-sha.c 		ctx->u.sha.opad[i] = ctx->u.sha.key[i] ^ HMAC_OPAD_VALUE;
sha               311 drivers/crypto/ccp/ccp-crypto-sha.c 	sg_init_one(&ctx->u.sha.opad_sg, ctx->u.sha.opad, block_size);
sha               312 drivers/crypto/ccp/ccp-crypto-sha.c 	ctx->u.sha.opad_count = block_size;
sha               314 drivers/crypto/ccp/ccp-crypto-sha.c 	ctx->u.sha.key_len = key_len;
sha               325 drivers/crypto/ccp/ccp-crypto-sha.c 	ctx->u.sha.key_len = 0;
sha               349 drivers/crypto/ccp/ccp-crypto-sha.c 	ctx->u.sha.hmac_tfm = hmac_tfm;
sha               358 drivers/crypto/ccp/ccp-crypto-sha.c 	if (ctx->u.sha.hmac_tfm)
sha               359 drivers/crypto/ccp/ccp-crypto-sha.c 		crypto_free_shash(ctx->u.sha.hmac_tfm);
sha               264 drivers/crypto/ccp/ccp-crypto.h 		struct ccp_sha_ctx sha;
sha               212 drivers/crypto/ccp/ccp-dev-v3.c 		| (op->u.sha.type << REQ1_SHA_TYPE_SHIFT)
sha               222 drivers/crypto/ccp/ccp-dev-v3.c 		cr[4] = lower_32_bits(op->u.sha.msg_bits);
sha               223 drivers/crypto/ccp/ccp-dev-v3.c 		cr[5] = upper_32_bits(op->u.sha.msg_bits);
sha               572 drivers/crypto/ccp/ccp-dev-v3.c 	.sha = ccp_perform_sha,
sha               115 drivers/crypto/ccp/ccp-dev-v5.c 	} sha;
sha               148 drivers/crypto/ccp/ccp-dev-v5.c #define	CCP_SHA_TYPE(p)		((p)->sha.type)
sha               384 drivers/crypto/ccp/ccp-dev-v5.c 	CCP_SHA_TYPE(&function) = op->u.sha.type;
sha               396 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_SHA_LO(&desc) = lower_32_bits(op->u.sha.msg_bits);
sha               397 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_SHA_HI(&desc) = upper_32_bits(op->u.sha.msg_bits);
sha              1090 drivers/crypto/ccp/ccp-dev-v5.c 	.sha = ccp5_perform_sha,
sha               549 drivers/crypto/ccp/ccp-dev.h 		struct ccp_sha_op sha;
sha               655 drivers/crypto/ccp/ccp-dev.h 	int (*sha)(struct ccp_op *);
sha              1472 drivers/crypto/ccp/ccp-ops.c 	struct ccp_sha_engine *sha = &cmd->u.sha;
sha              1484 drivers/crypto/ccp/ccp-ops.c 	switch (sha->type) {
sha              1486 drivers/crypto/ccp/ccp-ops.c 		if (sha->ctx_len < SHA1_DIGEST_SIZE)
sha              1491 drivers/crypto/ccp/ccp-ops.c 		if (sha->ctx_len < SHA224_DIGEST_SIZE)
sha              1496 drivers/crypto/ccp/ccp-ops.c 		if (sha->ctx_len < SHA256_DIGEST_SIZE)
sha              1502 drivers/crypto/ccp/ccp-ops.c 		    || sha->ctx_len < SHA384_DIGEST_SIZE)
sha              1508 drivers/crypto/ccp/ccp-ops.c 		    || sha->ctx_len < SHA512_DIGEST_SIZE)
sha              1516 drivers/crypto/ccp/ccp-ops.c 	if (!sha->ctx)
sha              1519 drivers/crypto/ccp/ccp-ops.c 	if (!sha->final && (sha->src_len & (block_size - 1)))
sha              1525 drivers/crypto/ccp/ccp-ops.c 		if (!sha->src_len) {
sha              1530 drivers/crypto/ccp/ccp-ops.c 			if (!sha->final)
sha              1536 drivers/crypto/ccp/ccp-ops.c 			if (sha->msg_bits)
sha              1545 drivers/crypto/ccp/ccp-ops.c 			switch (sha->type) {
sha              1562 drivers/crypto/ccp/ccp-ops.c 			scatterwalk_map_and_copy((void *)sha_zero, sha->ctx, 0,
sha              1570 drivers/crypto/ccp/ccp-ops.c 	switch (sha->type) {
sha              1622 drivers/crypto/ccp/ccp-ops.c 	if (sha->src_len && !sha->src)
sha              1629 drivers/crypto/ccp/ccp-ops.c 	op.u.sha.type = sha->type;
sha              1630 drivers/crypto/ccp/ccp-ops.c 	op.u.sha.msg_bits = sha->msg_bits;
sha              1641 drivers/crypto/ccp/ccp-ops.c 	if (sha->first) {
sha              1642 drivers/crypto/ccp/ccp-ops.c 		switch (sha->type) {
sha              1661 drivers/crypto/ccp/ccp-ops.c 		ret = ccp_set_dm_area(&ctx, 0, sha->ctx, 0,
sha              1674 drivers/crypto/ccp/ccp-ops.c 	if (sha->src) {
sha              1676 drivers/crypto/ccp/ccp-ops.c 		ret = ccp_init_data(&src, cmd_q, sha->src, sha->src_len,
sha              1683 drivers/crypto/ccp/ccp-ops.c 			if (sha->final && !src.sg_wa.bytes_left)
sha              1686 drivers/crypto/ccp/ccp-ops.c 			ret = cmd_q->ccp->vdata->perform->sha(&op);
sha              1696 drivers/crypto/ccp/ccp-ops.c 		ret = cmd_q->ccp->vdata->perform->sha(&op);
sha              1713 drivers/crypto/ccp/ccp-ops.c 	if (sha->final) {
sha              1715 drivers/crypto/ccp/ccp-ops.c 		switch (sha->type) {
sha              1720 drivers/crypto/ccp/ccp-ops.c 					sha->ctx, 0,
sha              1726 drivers/crypto/ccp/ccp-ops.c 					sha->ctx, LSB_ITEM_SIZE - ooffset,
sha              1729 drivers/crypto/ccp/ccp-ops.c 					sha->ctx, 0,
sha              1738 drivers/crypto/ccp/ccp-ops.c 		ccp_get_dm_area(&ctx, 0, sha->ctx, 0,
sha              1742 drivers/crypto/ccp/ccp-ops.c 	if (sha->final && sha->opad) {
sha              1748 drivers/crypto/ccp/ccp-ops.c 		if (sha->opad_len != block_size) {
sha              1760 drivers/crypto/ccp/ccp-ops.c 		scatterwalk_map_and_copy(hmac_buf, sha->opad, 0, block_size, 0);
sha              1761 drivers/crypto/ccp/ccp-ops.c 		switch (sha->type) {
sha              1786 drivers/crypto/ccp/ccp-ops.c 		hmac_cmd.u.sha.type = sha->type;
sha              1787 drivers/crypto/ccp/ccp-ops.c 		hmac_cmd.u.sha.ctx = sha->ctx;
sha              1788 drivers/crypto/ccp/ccp-ops.c 		hmac_cmd.u.sha.ctx_len = sha->ctx_len;
sha              1789 drivers/crypto/ccp/ccp-ops.c 		hmac_cmd.u.sha.src = &sg;
sha              1790 drivers/crypto/ccp/ccp-ops.c 		hmac_cmd.u.sha.src_len = block_size + digest_size;
sha              1791 drivers/crypto/ccp/ccp-ops.c 		hmac_cmd.u.sha.opad = NULL;
sha              1792 drivers/crypto/ccp/ccp-ops.c 		hmac_cmd.u.sha.opad_len = 0;
sha              1793 drivers/crypto/ccp/ccp-ops.c 		hmac_cmd.u.sha.first = 1;
sha              1794 drivers/crypto/ccp/ccp-ops.c 		hmac_cmd.u.sha.final = 1;
sha              1795 drivers/crypto/ccp/ccp-ops.c 		hmac_cmd.u.sha.msg_bits = (block_size + digest_size) << 3;
sha              1805 drivers/crypto/ccp/ccp-ops.c 	if (sha->src)
sha               218 drivers/crypto/mediatek/mtk-platform.h 	struct mtk_sha_rec *sha[MTK_REC_NUM];
sha               321 drivers/crypto/mediatek/mtk-sha.c 			       struct mtk_sha_rec *sha,
sha               324 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_sha_reqctx *ctx = ahash_request_ctx(sha->req);
sha               421 drivers/crypto/mediatek/mtk-sha.c static int mtk_sha_xmit(struct mtk_cryp *cryp, struct mtk_sha_rec *sha,
sha               425 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_sha_reqctx *ctx = ahash_request_ctx(sha->req);
sha               426 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_ring *ring = cryp->ring[sha->id];
sha               430 drivers/crypto/mediatek/mtk-sha.c 	err = mtk_sha_info_update(cryp, sha, len1, len2);
sha               462 drivers/crypto/mediatek/mtk-sha.c 	mtk_sha_write(cryp, RDR_PREP_COUNT(sha->id), MTK_DESC_CNT(count));
sha               463 drivers/crypto/mediatek/mtk-sha.c 	mtk_sha_write(cryp, CDR_PREP_COUNT(sha->id), MTK_DESC_CNT(count));
sha               469 drivers/crypto/mediatek/mtk-sha.c 			   struct mtk_sha_rec *sha,
sha               482 drivers/crypto/mediatek/mtk-sha.c 	return mtk_sha_xmit(cryp, sha, ctx->dma_addr, count, 0, 0);
sha               486 drivers/crypto/mediatek/mtk-sha.c 			       struct mtk_sha_rec *sha)
sha               488 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_sha_reqctx *ctx = ahash_request_ctx(sha->req);
sha               499 drivers/crypto/mediatek/mtk-sha.c 		sha->flags |= SHA_FLAGS_FINAL;
sha               507 drivers/crypto/mediatek/mtk-sha.c 		return mtk_sha_dma_map(cryp, sha, ctx, count);
sha               513 drivers/crypto/mediatek/mtk-sha.c 				struct mtk_sha_rec *sha)
sha               515 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_sha_reqctx *ctx = ahash_request_ctx(sha->req);
sha               523 drivers/crypto/mediatek/mtk-sha.c 		return mtk_sha_update_slow(cryp, sha);
sha               528 drivers/crypto/mediatek/mtk-sha.c 		return mtk_sha_update_slow(cryp, sha);
sha               532 drivers/crypto/mediatek/mtk-sha.c 		return mtk_sha_update_slow(cryp, sha);
sha               569 drivers/crypto/mediatek/mtk-sha.c 		sha->flags |= SHA_FLAGS_FINAL;
sha               575 drivers/crypto/mediatek/mtk-sha.c 			return mtk_sha_xmit(cryp, sha, ctx->dma_addr,
sha               586 drivers/crypto/mediatek/mtk-sha.c 			return mtk_sha_xmit(cryp, sha, sg_dma_address(ctx->sg),
sha               598 drivers/crypto/mediatek/mtk-sha.c 	return mtk_sha_xmit(cryp, sha, sg_dma_address(ctx->sg),
sha               603 drivers/crypto/mediatek/mtk-sha.c 			     struct mtk_sha_rec *sha)
sha               605 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_sha_reqctx *ctx = ahash_request_ctx(sha->req);
sha               610 drivers/crypto/mediatek/mtk-sha.c 	sha->flags |= SHA_FLAGS_FINAL;
sha               614 drivers/crypto/mediatek/mtk-sha.c 	return mtk_sha_dma_map(cryp, sha, ctx, count);
sha               636 drivers/crypto/mediatek/mtk-sha.c 			       struct mtk_sha_rec *sha,
sha               639 drivers/crypto/mediatek/mtk-sha.c 	if (likely(!err && (SHA_FLAGS_FINAL & sha->flags)))
sha               640 drivers/crypto/mediatek/mtk-sha.c 		err = mtk_sha_finish(sha->req);
sha               642 drivers/crypto/mediatek/mtk-sha.c 	sha->flags &= ~(SHA_FLAGS_BUSY | SHA_FLAGS_FINAL);
sha               644 drivers/crypto/mediatek/mtk-sha.c 	sha->req->base.complete(&sha->req->base, err);
sha               647 drivers/crypto/mediatek/mtk-sha.c 	tasklet_schedule(&sha->queue_task);
sha               653 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_sha_rec *sha = cryp->sha[id];
sha               659 drivers/crypto/mediatek/mtk-sha.c 	spin_lock_irqsave(&sha->lock, flags);
sha               661 drivers/crypto/mediatek/mtk-sha.c 		ret = ahash_enqueue_request(&sha->queue, req);
sha               663 drivers/crypto/mediatek/mtk-sha.c 	if (SHA_FLAGS_BUSY & sha->flags) {
sha               664 drivers/crypto/mediatek/mtk-sha.c 		spin_unlock_irqrestore(&sha->lock, flags);
sha               668 drivers/crypto/mediatek/mtk-sha.c 	backlog = crypto_get_backlog(&sha->queue);
sha               669 drivers/crypto/mediatek/mtk-sha.c 	async_req = crypto_dequeue_request(&sha->queue);
sha               671 drivers/crypto/mediatek/mtk-sha.c 		sha->flags |= SHA_FLAGS_BUSY;
sha               672 drivers/crypto/mediatek/mtk-sha.c 	spin_unlock_irqrestore(&sha->lock, flags);
sha               683 drivers/crypto/mediatek/mtk-sha.c 	sha->req = req;
sha               688 drivers/crypto/mediatek/mtk-sha.c 		err = mtk_sha_update_start(cryp, sha);
sha               691 drivers/crypto/mediatek/mtk-sha.c 			err = mtk_sha_final_req(cryp, sha);
sha               693 drivers/crypto/mediatek/mtk-sha.c 		err = mtk_sha_final_req(cryp, sha);
sha               698 drivers/crypto/mediatek/mtk-sha.c 		mtk_sha_finish_req(cryp, sha, err);
sha               713 drivers/crypto/mediatek/mtk-sha.c static void mtk_sha_unmap(struct mtk_cryp *cryp, struct mtk_sha_rec *sha)
sha               715 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_sha_reqctx *ctx = ahash_request_ctx(sha->req);
sha               737 drivers/crypto/mediatek/mtk-sha.c 			     struct mtk_sha_rec *sha)
sha               741 drivers/crypto/mediatek/mtk-sha.c 	err = mtk_sha_update_start(cryp, sha);
sha               743 drivers/crypto/mediatek/mtk-sha.c 		mtk_sha_finish_req(cryp, sha, err);
sha              1171 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_sha_rec *sha = (struct mtk_sha_rec *)data;
sha              1173 drivers/crypto/mediatek/mtk-sha.c 	mtk_sha_handle_queue(sha->cryp, sha->id - MTK_RING2, NULL);
sha              1178 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_sha_rec *sha = (struct mtk_sha_rec *)data;
sha              1179 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_cryp *cryp = sha->cryp;
sha              1181 drivers/crypto/mediatek/mtk-sha.c 	mtk_sha_unmap(cryp, sha);
sha              1182 drivers/crypto/mediatek/mtk-sha.c 	mtk_sha_complete(cryp, sha);
sha              1187 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_sha_rec *sha = (struct mtk_sha_rec *)dev_id;
sha              1188 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_cryp *cryp = sha->cryp;
sha              1189 drivers/crypto/mediatek/mtk-sha.c 	u32 val = mtk_sha_read(cryp, RDR_STAT(sha->id));
sha              1191 drivers/crypto/mediatek/mtk-sha.c 	mtk_sha_write(cryp, RDR_STAT(sha->id), val);
sha              1193 drivers/crypto/mediatek/mtk-sha.c 	if (likely((SHA_FLAGS_BUSY & sha->flags))) {
sha              1194 drivers/crypto/mediatek/mtk-sha.c 		mtk_sha_write(cryp, RDR_PROC_COUNT(sha->id), MTK_CNT_RST);
sha              1195 drivers/crypto/mediatek/mtk-sha.c 		mtk_sha_write(cryp, RDR_THRESH(sha->id),
sha              1198 drivers/crypto/mediatek/mtk-sha.c 		tasklet_schedule(&sha->done_task);
sha              1211 drivers/crypto/mediatek/mtk-sha.c 	struct mtk_sha_rec **sha = cryp->sha;
sha              1215 drivers/crypto/mediatek/mtk-sha.c 		sha[i] = kzalloc(sizeof(**sha), GFP_KERNEL);
sha              1216 drivers/crypto/mediatek/mtk-sha.c 		if (!sha[i])
sha              1219 drivers/crypto/mediatek/mtk-sha.c 		sha[i]->cryp = cryp;
sha              1221 drivers/crypto/mediatek/mtk-sha.c 		spin_lock_init(&sha[i]->lock);
sha              1222 drivers/crypto/mediatek/mtk-sha.c 		crypto_init_queue(&sha[i]->queue, SHA_QUEUE_SIZE);
sha              1224 drivers/crypto/mediatek/mtk-sha.c 		tasklet_init(&sha[i]->queue_task, mtk_sha_queue_task,
sha              1225 drivers/crypto/mediatek/mtk-sha.c 			     (unsigned long)sha[i]);
sha              1226 drivers/crypto/mediatek/mtk-sha.c 		tasklet_init(&sha[i]->done_task, mtk_sha_done_task,
sha              1227 drivers/crypto/mediatek/mtk-sha.c 			     (unsigned long)sha[i]);
sha              1231 drivers/crypto/mediatek/mtk-sha.c 	sha[0]->id = MTK_RING2;
sha              1232 drivers/crypto/mediatek/mtk-sha.c 	sha[1]->id = MTK_RING3;
sha              1240 drivers/crypto/mediatek/mtk-sha.c 		kfree(sha[i]);
sha              1249 drivers/crypto/mediatek/mtk-sha.c 		tasklet_kill(&cryp->sha[i]->done_task);
sha              1250 drivers/crypto/mediatek/mtk-sha.c 		tasklet_kill(&cryp->sha[i]->queue_task);
sha              1252 drivers/crypto/mediatek/mtk-sha.c 		kfree(cryp->sha[i]);
sha              1308 drivers/crypto/mediatek/mtk-sha.c 			       0, "mtk-sha", cryp->sha[0]);
sha              1315 drivers/crypto/mediatek/mtk-sha.c 			       0, "mtk-sha", cryp->sha[1]);
sha               200 drivers/crypto/qat/qat_common/icp_qat_hw.h 	struct icp_qat_hw_auth_sha512 sha;
sha               192 drivers/crypto/qat/qat_common/qat_algs.c 	hash_state_out = (__be32 *)hash->sha.state1;
sha               228 drivers/crypto/qat/qat_common/qat_algs.c 	hash_state_out = (__be32 *)(hash->sha.state1 + offset);
sha               315 drivers/crypto/qat/qat_common/qat_algs.c 	hash->sha.inner_setup.auth_config.config =
sha               318 drivers/crypto/qat/qat_common/qat_algs.c 	hash->sha.inner_setup.auth_counter.counter =
sha               401 drivers/crypto/qat/qat_common/qat_algs.c 	hash->sha.inner_setup.auth_config.config =
sha               405 drivers/crypto/qat/qat_common/qat_algs.c 	hash->sha.inner_setup.auth_counter.counter =
sha              2021 drivers/net/ethernet/chelsio/cxgb3/sge.c 	unsigned char *sha;
sha              2034 drivers/net/ethernet/chelsio/cxgb3/sge.c 	sha = arp_ptr;
sha              2044 drivers/net/ethernet/chelsio/cxgb3/sge.c 	arp_send(ARPOP_REPLY, ETH_P_ARP, sip, dev, tip, sha,
sha              2045 drivers/net/ethernet/chelsio/cxgb3/sge.c 		 pi->iscsic.mac_addr, sha);
sha              1815 drivers/net/vxlan.c 	u8 *arpptr, *sha;
sha              1836 drivers/net/vxlan.c 	sha = arpptr;
sha              1865 drivers/net/vxlan.c 		reply = arp_create(ARPOP_REPLY, ETH_P_ARP, sip, dev, tip, sha,
sha              1866 drivers/net/vxlan.c 				n->ha, sha);
sha               357 drivers/scsi/hisi_sas/hisi_sas.h 	struct sas_ha_struct sha;
sha               626 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_ha = &hisi_hba->sha;
sha               841 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct sas_ha_struct *sha = &hisi_hba->sha;
sha               847 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_drain_work(sha);
sha              1404 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct sas_ha_struct *sas_ha = &hisi_hba->sha;
sha              1747 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct sas_ha_struct *sas_ha = &hisi_hba->sha;
sha              2156 drivers/scsi/hisi_sas/hisi_sas_main.c static int hisi_sas_write_gpio(struct sas_ha_struct *sha, u8 reg_type,
sha              2159 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct hisi_hba *hisi_hba = sha->lldd_ha;
sha              2190 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct sas_ha_struct *sas_ha = &hisi_hba->sha;
sha              2571 drivers/scsi/hisi_sas/hisi_sas_main.c 	SHOST_TO_SAS_HA(shost) = &hisi_hba->sha;
sha              2618 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct sas_ha_struct *sha;
sha              2625 drivers/scsi/hisi_sas/hisi_sas_main.c 	sha = SHOST_TO_SAS_HA(shost);
sha              2627 drivers/scsi/hisi_sas/hisi_sas_main.c 	platform_set_drvdata(pdev, sha);
sha              2638 drivers/scsi/hisi_sas/hisi_sas_main.c 	sha->sas_phy = arr_phy;
sha              2639 drivers/scsi/hisi_sas/hisi_sas_main.c 	sha->sas_port = arr_port;
sha              2640 drivers/scsi/hisi_sas/hisi_sas_main.c 	sha->lldd_ha = hisi_hba;
sha              2655 drivers/scsi/hisi_sas/hisi_sas_main.c 	sha->sas_ha_name = DRV_NAME;
sha              2656 drivers/scsi/hisi_sas/hisi_sas_main.c 	sha->dev = hisi_hba->dev;
sha              2657 drivers/scsi/hisi_sas/hisi_sas_main.c 	sha->lldd_module = THIS_MODULE;
sha              2658 drivers/scsi/hisi_sas/hisi_sas_main.c 	sha->sas_addr = &hisi_hba->sas_addr[0];
sha              2659 drivers/scsi/hisi_sas/hisi_sas_main.c 	sha->num_phys = hisi_hba->n_phy;
sha              2660 drivers/scsi/hisi_sas/hisi_sas_main.c 	sha->core.shost = hisi_hba->shost;
sha              2663 drivers/scsi/hisi_sas/hisi_sas_main.c 		sha->sas_phy[i] = &hisi_hba->phy[i].sas_phy;
sha              2664 drivers/scsi/hisi_sas/hisi_sas_main.c 		sha->sas_port[i] = &hisi_hba->port[i].sas_port;
sha              2671 drivers/scsi/hisi_sas/hisi_sas_main.c 	rc = sas_register_ha(sha);
sha              3861 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct sas_ha_struct *sha = platform_get_drvdata(pdev);
sha              3862 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct hisi_hba *hisi_hba = sha->lldd_ha;
sha              3863 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct Scsi_Host *shost = sha->core.shost;
sha              3868 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_unregister_ha(sha);
sha              3869 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_remove_host(sha->core.shost);
sha              1411 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct sas_ha_struct *sha = &hisi_hba->sha;
sha              1427 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 		sha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD);
sha              2818 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct sas_ha_struct *sas_ha = &hisi_hba->sha;
sha              3599 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct sas_ha_struct *sha = platform_get_drvdata(pdev);
sha              3600 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_hba *hisi_hba = sha->lldd_ha;
sha              1570 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct sas_ha_struct *sas_ha = &hisi_hba->sha;
sha              3128 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	SHOST_TO_SAS_HA(shost) = &hisi_hba->sha;
sha              3159 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct sas_ha_struct *sha;
sha              3187 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sha = SHOST_TO_SAS_HA(shost);
sha              3189 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	dev_set_drvdata(dev, sha);
sha              3207 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sha->sas_phy = arr_phy;
sha              3208 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sha->sas_port = arr_port;
sha              3209 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sha->core.shost = shost;
sha              3210 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sha->lldd_ha = hisi_hba;
sha              3220 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sha->sas_ha_name = DRV_NAME;
sha              3221 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sha->dev = dev;
sha              3222 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sha->lldd_module = THIS_MODULE;
sha              3223 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sha->sas_addr = &hisi_hba->sas_addr[0];
sha              3224 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sha->num_phys = hisi_hba->n_phy;
sha              3227 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		sha->sas_phy[i] = &hisi_hba->phy[i].sas_phy;
sha              3228 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		sha->sas_port[i] = &hisi_hba->port[i].sas_port;
sha              3247 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	rc = sas_register_ha(sha);
sha              3292 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct sas_ha_struct *sha = dev_get_drvdata(dev);
sha              3293 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_hba *hisi_hba = sha->lldd_ha;
sha              3294 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct Scsi_Host *shost = sha->core.shost;
sha              3301 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sas_unregister_ha(sha);
sha              3302 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sas_remove_host(sha->core.shost);
sha              3314 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct sas_ha_struct *sha = pci_get_drvdata(pdev);
sha              3315 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_hba *hisi_hba = sha->lldd_ha;
sha              3330 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct sas_ha_struct *sha = pci_get_drvdata(pdev);
sha              3331 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_hba *hisi_hba = sha->lldd_ha;
sha              3354 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct sas_ha_struct *sha = pci_get_drvdata(pdev);
sha              3355 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_hba *hisi_hba = sha->lldd_ha;
sha              3393 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sas_suspend_ha(sha);
sha              3399 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct sas_ha_struct *sha = pci_get_drvdata(pdev);
sha              3400 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_hba *hisi_hba = sha->lldd_ha;
sha              3421 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sas_prep_resume_ha(sha);
sha              3429 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sas_resume_ha(sha);
sha               548 drivers/scsi/libsas/sas_init.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               550 drivers/scsi/libsas/sas_init.c 	return scnprintf(buf, PAGE_SIZE, "%u\n", sha->event_thres);
sha               558 drivers/scsi/libsas/sas_init.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               560 drivers/scsi/libsas/sas_init.c 	sha->event_thres = simple_strtol(buf, NULL, 10);
sha               563 drivers/scsi/libsas/sas_init.c 	if (sha->event_thres < 32)
sha               564 drivers/scsi/libsas/sas_init.c 		sha->event_thres = 32;
sha               152 drivers/scsi/mvsas/mv_init.c 	struct sas_ha_struct *sha = (struct sas_ha_struct *)opaque;
sha               154 drivers/scsi/mvsas/mv_init.c 	core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host;
sha               155 drivers/scsi/mvsas/mv_init.c 	mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0];
sha               165 drivers/scsi/mvsas/mv_init.c 		mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i];
sha               179 drivers/scsi/mvsas/mv_init.c 	struct sas_ha_struct *sha = opaque;
sha               184 drivers/scsi/mvsas/mv_init.c 	core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host;
sha               185 drivers/scsi/mvsas/mv_init.c 	mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0];
sha               202 drivers/scsi/mvsas/mv_init.c 	tasklet_schedule(&((struct mvs_prv_info *)sha->lldd_ha)->mv_tasklet);
sha               205 drivers/scsi/mvsas/mv_init.c 		mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i];
sha               351 drivers/scsi/mvsas/mv_init.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               365 drivers/scsi/mvsas/mv_init.c 	((struct mvs_prv_info *)sha->lldd_ha)->mvi[id] = mvi;
sha               366 drivers/scsi/mvsas/mv_init.c 	((struct mvs_prv_info *)sha->lldd_ha)->n_phy = mvi->chip->n_phy;
sha               369 drivers/scsi/mvsas/mv_init.c 	mvi->sas = sha;
sha               408 drivers/scsi/mvsas/mv_init.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               414 drivers/scsi/mvsas/mv_init.c 	memset(sha, 0x00, sizeof(struct sas_ha_struct));
sha               420 drivers/scsi/mvsas/mv_init.c 	sha->sas_phy = arr_phy;
sha               421 drivers/scsi/mvsas/mv_init.c 	sha->sas_port = arr_port;
sha               422 drivers/scsi/mvsas/mv_init.c 	sha->core.shost = shost;
sha               424 drivers/scsi/mvsas/mv_init.c 	sha->lldd_ha = kzalloc(sizeof(struct mvs_prv_info), GFP_KERNEL);
sha               425 drivers/scsi/mvsas/mv_init.c 	if (!sha->lldd_ha)
sha               428 drivers/scsi/mvsas/mv_init.c 	((struct mvs_prv_info *)sha->lldd_ha)->n_host = core_nr;
sha               449 drivers/scsi/mvsas/mv_init.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               450 drivers/scsi/mvsas/mv_init.c 	unsigned short nr_core = ((struct mvs_prv_info *)sha->lldd_ha)->n_host;
sha               453 drivers/scsi/mvsas/mv_init.c 		mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[j];
sha               455 drivers/scsi/mvsas/mv_init.c 			sha->sas_phy[j * chip_info->n_phy  + i] =
sha               457 drivers/scsi/mvsas/mv_init.c 			sha->sas_port[j * chip_info->n_phy + i] =
sha               462 drivers/scsi/mvsas/mv_init.c 	sha->sas_ha_name = DRV_NAME;
sha               463 drivers/scsi/mvsas/mv_init.c 	sha->dev = mvi->dev;
sha               464 drivers/scsi/mvsas/mv_init.c 	sha->lldd_module = THIS_MODULE;
sha               465 drivers/scsi/mvsas/mv_init.c 	sha->sas_addr = &mvi->sas_addr[0];
sha               467 drivers/scsi/mvsas/mv_init.c 	sha->num_phys = nr_core * chip_info->n_phy;
sha               477 drivers/scsi/mvsas/mv_init.c 	sha->core.shost = mvi->shost;
sha               602 drivers/scsi/mvsas/mv_init.c 	struct sas_ha_struct *sha = pci_get_drvdata(pdev);
sha               605 drivers/scsi/mvsas/mv_init.c 	core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host;
sha               606 drivers/scsi/mvsas/mv_init.c 	mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0];
sha               609 drivers/scsi/mvsas/mv_init.c 	tasklet_kill(&((struct mvs_prv_info *)sha->lldd_ha)->mv_tasklet);
sha               612 drivers/scsi/mvsas/mv_init.c 	sas_unregister_ha(sha);
sha               616 drivers/scsi/mvsas/mv_init.c 	free_irq(mvi->pdev->irq, sha);
sha               618 drivers/scsi/mvsas/mv_init.c 		mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i];
sha               621 drivers/scsi/mvsas/mv_init.c 	kfree(sha->sas_phy);
sha               622 drivers/scsi/mvsas/mv_init.c 	kfree(sha->sas_port);
sha               623 drivers/scsi/mvsas/mv_init.c 	kfree(sha);
sha               715 drivers/scsi/mvsas/mv_init.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               731 drivers/scsi/mvsas/mv_init.c 	core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host;
sha               732 drivers/scsi/mvsas/mv_init.c 	mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[0];
sha               738 drivers/scsi/mvsas/mv_init.c 		mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[i];
sha                64 drivers/scsi/mvsas/mv_sas.c 	struct sas_ha_struct *sha = dev->port->ha;
sha                68 drivers/scsi/mvsas/mv_sas.c 	while (sha->sas_port[i]) {
sha                69 drivers/scsi/mvsas/mv_sas.c 		if (sha->sas_port[i] == dev->port) {
sha                70 drivers/scsi/mvsas/mv_sas.c 			phy =  container_of(sha->sas_port[i]->phy_list.next,
sha                73 drivers/scsi/mvsas/mv_sas.c 			while (sha->sas_phy[j]) {
sha                74 drivers/scsi/mvsas/mv_sas.c 				if (sha->sas_phy[j] == phy)
sha                82 drivers/scsi/mvsas/mv_sas.c 	hi = j/((struct mvs_prv_info *)sha->lldd_ha)->n_phy;
sha                83 drivers/scsi/mvsas/mv_sas.c 	mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[hi];
sha                94 drivers/scsi/mvsas/mv_sas.c 	struct sas_ha_struct *sha = dev->port->ha;
sha                96 drivers/scsi/mvsas/mv_sas.c 	while (sha->sas_port[i]) {
sha                97 drivers/scsi/mvsas/mv_sas.c 		if (sha->sas_port[i] == dev->port) {
sha               100 drivers/scsi/mvsas/mv_sas.c 				&sha->sas_port[i]->phy_list, port_phy_el) {
sha               102 drivers/scsi/mvsas/mv_sas.c 				while (sha->sas_phy[j]) {
sha               103 drivers/scsi/mvsas/mv_sas.c 					if (sha->sas_phy[j] == phy)
sha               168 drivers/scsi/mvsas/mv_sas.c 	struct sas_ha_struct *sha = sas_phy->ha;
sha               171 drivers/scsi/mvsas/mv_sas.c 	while (sha->sas_phy[i]) {
sha               172 drivers/scsi/mvsas/mv_sas.c 		if (sha->sas_phy[i] == sas_phy)
sha               176 drivers/scsi/mvsas/mv_sas.c 	hi = i/((struct mvs_prv_info *)sha->lldd_ha)->n_phy;
sha               177 drivers/scsi/mvsas/mv_sas.c 	mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[hi];
sha               274 drivers/scsi/mvsas/mv_sas.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               275 drivers/scsi/mvsas/mv_sas.c 	struct mvs_prv_info *mvs_prv = sha->lldd_ha;
sha               277 drivers/scsi/mvsas/mv_sas.c 	core_nr = ((struct mvs_prv_info *)sha->lldd_ha)->n_host;
sha               280 drivers/scsi/mvsas/mv_sas.c 		mvi = ((struct mvs_prv_info *)sha->lldd_ha)->mvi[j];
sha               289 drivers/scsi/mvsas/mv_sas.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               290 drivers/scsi/mvsas/mv_sas.c 	struct mvs_prv_info *mvs_prv = sha->lldd_ha;
sha               295 drivers/scsi/mvsas/mv_sas.c 	sas_drain_work(sha);
sha               303 drivers/scsi/mvsas/mv_sas.c 	struct sas_ha_struct *sha = mvi->sas;
sha               309 drivers/scsi/mvsas/mv_sas.c 	struct asd_sas_phy *sas_phy = sha->sas_phy[sphy->number];
sha              2094 drivers/scsi/mvsas/mv_sas.c int mvs_gpio_write(struct sas_ha_struct *sha, u8 reg_type, u8 reg_index,
sha              2097 drivers/scsi/mvsas/mv_sas.c 	struct mvs_prv_info *mvs_prv = sha->lldd_ha;
sha                58 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha                59 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha                83 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha                84 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               113 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               114 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               138 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               139 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               164 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               165 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               187 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               188 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               213 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               214 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               258 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               259 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               286 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               287 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               305 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               306 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               314 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               315 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               338 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               339 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               373 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               374 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               406 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               407 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               437 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               438 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               475 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               476 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               493 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               494 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               711 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               712 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               788 drivers/scsi/pm8001/pm8001_ctl.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               789 drivers/scsi/pm8001/pm8001_ctl.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha              4995 drivers/scsi/pm8001/pm8001_hwi.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha              4996 drivers/scsi/pm8001/pm8001_hwi.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               223 drivers/scsi/pm8001/pm8001_init.c 	struct sas_ha_struct *sha = dev_id;
sha               224 drivers/scsi/pm8001/pm8001_init.c 	pm8001_ha = sha->lldd_ha;
sha               454 drivers/scsi/pm8001/pm8001_init.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               457 drivers/scsi/pm8001/pm8001_init.c 	pm8001_ha = sha->lldd_ha;
sha               466 drivers/scsi/pm8001/pm8001_init.c 	pm8001_ha->sas = sha;
sha               524 drivers/scsi/pm8001/pm8001_init.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               528 drivers/scsi/pm8001/pm8001_init.c 	memset(sha, 0x00, sizeof(*sha));
sha               536 drivers/scsi/pm8001/pm8001_init.c 	sha->sas_phy = arr_phy;
sha               537 drivers/scsi/pm8001/pm8001_init.c 	sha->sas_port = arr_port;
sha               538 drivers/scsi/pm8001/pm8001_init.c 	sha->lldd_ha = kzalloc(sizeof(struct pm8001_hba_info), GFP_KERNEL);
sha               539 drivers/scsi/pm8001/pm8001_init.c 	if (!sha->lldd_ha)
sha               569 drivers/scsi/pm8001/pm8001_init.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               571 drivers/scsi/pm8001/pm8001_init.c 	pm8001_ha = sha->lldd_ha;
sha               573 drivers/scsi/pm8001/pm8001_init.c 		sha->sas_phy[i] = &pm8001_ha->phy[i].sas_phy;
sha               574 drivers/scsi/pm8001/pm8001_init.c 		sha->sas_port[i] = &pm8001_ha->port[i].sas_port;
sha               575 drivers/scsi/pm8001/pm8001_init.c 		sha->sas_phy[i]->sas_addr =
sha               578 drivers/scsi/pm8001/pm8001_init.c 	sha->sas_ha_name = DRV_NAME;
sha               579 drivers/scsi/pm8001/pm8001_init.c 	sha->dev = pm8001_ha->dev;
sha               580 drivers/scsi/pm8001/pm8001_init.c 	sha->strict_wide_ports = 1;
sha               581 drivers/scsi/pm8001/pm8001_init.c 	sha->lldd_module = THIS_MODULE;
sha               582 drivers/scsi/pm8001/pm8001_init.c 	sha->sas_addr = &pm8001_ha->sas_addr[0];
sha               583 drivers/scsi/pm8001/pm8001_init.c 	sha->num_phys = chip_info->n_phy;
sha               584 drivers/scsi/pm8001/pm8001_init.c 	sha->core.shost = shost;
sha              1072 drivers/scsi/pm8001/pm8001_init.c 	struct sas_ha_struct *sha = pci_get_drvdata(pdev);
sha              1075 drivers/scsi/pm8001/pm8001_init.c 	pm8001_ha = sha->lldd_ha;
sha              1076 drivers/scsi/pm8001/pm8001_init.c 	sas_unregister_ha(sha);
sha              1089 drivers/scsi/pm8001/pm8001_init.c 	free_irq(pm8001_ha->irq, sha);
sha              1102 drivers/scsi/pm8001/pm8001_init.c 	kfree(sha->sas_phy);
sha              1103 drivers/scsi/pm8001/pm8001_init.c 	kfree(sha->sas_port);
sha              1104 drivers/scsi/pm8001/pm8001_init.c 	kfree(sha);
sha              1118 drivers/scsi/pm8001/pm8001_init.c 	struct sas_ha_struct *sha = pci_get_drvdata(pdev);
sha              1122 drivers/scsi/pm8001/pm8001_init.c 	pm8001_ha = sha->lldd_ha;
sha              1123 drivers/scsi/pm8001/pm8001_init.c 	sas_suspend_ha(sha);
sha              1139 drivers/scsi/pm8001/pm8001_init.c 	free_irq(pm8001_ha->irq, sha);
sha              1168 drivers/scsi/pm8001/pm8001_init.c 	struct sas_ha_struct *sha = pci_get_drvdata(pdev);
sha              1174 drivers/scsi/pm8001/pm8001_init.c 	pm8001_ha = sha->lldd_ha;
sha              1194 drivers/scsi/pm8001/pm8001_init.c 	sas_prep_resume_ha(sha);
sha              1246 drivers/scsi/pm8001/pm8001_init.c 	sas_resume_ha(sha);
sha               140 drivers/scsi/pm8001/pm8001_sas.c 	struct sas_ha_struct *sha = dev->port->ha;
sha               141 drivers/scsi/pm8001/pm8001_sas.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               267 drivers/scsi/pm8001/pm8001_sas.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha               268 drivers/scsi/pm8001/pm8001_sas.c 	pm8001_ha = sha->lldd_ha;
sha                91 drivers/scsi/pm8001/pm80xx_hwi.c 	struct sas_ha_struct *sha = SHOST_TO_SAS_HA(shost);
sha                92 drivers/scsi/pm8001/pm80xx_hwi.c 	struct pm8001_hba_info *pm8001_ha = sha->lldd_ha;
sha               654 include/linux/ccp.h 		struct ccp_sha_engine sha;
sha               139 include/net/flow_dissector.h 	unsigned char sha[ETH_ALEN];
sha               154 net/appletalk/aarp.c 			    struct atalk_addr *them, unsigned char *sha)
sha               185 net/appletalk/aarp.c 	if (!sha)
sha               188 net/appletalk/aarp.c 		ether_addr_copy(eah->hw_dst, sha);
sha               195 net/appletalk/aarp.c 	aarp_dl->request(aarp_dl, skb, sha);
sha               127 net/bridge/br_arp_nd_proxy.c 	u8 *arpptr, *sha;
sha               144 net/bridge/br_arp_nd_proxy.c 	sha = arpptr;
sha               202 net/bridge/br_arp_nd_proxy.c 						    sha, n->ha, sha, 0, 0);
sha               205 net/bridge/br_arp_nd_proxy.c 						    sha, n->ha, sha,
sha               499 net/core/flow_dissector.c 	ether_addr_copy(key_arp->sha, arp_eth->ar_sha);
sha               648 net/ipv4/arp.c 			unsigned char *sha, unsigned char *tha)
sha               661 net/ipv4/arp.c 			!memcmp(tha, sha, dev->addr_len);
sha               682 net/ipv4/arp.c 	unsigned char *sha;
sha               745 net/ipv4/arp.c 	sha	= arp_ptr;
sha               779 net/ipv4/arp.c 		sha = dev->broadcast;
sha               809 net/ipv4/arp.c 				     sha, dev->dev_addr, sha, reply_dst);
sha               826 net/ipv4/arp.c 				n = neigh_event_ns(&arp_tbl, sha, &sip, dev);
sha               829 net/ipv4/arp.c 						     sip, dev, tip, sha,
sha               830 net/ipv4/arp.c 						     dev->dev_addr, sha,
sha               842 net/ipv4/arp.c 				n = neigh_event_ns(&arp_tbl, sha, &sip, dev);
sha               850 net/ipv4/arp.c 						     sip, dev, tip, sha,
sha               851 net/ipv4/arp.c 						     dev->dev_addr, sha,
sha               870 net/ipv4/arp.c 				      sip, tip, sha, tha);
sha               909 net/ipv4/arp.c 		neigh_update(n, sha, state,
sha               633 net/openvswitch/flow.c 			ether_addr_copy(key->ipv4.arp.sha, arp->ar_sha);
sha               115 net/openvswitch/flow.h 					u8 sha[ETH_ALEN];	/* ARP source hardware address. */
sha              1614 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_MEMCPY(match, ipv4.arp.sha,
sha              2114 net/openvswitch/flow_netlink.c 		ether_addr_copy(arp_key->arp_sha, output->ipv4.arp.sha);
sha              1193 net/sched/cls_flower.c 		fl_set_key_val(tb, key->arp.sha, TCA_FLOWER_KEY_ARP_SHA,
sha              1194 net/sched/cls_flower.c 			       mask->arp.sha, TCA_FLOWER_KEY_ARP_SHA_MASK,
sha              1195 net/sched/cls_flower.c 			       sizeof(key->arp.sha));
sha              2368 net/sched/cls_flower.c 		  fl_dump_key_val(skb, key->arp.sha, TCA_FLOWER_KEY_ARP_SHA,
sha              2369 net/sched/cls_flower.c 				  mask->arp.sha, TCA_FLOWER_KEY_ARP_SHA_MASK,
sha              2370 net/sched/cls_flower.c 				  sizeof(key->arp.sha)) ||