Searched refs:mptr (Results 1 – 5 of 5) sorted by relevance
/drivers/message/i2o/ |
D | memory.c | 77 u32 *mptr = *sg_ptr; in i2o_dma_map_single() local 95 *mptr++ = cpu_to_le32(0x7C020002); in i2o_dma_map_single() 96 *mptr++ = cpu_to_le32(PAGE_SIZE); in i2o_dma_map_single() 100 *mptr++ = cpu_to_le32(sg_flags | size); in i2o_dma_map_single() 101 *mptr++ = cpu_to_le32(i2o_dma_low(dma_addr)); in i2o_dma_map_single() 104 *mptr++ = cpu_to_le32(i2o_dma_high(dma_addr)); in i2o_dma_map_single() 106 *sg_ptr = mptr; in i2o_dma_map_single() 131 u32 *mptr = *sg_ptr; in i2o_dma_map_sg() local 150 *mptr++ = cpu_to_le32(0x7C020002); in i2o_dma_map_sg() 151 *mptr++ = cpu_to_le32(PAGE_SIZE); in i2o_dma_map_sg() [all …]
|
D | i2o_block.c | 315 u32 ** mptr) in i2o_block_sglist_alloc() argument 330 return i2o_dma_map_sg(c, ireq->sg_table, nents, direction, mptr); in i2o_block_sglist_alloc() 722 u32 *mptr; in i2o_block_transfer() local 753 mptr = &msg->body[0]; in i2o_block_transfer() 812 *mptr++ = cpu_to_le32(I2O_VENDOR_DPT << 16 | I2O_CMD_SCSI_EXEC); in i2o_block_transfer() 813 *mptr++ = cpu_to_le32(tid); in i2o_block_transfer() 828 *mptr++ = cpu_to_le32(scsi_flags); in i2o_block_transfer() 833 memcpy(mptr, cmd, 10); in i2o_block_transfer() 834 mptr += 4; in i2o_block_transfer() 835 *mptr++ = cpu_to_le32(req->nr_sectors << KERNEL_SECTOR_SHIFT); in i2o_block_transfer() [all …]
|
D | i2o_scsi.c | 523 u32 *mptr; in i2o_scsi_queuecommand() local 586 mptr = &msg->body[0]; in i2o_scsi_queuecommand() 622 *mptr++ = cpu_to_le32(I2O_VENDOR_DPT << 16 | I2O_CMD_SCSI_EXEC); in i2o_scsi_queuecommand() 623 *mptr++ = cpu_to_le32(adpt_flags | tid); in i2o_scsi_queuecommand() 655 *mptr++ = cpu_to_le32(scsi_flags | SCpnt->cmd_len); in i2o_scsi_queuecommand() 658 memcpy(mptr, SCpnt->cmnd, 16); in i2o_scsi_queuecommand() 659 mptr += 4; in i2o_scsi_queuecommand() 663 *mptr++ = cpu_to_le32(scsi_bufflen(SCpnt)); in i2o_scsi_queuecommand() 670 SCpnt->sc_data_direction, &mptr)) in i2o_scsi_queuecommand() 677 cpu_to_le32(I2O_MESSAGE_SIZE(mptr - &msg->u.head[0]) | sgl_offset); in i2o_scsi_queuecommand()
|
/drivers/scsi/ |
D | dpt_i2o.c | 312 u32 *mptr; in adpt_inquiry() local 353 mptr=msg+7; in adpt_inquiry() 365 memcpy(mptr, scb, sizeof(scb)); in adpt_inquiry() 366 mptr+=4; in adpt_inquiry() 367 lenptr=mptr++; /* Remember me - fill in when we know */ in adpt_inquiry() 372 *mptr++ = (0x7C<<24)+(2<<16)+0x02; /* Enable 64 bit */ in adpt_inquiry() 373 *mptr++ = 1 << PAGE_SHIFT; in adpt_inquiry() 374 *mptr++ = 0xD0000000|direction|len; in adpt_inquiry() 375 *mptr++ = dma_low(addr); in adpt_inquiry() 376 *mptr++ = dma_high(addr); in adpt_inquiry() [all …]
|
D | qla1280.c | 2395 uint16_t __iomem *mptr; in qla1280_mailbox_command() local 2412 mptr = (uint16_t __iomem *) ®->mailbox0; in qla1280_mailbox_command() 2416 WRT_REG_WORD(mptr, (*iptr)); in qla1280_mailbox_command() 2420 mptr++; in qla1280_mailbox_command()
|