Home
last modified time | relevance | path

Searched refs:gdev (Results 1 – 18 of 18) sorted by relevance

/drivers/s390/cio/
Dccwgroup.c35 static void __ccwgroup_remove_symlinks(struct ccwgroup_device *gdev) in __ccwgroup_remove_symlinks() argument
40 for (i = 0; i < gdev->count; i++) { in __ccwgroup_remove_symlinks()
42 sysfs_remove_link(&gdev->dev.kobj, str); in __ccwgroup_remove_symlinks()
43 sysfs_remove_link(&gdev->cdev[i]->dev.kobj, "group_device"); in __ccwgroup_remove_symlinks()
51 static void __ccwgroup_remove_cdev_refs(struct ccwgroup_device *gdev) in __ccwgroup_remove_cdev_refs() argument
56 for (i = 0; i < gdev->count; i++) { in __ccwgroup_remove_cdev_refs()
57 cdev = gdev->cdev[i]; in __ccwgroup_remove_cdev_refs()
63 gdev->cdev[i] = NULL; in __ccwgroup_remove_cdev_refs()
76 int ccwgroup_set_online(struct ccwgroup_device *gdev) in ccwgroup_set_online() argument
78 struct ccwgroup_driver *gdrv = to_ccwgroupdrv(gdev->dev.driver); in ccwgroup_set_online()
[all …]
/drivers/uio/
Duio_pruss.c77 struct uio_pruss_dev *gdev = info->priv; in pruss_handler() local
78 int intr_bit = (irq - gdev->hostirq_start + 2); in pruss_handler()
80 void __iomem *base = gdev->prussio_vaddr + gdev->pintc_base; in pruss_handler()
95 struct uio_pruss_dev *gdev) in pruss_cleanup() argument
98 struct uio_info *p = gdev->info; in pruss_cleanup()
104 iounmap(gdev->prussio_vaddr); in pruss_cleanup()
105 if (gdev->ddr_vaddr) { in pruss_cleanup()
106 dma_free_coherent(&dev->dev, extram_pool_sz, gdev->ddr_vaddr, in pruss_cleanup()
107 gdev->ddr_paddr); in pruss_cleanup()
109 if (gdev->sram_vaddr) in pruss_cleanup()
[all …]
Duio_pci_generic.c47 struct uio_pci_generic_dev *gdev = to_uio_pci_generic_dev(info); in irqhandler() local
49 if (!pci_check_and_mask_intx(gdev->pdev)) in irqhandler()
59 struct uio_pci_generic_dev *gdev; in probe() local
81 gdev = kzalloc(sizeof(struct uio_pci_generic_dev), GFP_KERNEL); in probe()
82 if (!gdev) { in probe()
87 gdev->info.name = "uio_pci_generic"; in probe()
88 gdev->info.version = DRIVER_VERSION; in probe()
89 gdev->info.irq = pdev->irq; in probe()
90 gdev->info.irq_flags = IRQF_SHARED; in probe()
91 gdev->info.handler = irqhandler; in probe()
[all …]
/drivers/s390/net/
Dqeth_l2_main.c566 dev_warn(&card->gdev->dev, in qeth_l2_send_setmac_cb()
572 dev_warn(&card->gdev->dev, in qeth_l2_send_setmac_cb()
583 dev_info(&card->gdev->dev, in qeth_l2_send_setmac_cb()
879 static int qeth_l2_probe_device(struct ccwgroup_device *gdev) in qeth_l2_probe_device() argument
881 struct qeth_card *card = dev_get_drvdata(&gdev->dev); in qeth_l2_probe_device()
966 SET_NETDEV_DEV(card->dev, &card->gdev->dev); in qeth_l2_setup_netdev()
971 static int __qeth_l2_set_online(struct ccwgroup_device *gdev, int recovery_mode) in __qeth_l2_set_online() argument
973 struct qeth_card *card = dev_get_drvdata(&gdev->dev); in __qeth_l2_set_online()
1017 dev_warn(&card->gdev->dev, in __qeth_l2_set_online()
1070 kobject_uevent(&gdev->dev.kobj, KOBJ_CHANGE); in __qeth_l2_set_online()
[all …]
Dqeth_l3_main.c930 dev_warn(&card->gdev->dev, in qeth_l3_register_addr_entry()
991 dev_info(&card->gdev->dev, in qeth_l3_setadapter_parms()
999 "0x%x\n", dev_name(&card->gdev->dev), rc); in qeth_l3_setadapter_parms()
1005 dev_warn(&card->gdev->dev, "Reading the adapter MAC" in qeth_l3_setadapter_parms()
1123 dev_info(&card->gdev->dev, in qeth_l3_start_ipa_arp_processing()
1131 dev_warn(&card->gdev->dev, in qeth_l3_start_ipa_arp_processing()
1145 dev_info(&card->gdev->dev, in qeth_l3_start_ipa_ip_fragmentation()
1154 dev_warn(&card->gdev->dev, in qeth_l3_start_ipa_ip_fragmentation()
1158 dev_info(&card->gdev->dev, in qeth_l3_start_ipa_ip_fragmentation()
1170 dev_info(&card->gdev->dev, in qeth_l3_start_ipa_source_mac()
[all …]
Dqeth_core_main.c82 ccwgroup_set_offline(card->gdev); in qeth_close_dev_handler()
364 dev_err(&card->gdev->dev, "Failed to create completion queue\n"); in qeth_alloc_cq()
501 dev_warn(&card->gdev->dev, "The qeth device driver " in qeth_issue_next_read()
504 "available\n", dev_name(&card->gdev->dev)); in qeth_issue_next_read()
513 "rc=%i\n", dev_name(&card->gdev->dev), rc); in qeth_issue_next_read()
557 ipa_name, com, dev_name(&card->gdev->dev), in qeth_issue_ipa_msg()
562 ipa_name, com, dev_name(&card->gdev->dev), in qeth_issue_ipa_msg()
587 dev_err(&card->gdev->dev, in qeth_check_ipa_data()
594 dev_warn(&card->gdev->dev, in qeth_check_ipa_data()
607 dev_info(&card->gdev->dev, in qeth_check_ipa_data()
[all …]
Dlcs.c2076 card->gdev = ccwgdev; in lcs_probe_device()
2268 struct ccwgroup_device *gdev; in lcs_recovery() local
2277 gdev = card->gdev; in lcs_recovery()
2278 dev_warn(&gdev->dev, in lcs_recovery()
2280 rc = __lcs_shutdown_device(gdev, 1); in lcs_recovery()
2281 rc = lcs_new_device(gdev); in lcs_recovery()
2324 __lcs_shutdown_device(card->gdev, 1); in lcs_pm_suspend()
2333 rc = lcs_new_device(card->gdev); in lcs_pm_resume()
2337 dev_warn(&card->gdev->dev, "The lcs device driver " in lcs_pm_resume()
2343 static int lcs_prepare(struct ccwgroup_device *gdev) in lcs_prepare() argument
[all …]
Dctcm_main.c1705 static int ctcm_pm_suspend(struct ccwgroup_device *gdev) in ctcm_pm_suspend() argument
1707 struct ctcm_priv *priv = dev_get_drvdata(&gdev->dev); in ctcm_pm_suspend()
1709 if (gdev->state == CCWGROUP_OFFLINE) in ctcm_pm_suspend()
1718 ccw_device_set_offline(gdev->cdev[1]); in ctcm_pm_suspend()
1719 ccw_device_set_offline(gdev->cdev[0]); in ctcm_pm_suspend()
1723 static int ctcm_pm_resume(struct ccwgroup_device *gdev) in ctcm_pm_resume() argument
1725 struct ctcm_priv *priv = dev_get_drvdata(&gdev->dev); in ctcm_pm_resume()
1728 if (gdev->state == CCWGROUP_OFFLINE) in ctcm_pm_resume()
1730 rc = ccw_device_set_online(gdev->cdev[1]); in ctcm_pm_resume()
1733 rc = ccw_device_set_online(gdev->cdev[0]); in ctcm_pm_resume()
Dctcm_sysfs.c112 struct ccwgroup_device *gdev = to_ccwgroupdev(dev); in stats_show() local
115 if (!priv || gdev->state != CCWGROUP_ONLINE) in stats_show()
Dqeth_core_sys.c436 card->discipline->remove(card->gdev); in qeth_dev_layer2_store()
445 rc = card->discipline->setup(card->gdev); in qeth_dev_layer2_store()
496 dev_err(&card->gdev->dev, "Adapter does not " in qeth_dev_isolation_store()
Dlcs.h314 struct ccwgroup_device *gdev; member
Dqeth_core.h91 #define CARD_BUS_ID(card) dev_name(&card->gdev->dev)
748 struct ccwgroup_device *gdev; member
Dclaw.c249 static int claw_pm_prepare(struct ccwgroup_device *gdev) in claw_pm_prepare() argument
/drivers/video/
Dsmscufx.c97 struct device *gdev; /* &udev->dev */ member
1644 dev->gdev = &usbdev->dev; /* our generic struct device * */ in ufx_usb_probe()
1647 dev_dbg(dev->gdev, "%s %s - serial #%s\n", in ufx_usb_probe()
1649 dev_dbg(dev->gdev, "vid_%04x&pid_%04x&rev_%04x driver's ufx_data struct at %p\n", in ufx_usb_probe()
1652 dev_dbg(dev->gdev, "console enable=%d\n", console); in ufx_usb_probe()
1653 dev_dbg(dev->gdev, "fb_defio enable=%d\n", fb_defio); in ufx_usb_probe()
1657 dev_err(dev->gdev, "ufx_alloc_urb_list failed\n"); in ufx_usb_probe()
1667 dev_err(dev->gdev, "framebuffer_alloc failed\n"); in ufx_usb_probe()
1678 dev_err(dev->gdev, "fb_alloc_cmap failed %x\n", retval); in ufx_usb_probe()
1689 dev_dbg(dev->gdev, "ID_REV register value 0x%08x", id_rev); in ufx_usb_probe()
[all …]
Dudlfb.c1607 dev->gdev = &usbdev->dev; /* our generic struct device * */ in dlfb_usb_probe()
1672 info = framebuffer_alloc(0, dev->gdev); in dlfb_init_framebuffer_work()
1768 dev->gdev = NULL; in dlfb_usb_disconnect()
/drivers/ata/
Dpata_atp867x.c420 struct device *gdev = host->dev; in atp867x_ata_pci_sff_init_host() local
421 struct pci_dev *pdev = to_pci_dev(gdev); in atp867x_ata_pci_sff_init_host()
473 dev_err(gdev, "no available native port\n"); in atp867x_ata_pci_sff_init_host()
Dlibata-sff.c2295 struct device *gdev = host->dev; in ata_pci_sff_init_host() local
2296 struct pci_dev *pdev = to_pci_dev(gdev); in ata_pci_sff_init_host()
2319 dev_driver_string(gdev)); in ata_pci_sff_init_host()
2321 dev_warn(gdev, in ata_pci_sff_init_host()
2345 dev_err(gdev, "no available native port\n"); in ata_pci_sff_init_host()
3206 struct device *gdev = host->dev; in ata_pci_bmdma_init() local
3207 struct pci_dev *pdev = to_pci_dev(gdev); in ata_pci_bmdma_init()
3233 rc = pcim_iomap_regions(pdev, 1 << 4, dev_driver_string(gdev)); in ata_pci_bmdma_init()
/drivers/net/ethernet/seeq/
Dsgiseeq.c243 static struct net_device *gdev; variable
762 gdev = dev; in sgiseeq_probe()