skmsg 219 drivers/block/skd_main.c struct skd_fitmsg_context *skmsg; skmsg 357 drivers/block/skd_main.c struct skd_fitmsg_context *skmsg); skmsg 484 drivers/block/skd_main.c struct skd_fitmsg_context *skmsg; skmsg 536 drivers/block/skd_main.c skmsg = NULL; skmsg 539 drivers/block/skd_main.c skmsg = skdev->skmsg; skmsg 541 drivers/block/skd_main.c if (!skmsg) { skmsg 542 drivers/block/skd_main.c skmsg = &skdev->skmsg_table[tag]; skmsg 543 drivers/block/skd_main.c skdev->skmsg = skmsg; skmsg 546 drivers/block/skd_main.c fmh = &skmsg->msg_buf->fmh; skmsg 549 drivers/block/skd_main.c skmsg->length = sizeof(*fmh); skmsg 551 drivers/block/skd_main.c fmh = &skmsg->msg_buf->fmh; skmsg 554 drivers/block/skd_main.c skreq->fitmsg_id = skmsg->id; skmsg 556 drivers/block/skd_main.c scsi_req = &skmsg->msg_buf->scsi[fmh->num_protocol_cmds_coalesced]; skmsg 578 drivers/block/skd_main.c skmsg->length += sizeof(struct skd_scsi_request); skmsg 588 drivers/block/skd_main.c skd_send_fitmsg(skdev, skmsg); skmsg 592 drivers/block/skd_main.c skd_send_fitmsg(skdev, skmsg); skmsg 593 drivers/block/skd_main.c skdev->skmsg = NULL; skmsg 1195 drivers/block/skd_main.c struct skd_fitmsg_context *skmsg) skmsg 1200 drivers/block/skd_main.c &skmsg->mb_dma_address, skd_in_flight(skdev)); skmsg 1201 drivers/block/skd_main.c dev_dbg(&skdev->pdev->dev, "msg_buf %p\n", skmsg->msg_buf); skmsg 1203 drivers/block/skd_main.c qcmd = skmsg->mb_dma_address; skmsg 1207 drivers/block/skd_main.c u8 *bp = (u8 *)skmsg->msg_buf; skmsg 1209 drivers/block/skd_main.c for (i = 0; i < skmsg->length; i += 8) { skmsg 1217 drivers/block/skd_main.c if (skmsg->length > 256) skmsg 1219 drivers/block/skd_main.c else if (skmsg->length > 128) skmsg 1221 drivers/block/skd_main.c else if (skmsg->length > 64) skmsg 1231 drivers/block/skd_main.c dma_sync_single_for_device(&skdev->pdev->dev, skmsg->mb_dma_address, skmsg 1232 drivers/block/skd_main.c skmsg->length, DMA_TO_DEVICE); skmsg 2678 drivers/block/skd_main.c struct skd_fitmsg_context *skmsg; skmsg 2680 drivers/block/skd_main.c skmsg = &skdev->skmsg_table[i]; skmsg 2682 drivers/block/skd_main.c skmsg->id = i + SKD_ID_FIT_MSG; skmsg 2684 drivers/block/skd_main.c skmsg->msg_buf = dma_alloc_coherent(&skdev->pdev->dev, skmsg 2686 drivers/block/skd_main.c &skmsg->mb_dma_address, skmsg 2688 drivers/block/skd_main.c if (skmsg->msg_buf == NULL) { skmsg 2693 drivers/block/skd_main.c WARN(((uintptr_t)skmsg->msg_buf | skmsg->mb_dma_address) & skmsg 2696 drivers/block/skd_main.c skmsg->msg_buf, &skmsg->mb_dma_address); skmsg 2994 drivers/block/skd_main.c struct skd_fitmsg_context *skmsg; skmsg 2996 drivers/block/skd_main.c skmsg = &skdev->skmsg_table[i]; skmsg 2998 drivers/block/skd_main.c if (skmsg->msg_buf != NULL) { skmsg 3000 drivers/block/skd_main.c skmsg->msg_buf, skmsg 3001 drivers/block/skd_main.c skmsg->mb_dma_address); skmsg 3003 drivers/block/skd_main.c skmsg->msg_buf = NULL; skmsg 3004 drivers/block/skd_main.c skmsg->mb_dma_address = 0;