Lines Matching refs:atm_dev
35 struct atm_dev *atm_dev; member
48 struct atm_dev *atm_dev = container_of(dev, struct atm_dev, class_dev); in __set_signal() local
56 atm_dev_signal_change(atm_dev, signal); in __set_signal()
65 struct atm_dev *atm_dev = container_of(dev, struct atm_dev, class_dev); in __show_signal() local
66 return sprintf(buf, "%d\n", atm_dev->signal); in __show_signal()
81 adummy_start(struct atm_dev *dev) in adummy_start()
124 adummy_proc_read(struct atm_dev *dev, loff_t *pos, char *page) in adummy_proc_read()
145 struct atm_dev *atm_dev; in adummy_init() local
158 atm_dev = atm_dev_register(DEV_LABEL, NULL, &adummy_ops, -1, NULL); in adummy_init()
159 if (!atm_dev) { in adummy_init()
165 adummy_dev->atm_dev = atm_dev; in adummy_init()
166 atm_dev->dev_data = adummy_dev; in adummy_init()
168 if (sysfs_create_group(&atm_dev->class_dev.kobj, &adummy_group_attrs)) in adummy_init()
169 dev_err(&atm_dev->class_dev, "Could not register attrs for adummy\n"); in adummy_init()
171 if (adummy_start(atm_dev)) { in adummy_init()
182 atm_dev_deregister(atm_dev); in adummy_init()
193 atm_dev_deregister(adummy_dev->atm_dev); in adummy_cleanup()