Home
last modified time | relevance | path

Searched refs:devbase (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/arch/powerpc/sysdev/
Dmpic.c419 static void __init mpic_scan_ht_msi(struct mpic *mpic, u8 __iomem *devbase, in mpic_scan_ht_msi() argument
426 for (pos = readb(devbase + PCI_CAPABILITY_LIST); pos != 0; in mpic_scan_ht_msi()
427 pos = readb(devbase + pos + PCI_CAP_LIST_NEXT)) { in mpic_scan_ht_msi()
428 u8 id = readb(devbase + pos + PCI_CAP_LIST_ID); in mpic_scan_ht_msi()
430 id = readb(devbase + pos + 3); in mpic_scan_ht_msi()
439 base = devbase + pos; in mpic_scan_ht_msi()
455 static void __init mpic_scan_ht_msi(struct mpic *mpic, u8 __iomem *devbase, in mpic_scan_ht_msi() argument
462 static void __init mpic_scan_ht_pic(struct mpic *mpic, u8 __iomem *devbase, in mpic_scan_ht_pic() argument
470 for (pos = readb(devbase + PCI_CAPABILITY_LIST); pos != 0; in mpic_scan_ht_pic()
471 pos = readb(devbase + pos + PCI_CAP_LIST_NEXT)) { in mpic_scan_ht_pic()
[all …]
/linux-2.6.39/drivers/media/video/pvrusb2/
Dpvrusb2-v4l2.c41 struct video_device devbase; /* MUST be first! */ member
892 video_device_node_name(&dip->devbase), in pvr2_v4l2_dev_destroy()
904 video_unregister_device(&dip->devbase); in pvr2_v4l2_dev_destroy()
914 if (!dip->devbase.parent) return; in pvr2_v4l2_dev_disassociate_parent()
915 dip->devbase.parent = NULL; in pvr2_v4l2_dev_disassociate_parent()
916 device_move(&dip->devbase.dev, NULL, DPM_ORDER_NONE); in pvr2_v4l2_dev_disassociate_parent()
940 dev = container_of(vdev,struct pvr2_v4l2_dev,devbase); in pvr2_video_device_release()
1023 dip = container_of(video_devdata(file),struct pvr2_v4l2_dev,devbase); in pvr2_v4l2_open()
1298 memcpy(&dip->devbase,&vdev_template,sizeof(vdev_template)); in pvr2_v4l2_dev_init()
1299 dip->devbase.release = pvr2_video_device_release; in pvr2_v4l2_dev_init()
[all …]