Home
last modified time | relevance | path

Searched refs:adev (Results 1 – 2 of 2) sorted by relevance

/net/atm/
Datm_sysfs.c17 struct atm_dev *adev = to_atm_dev(cdev); in type_show() local
19 return scnprintf(buf, PAGE_SIZE, "%s\n", adev->type); in type_show()
25 struct atm_dev *adev = to_atm_dev(cdev); in address_show() local
27 return scnprintf(buf, PAGE_SIZE, "%pM\n", adev->esi); in address_show()
34 struct atm_dev *adev = to_atm_dev(cdev); in atmaddress_show() local
38 spin_lock_irqsave(&adev->lock, flags); in atmaddress_show()
39 list_for_each_entry(aaddr, &adev->local, entry) { in atmaddress_show()
48 spin_unlock_irqrestore(&adev->lock, flags); in atmaddress_show()
56 struct atm_dev *adev = to_atm_dev(cdev); in atmindex_show() local
58 return scnprintf(buf, PAGE_SIZE, "%d\n", adev->number); in atmindex_show()
[all …]
Dresources.h47 int atm_register_sysfs(struct atm_dev *adev, struct device *parent);
48 void atm_unregister_sysfs(struct atm_dev *adev);