Lines Matching refs:dev_info
266 dev_info(&GET_DEV(dev), in adf_ctl_is_device_in_use()
353 dev_info(&GET_DEV(accel_dev), in adf_ctl_ioctl_dev_start()
360 dev_info(&GET_DEV(accel_dev), in adf_ctl_ioctl_dev_start()
391 struct adf_dev_status_info dev_info; in adf_ctl_ioctl_get_status() local
394 if (copy_from_user(&dev_info, (void __user *)arg, in adf_ctl_ioctl_get_status()
400 accel_dev = adf_devmgr_get_dev_by_id(dev_info.accel_id); in adf_ctl_ioctl_get_status()
405 dev_info.state = adf_dev_started(accel_dev) ? DEV_UP : DEV_DOWN; in adf_ctl_ioctl_get_status()
406 dev_info.num_ae = hw_data->get_num_aes(hw_data); in adf_ctl_ioctl_get_status()
407 dev_info.num_accel = hw_data->get_num_accels(hw_data); in adf_ctl_ioctl_get_status()
408 dev_info.num_logical_accel = hw_data->num_logical_accel; in adf_ctl_ioctl_get_status()
409 dev_info.banks_per_accel = hw_data->num_banks in adf_ctl_ioctl_get_status()
411 strlcpy(dev_info.name, hw_data->dev_class->name, sizeof(dev_info.name)); in adf_ctl_ioctl_get_status()
412 dev_info.instance_id = hw_data->instance_id; in adf_ctl_ioctl_get_status()
413 dev_info.type = hw_data->dev_class->type; in adf_ctl_ioctl_get_status()
414 dev_info.bus = accel_to_pci_dev(accel_dev)->bus->number; in adf_ctl_ioctl_get_status()
415 dev_info.dev = PCI_SLOT(accel_to_pci_dev(accel_dev)->devfn); in adf_ctl_ioctl_get_status()
416 dev_info.fun = PCI_FUNC(accel_to_pci_dev(accel_dev)->devfn); in adf_ctl_ioctl_get_status()
418 if (copy_to_user((void __user *)arg, &dev_info, in adf_ctl_ioctl_get_status()