Searched refs:mdrv (Results 1 – 11 of 11) sorted by relevance
/drivers/misc/mic/card/ |
D | mic_device.c | 30 struct mic_driver *mdrv = g_drv; in mic_dp_init() local 31 struct mic_device *mdev = &mdrv->mdev; in mic_dp_init() 36 lo = mic_read_spad(&mdrv->mdev, MIC_DPLO_SPAD); in mic_dp_init() 37 hi = mic_read_spad(&mdrv->mdev, MIC_DPHI_SPAD); in mic_dp_init() 40 mdrv->dp = mic_card_map(mdev, dp_dma_addr, MIC_DP_SIZE); in mic_dp_init() 41 if (!mdrv->dp) { in mic_dp_init() 42 dev_err(mdrv->dev, "Cannot remap Aperture BAR\n"); in mic_dp_init() 45 bootparam = mdrv->dp; in mic_dp_init() 48 dev_err(mdrv->dev, "bootparam magic mismatch 0x%x\n", magic); in mic_dp_init() 84 struct mic_driver *mdrv = g_drv; in mic_request_card_irq() local [all …]
|
D | mic_x100.c | 134 void mic_hw_intr_init(struct mic_driver *mdrv) in mic_hw_intr_init() argument 136 mdrv->intr_info.num_intr = MIC_X100_NUM_SBOX_IRQ + in mic_hw_intr_init() 148 int mic_db_to_irq(struct mic_driver *mdrv, int db) in mic_db_to_irq() argument 233 struct mic_driver *mdrv = &g_drv; in mic_probe() local 234 struct mic_device *mdev = &mdrv->mdev; in mic_probe() 237 mdrv->dev = &pdev->dev; in mic_probe() 238 snprintf(mdrv->name, sizeof(mic_driver_name), mic_driver_name); in mic_probe() 252 mic_hw_intr_init(mdrv); in mic_probe() 253 platform_set_drvdata(pdev, mdrv); in mic_probe() 254 mdrv->dma_mbdev = mbus_register_device(mdrv->dev, MBUS_DEV_DMA_MIC, in mic_probe() [all …]
|
D | mic_debugfs.c | 32 struct mic_driver *mdrv = s->private; in mic_intr_show() local 33 struct mic_device *mdev = &mdrv->mdev; in mic_intr_show() 52 void __init mic_create_card_debug_dir(struct mic_driver *mdrv) in mic_create_card_debug_dir() argument 57 mdrv->dbg_dir = debugfs_create_dir(mdrv->name, mic_dbg); in mic_create_card_debug_dir() 59 debugfs_create_file("intr_test", 0444, mdrv->dbg_dir, mdrv, in mic_create_card_debug_dir() 66 void mic_delete_card_debug_dir(struct mic_driver *mdrv) in mic_delete_card_debug_dir() argument 68 if (!mdrv->dbg_dir) in mic_delete_card_debug_dir() 71 debugfs_remove_recursive(mdrv->dbg_dir); in mic_delete_card_debug_dir()
|
D | mic_device.h | 117 int mic_driver_init(struct mic_driver *mdrv); 118 void mic_driver_uninit(struct mic_driver *mdrv); 127 int mic_db_to_irq(struct mic_driver *mdrv, int db); 129 void mic_hw_intr_init(struct mic_driver *mdrv); 133 void __init mic_create_card_debug_dir(struct mic_driver *mdrv); 134 void mic_delete_card_debug_dir(struct mic_driver *mdrv);
|
/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_drv.c | 22 struct komeda_drv *mdrv = dev_get_drvdata(dev); in dev_to_mdev() local 24 return mdrv ? mdrv->mdev : NULL; in dev_to_mdev() 29 struct komeda_drv *mdrv = dev_get_drvdata(dev); in komeda_unbind() local 31 if (!mdrv) in komeda_unbind() 34 komeda_kms_detach(mdrv->kms); in komeda_unbind() 35 komeda_dev_destroy(mdrv->mdev); in komeda_unbind() 38 devm_kfree(dev, mdrv); in komeda_unbind() 43 struct komeda_drv *mdrv; in komeda_bind() local 46 mdrv = devm_kzalloc(dev, sizeof(*mdrv), GFP_KERNEL); in komeda_bind() 47 if (!mdrv) in komeda_bind() [all …]
|
/drivers/mcb/ |
D | mcb-core.c | 33 struct mcb_driver *mdrv = to_mcb_driver(drv); in mcb_match() local 37 found_id = mcb_match_id(mdrv->id_table, mdev); in mcb_match() 58 struct mcb_driver *mdrv = to_mcb_driver(dev->driver); in mcb_probe() local 64 found_id = mcb_match_id(mdrv->id_table, mdev); in mcb_probe() 73 ret = mdrv->probe(mdev, found_id); in mcb_probe() 82 struct mcb_driver *mdrv = to_mcb_driver(dev->driver); in mcb_remove() local 86 mdrv->remove(mdev); in mcb_remove() 98 struct mcb_driver *mdrv = to_mcb_driver(dev->driver); in mcb_shutdown() local 101 if (mdrv && mdrv->shutdown) in mcb_shutdown() 102 mdrv->shutdown(mdev); in mcb_shutdown()
|
/drivers/input/mouse/ |
D | maplemouse.c | 71 struct maple_driver *mdrv = to_maple_driver(dev->driver); in probe_maple_mouse() local 104 mdev->driver = mdrv; in probe_maple_mouse()
|
/drivers/input/keyboard/ |
D | maple_keyb.c | 149 struct maple_driver *mdrv; in probe_maple_kbd() local 155 mdrv = to_maple_driver(dev->driver); in probe_maple_kbd() 194 mdev->driver = mdrv; in probe_maple_kbd()
|
/drivers/input/joystick/ |
D | maplecontrol.c | 99 struct maple_driver *mdrv = to_maple_driver(dev->driver); in probe_maple_controller() local 148 mdev->driver = mdrv; in probe_maple_controller()
|
/drivers/bus/ |
D | moxtet.c | 113 struct moxtet_driver *mdrv) in __moxtet_register_driver() argument 115 mdrv->driver.owner = owner; in __moxtet_register_driver() 116 mdrv->driver.bus = &moxtet_bus_type; in __moxtet_register_driver() 117 return driver_register(&mdrv->driver); in __moxtet_register_driver()
|
/drivers/mtd/maps/ |
D | vmu-flash.c | 777 struct maple_driver *mdrv = to_maple_driver(dev->driver); in probe_maple_vmu() local 781 mdev->driver = mdrv; in probe_maple_vmu()
|