Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_diag.c104 snprintf(name, sizeof(name), "ipath_diag%d", dd->ipath_unit); in ipath_diag_add()
106 ret = ipath_cdev_init(IPATH_DIAG_MINOR_BASE + dd->ipath_unit, name, in ipath_diag_add()
386 ipath_cdbg(VERBOSE, "unit %u not usable\n", dd->ipath_unit); in ipath_diagpkt_write()
402 dd->ipath_unit, (unsigned long long) val); in ipath_diagpkt_write()
443 dd->ipath_unit); in ipath_diagpkt_write()
452 dd->ipath_unit, plen - 1, pbufn); in ipath_diagpkt_write()
Dipath_driver.c183 if (dd->ipath_unit != -1) { in ipath_free_devdata()
185 idr_remove(&unit_table, dd->ipath_unit); in ipath_free_devdata()
208 dd->ipath_unit = -1; in ipath_alloc_devdata()
212 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.c376 return scnprintf(buf, PAGE_SIZE, "%u\n", dd->ipath_unit); in show_unit()
559 dd->ipath_unit); in store_reset()
563 ret = ipath_reset_device(dd->ipath_unit); in store_reset()
655 dev_info(dev, "Enabling unit %d\n", dd->ipath_unit); in store_enabled()
660 dd->ipath_unit); in store_enabled()
667 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.c153 kinfo->spi_unit = dd->ipath_unit; in ipath_get_base_info()
749 start_stop ? "en" : "dis", dd->ipath_unit, in ipath_manage_rcvq()
1281 vma->vm_end - vma->vm_start, dd->ipath_unit, in ipath_mmap()
1612 current->comm, current->pid, dd->ipath_unit, in try_alloc_port()
1811 dd->ipath_unit, pd->port_port); in find_shared_port()
1883 dd->ipath_unit, in ipath_assign_port()
2147 dd->ipath_unit, port); in ipath_close()
2169 info.unit = pd->port_dd->ipath_unit; in ipath_port_info()
2585 snprintf(name, sizeof(name), "ipath%d", dd->ipath_unit); in ipath_user_add()
2587 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.c2099 idev->ib_unit = dd->ipath_unit; in ipath_register_ib_device()