Lines Matching refs:mg_host
108 struct mg_host { struct
117 void (*mg_do_intr) (struct mg_host *); argument
149 static bool mg_end_request(struct mg_host *host, int err, unsigned int nr_bytes) in mg_end_request() argument
158 static bool mg_end_request_cur(struct mg_host *host, int err) in mg_end_request_cur()
164 struct mg_host *host) in mg_dump_status()
213 static unsigned int mg_wait(struct mg_host *host, u32 expect, u32 msec) in mg_wait()
282 static void mg_unexpected_intr(struct mg_host *host) in mg_unexpected_intr()
291 struct mg_host *host = dev_id; in mg_irq()
292 void (*handler)(struct mg_host *) = host->mg_do_intr; in mg_irq()
343 static int mg_get_disk_id(struct mg_host *host) in mg_get_disk_id()
403 static int mg_disk_init(struct mg_host *host) in mg_disk_init()
443 static void mg_bad_rw_intr(struct mg_host *host) in mg_bad_rw_intr()
451 static unsigned int mg_out(struct mg_host *host, in mg_out()
455 void (*intr_addr)(struct mg_host *)) in mg_out() argument
480 static void mg_read_one(struct mg_host *host, struct request *req) in mg_read_one()
492 struct mg_host *host = req->rq_disk->private_data; in mg_read()
515 static void mg_write_one(struct mg_host *host, struct request *req) in mg_write_one()
527 struct mg_host *host = req->rq_disk->private_data; in mg_write()
564 static void mg_read_intr(struct mg_host *host) in mg_read_intr()
601 static void mg_write_intr(struct mg_host *host) in mg_write_intr()
641 struct mg_host *host = (struct mg_host *)data; in mg_times_out()
664 struct mg_host *host = q->queuedata; in mg_request_poll()
686 struct mg_host *host, in mg_issue_req()
725 struct mg_host *host = q->queuedata; in mg_request()
771 struct mg_host *host = bdev->bd_disk->private_data; in mg_getgeo()
787 struct mg_host *host = prv_data->host; in mg_suspend()
811 struct mg_host *host = prv_data->host; in mg_resume()
834 struct mg_host *host; in mg_probe()
847 host = kzalloc(sizeof(struct mg_host), GFP_KERNEL); in mg_probe()
1040 struct mg_host *host = prv_data->host; in mg_remove()