Lines Matching refs:reply

633 static u32 adpt_ioctl_to_context(adpt_hba * pHba, void *reply)  in adpt_ioctl_to_context()  argument
636 return (u32)(unsigned long)reply; in adpt_ioctl_to_context()
645 pHba->ioctl_reply_context[i] = reply; in adpt_ioctl_to_context()
651 kfree (reply); in adpt_ioctl_to_context()
1708 u32* reply = NULL; in adpt_i2o_passthru() local
1746 reply = kzalloc(REPLY_FRAME_SIZE*4, GFP_KERNEL); in adpt_i2o_passthru()
1747 if(reply == NULL) { in adpt_i2o_passthru()
1753 msg[3] = adpt_ioctl_to_context(pHba, reply); in adpt_i2o_passthru()
1764 kfree (reply); in adpt_i2o_passthru()
1812 rcode, reply); in adpt_i2o_passthru()
1869 if(copy_from_user(reply+2, user_msg+2, sizeof(u32)*2)) { in adpt_i2o_passthru()
1873 if(copy_to_user(user_reply, reply, reply_size)) { in adpt_i2o_passthru()
1884 kfree (reply); in adpt_i2o_passthru()
2125 void __iomem *reply; in adpt_isr() local
2153 reply = (u8 *)pHba->reply_pool + in adpt_isr()
2158 reply = (u8 *)bus_to_virt(m); in adpt_isr()
2161 if (readl(reply) & MSG_FAIL) { in adpt_isr()
2162 u32 old_m = readl(reply+28); in adpt_isr()
2174 writel(old_context, reply+12); in adpt_isr()
2177 context = readl(reply+8); in adpt_isr()
2179 void *p = adpt_ioctl_from_context(pHba, readl(reply+12)); in adpt_isr()
2181 memcpy_fromio(p, reply, REPLY_FRAME_SIZE * 4); in adpt_isr()
2186 status = readl(reply+16); in adpt_isr()
2194 readl(reply+12)); in adpt_isr()
2201 cmd = adpt_cmd_from_context (pHba, readl(reply+12)); in adpt_isr()
2205 adpt_i2o_to_scsi(reply, cmd); in adpt_isr()
2373 static s32 adpt_i2o_to_scsi(void __iomem *reply, struct scsi_cmnd* cmd) in adpt_i2o_to_scsi() argument
2378 u32 reply_flags = readl(reply) & 0xff00; // Leave it shifted up 8 bits in adpt_i2o_to_scsi()
2382 u16 detailed_status = readl(reply+16) &0xffff; in adpt_i2o_to_scsi()
2387 scsi_set_resid(cmd, scsi_bufflen(cmd) - readl(reply+20)); in adpt_i2o_to_scsi()
2398 if (readl(reply+20) < cmd->underflow) { in adpt_i2o_to_scsi()
2464 memcpy_fromio(cmd->sense_buffer, (reply+28) , len); in adpt_i2o_to_scsi()