RE: [PATCH] mmc: core: Add packed command for eMMC4.5 device

2011-11-20 Thread merez
Maya Erez wrote: + if (reqs = 2) { + mmc_blk_packed_hdr_wrq_prep(mq-mqrq_cur, card, mq, reqs); + if (rq_data_dir(rqc) == READ) { + areq = mq-mqrq_cur-mmc_active; +

RE: [PATCH] mmc: core: Add packed command for eMMC4.5 device

2011-11-17 Thread Seungwon Jeon
Sahitya Tummala wrote: Hi, On 10/27/2011 4:24 PM, Seungwon Jeon wrote: +static int mmc_blk_packed_err_check(struct mmc_card *card, +struct mmc_async_req *areq) +{ + struct mmc_queue_req *mq_mrq = container_of(areq, struct mmc_queue_req, +

Re: [PATCH] mmc: core: Add packed command for eMMC4.5 device

2011-11-16 Thread Sahitya Tummala
Hi, On 10/27/2011 4:24 PM, Seungwon Jeon wrote: +static int mmc_blk_packed_err_check(struct mmc_card *card, +struct mmc_async_req *areq) +{ + struct mmc_queue_req *mq_mrq = container_of(areq, struct mmc_queue_req, +

RE: [PATCH] mmc: core: Add packed command for eMMC4.5 device

2011-11-16 Thread Seungwon Jeon
Maya Erez wrote: + if (reqs = 2) { + mmc_blk_packed_hdr_wrq_prep(mq-mqrq_cur, card, mq, reqs); + if (rq_data_dir(rqc) == READ) { + areq = mq-mqrq_cur-mmc_active; +

Re: [PATCH] mmc: core: Add packed command for eMMC4.5 device

2011-10-27 Thread S, Venkatraman
On Thu, Oct 27, 2011 at 4:24 PM, Seungwon Jeon tgih@samsung.com wrote: This patch supports packed command feature of eMMC4.5 Spec. Several reads(or writes) can be grouped in packed command and all data of the individual commands can be sent in one transfer on the bus. Signed-off-by:

RE: [PATCH] mmc: core: Add packed command for eMMC4.5 device

2011-10-27 Thread Seungwon Jeon
S, Venkatraman svenk...@ti.com wrote: On Thu, Oct 27, 2011 at 4:24 PM, Seungwon Jeon tgih@samsung.com wrote: This patch supports packed command feature of eMMC4.5 Spec. Several reads(or writes) can be grouped in packed command and all data of the individual commands can be sent in one