Home
last modified time | relevance | path

Searched refs:ipath_unit (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_diag.c103 snprintf(name, sizeof(name), "ipath_diag%d", dd->ipath_unit); in ipath_diag_add()
105 ret = ipath_cdev_init(IPATH_DIAG_MINOR_BASE + dd->ipath_unit, name, in ipath_diag_add()
403 ipath_cdbg(VERBOSE, "unit %u not usable\n", dd->ipath_unit); in ipath_diagpkt_write()
419 dd->ipath_unit, (unsigned long long) val); in ipath_diagpkt_write()
454 dd->ipath_unit); in ipath_diagpkt_write()
463 dd->ipath_unit, plen - 1, pbufn); in ipath_diagpkt_write()
Dipath_driver.c182 if (dd->ipath_unit != -1) { in ipath_free_devdata()
184 idr_remove(&unit_table, dd->ipath_unit); in ipath_free_devdata()
207 dd->ipath_unit = -1; in ipath_alloc_devdata()
211 ret = idr_get_new(&unit_table, dd, &dd->ipath_unit); in ipath_alloc_devdata()
411 ipath_cdbg(VERBOSE, "initializing unit #%u\n", dd->ipath_unit); in ipath_init_one()
428 dd->ipath_unit, -ret); in ipath_init_one()
468 "err %d\n", dd->ipath_unit, -ret); in ipath_init_one()
483 dd->ipath_unit, ret); in ipath_init_one()
493 dd->ipath_unit, ret); in ipath_init_one()
503 dd->ipath_unit, ret); in ipath_init_one()
[all …]
Dipath_sysfs.c375 return scnprintf(buf, PAGE_SIZE, "%u\n", dd->ipath_unit); in show_unit()
558 dd->ipath_unit); in store_reset()
562 ret = ipath_reset_device(dd->ipath_unit); in store_reset()
654 dev_info(dev, "Enabling unit %d\n", dd->ipath_unit); in store_enabled()
659 dd->ipath_unit); in store_enabled()
666 dev_info(dev, "Disabling unit %d\n", dd->ipath_unit); in store_enabled()
Dipath_fs.c240 snprintf(unit, sizeof unit, "%02d", dd->ipath_unit); in create_device_files()
307 snprintf(unit, sizeof unit, "%02d", dd->ipath_unit); in remove_device_files()
Dipath_file_ops.c151 kinfo->spi_unit = dd->ipath_unit; in ipath_get_base_info()
747 start_stop ? "en" : "dis", dd->ipath_unit, in ipath_manage_rcvq()
1279 vma->vm_end - vma->vm_start, dd->ipath_unit, in ipath_mmap()
1610 current->comm, current->pid, dd->ipath_unit, in try_alloc_port()
1807 dd->ipath_unit, pd->port_port); in find_shared_port()
1879 dd->ipath_unit, in ipath_assign_port()
2143 dd->ipath_unit, port); in ipath_close()
2165 info.unit = pd->port_dd->ipath_unit; in ipath_port_info()
2581 snprintf(name, sizeof(name), "ipath%d", dd->ipath_unit); in ipath_user_add()
2583 ret = init_cdev(dd->ipath_unit + 1, name, &ipath_file_ops, in ipath_user_add()
[all …]
Dipath_kernel.h724 int ipath_unit; member
1333 ipath_get_unit_name(__dd->ipath_unit), \
1337 ipath_get_unit_name(__dd->ipath_unit), \
Dipath_intr.c422 dd->ipath_unit, ib_linkstate(dd, ibcs), in handle_e_ibstatuschanged()
437 dd->ipath_unit, lstate, in handle_e_ibstatuschanged()
442 dd->ipath_unit, in handle_e_ibstatuschanged()
Dipath_eeprom.c713 int t = dd->ipath_unit; in ipath_get_eeprom_info()
Dipath_verbs.c2098 idev->ib_unit = dd->ipath_unit; in ipath_register_ib_device()