Home
last modified time | relevance | path

Searched refs:dev_handle (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/arch/sparc/kernel/
Dirq_64.c113 unsigned int dev_handle; member
119 unsigned char irq_alloc(unsigned int dev_handle, unsigned int dev_ino) in irq_alloc() argument
136 irq_table[ent].dev_handle = dev_handle; in irq_alloc()
378 unsigned long cpuid, dev_handle, dev_ino; in sun4v_virq_enable() local
383 dev_handle = irq_table[data->irq].dev_handle; in sun4v_virq_enable()
386 err = sun4v_vintr_set_target(dev_handle, dev_ino, cpuid); in sun4v_virq_enable()
390 dev_handle, dev_ino, cpuid, err); in sun4v_virq_enable()
391 err = sun4v_vintr_set_state(dev_handle, dev_ino, in sun4v_virq_enable()
396 dev_handle, dev_ino, err); in sun4v_virq_enable()
397 err = sun4v_vintr_set_valid(dev_handle, dev_ino, in sun4v_virq_enable()
[all …]
/linux-2.6.39/drivers/staging/westbridge/astoria/device/
Dcyasdevice.c45 cy_as_device_handle dev_handle; member
71 if (cy_as_dev->dev_handle) { in cyasdevice_deinit()
74 if (cy_as_misc_destroy_device(cy_as_dev->dev_handle) != in cyasdevice_deinit()
238 if (cy_as_misc_create_device(&(cy_as_dev->dev_handle), in cyasdevice_initialize()
249 ret = cy_as_misc_configure_device(cy_as_dev->dev_handle, &config); in cyasdevice_initialize()
258 ret = cy_as_misc_register_callback(cy_as_dev->dev_handle, in cyasdevice_initialize()
288 cy_as_dev->dev_handle, in cyasdevice_initialize()
323 ret = cy_as_misc_get_firmware_version(cy_as_dev->dev_handle, in cyasdevice_initialize()
368 return cy_as_device_controller->dev_handle; in cyasdevice_getdevhandle()
/linux-2.6.39/drivers/staging/westbridge/astoria/gadget/
Dcyasgadget.c445 ret = cy_as_usb_read_data_async(cy_as_dev->dev_handle, in cyasgadget_readcallback()
522 ret = cy_as_usb_write_data_async(cy_as_dev->dev_handle, in cyasgadget_writecallback()
658 cy_as_usb_clear_stall(an_dev->dev_handle, an_ep->num, in cyasgadget_enable()
766 ret = cy_as_usb_write_data_async(cy_as_dev->dev_handle, in cyasgadget_queue()
795 cy_as_dev->dev_handle, as_ep->num, in cyasgadget_queue()
812 ret = cy_as_usb_write_data_async(cy_as_dev->dev_handle, in cyasgadget_queue()
829 ret = cy_as_usb_read_data_async(cy_as_dev->dev_handle, in cyasgadget_queue()
865 cy_as_usb_cancel_async(dev->dev_handle, an_ep->num); in cyasgadget_dequeue()
901 cy_as_usb_set_stall(an_ep->dev->dev_handle, in cyasgadget_set_halt()
904 cy_as_usb_clear_stall(an_ep->dev->dev_handle, in cyasgadget_set_halt()
[all …]
Dcyasgadget.h124 cy_as_device_handle dev_handle; member
/linux-2.6.39/drivers/staging/westbridge/astoria/block/
Dcyasblkdev_block.c110 cy_as_device_handle dev_handle; member
245 cy_as_storage_release(bd->dev_handle, 0, 0, 0, 0)) { in cyasblkdev_blk_put()
253 cy_as_storage_release(bd->dev_handle, 1, 0, 0, 0)) { in cyasblkdev_blk_put()
261 cy_as_storage_stop(bd->dev_handle, 0, 0)) { in cyasblkdev_blk_put()
453 if (!bd || !bd->dev_handle) { in cyasblkdev_blk_prep_rq()
633 ret = cy_as_storage_read_async(bd->dev_handle, bus_num, 0, in cyasblkdev_blk_issue_rq()
654 ret = cy_as_storage_write_async(bd->dev_handle, bus_num, 0, in cyasblkdev_blk_issue_rq()
756 gl_bd->dev_handle, in cyasblkdev_get_vfat_offset()
846 bd->dev_handle, bus_num, 0, 0, 0); in cyasblkdev_add_disks()
860 ret = cy_as_storage_query_unit(bd->dev_handle, in cyasblkdev_add_disks()
[all …]
/linux-2.6.39/drivers/ide/
Dide-acpi.c117 acpi_handle dev_handle; in ide_get_dev_handle() local
130 dev_handle = DEVICE_ACPI_HANDLE(dev); in ide_get_dev_handle()
131 if (!dev_handle) { in ide_get_dev_handle()
136 status = acpi_get_object_info(dev_handle, &dinfo); in ide_get_dev_handle()
144 *handle = dev_handle; in ide_get_dev_handle()
172 acpi_handle uninitialized_var(dev_handle); in ide_acpi_hwif_get_handle()
184 err = ide_get_dev_handle(dev, &dev_handle, &pcidevfn); in ide_acpi_hwif_get_handle()
193 chan_handle = acpi_get_child(dev_handle, hwif->channel); in ide_acpi_hwif_get_handle()
572 acpi_handle dev_handle; in ide_acpi_port_init_devices() local
578 dev_handle = acpi_get_child(hwif->acpidata->obj_handle, in ide_acpi_port_init_devices()
[all …]
/linux-2.6.39/arch/sparc/include/asm/
Dhypervisor.h1650 extern unsigned long sun4v_vintr_get_cookie(unsigned long dev_handle,
1653 extern unsigned long sun4v_vintr_set_cookie(unsigned long dev_handle,
1656 extern unsigned long sun4v_vintr_get_valid(unsigned long dev_handle,
1659 extern unsigned long sun4v_vintr_set_valid(unsigned long dev_handle,
1662 extern unsigned long sun4v_vintr_get_state(unsigned long dev_handle,
1665 extern unsigned long sun4v_vintr_set_state(unsigned long dev_handle,
1668 extern unsigned long sun4v_vintr_get_target(unsigned long dev_handle,
1671 extern unsigned long sun4v_vintr_set_target(unsigned long dev_handle,
Dirq_64.h60 extern unsigned char irq_alloc(unsigned int dev_handle,