• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/block/

Lines Matching refs:mg_host

108 struct mg_host {
117 void (*mg_do_intr) (struct mg_host *);
149 static bool mg_end_request(struct mg_host *host, int err, unsigned int nr_bytes)
158 static bool mg_end_request_cur(struct mg_host *host, int err)
164 struct mg_host *host)
213 static unsigned int mg_wait(struct mg_host *host, u32 expect, u32 msec)
282 static void mg_unexpected_intr(struct mg_host *host)
291 struct mg_host *host = dev_id;
292 void (*handler)(struct mg_host *) = host->mg_do_intr;
343 static int mg_get_disk_id(struct mg_host *host)
403 static int mg_disk_init(struct mg_host *host)
443 static void mg_bad_rw_intr(struct mg_host *host)
451 static unsigned int mg_out(struct mg_host *host,
455 void (*intr_addr)(struct mg_host *))
480 static void mg_read_one(struct mg_host *host, struct request *req)
492 struct mg_host *host = req->rq_disk->private_data;
515 static void mg_write_one(struct mg_host *host, struct request *req)
527 struct mg_host *host = req->rq_disk->private_data;
564 static void mg_read_intr(struct mg_host *host)
601 static void mg_write_intr(struct mg_host *host)
641 struct mg_host *host = (struct mg_host *)data;
664 struct mg_host *host = q->queuedata;
686 struct mg_host *host,
725 struct mg_host *host = q->queuedata;
771 struct mg_host *host = bdev->bd_disk->private_data;
786 struct mg_host *host = prv_data->host;
810 struct mg_host *host = prv_data->host;
830 struct mg_host *host;
842 /* alloc mg_host */
843 host = kzalloc(sizeof(struct mg_host), GFP_KERNEL);
845 printk(KERN_ERR "%s:%d fail (no memory for mg_host)\n",
1034 struct mg_host *host = prv_data->host;
1068 /* free mg_host */