Home
last modified time | relevance | path

Searched refs:this_device (Results 1 – 11 of 11) sorted by relevance

/linux-3.4.99/drivers/char/hw_random/ !
Dcore.c273 device_remove_file(rng_miscdev.this_device, &dev_attr_rng_available); in unregister_miscdev()
274 device_remove_file(rng_miscdev.this_device, &dev_attr_rng_current); in unregister_miscdev()
285 err = device_create_file(rng_miscdev.this_device, in register_miscdev()
289 err = device_create_file(rng_miscdev.this_device, in register_miscdev()
297 device_remove_file(rng_miscdev.this_device, &dev_attr_rng_current); in register_miscdev()
/linux-3.4.99/drivers/block/ !
Dcciss_scsi.c1180 struct cciss_scsi_dev_t *currentsd, *this_device; in cciss_update_non_disk_devices() local
1193 this_device = &currentsd[CCISS_MAX_SCSI_DEVS_PER_HBA]; in cciss_update_non_disk_devices()
1223 this_device->devtype = (inq_buff[0] & 0x1f); in cciss_update_non_disk_devices()
1224 this_device->bus = -1; in cciss_update_non_disk_devices()
1225 this_device->target = -1; in cciss_update_non_disk_devices()
1226 this_device->lun = -1; in cciss_update_non_disk_devices()
1227 memcpy(this_device->scsi3addr, scsi3addr, 8); in cciss_update_non_disk_devices()
1228 memcpy(this_device->vendor, &inq_buff[8], in cciss_update_non_disk_devices()
1229 sizeof(this_device->vendor)); in cciss_update_non_disk_devices()
1230 memcpy(this_device->model, &inq_buff[16], in cciss_update_non_disk_devices()
[all …]
/linux-3.4.99/drivers/char/ !
Dmisc.c212 misc->this_device = device_create(misc_class, misc->parent, dev, in misc_register()
214 if (IS_ERR(misc->this_device)) { in misc_register()
218 err = PTR_ERR(misc->this_device); in misc_register()
/linux-3.4.99/drivers/misc/carma/ !
Dcarma-fpga-program.c923 struct device *this_device = priv->miscdev.this_device; in fpga_of_remove() local
925 sysfs_remove_group(&this_device->kobj, &fpga_attr_group); in fpga_of_remove()
951 struct device *this_device; in fpga_of_probe() local
1071 this_device = priv->miscdev.this_device; in fpga_of_probe()
1072 dev_set_drvdata(this_device, priv); in fpga_of_probe()
1073 ret = sysfs_create_group(&this_device->kobj, &fpga_attr_group); in fpga_of_probe()
Dcarma-fpga.c1285 struct device *this_device; in data_of_probe() local
1374 this_device = priv->miscdev.this_device; in data_of_probe()
1375 dev_set_drvdata(this_device, priv); in data_of_probe()
1376 ret = sysfs_create_group(&this_device->kobj, &rt_sysfs_attr_group); in data_of_probe()
1404 struct device *this_device = priv->miscdev.this_device; in data_of_remove() local
1407 sysfs_remove_group(&this_device->kobj, &rt_sysfs_attr_group); in data_of_remove()
/linux-3.4.99/drivers/net/ethernet/i825xx/ !
D3c527.c1624 static struct net_device *this_device; variable
1636 this_device = mc32_probe(-1); in init_module()
1637 if (IS_ERR(this_device)) in init_module()
1638 return PTR_ERR(this_device); in init_module()
1655 unregister_netdev(this_device); in cleanup_module()
1656 cleanup_card(this_device); in cleanup_module()
1657 free_netdev(this_device); in cleanup_module()
/linux-3.4.99/include/linux/ !
Dmiscdevice.h56 struct device *this_device; member
/linux-3.4.99/drivers/scsi/ !
Dhpsa.c1642 unsigned char scsi3addr[], struct hpsa_scsi_dev_t *this_device, in hpsa_update_device_info() argument
1667 this_device->devtype = (inq_buff[0] & 0x1f); in hpsa_update_device_info()
1668 memcpy(this_device->scsi3addr, scsi3addr, 8); in hpsa_update_device_info()
1669 memcpy(this_device->vendor, &inq_buff[8], in hpsa_update_device_info()
1670 sizeof(this_device->vendor)); in hpsa_update_device_info()
1671 memcpy(this_device->model, &inq_buff[16], in hpsa_update_device_info()
1672 sizeof(this_device->model)); in hpsa_update_device_info()
1673 memset(this_device->device_id, 0, in hpsa_update_device_info()
1674 sizeof(this_device->device_id)); in hpsa_update_device_info()
1675 hpsa_get_device_id(h, scsi3addr, this_device->device_id, in hpsa_update_device_info()
[all …]
/linux-3.4.99/drivers/infiniband/core/ !
Ducma.c1389 ret = device_create_file(ucma_misc.this_device, &dev_attr_abi_version); in ucma_init()
1403 device_remove_file(ucma_misc.this_device, &dev_attr_abi_version); in ucma_init()
1412 device_remove_file(ucma_misc.this_device, &dev_attr_abi_version); in ucma_cleanup()
/linux-3.4.99/drivers/net/wireless/ !
Dray_cs.c170 static struct pcmcia_device *this_device = NULL; variable
327 this_device = p_dev; in ray_probe()
341 this_device = NULL; in ray_detach()
2569 link = this_device; in ray_cs_proc_show()
/linux-3.4.99/drivers/staging/sep/ !
Dsep_main.c4093 ret_val = device_create_bin_file(sep->miscdev_sep.this_device, in sep_register_driver_with_fs()