Searched refs:dev_class (Results 1 – 16 of 16) sorted by relevance
64 hw_data->dev_class = &c62xiov_class; in adf_init_hw_data_c62xiov()90 hw_data->dev_class->instances++; in adf_init_hw_data_c62xiov()100 hw_data->dev_class->instances--; in adf_clean_hw_data_c62xiov()
64 hw_data->dev_class = &c3xxxiov_class; in adf_init_hw_data_c3xxxiov()90 hw_data->dev_class->instances++; in adf_init_hw_data_c3xxxiov()100 hw_data->dev_class->instances--; in adf_clean_hw_data_c3xxxiov()
64 hw_data->dev_class = &dh895xcciov_class; in adf_init_hw_data_dh895xcciov()90 hw_data->dev_class->instances++; in adf_init_hw_data_dh895xcciov()100 hw_data->dev_class->instances--; in adf_clean_hw_data_dh895xcciov()
116 hw_data->dev_class = &c3xxx_class; in adf_init_hw_data_c3xxx()166 hw_data->dev_class->instances--; in adf_clean_hw_data_c3xxx()
118 hw_data->dev_class = &c62x_class; in adf_init_hw_data_c62x()168 hw_data->dev_class->instances--; in adf_clean_hw_data_c62x()
212 hw_data->dev_class = &dh895xcc_class; in adf_init_hw_data_dh895xcc()264 hw_data->dev_class->instances--; in adf_clean_hw_data_dh895xcc()
26 accel_dev->hw_device->dev_class->name, in adf_dbgfs_init()
99 struct adf_hw_device_class *class = hw_data->dev_class; in adf_devmgr_update_class_index()107 if (ptr->hw_device->dev_class == class) in adf_devmgr_update_class_index()
362 strscpy(dev_info.name, hw_data->dev_class->name, sizeof(dev_info.name)); in adf_ctl_ioctl_get_status()364 dev_info.type = hw_data->dev_class->type; in adf_ctl_ioctl_get_status()
173 struct adf_hw_device_class *dev_class; member
64 __u8 dev_class; member
282 __u8 dev_class; member337 __u8 dev_class; member
43 uint8_t dev_class; member
236 static struct class *dev_class; variable2075 riocm_cdev.dev = device_create(dev_class, NULL, devno, NULL, DEV_NAME); in riocm_cdev_add()2296 dev_class = class_create(DRV_NAME); in riocm_init()2297 if (IS_ERR(dev_class)) { in riocm_init()2299 return PTR_ERR(dev_class); in riocm_init()2304 class_destroy(dev_class); in riocm_init()2352 class_destroy(dev_class); in riocm_init()2367 class_destroy(dev_class); in riocm_exit()
509 hw_data->dev_class = &adf_4xxx_class; in adf_init_hw_data_4xxx()578 hw_data->dev_class->instances--; in adf_clean_hw_data_4xxx()
253 static struct class *dev_class; variable2382 md->dev.class = dev_class; in mport_cdev_add()2603 dev_class = class_create(DRV_NAME); in mport_init()2604 if (IS_ERR(dev_class)) { in mport_init()2606 return PTR_ERR(dev_class); in mport_init()2627 class_destroy(dev_class); in mport_init()2637 class_destroy(dev_class); in mport_exit()